diff --git a/Documentation/License.txt b/Documentation/License.txt
index ceb49150..8643e933 100644
--- a/Documentation/License.txt
+++ b/Documentation/License.txt
@@ -14,7 +14,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
Third parties
-The Open Toolkit library includes portions of the Mono class library, which are covered by the following license:
+OpenTK.Platform.Windows and OpenTK.Platform.X11 include portions of the Mono class library. These portions are covered by the following license:
Copyright (c) 2004 Novell, Inc.
@@ -26,7 +26,21 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
-Half-to-Single and Single-to-Half conversions are covered by the following license:
+OpenTK.Compatibility offers the Tao namespace, which includes portions of the Tao Framework library. These portions are covered by the following license:
+
+Copyright ©2003-2007 Tao Framework Team
+http://www.taoframework.com
+All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+
+OpenTK.Half offers Half-to-Single and Single-to-Half conversions based on OpenEXR source code, which is covered by the following license:
Copyright (c) 2002, Industrial Light & Magic, a division of Lucas Digital Ltd. LLC. All rights reserved.
diff --git a/Source/Compatibility/Properties/Resources.Designer.cs b/Source/Compatibility/Properties/Resources.Designer.cs
new file mode 100644
index 00000000..e8013cf0
--- /dev/null
+++ b/Source/Compatibility/Properties/Resources.Designer.cs
@@ -0,0 +1,70 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.4918
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace OpenTK.Compatibility.Properties {
+ using System;
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources() {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("OpenTK.Compatibility.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+
+ internal static System.Drawing.Bitmap TaoButton {
+ get {
+ object obj = ResourceManager.GetObject("TaoButton", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+ }
+}
diff --git a/Source/Compatibility/Properties/Resources.resx b/Source/Compatibility/Properties/Resources.resx
new file mode 100644
index 00000000..fbd5a920
--- /dev/null
+++ b/Source/Compatibility/Properties/Resources.resx
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+
+ ..\Resources\TaoButton.jpg;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
\ No newline at end of file
diff --git a/Source/Compatibility/Resources/TaoButton.jpg b/Source/Compatibility/Resources/TaoButton.jpg
new file mode 100644
index 00000000..2179d8a4
Binary files /dev/null and b/Source/Compatibility/Resources/TaoButton.jpg differ
diff --git a/Source/Compatibility/Tao/OpenAl/ALDelegates.cs b/Source/Compatibility/Tao/OpenAl/ALDelegates.cs
new file mode 100644
index 00000000..aebf1f3f
--- /dev/null
+++ b/Source/Compatibility/Tao/OpenAl/ALDelegates.cs
@@ -0,0 +1,247 @@
+#region License
+/*
+MIT License
+Copyright ©2003-2006 Tao Framework Team
+http://www.taoframework.com
+All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+#endregion License
+
+namespace Tao.OpenAl
+{
+ using System;
+ using System.Runtime.InteropServices;
+
+ internal static class Delegates
+ {
+ static Delegates()
+ {
+ }
+
+ ///
+ /// Creates a System.Delegate that can be used to call a dynamically exported OpenAL function.
+ ///
+ /// The function string for the OpenAL function
+ /// The signature of the OpenAL function.
+ ///
+ /// A System.Delegate that can be used to call this OpenAL function or null
+ /// if the function is not available in the current OpenAL context.
+ ///
+ public static Delegate GetDelegateForExtensionMethod(string name, Type signature)
+ {
+ IntPtr address = Al.alGetProcAddress(name);
+ if (address == IntPtr.Zero)
+ {
+ return null;
+ }
+ else
+ {
+ return Marshal.GetDelegateForFunctionPointer(address, signature);
+ }
+ }
+
+ #region X-RAM
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void EAXSetBufferModeDelegate(int n, [Out] int* buffers, int value);
+ internal static EAXSetBufferModeDelegate EAXSetBufferMode = (EAXSetBufferModeDelegate)GetDelegateForExtensionMethod("EAXSetBufferMode", typeof(EAXSetBufferModeDelegate));
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate int EAXGetBufferModeDelegate(int buffer, [Out] int* reserved);
+ internal static EAXGetBufferModeDelegate EAXGetBufferMode = (EAXGetBufferModeDelegate)GetDelegateForExtensionMethod("EAXGetBufferMode", typeof(EAXGetBufferModeDelegate));
+ #endregion
+
+ #region EFX_EXT
+ #region alEffect
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void alGenEffectsDelegate(int size, [Out] int* effects);
+ internal static alGenEffectsDelegate alGenEffects = (alGenEffectsDelegate)GetDelegateForExtensionMethod("alGenEffects", typeof(alGenEffectsDelegate));
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void alDeleteEffectsDelegate(int size, int* effects);
+ internal static alDeleteEffectsDelegate alDeleteEffects = (alDeleteEffectsDelegate)GetDelegateForExtensionMethod("alDeleteEffects", typeof(alDeleteEffectsDelegate));
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate bool alIsEffectDelegate(int effect);
+ internal static alIsEffectDelegate alIsEffect = (alIsEffectDelegate)GetDelegateForExtensionMethod("alIsEffect", typeof(alIsEffectDelegate));
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void alEffectiDelegate(int effect, int param, int value);
+ internal static alEffectiDelegate alEffecti = (alEffectiDelegate)GetDelegateForExtensionMethod("alEffecti", typeof(alEffectiDelegate));
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void alEffectivDelegate(int effect, int param, int* value);
+ internal static alEffectivDelegate alEffectiv = (alEffectivDelegate)GetDelegateForExtensionMethod("alEffectiv", typeof(alEffectivDelegate));
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void alEffectfDelegate(int effect, int param, float value);
+ internal static alEffectfDelegate alEffectf = (alEffectfDelegate)GetDelegateForExtensionMethod("alEffectf", typeof(alEffectfDelegate));
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void alEffectfvDelegate(int effect, int param, float* value);
+ internal static alEffectfvDelegate alEffectfv = (alEffectfvDelegate)GetDelegateForExtensionMethod("alEffectfv", typeof(alEffectfvDelegate));
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void alGetEffectiDelegate(int effect, int param, [Out] int* value);
+ internal static alGetEffectiDelegate alGetEffecti = (alGetEffectiDelegate)GetDelegateForExtensionMethod("alGetEffecti", typeof(alGetEffectiDelegate));
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void alGetEffectivDelegate(int effect, int param, [Out] int* value);
+ internal static alGetEffectivDelegate alGetEffectiv = (alGetEffectivDelegate)GetDelegateForExtensionMethod("alGetEffectiv", typeof(alGetEffectivDelegate));
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void alGetEffectfDelegate(int effect, int param, [Out] float* value);
+ internal static alGetEffectfDelegate alGetEffectf = (alGetEffectfDelegate)GetDelegateForExtensionMethod("alGetEffectf", typeof(alGetEffectfDelegate));
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void alGetEffectfvDelegate(int effect, int param, [Out] float* value);
+ internal static alGetEffectfvDelegate alGetEffectfv = (alGetEffectfvDelegate)GetDelegateForExtensionMethod("alGetEffectfv", typeof(alGetEffectfvDelegate));
+ #endregion
+
+ #region alFilter
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void alGenFiltersDelegate(int size, [Out] int* Filters);
+ internal static alGenFiltersDelegate alGenFilters = (alGenFiltersDelegate)GetDelegateForExtensionMethod("alGenFilters", typeof(alGenFiltersDelegate));
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void alDeleteFiltersDelegate(int size, int* Filters);
+ internal static alDeleteFiltersDelegate alDeleteFilters = (alDeleteFiltersDelegate)GetDelegateForExtensionMethod("alDeleteFilters", typeof(alDeleteFiltersDelegate));
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate bool alIsFilterDelegate(int Filter);
+ internal static alIsFilterDelegate alIsFilter = (alIsFilterDelegate)GetDelegateForExtensionMethod("alIsFilter", typeof(alIsFilterDelegate));
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void alFilteriDelegate(int Filter, int param, int value);
+ internal static alFilteriDelegate alFilteri = (alFilteriDelegate)GetDelegateForExtensionMethod("alFilteri", typeof(alFilteriDelegate));
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void alFilterivDelegate(int Filter, int param, int* value);
+ internal static alFilterivDelegate alFilteriv = (alFilterivDelegate)GetDelegateForExtensionMethod("alFilteriv", typeof(alFilterivDelegate));
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void alFilterfDelegate(int Filter, int param, float value);
+ internal static alFilterfDelegate alFilterf = (alFilterfDelegate)GetDelegateForExtensionMethod("alFilterf", typeof(alFilterfDelegate));
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void alFilterfvDelegate(int Filter, int param, float* value);
+ internal static alFilterfvDelegate alFilterfv = (alFilterfvDelegate)GetDelegateForExtensionMethod("alFilterfv", typeof(alFilterfvDelegate));
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void alGetFilteriDelegate(int Filter, int param, [Out] int* value);
+ internal static alGetFilteriDelegate alGetFilteri = (alGetFilteriDelegate)GetDelegateForExtensionMethod("alGetFilteri", typeof(alGetFilteriDelegate));
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void alGetFilterivDelegate(int Filter, int param, [Out] int* value);
+ internal static alGetFilterivDelegate alGetFilteriv = (alGetFilterivDelegate)GetDelegateForExtensionMethod("alGetFilteriv", typeof(alGetFilterivDelegate));
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void alGetFilterfDelegate(int Filter, int param, [Out] float* value);
+ internal static alGetFilterfDelegate alGetFilterf = (alGetFilterfDelegate)GetDelegateForExtensionMethod("alGetFilterf", typeof(alGetFilterfDelegate));
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void alGetFilterfvDelegate(int Filter, int param, [Out] float* value);
+ internal static alGetFilterfvDelegate alGetFilterfv = (alGetFilterfvDelegate)GetDelegateForExtensionMethod("alGetFilterfv", typeof(alGetFilterfvDelegate));
+ #endregion
+
+ #region alFilter
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void alGenAuxiliaryEffectSlotsDelegate(int size, [Out] int* AuxiliaryEffectSlots);
+ internal static alGenAuxiliaryEffectSlotsDelegate alGenAuxiliaryEffectSlots = (alGenAuxiliaryEffectSlotsDelegate)GetDelegateForExtensionMethod("alGenAuxiliaryEffectSlots", typeof(alGenAuxiliaryEffectSlotsDelegate));
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void alDeleteAuxiliaryEffectSlotsDelegate(int size, int* AuxiliaryEffectSlots);
+ internal static alDeleteAuxiliaryEffectSlotsDelegate alDeleteAuxiliaryEffectSlots = (alDeleteAuxiliaryEffectSlotsDelegate)GetDelegateForExtensionMethod("alDeleteAuxiliaryEffectSlots", typeof(alDeleteAuxiliaryEffectSlotsDelegate));
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate bool alIsAuxiliaryEffectSlotDelegate(int AuxiliaryEffectSlot);
+ internal static alIsAuxiliaryEffectSlotDelegate alIsAuxiliaryEffectSlot = (alIsAuxiliaryEffectSlotDelegate)GetDelegateForExtensionMethod("alIsAuxiliaryEffectSlot", typeof(alIsAuxiliaryEffectSlotDelegate));
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void alAuxiliaryEffectSlotiDelegate(int AuxiliaryEffectSlot, int param, int value);
+ internal static alAuxiliaryEffectSlotiDelegate alAuxiliaryEffectSloti = (alAuxiliaryEffectSlotiDelegate)GetDelegateForExtensionMethod("alAuxiliaryEffectSloti", typeof(alAuxiliaryEffectSlotiDelegate));
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void alAuxiliaryEffectSlotivDelegate(int AuxiliaryEffectSlot, int param, int* value);
+ internal static alAuxiliaryEffectSlotivDelegate alAuxiliaryEffectSlotiv = (alAuxiliaryEffectSlotivDelegate)GetDelegateForExtensionMethod("alAuxiliaryEffectSlotiv", typeof(alAuxiliaryEffectSlotivDelegate));
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void alAuxiliaryEffectSlotfDelegate(int AuxiliaryEffectSlot, int param, float value);
+ internal static alAuxiliaryEffectSlotfDelegate alAuxiliaryEffectSlotf = (alAuxiliaryEffectSlotfDelegate)GetDelegateForExtensionMethod("alAuxiliaryEffectSlotf", typeof(alAuxiliaryEffectSlotfDelegate));
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void alAuxiliaryEffectSlotfvDelegate(int AuxiliaryEffectSlot, int param, float* value);
+ internal static alAuxiliaryEffectSlotfvDelegate alAuxiliaryEffectSlotfv = (alAuxiliaryEffectSlotfvDelegate)GetDelegateForExtensionMethod("alAuxiliaryEffectSlotfv", typeof(alAuxiliaryEffectSlotfvDelegate));
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void alGetAuxiliaryEffectSlotiDelegate(int AuxiliaryEffectSlot, int param, [Out] int* value);
+ internal static alGetAuxiliaryEffectSlotiDelegate alGetAuxiliaryEffectSloti = (alGetAuxiliaryEffectSlotiDelegate)GetDelegateForExtensionMethod("alGetAuxiliaryEffectSloti", typeof(alGetAuxiliaryEffectSlotiDelegate));
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void alGetAuxiliaryEffectSlotivDelegate(int AuxiliaryEffectSlot, int param, [Out] int* value);
+ internal static alGetAuxiliaryEffectSlotivDelegate alGetAuxiliaryEffectSlotiv = (alGetAuxiliaryEffectSlotivDelegate)GetDelegateForExtensionMethod("alGetAuxiliaryEffectSlotiv", typeof(alGetAuxiliaryEffectSlotivDelegate));
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void alGetAuxiliaryEffectSlotfDelegate(int AuxiliaryEffectSlot, int param, [Out] float* value);
+ internal static alGetAuxiliaryEffectSlotfDelegate alGetAuxiliaryEffectSlotf = (alGetAuxiliaryEffectSlotfDelegate)GetDelegateForExtensionMethod("alGetAuxiliaryEffectSlotf", typeof(alGetAuxiliaryEffectSlotfDelegate));
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void alGetAuxiliaryEffectSlotfvDelegate(int AuxiliaryEffectSlot, int param, [Out] float* value);
+ internal static alGetAuxiliaryEffectSlotfvDelegate alGetAuxiliaryEffectSlotfv = (alGetAuxiliaryEffectSlotfvDelegate)GetDelegateForExtensionMethod("alGetAuxiliaryEffectSlotfv", typeof(alGetAuxiliaryEffectSlotfvDelegate));
+ #endregion
+ #endregion
+
+ }
+}
diff --git a/Source/Compatibility/Tao/OpenAl/Al.cs b/Source/Compatibility/Tao/OpenAl/Al.cs
new file mode 100644
index 00000000..26bc8b0f
--- /dev/null
+++ b/Source/Compatibility/Tao/OpenAl/Al.cs
@@ -0,0 +1,6197 @@
+#region License
+/*
+MIT License
+Copyright ©2003-2006 Tao Framework Team
+http://www.taoframework.com
+All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+#endregion License
+
+// Disable missing XML comment warnings
+#pragma warning disable 1591
+
+using System;
+using System.Reflection;
+using System.Runtime.InteropServices;
+using System.Security;
+using System.Collections;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Tao.OpenAl
+{
+ #region Class Documentation
+ ///
+ /// OpenAL binding for .NET, implementing AL 1.1.
+ ///
+ ///
+ /// Binds functions and definitions in OpenAL32.dll or libAL.so.
+ ///
+ #endregion Class Documentation
+ [Obsolete("Use OpenTK.Audio.OpenAL instead.")]
+ public static class Al
+ {
+ // --- Fields ---
+ #region Private Constants
+ #region string AL_NATIVE_LIBRARY
+ ///
+ /// Specifies OpenAl's native library archive.
+ ///
+ ///
+ /// Specifies OpenAl32.dll everywhere; will be mapped via .config for mono.
+ ///
+ private const string AL_NATIVE_LIBRARY = "OpenAL32.dll";
+ #endregion string AL_NATIVE_LIBRARY
+
+ #region CallingConvention CALLING_CONVENTION
+ ///
+ /// Specifies the calling convention.
+ ///
+ ///
+ /// Specifies .
+ ///
+ private const CallingConvention CALLING_CONVENTION = CallingConvention.Cdecl;
+ #endregion CallingConvention CALLING_CONVENTION
+ #endregion Private Constants
+
+ #region Public OpenAL 1.1 Constants
+ #region AL_INVALID
+ ///
+ /// Bad value.
+ ///
+ // #define AL_INVALID -1
+ public const int AL_INVALID = -1;
+ #endregion AL_INVALID
+
+ #region AL_NONE
+ ///
+ /// Disable value.
+ ///
+ // #define AL_NONE 0
+ public const int AL_NONE = 0;
+ #endregion AL_NONE
+
+ #region AL_FALSE
+ ///
+ /// bool false.
+ ///
+ // #define AL_FALSE 0
+ public const int AL_FALSE = 0;
+ #endregion AL_FALSE
+
+ #region AL_TRUE
+ ///
+ /// bool true.
+ ///
+ // #define AL_TRUE 1
+ public const int AL_TRUE = 1;
+ #endregion AL_TRUE
+
+ #region AL_SOURCE_TYPE
+ ///
+ /// Indicates the type of AL_SOURCE. Sources can be spatialized.
+ ///
+ // #define AL_SOURCE_TYPE 0x1027
+ public const int AL_SOURCE_TYPE = 0x1027;
+ #endregion AL_SOURCE_TYPE
+
+ //Deprecated in 1.1
+ //#region AL_SOURCE_ABSOLUTE
+ //
+ // Indicates source has absolute coordinates.
+ //
+ // #define AL_SOURCE_ABSOLUTE 0x201
+ //public const int AL_SOURCE_ABSOLUTE = 0x201;
+ //#endregion AL_SOURCE_ABSOLUTE
+
+ #region AL_SOURCE_RELATIVE
+ ///
+ /// Indicates source has listener-relative coordinates.
+ ///
+ // #define AL_SOURCE_RELATIVE 0x202
+ public const int AL_SOURCE_RELATIVE = 0x202;
+ #endregion AL_SOURCE_RELATIVE
+
+ #region AL_CONE_INNER_ANGLE
+ ///
+ /// Directional source, inner cone angle, in degrees. The accepted range is 0 to
+ /// 360, the default value is 360.
+ ///
+ // #define AL_CONE_INNER_ANGLE 0x1001
+ public const int AL_CONE_INNER_ANGLE = 0x1001;
+ #endregion AL_CONE_INNER_ANGLE
+
+ #region AL_CONE_OUTER_ANGLE
+ ///
+ /// Directional source, outer cone angle, in degrees. The accepted range is 0 to
+ /// 360, the default value is 360.
+ ///
+ // #define AL_CONE_OUTER_ANGLE 0x1002
+ public const int AL_CONE_OUTER_ANGLE = 0x1002;
+ #endregion AL_CONE_OUTER_ANGLE
+
+ #region AL_PITCH
+ ///
+ /// Specifies the pitch to be applied, either at source, or on mixer results, at
+ /// listener. The accepted range is 0.5 to 2.0, the default value is 1.0.
+ ///
+ // #define AL_PITCH 0x1003
+ public const int AL_PITCH = 0x1003;
+ #endregion AL_PITCH
+
+ #region AL_POSITION
+ ///
+ /// Specifies the current location in three dimensional space. OpenAL, like OpenGL,
+ /// uses a right-handed coordinate system, where in a frontal default view X (thumb)
+ /// points right, Y points up (index finger), and Z points towards the viewer/camera
+ /// (middle finger). To switch to a left-handed coordinate system, flip the sign on
+ /// the Z coordinate. Listener position is always in the world coordinate system.
+ ///
+ // #define AL_POSITION 0x1004
+ public const int AL_POSITION = 0x1004;
+ #endregion AL_POSITION
+
+ #region AL_DIRECTION
+ ///
+ /// Specifies the current direction as forward vector.
+ ///
+ // #define AL_DIRECTION 0x1005
+ public const int AL_DIRECTION = 0x1005;
+ #endregion AL_DIRECTION
+
+ #region AL_VELOCITY
+ ///
+ /// Specifies the current velocity in three dimensional space.
+ ///
+ // #define AL_VELOCITY 0x1006
+ public const int AL_VELOCITY = 0x1006;
+ #endregion AL_VELOCITY
+
+ #region AL_LOOPING
+ ///
+ /// Indicates whether source has to loop infinitely. The accepted values are
+ /// or , the default value is
+ /// .
+ ///
+ // #define AL_LOOPING 0x1007
+ public const int AL_LOOPING = 0x1007;
+ #endregion AL_LOOPING
+
+ #region AL_STATIC
+ ///
+ /// Indicates whether source is meant to be static. The accepted values are
+ /// or , the default value is
+ /// .
+ ///
+ // #define AL_STATIC 0x1028
+ public const int AL_STATIC = 0x1028;
+ #endregion AL_STATIC
+
+ #region AL_STREAMING
+ ///
+ /// Indicates whether source is meant to be streaming. The accepted values are
+ /// or , the default value is
+ /// .
+ ///
+ // #define AL_STREAMING 0x1029
+ public const int AL_STREAMING = 0x1029;
+ #endregion AL_STREAMING
+
+ #region AL_UNDETERMINED
+ ///
+ /// Indicates whether source is meant to be undetermined. The accepted values are
+ /// or , the default value is
+ /// .
+ ///
+ // #define AL_UNDETERMINED 0x1029
+ public const int AL_UNDETERMINED = 0x1030;
+ #endregion AL_UNDETERMINED
+
+ #region AL_BUFFER
+ ///
+ /// Indicates the buffer to provide sound samples. The accepted range is any valid
+ /// buffer ID.
+ ///
+ // #define AL_BUFFER 0x1009
+ public const int AL_BUFFER = 0x1009;
+ #endregion AL_BUFFER
+
+ #region AL_GAIN
+ ///
+ /// Indicates the gain (volume amplification) applied. The accepted range is 0.0
+ /// or above. A value of 1.0 means unattenuated/unchanged. Each division by 2 equals
+ /// an attenuation of -6dB. Each multiplication by 2 equals an amplification of +6dB.
+ /// A value of 0.0 is meaningless with respect to a logarithmic scale; it is
+ /// interpreted as zero volume, the channel is effectively disabled.
+ ///
+ // #define AL_GAIN 0x100A
+ public const int AL_GAIN = 0x100A;
+ #endregion AL_GAIN
+
+ //Deprecated in 1.1.
+ //#region AL_BYTE_LOKI
+ //
+ // byte offset into source (in canon format). -1 if source is not playing. Do not
+ // set this, get this. The accepted range is -1 or above.
+ //
+ // #define AL_BYTE_LOKI 0x100C
+ //public const int AL_BYTE_LOKI = 0x100C;
+ //#endregion AL_BYTE_LOKI
+
+ #region AL_MIN_GAIN
+ ///
+ /// Indicates minimum source attenuation. The accepted range is 0.0 to 1.0.
+ ///
+ // #define AL_MIN_GAIN 0x100D
+ public const int AL_MIN_GAIN = 0x100D;
+ #endregion AL_MIN_GAIN
+
+ #region AL_MAX_GAIN
+ ///
+ /// Indicates maximum source attenuation. The accepted range is 0.0 to 1.0.
+ ///
+ /// #define AL_MAX_GAIN 0x100E
+ public const int AL_MAX_GAIN = 0x100E;
+ #endregion AL_MAX_GAIN
+
+ #region AL_ORIENTATION
+ ///
+ /// Specifies the current orientation.
+ ///
+ // #define AL_ORIENTATION 0x100F
+ public const int AL_ORIENTATION = 0x100F;
+ #endregion AL_ORIENTATION
+
+ #region AL_REFERENCE_DISTANCE
+ ///
+ /// byte offset into source (in canon format). -1 if source is not playing. Do not
+ /// set this, only get this value. The accepted range is 0.0 or above. The default
+ /// value is 1.0.
+ ///
+ // #define AL_REFERENCE_DISTANCE 0x1020
+ public const int AL_REFERENCE_DISTANCE = 0x1020;
+ #endregion AL_REFERENCE_DISTANCE
+
+ #region AL_ROLLOFF_FACTOR
+ ///
+ /// Indicates the rolloff factor for the source. The accepted range is 0.0 or
+ /// above. The default value is 1.0.
+ ///
+ // #define AL_ROLLOFF_FACTOR 0x1021
+ public const int AL_ROLLOFF_FACTOR = 0x1021;
+ #endregion AL_ROLLOFF_FACTOR
+
+ #region AL_CONE_OUTER_GAIN
+ ///
+ /// Indicates the gain (volume amplification) applied. The accepted range is 0.0 or
+ /// above. A value of 1.0 means unattenuated/unchanged. Each division by 2 equals an
+ /// attenuation of -6dB. Each multiplication by 2 equals an amplification of +6dB.
+ /// A value of 0.0 is meaningless with respect to a logarithmic scale; it is
+ /// interpreted as zero volume, the channel is effectively disabled.
+ ///
+ // #define AL_CONE_OUTER_GAIN 0x1022
+ public const int AL_CONE_OUTER_GAIN = 0x1022;
+ #endregion AL_CONE_OUTER_GAIN
+
+ #region AL_MAX_DISTANCE
+ ///
+ /// Specifies the maximum distance. The accepted range is 0.0 or above.
+ ///
+ // #define AL_MAX_DISTANCE 0x1023
+ public const int AL_MAX_DISTANCE = 0x1023;
+ #endregion AL_MAX_DISTANCE
+
+ #region AL_CHANNEL_MASK
+ ///
+ /// Specifies the channel mask. The accepted range is 0 to 255.
+ ///
+ // #define AL_CHANNEL_MASK 0x3000
+ public const int AL_CHANNEL_MASK = 0x3000;
+ #endregion AL_CHANNEL_MASK
+
+ #region AL_SOURCE_STATE
+ ///
+ /// Source state information.
+ ///
+ // #define AL_SOURCE_STATE 0x1010
+ public const int AL_SOURCE_STATE = 0x1010;
+ #endregion AL_SOURCE_STATE
+
+ #region AL_INITIAL
+ ///
+ /// Source initialized.
+ ///
+ // #define AL_INITIAL 0x1011
+ public const int AL_INITIAL = 0x1011;
+ #endregion AL_INITIAL
+
+ #region AL_PLAYING
+ ///
+ /// Source playing.
+ ///
+ // #define AL_PLAYING 0x1012
+ public const int AL_PLAYING = 0x1012;
+ #endregion AL_PLAYING
+
+ #region AL_PAUSED
+ ///
+ /// Source paused.
+ ///
+ // #define AL_PAUSED 0x1013
+ public const int AL_PAUSED = 0x1013;
+ #endregion AL_PAUSED
+
+ #region AL_STOPPED
+ ///
+ /// Source stopped.
+ ///
+ // #define AL_STOPPED 0x1014
+ public const int AL_STOPPED = 0x1014;
+ #endregion AL_STOPPED
+
+ #region AL_BUFFERS_QUEUED
+ ///
+ /// Buffers are queued.
+ ///
+ // #define AL_BUFFERS_QUEUED 0x1015
+ public const int AL_BUFFERS_QUEUED = 0x1015;
+ #endregion AL_BUFFERS_QUEUED
+
+ #region AL_BUFFERS_PROCESSED
+ ///
+ /// Buffers are processed.
+ ///
+ // #define AL_BUFFERS_PROCESSED 0x1016
+ public const int AL_BUFFERS_PROCESSED = 0x1016;
+ #endregion AL_BUFFERS_PROCESSED
+
+ #region AL_SEC_OFFSET
+ ///
+ /// Source buffer position information.
+ ///
+ // #define AL_SEC_OFFSET 0x1024
+ public const int AL_SEC_OFFSET = 0x1024;
+ #endregion AL_SEC_OFFSET
+
+ #region AL_SAMPLE_OFFSET
+ ///
+ /// Source buffer position information.
+ ///
+ // #define AL_SAMPLE_OFFSET 0x1025
+ public const int AL_SAMPLE_OFFSET = 0x1025;
+ #endregion AL_SAMPLE_OFFSET
+
+ #region AL_BYTE_OFFSET
+ ///
+ /// Source buffer position information.
+ ///
+ // #define AL_BYTE_OFFSET 0x1026
+ public const int AL_BYTE_OFFSET = 0x1026;
+ #endregion AL_BYTE_OFFSET
+
+ #region AL_FORMAT_MONO8
+ ///
+ /// 8-bit mono buffer.
+ ///
+ // #define AL_FORMAT_MONO8 0x1100
+ public const int AL_FORMAT_MONO8 = 0x1100;
+ #endregion AL_FORMAT_MONO8
+
+ #region AL_FORMAT_MONO16
+ ///
+ /// 16-bit mono buffer.
+ ///
+ // #define AL_FORMAT_MONO16 0x1101
+ public const int AL_FORMAT_MONO16 = 0x1101;
+ #endregion AL_FORMAT_MONO16
+
+ #region AL_FORMAT_STEREO8
+ ///
+ /// 8-bit stereo buffer.
+ ///
+ // #define AL_FORMAT_STEREO8 0x1102
+ public const int AL_FORMAT_STEREO8 = 0x1102;
+ #endregion AL_FORMAT_STEREO8
+
+ #region AL_FORMAT_STEREO16
+ ///
+ /// 16-bit stereo buffer.
+ ///
+ // #define AL_FORMAT_STEREO16 0x1103
+ public const int AL_FORMAT_STEREO16 = 0x1103;
+ #endregion AL_FORMAT_STEREO16
+
+ #region AL_FREQUENCY
+ ///
+ /// Buffer frequency, in units of Hertz (Hz). This is the number of samples per
+ /// second. Half of the sample frequency marks the maximum significant frequency
+ /// component.
+ ///
+ // #define AL_FREQUENCY 0x2001
+ public const int AL_FREQUENCY = 0x2001;
+ #endregion AL_FREQUENCY
+
+ #region AL_BITS
+ ///
+ /// Buffer bit depth.
+ ///
+ // #define AL_BITS 0x2002
+ public const int AL_BITS = 0x2002;
+ #endregion AL_BITS
+
+ #region AL_CHANNELS
+ ///
+ /// Buffer channels.
+ ///
+ // #define AL_CHANNELS 0x2003
+ public const int AL_CHANNELS = 0x2003;
+ #endregion AL_CHANNELS
+
+ #region AL_SIZE
+ ///
+ /// Buffer size.
+ ///
+ // #define AL_SIZE 0x2004
+ public const int AL_SIZE = 0x2004;
+ #endregion AL_SIZE
+
+ #region AL_DATA
+ ///
+ /// Buffer data.
+ ///
+ // #define AL_DATA 0x2005
+ public const int AL_DATA = 0x2005;
+ #endregion AL_DATA
+
+ #region AL_UNUSED
+ ///
+ /// Buffer unused.
+ ///
+ // #define AL_UNUSED 0x2010
+ public const int AL_UNUSED = 0x2010;
+ #endregion AL_UNUSED
+
+ #region AL_QUEUED
+ ///
+ /// Buffer queued.
+ ///
+ // #define AL_QUEUED 0x2011
+ public const int AL_QUEUED = 0x2011;
+ #endregion AL_QUEUED
+
+ #region AL_PENDING
+ ///
+ /// Buffer pending.
+ ///
+ // #define AL_PENDING 0x2011
+ public const int AL_PENDING = 0x2011;
+ #endregion AL_PENDING
+
+ #region AL_CURRENT
+ ///
+ /// Buffer current.
+ ///
+ // #define AL_CURRENT 0x2012
+ public const int AL_CURRENT = 0x2012;
+ #endregion AL_CURRENT
+
+ #region AL_PROCESSED
+ ///
+ /// Buffer processed.
+ ///
+ // #define AL_PROCESSED 0x2012
+ public const int AL_PROCESSED = 0x2012;
+ #endregion AL_PROCESSED
+
+ #region AL_NO_ERROR
+ ///
+ /// No error.
+ ///
+ // #define AL_NO_ERROR AL_FALSE
+ public const int AL_NO_ERROR = AL_FALSE;
+ #endregion AL_NO_ERROR
+
+ #region AL_INVALID_NAME
+ ///
+ /// Illegal name passed as an argument to an AL call.
+ ///
+ // #define AL_INVALID_NAME 0xA001
+ public const int AL_INVALID_NAME = 0xa001;
+ #endregion AL_INVALID_NAME
+
+ #region AL_ILLEGAL_ENUM
+ ///
+ /// Illegal enum passed as an argument to an AL call.
+ ///
+ // #define AL_ILLEGAL_ENUM 0xA002
+ public const int AL_ILLEGAL_ENUM = 0xA002;
+ #endregion AL_ILLEGAL_ENUM
+
+ #region AL_INVALID_ENUM
+ ///
+ /// Illegal enum passed as an argument to an AL call.
+ ///
+ // #define AL_INVALID_ENUM 0xA002
+ public const int AL_INVALID_ENUM = 0xA002;
+ #endregion AL_INVALID_ENUM
+
+ #region AL_INVALID_VALUE
+ ///
+ /// Illegal value passed as an argument to an AL call. Applies to parameter
+ /// values, but not to enumerations.
+ ///
+ // #define AL_INVALID_VALUE 0xA003
+ public const int AL_INVALID_VALUE = 0xA003;
+ #endregion AL_INVALID_VALUE
+
+ #region AL_ILLEGAL_COMMAND
+ ///
+ /// A function was called at an inappropriate time or in an inappropriate way,
+ /// causing an illegal state. This can be an incompatible value, object ID, and/or
+ /// function.
+ ///
+ // #define AL_ILLEGAL_COMMAND 0xA004
+ public const int AL_ILLEGAL_COMMAND = 0xA004;
+ #endregion AL_ILLEGAL_COMMAND
+
+ #region AL_INVALID_OPERATION
+ ///
+ /// A function was called at an inappropriate time or in an inappropriate way,
+ /// causing an illegal state. This can be an incompatible value, object ID, and/or
+ /// function.
+ ///
+ // #define AL_INVALID_OPERATION 0xA004
+ public const int AL_INVALID_OPERATION = 0xA004;
+ #endregion AL_INVALID_OPERATION
+
+ #region AL_OUT_OF_MEMORY
+ ///
+ /// A function could not be completed, because there is not enough memory available.
+ ///
+ // #define AL_OUT_OF_MEMORY 0xA005
+ public const int AL_OUT_OF_MEMORY = 0xA005;
+ #endregion AL_OUT_OF_MEMORY
+
+ #region AL_VENDOR
+ ///
+ /// Vendor name.
+ ///
+ // #define AL_VENDOR 0xb001
+ public const int AL_VENDOR = 0xB001;
+ #endregion AL_VENDOR
+
+ #region AL_VERSION
+ ///
+ /// Version.
+ ///
+ // #define AL_VERSION 0xB002
+ public const int AL_VERSION = 0xB002;
+ #endregion AL_VERSION
+
+ #region AL_RENDERER
+ ///
+ /// Renderer.
+ ///
+ // #define AL_RENDERER 0xB003
+ public const int AL_RENDERER = 0xB003;
+ #endregion AL_RENDERER
+
+ #region AL_EXTENSIONS
+ ///
+ /// Extensions.
+ ///
+ // #define AL_EXTENSIONS 0xB004
+ public const int AL_EXTENSIONS = 0xB004;
+ #endregion AL_EXTENSIONS
+
+ #region AL_DOPPLER_FACTOR
+ ///
+ /// Doppler scale. The default value is 1.0.
+ ///
+ // #define AL_DOPPLER_FACTOR 0xC000
+ public const int AL_DOPPLER_FACTOR = 0xC000;
+ #endregion AL_DOPPLER_FACTOR
+
+ #region AL_DOPPLER_VELOCITY
+ ///
+ /// Doppler velocity. The default value is 1.0.
+ ///
+ // #define AL_DOPPLER_VELOCITY 0xC001
+ public const int AL_DOPPLER_VELOCITY = 0xC001;
+ #endregion AL_DOPPLER_VELOCITY
+
+ #region AL_SPEED_OF_SOUND
+ ///
+ /// Speed of Sound
+ ///
+ // #define AL_SPEED_OF_SOUND 0xC003
+ public const int AL_SPEED_OF_SOUND = 0xC003;
+ #endregion AL_SPEED_OF_SOUND
+
+ #region AL_DISTANCE_SCALE
+ ///
+ /// Distance scaling.
+ ///
+ // #define AL_DISTANCE_SCALE 0xC002
+ public const int AL_DISTANCE_SCALE = 0xC002;
+ #endregion AL_DISTANCE_SCALE
+
+ #region AL_DISTANCE_MODEL
+ ///
+ /// Distance model. The default value is .
+ ///
+ // #define AL_DISTANCE_MODEL 0xD000
+ public const int AL_DISTANCE_MODEL = 0xD000;
+ #endregion AL_DISTANCE_MODEL
+
+ #region AL_INVERSE_DISTANCE
+ ///
+ /// Inverse distance model.
+ ///
+ // #define AL_INVERSE_DISTANCE 0xD001
+ public const int AL_INVERSE_DISTANCE = 0xD001;
+ #endregion AL_INVERSE_DISTANCE
+
+ #region AL_INVERSE_DISTANCE_CLAMPED
+ ///
+ /// Inverse distance clamped model.
+ ///
+ // #define AL_INVERSE_DISTANCE_CLAMPED 0xD002
+ public const int AL_INVERSE_DISTANCE_CLAMPED = 0xD002;
+ #endregion AL_INVERSE_DISTANCE_CLAMPED
+
+ #region AL_LINEAR_DISTANCE
+ ///
+ ///
+ ///
+ // #define AL_LINEAR_DISTANCE 0xD003
+ public const int AL_LINEAR_DISTANCE = 0xD003;
+ #endregion AL_LINEAR_DISTANCE
+
+ #region AL_LINEAR_DISTANCE_CLAMPED
+ ///
+ ///
+ ///
+ // #define AL_LINEAR_DISTANCE_CLAMPED 0xD004
+ public const int AL_LINEAR_DISTANCE_CLAMPED = 0xD004;
+ #endregion AL_LINEAR_DISTANCE_CLAMPED
+
+ #region AL_EXPONENT_DISTANCE
+ ///
+ ///
+ ///
+ // #define AL_EXPONENT_DISTANCE 0xD005
+ public const int AL_EXPONENT_DISTANCE = 0xD005;
+ #endregion AL_EXPONENT_DISTANCE
+
+ #region AL_EXPONENT_DISTANCE_CLAMPED
+ ///
+ ///
+ ///
+ // #define AL_EXPONENT_DISTANCE_CLAMPED 0xD006
+ public const int AL_EXPONENT_DISTANCE_CLAMPED = 0xD006;
+ #endregion AL_EXPONENT_DISTANCE_CLAMPED
+
+ #region AL_ENV_ROOM_IASIG
+ ///
+ /// Room. The accepted range is -10000 to 0. The default value is -10000.
+ ///
+ // #define AL_ENV_ROOM_IASIG 0x3001
+ public const int AL_ENV_ROOM_IASIG = 0x3001;
+ #endregion AL_ENV_ROOM_IASIG
+
+ #region AL_ENV_ROOM_HIGH_FREQUENCY_IASIG
+ ///
+ /// Room high frequency. The accepted range is -10000 to 0. The default value is 0.
+ ///
+ // #define AL_ENV_ROOM_HIGH_FREQUENCY_IASIG 0x3002
+ public const int AL_ENV_ROOM_HIGH_FREQUENCY_IASIG = 0x3002;
+ #endregion AL_ENV_ROOM_HIGH_FREQUENCY_IASIG
+
+ #region AL_ENV_ROOM_ROLLOFF_FACTOR
+ ///
+ /// Room rolloff factor. The accepted range is 0.1 to 20.0. The default value is
+ /// 0.0.
+ ///
+ // #define AL_ENV_ROOM_ROLLOFF_FACTOR_IASIG 0x3003
+ public const int AL_ENV_ROOM_ROLLOFF_FACTOR = 0x3003;
+ #endregion AL_ENV_ROOM_ROLLOFF_FACTOR
+
+ #region AL_ENV_DECAY_TIME_IASIG
+ ///
+ /// Decay time. The accepted range is 0.1 to 20.0. The default value is 1.0.
+ ///
+ // #define AL_ENV_DECAY_TIME_IASIG 0x3004
+ public const int AL_ENV_DECAY_TIME_IASIG = 0x3004;
+ #endregion AL_ENV_DECAY_TIME_IASIG
+
+ #region AL_ENV_DECAY_HIGH_FREQUENCY_RATIO_IASIG
+ ///
+ /// Decay high frequency ratio. The accepted range is 0.1 to 2.0. The default value
+ /// is 0.5.
+ ///
+ // #define AL_ENV_DECAY_HIGH_FREQUENCY_RATIO_IASIG 0x3005
+ public const int AL_ENV_DECAY_HIGH_FREQUENCY_RATIO_IASIG = 0x3005;
+ #endregion AL_ENV_DECAY_HIGH_FREQUENCY_RATIO_IASIG
+
+ #region AL_ENV_REFLECTIONS_IASIG
+ ///
+ /// Reflections. The accepted range is -10000 to 1000. The default value is -10000.
+ ///
+ // #define AL_ENV_REFLECTIONS_IASIG 0x3006
+ public const int AL_ENV_REFLECTIONS_IASIG = 0x3006;
+ #endregion AL_ENV_REFLECTIONS_IASIG
+
+ #region AL_ENV_REFLECTIONS_DELAY_IASIG
+ ///
+ /// Reflections delay. The accepted range is 0.0 to 0.3. The default value is 0.02.
+ ///
+ // #define AL_ENV_REFLECTIONS_DELAY_IASIG 0x3006
+ public const int AL_ENV_REFLECTIONS_DELAY_IASIG = 0x3006;
+ #endregion AL_ENV_REFLECTIONS_DELAY_IASIG
+
+ #region AL_ENV_REVERB_IASIG
+ ///
+ /// Reverb. The accepted range is -10000 to 2000. The default value is -10000.
+ ///
+ // #define AL_ENV_REVERB_IASIG 0x3007
+ public const int AL_ENV_REVERB_IASIG = 0x3007;
+ #endregion AL_ENV_REVERB_IASIG
+
+ #region AL_ENV_REVERB_DELAY_IASIG
+ ///
+ /// Reverb delay. The accepted range is 0.0 to 0.1. The default value is 0.04.
+ ///
+ // #define AL_ENV_REVERB_DELAY_IASIG 0x3008
+ public const int AL_ENV_REVERB_DELAY_IASIG = 0x3008;
+ #endregion AL_ENV_REVERB_DELAY_IASIG
+
+ #region AL_ENV_DIFFUSION_IASIG
+ ///
+ /// Diffusion. The accepted range is 0.0 to 100.0. The default value is 100.0.
+ ///
+ // #define AL_ENV_DIFFUSION_IASIG 0x3009
+ public const int AL_ENV_DIFFUSION_IASIG = 0x3009;
+ #endregion AL_ENV_DIFFUSION_IASIG
+
+ #region AL_ENV_DENSITY_IASIG
+ ///
+ /// Density. The accepted range is 0.0 to 100.0. The default value is 100.0.
+ ///
+ // #define AL_ENV_DENSITY_IASIG 0x300A
+ public const int AL_ENV_DENSITY_IASIG = 0x300A;
+ #endregion AL_ENV_DENSITY_IASIG
+
+ #region AL_ENV_HIGH_FREQUENCY_REFERENCE_IASIG
+ ///
+ /// High frequency reference. The accepted range is 20.0 to 20000.0. The default
+ /// value is 5000.0.
+ ///
+ // #define AL_ENV_HIGH_FREQUENCY_REFERENCE_IASIG 0x300B
+ public const int AL_ENV_HIGH_FREQUENCY_REFERENCE_IASIG = 0x300B;
+ #endregion AL_ENV_HIGH_FREQUENCY_REFERENCE_IASIG
+
+ #region AL_FORMAT_QUAD16
+ ///
+ /// Format specifier for 16bit 4-channel audio.
+ ///
+ ///
+ /// Note that if the enumeration value is not supported by the current OpenAl implementation,
+ /// an OpenAL error is generated the first, but only the first time this field is accessed.
+ /// The field then has a value of zero.
+ ///
+ // Enumeration value has to be queried at runtime.
+ public static readonly int AL_FORMAT_QUAD16 = alGetEnumValue("AL_FORMAT_QUAD16");
+ #endregion AL_FORMAT_QUAD16
+
+ #region AL_FORMAT_51CHN16
+ ///
+ /// Format specifier for 16bit 6-channel audio.
+ ///
+ ///
+ /// Note that if the enumeration value is not supported by the current OpenAl implementation,
+ /// an OpenAL error is generated the first, but only the first time this field is accessed.
+ /// The field then has a value of zero.
+ ///
+ // Enumeration value has to be queried at runtime.
+ public static readonly int AL_FORMAT_51CHN16 = alGetEnumValue("AL_FORMAT_51CHN16");
+ #endregion AL_FORMAT_51CHN16
+
+ #region AL_FORMAT_61CHN16
+ ///
+ /// Format specifier for 16bit 7-channel audio.
+ ///
+ ///
+ /// Note that if the enumeration value is not supported by the current OpenAl implementation,
+ /// an OpenAL error is generated the first, but only the first time this field is accessed.
+ /// The field then has a value of zero.
+ ///
+ // Enumeration value has to be queried at runtime.
+ public static readonly int AL_FORMAT_61CHN16 = alGetEnumValue("AL_FORMAT_61CHN16");
+ #endregion AL_FORMAT_61CHN16
+
+ #region AL_FORMAT_71CHN16
+ ///
+ /// Format specifier for 16bit 8-channel audio.
+ ///
+ ///
+ /// Note that if the enumeration value is not supported by the current OpenAl implementation,
+ /// an OpenAL error is generated the first, but only the first time this field is accessed.
+ /// The field then has a value of zero.
+ ///
+ // Enumeration value has to be queried at runtime.
+ public static readonly int AL_FORMAT_71CHN16 = alGetEnumValue("AL_FORMAT_71CHN16");
+ #endregion AL_FORMAT_71CHN16
+
+ #region AL_STORAGE_AUTOMATIC
+ ///
+ /// See 'OpenAL Programmer's Guide' for more information.
+ ///
+ ///
+ /// Note that if the enumeration value is not supported by the current OpenAl implementation,
+ /// an OpenAL error is generated the first, but only the first time this field is accessed.
+ /// The field then has a value of zero.
+ ///
+ // Enumeration value has to be queried at runtime.
+ public static readonly int AL_STORAGE_AUTOMATIC = alGetEnumValue("AL_STORAGE_AUTOMATIC");
+ #endregion AL_STORAGE_AUTOMATIC
+
+ #region AL_STORAGE_HARDWARE
+ ///
+ /// See 'OpenAL Programmer's Guide' for more information.
+ ///
+ ///
+ /// Note that if the enumeration value is not supported by the current OpenAl implementation,
+ /// an OpenAL error is generated the first, but only the first time this field is accessed.
+ /// The field then has a value of zero.
+ ///
+ // Enumeration value has to be queried at runtime.
+ public static readonly int AL_STORAGE_HARDWARE = alGetEnumValue("AL_STORAGE_HARDWARE");
+ #endregion AL_STORAGE_HARDWARE
+
+ #region AL_STORAGE_ACCESSIBLE
+ ///
+ /// See 'OpenAL Programmer's Guide' for more information.
+ ///
+ ///
+ /// Note that if the enumeration value is not supported by the current OpenAl implementation,
+ /// an OpenAL error is generated the first, but only the first time this field is accessed.
+ /// The field then has a value of zero.
+ ///
+ // Enumeration value has to be queried at runtime.
+ public static readonly int AL_STORAGE_ACCESSIBLE = alGetEnumValue("AL_STORAGE_ACCESSIBLE");
+ #endregion AL_STORAGE_ACCESSIBLE
+
+ #region AL_EAX_RAM_SIZE
+ ///
+ /// See 'OpenAL Programmer's Guide' for more information.
+ ///
+ ///
+ /// Note that if the enumeration value is not supported by the current OpenAl implementation,
+ /// an OpenAL error is generated the first, but only the first time this field is accessed.
+ /// The field then has a value of zero.
+ ///
+ // Enumeration value has to be queried at runtime.
+ public static readonly int AL_EAX_RAM_SIZE = alGetEnumValue("AL_EAX_RAM_SIZE");
+ #endregion AL_EAX_RAM_SIZE
+
+ #region AL_EAX_RAM_FREE
+ ///
+ /// See 'OpenAL Programmer's Guide' for more information.
+ ///
+ ///
+ /// Note that if the enumeration value is not supported by the current OpenAl implementation,
+ /// an OpenAL error is generated the first, but only the first time this field is accessed.
+ /// The field then has a value of zero.
+ ///
+ // Enumeration value has to be queried at runtime.
+ public static readonly int AL_EAX_RAM_FREE = alGetEnumValue("AL_EAX_RAM_FREE");
+ #endregion AL_EAX_RAM_FREE
+
+ #region EFX_EXT
+ //#define AL_METERS_PER_UNIT 0x20004
+ public const int AL_METERS_PER_UNIT = 0x20004;
+
+ //#define AL_DIRECT_FILTER 0x20005
+ public const int AL_DIRECT_FILTER = 0x20005;
+ //#define AL_AUXILIARY_SEND_FILTER 0x20006
+ public const int AL_AUXILIARY_SEND_FILTER = 0x20006;
+ //#define AL_AIR_ABSORPTION_FACTOR 0x20007
+ public const int AL_AIR_ABSORPTION_FACTOR = 0x20007;
+ //#define AL_ROOM_ROLLOFF_FACTOR 0x20008
+ public const int AL_ROOM_ROLLOFF_FACTOR = 0x20008;
+ //#define AL_CONE_OUTER_GAINHF 0x20009
+ public const int AL_CONE_OUTER_GAINHF = 0x20009;
+ //#define AL_DIRECT_FILTER_GAINHF_AUTO 0x2000A
+ public const int AL_DIRECT_FILTER_GAINHF_AUTO = 0x2000A;
+ //#define AL_AUXILIARY_SEND_FILTER_GAIN_AUTO 0x2000B
+ public const int AL_AUXILIARY_SEND_FILTER_GAIN_AUTO = 0x2000B;
+ //#define AL_AUXILIARY_SEND_FILTER_GAINHF_AUTO 0x2000C
+ public const int AL_AUXILIARY_SEND_FILTER_GAINHF_AUTO = 0x2000C;
+
+ //#define AL_EFFECTSLOT_EFFECT 0x0001
+ public const int AL_EFFECTSLOT_EFFECT = 0x0001;
+ //#define AL_EFFECTSLOT_GAIN 0x0002
+ public const int AL_EFFECTSLOT_GAIN = 0x0002;
+ //#define AL_EFFECTSLOT_AUXILIARY_SEND_AUTO 0x0003
+ public const int AL_EFFECTSLOT_AUXILIARY_SEND_AUTO = 0x0003;
+ //#define AL_EFFECTSLOT_NULL 0x0000
+ public const int AL_EFFECTSLOT_NULL = 0x0000;
+
+ /* Reverb Parameters */
+ //#define AL_REVERB_DENSITY 0x0001
+ public const int AL_REVERB_DENSITY = 0x0001;
+ //#define AL_REVERB_DIFFUSION 0x0002
+ public const int AL_REVERB_DIFFUSION = 0x0002;
+ //#define AL_REVERB_GAIN 0x0003
+ public const int AL_REVERB_GAIN = 0x0003;
+ //#define AL_REVERB_GAINHF 0x0004
+ public const int AL_REVERB_GAINHF = 0x0004;
+ //#define AL_REVERB_DECAY_TIME 0x0005
+ public const int AL_REVERB_DECAY_TIME = 0x0005;
+ //#define AL_REVERB_DECAY_HFRATIO 0x0006
+ public const int AL_REVERB_DECAY_HFRATIO = 0x0006;
+ //#define AL_REVERB_REFLECTIONS_GAIN 0x0007
+ public const int AL_REVERB_REFLECTIONS_GAIN = 0x0007;
+ //#define AL_REVERB_REFLECTIONS_DELAY 0x0008
+ public const int AL_REVERB_REFLECTIONS_DELAY = 0x0008;
+ //#define AL_REVERB_LATE_REVERB_GAIN 0x0009
+ public const int AL_REVERB_LATE_REVERB_GAIN = 0x0009;
+ //#define AL_REVERB_LATE_REVERB_DELAY 0x000A
+ public const int AL_REVERB_LATE_REVERB_DELAY = 0x000A;
+ //#define AL_REVERB_AIR_ABSORPTION_GAINHF 0x000B
+ public const int AL_REVERB_AIR_ABSORPTION_GAINHF = 0x000B;
+ //#define AL_REVERB_ROOM_ROLLOFF_FACTOR 0x000C
+ public const int AL_REVERB_ROOM_ROLLOFF_FACTOR = 0x000C;
+ //#define AL_REVERB_DECAY_HFLIMIT 0x000D
+ public const int AL_REVERB_DECAY_HFLIMIT = 0x000D;
+
+ ///* Chorus Parameters */
+ //#define AL_CHORUS_WAVEFORM 0x0001
+ public const int AL_CHORUS_WAVEFORM = 0x0001;
+ //#define AL_CHORUS_PHASE 0x0002
+ public const int AL_CHORUS_PHASE = 0x0002;
+ //#define AL_CHORUS_RATE 0x0003
+ public const int AL_CHORUS_RATE = 0x0003;
+ //#define AL_CHORUS_DEPTH 0x0004
+ public const int AL_CHORUS_DEPTH = 0x0004;
+ //#define AL_CHORUS_FEEDBACK 0x0005
+ public const int AL_CHORUS_FEEDBACK = 0x0005;
+ //#define AL_CHORUS_DELAY 0x0006
+ public const int AL_CHORUS_DELAY = 0x0006;
+
+ ///* Distortion Parameters */
+ //#define AL_DISTORTION_EDGE 0x0001
+ public const int AL_DISTORTION_EDGE = 0x0001;
+ //#define AL_DISTORTION_GAIN 0x0002
+ public const int AL_DISTORTION_GAIN = 0x0002;
+ //#define AL_DISTORTION_LOWPASS_CUTOFF 0x0003
+ public const int AL_DISTORTION_LOWPASS_CUTOFF = 0x0003;
+ //#define AL_DISTORTION_EQCENTER 0x0004
+ public const int AL_DISTORTION_EQCENTER = 0x0004;
+ //#define AL_DISTORTION_EQBANDWIDTH 0x0005
+ public const int AL_DISTORTION_EQBANDWIDTH = 0x0005;
+
+ ///* Echo Parameters */
+ //#define AL_ECHO_DELAY 0x0001
+ public const int AL_ECHO_DELAY = 0x0001;
+ //#define AL_ECHO_LRDELAY 0x0002
+ public const int AL_ECHO_LRDELAY = 0x0002;
+ //#define AL_ECHO_DAMPING 0x0003
+ public const int AL_ECHO_DAMPING = 0x0003;
+ //#define AL_ECHO_FEEDBACK 0x0004
+ public const int AL_ECHO_FEEDBACK = 0x0004;
+ //#define AL_ECHO_SPREAD 0x0005
+ public const int AL_ECHO_SPREAD = 0x0005;
+
+ ///* Flanger Parameters */
+ //#define AL_FLANGER_WAVEFORM 0x0001
+ public const int AL_FLANGER_WAVEFORM = 0x0001;
+ //#define AL_FLANGER_PHASE 0x0002
+ public const int AL_FLANGER_PHASE = 0x0002;
+ //#define AL_FLANGER_RATE 0x0003
+ public const int AL_FLANGER_RATE = 0x0003;
+ //#define AL_FLANGER_DEPTH 0x0004
+ public const int AL_FLANGER_DEPTH = 0x0004;
+ //#define AL_FLANGER_FEEDBACK 0x0005
+ public const int AL_FLANGER_FEEDBACK = 0x0005;
+ //#define AL_FLANGER_DELAY 0x0006
+ public const int AL_FLANGER_DELAY = 0x0006;
+
+ ///* Frequencyshifter Parameters */
+ //#define AL_FREQUENCY_SHIFTER_FREQUENCY 0x0001
+ public const int AL_FREQUENCY_SHIFTER_FREQUENCY = 0x0001;
+ //#define AL_FREQUENCY_SHIFTER_LEFT_DIRECTION 0x0002
+ public const int AL_FREQUENCY_SHIFTER_LEFT_DIRECTION = 0x0002;
+ //#define AL_FREQUENCY_SHIFTER_RIGHT_DIRECTION 0x0003
+ public const int AL_FREQUENCY_SHIFTER_RIGHT_DIRECTION = 0x0003;
+
+ ///* Vocalmorpher Parameters */
+ //#define AL_VOCAL_MORPHER_PHONEMEA 0x0001
+ public const int AL_VOCAL_MORPHER_PHONEMEA = 0x0001;
+ //#define AL_VOCAL_MORPHER_PHONEMEA_COARSE_TUNING 0x0002
+ public const int AL_VOCAL_MORPHER_PHONEMEA_COARSE_TUNING = 0x0002;
+ //#define AL_VOCAL_MORPHER_PHONEMEB 0x0003
+ public const int AL_VOCAL_MORPHER_PHONEMEB = 0x0003;
+ //#define AL_VOCAL_MORPHER_PHONEMEB_COARSE_TUNING 0x0004
+ public const int AL_VOCAL_MORPHER_PHENEMEB_COARSE_TUNING = 0x0004;
+ //#define AL_VOCAL_MORPHER_WAVEFORM 0x0005
+ public const int AL_VOCAL_MORPHER_WAVEFORM = 0x0005;
+ //#define AL_VOCAL_MORPHER_RATE 0x0006
+ public const int AL_VOCAL_MORPHER_RATE = 0x0006;
+
+ ///* Pitchshifter Parameters */
+ //#define AL_PITCH_SHIFTER_COARSE_TUNE 0x0001
+ public const int AL_PITCH_SHIFTER_COARSE_TUNE = 0x0001;
+ //#define AL_PITCH_SHIFTER_FINE_TUNE 0x0002
+ public const int AL_PITCH_SHIFTER_FINE_TUNE = 0x0002;
+
+ ///* Ringmodulator Parameters */
+ //#define AL_RING_MODULATOR_FREQUENCY 0x0001
+ public const int AL_RING_MODULATOR_FREQUENCY = 0x0001;
+ //#define AL_RING_MODULATOR_HIGHPASS_CUTOFF 0x0002
+ public const int AL_RING_MODULATOR_HIGHPASS_CUTOFF = 0x0002;
+ //#define AL_RING_MODULATOR_WAVEFORM 0x0003
+ public const int AL_RING_MODULATOR_WAVEFORM = 0x0003;
+
+ ///* Autowah Parameters */
+ //#define AL_AUTOWAH_ATTACK_TIME 0x0001
+ public const int AL_AUTOWAH_ATTACK_TIME = 0x0001;
+ //#define AL_AUTOWAH_RELEASE_TIME 0x0002
+ public const int AL_AUTOWAH_RELEASE_TIME = 0x0002;
+ //#define AL_AUTOWAH_RESONANCE 0x0003
+ public const int AL_AUTOWAH_RESONANCE = 0x0003;
+ //#define AL_AUTOWAH_PEAK_GAIN 0x0004
+ public const int AL_AUTOWAH_PEAK_GAIN = 0x0004;
+
+ ///* Compressor Parameters */
+ //#define AL_COMPRESSOR_ONOFF 0x0001
+ public const int AL_COMPRESSOR_ONOFF = 0x0001;
+
+ ///* Equalizer Parameters */
+ //#define AL_EQUALIZER_LOW_GAIN 0x0001
+ public const int AL_EQUALIZER_LOW_GAIN = 0x0001;
+ //#define AL_EQUALIZER_LOW_CUTOFF 0x0002
+ public const int AL_EQUALIZER_LOW_CUTOFF = 0x0002;
+ //#define AL_EQUALIZER_MID1_GAIN 0x0003
+ public const int AL_EQUALIZER_MID1_GAIN = 0x0003;
+ //#define AL_EQUALIZER_MID1_CENTER 0x0004
+ public const int AL_EQUALIZER_MID1_CENTER = 0x0004;
+ //#define AL_EQUALIZER_MID1_WIDTH 0x0005
+ public const int AL_EQUALIZER_MID1_WIDTH = 0x0005;
+ //#define AL_EQUALIZER_MID2_GAIN 0x0006
+ public const int AL_EQUALIZER_MID2_GAIN = 0x0006;
+ //#define AL_EQUALIZER_MID2_CENTER 0x0007
+ public const int AL_EQUALIZER_MID2_CENTER = 0x0007;
+ //#define AL_EQUALIZER_MID2_WIDTH 0x0008
+ public const int AL_EQUALIZER_MID2_WIDTH = 0x0008;
+ //#define AL_EQUALIZER_HIGH_GAIN 0x0009
+ public const int AL_EQUALIZER_HIGH_GAIN = 0x0009;
+ //#define AL_EQUALIZER_HIGH_CUTOFF 0x000A
+ public const int AL_EQUALIZER_HIGH_CUTOFF = 0x000A;
+
+ /* Effect type */
+ //#define AL_EFFECT_FIRST_PARAMETER 0x0000
+ public const int AL_EFFECT_FIRST_PARAMETER = 0x0000;
+ //#define AL_EFFECT_LAST_PARAMETER 0x8000
+ public const int AL_EFFECT_LAST_PARAMETER = 0x8000;
+ //#define AL_EFFECT_TYPE 0x8001
+ public const int AL_EFFECT_TYPE = 0x8001;
+
+ /* Effect type definitions to be used with AL_EFFECT_TYPE. */
+ //#define AL_EFFECT_NULL 0x0000 /* Can also be used as an Effect Object ID */
+ public const int AL_EFFECT_NULL = 0x0000;
+ //#define AL_EFFECT_REVERB 0x0001
+ public const int AL_EFFECT_REVERB = 0x0001;
+ //#define AL_EFFECT_CHORUS 0x0002
+ public const int AL_EFFECT_CHORUS = 0x0002;
+ //#define AL_EFFECT_DISTORTION 0x0003
+ public const int AL_EFFECT_DISTORTION = 0x0003;
+ //#define AL_EFFECT_ECHO 0x0004
+ public const int AL_EFFECT_ECHO = 0x0004;
+ //#define AL_EFFECT_FLANGER 0x0005
+ public const int AL_EFFECT_FLANGER = 0x0005;
+ //#define AL_EFFECT_FREQUENCY_SHIFTER 0x0006
+ public const int AL_EFFECT_FREQUENCY_SHIFTER = 0x0006;
+ //#define AL_EFFECT_VOCAL_MORPHER 0x0007
+ public const int AL_EFFECT_VOCAL_MORPHER = 0x0007;
+ //#define AL_EFFECT_PITCH_SHIFTER 0x0008
+ public const int AL_EFFECT_PITCH_SHIFTER = 0x0008;
+ //#define AL_EFFECT_RING_MODULATOR 0x0009
+ public const int AL_EFFECT_RING_MODULATOR = 0x0009;
+ //#define AL_EFFECT_AUTOWAH 0x000A
+ public const int AL_EFFECT_AUTOWAH = 0x000A;
+ //#define AL_EFFECT_COMPRESSOR 0x000B
+ public const int AL_EFFECT_COMPRESSOR = 0x000B;
+ //#define AL_EFFECT_EQUALIZER 0x000C
+ public const int AL_EFFECT_EQUALIZER = 0x000C;
+
+ /* Lowpass parameters. */
+ //#define AL_LOWPASS_GAIN 0x0001
+ public const int AL_LOWPASS_GAIN = 0x0001;
+ //#define AL_LOWPASS_GAINHF 0x0002
+ public const int AL_LOWPASS_GAINHF = 0x0002;
+
+ ///* Highpass Parameters */
+ //#define AL_HIGHPASS_GAIN 0x0001
+ public const int AL_HIGHPASS_GAIN = 0x0001;
+ //#define AL_HIGHPASS_GAINLF 0x0002
+ public const int AL_HIGHPASS_GAINLF = 0x0002;
+
+ ///* Bandpass Parameters */
+ //#define AL_BANDPASS_GAIN 0x0001
+ public const int AL_BANDPASS_GAIN = 0x0001;
+ //#define AL_BANDPASS_GAINLF 0x0002
+ public const int AL_BANDPASS_GAINLF = 0x0002;
+ //#define AL_BANDPASS_GAINHF 0x0003
+ public const int AL_BANDPASS_GAINHF = 0x0003;
+
+ ///* Filter type */
+ //#define AL_FILTER_FIRST_PARAMETER 0x0000
+ public const int AL_FILTER_FIRST_PARAMETER = 0x0000;
+ //#define AL_FILTER_LAST_PARAMETER 0x8000
+ public const int AL_FILTER_LAST_PARAMETER = 0x8000;
+ //#define AL_FILTER_TYPE 0x8001
+ public const int AL_FILTER_TYPE = 0x8001;
+
+ ///* Filter type definitions to be used with AL_FILTER_TYPE. */
+ //#define AL_FILTER_NULL 0x0000 /* Can also be used as a Filter Object ID */
+ public const int AL_FILTER_NULL = 0x0000;
+ //#define AL_FILTER_LOWPASS 0x0001
+ public const int AL_FILTER_LOWPASS = 0x0001;
+ //#define AL_FILTER_HIGHPASS 0x0002
+ public const int AL_FILTER_HIGHPASS = 0x0002;
+ //#define AL_FILTER_BANDPASS 0x0003
+ public const int AL_FILTER_BANDPASS = 0x0003;
+ #endregion
+
+ #endregion Public OpenAL 1.1 Constants
+
+ // --- Public Externs ---
+ #region Public OpenAL 1.1 Methods
+ #region alBufferData(int buffer, int format, [In] byte[] data, int size, int frequency)
+ ///
+ /// Fills a buffer with audio data.
+ ///
+ ///
+ /// Buffer name to be filled with data.
+ ///
+ ///
+ ///
+ /// Format type from among the following:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Pointer to the audio data.
+ ///
+ ///
+ /// The size of the audio data in bytes.
+ ///
+ ///
+ /// The frequency of the audio data.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alBufferData(ALuint buffer, ALenum format, ALvoid* data, ALsizei size, ALsizei freq);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alBufferData(int buffer, int format, [In] byte[] data, int size, int frequency);
+ #endregion alBufferData(int buffer, int format, [In] byte[] data, int size, int frequency)
+
+ #region alBufferData(int buffer, int format, [In] IntPtr data, int size, int frequency)
+ ///
+ /// Fills a buffer with audio data.
+ ///
+ ///
+ /// Buffer name to be filled with data.
+ ///
+ ///
+ ///
+ /// Format type from among the following:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Pointer to the audio data.
+ ///
+ ///
+ /// The size of the audio data in bytes.
+ ///
+ ///
+ /// The frequency of the audio data.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alBufferData(ALuint buffer, ALenum format, ALvoid* data, ALsizei size, ALsizei freq);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alBufferData(int buffer, int format, [In] IntPtr data, int size, int frequency);
+ #endregion alBufferData(int buffer, int format, [In] IntPtr data, int size, int frequency)
+
+ #region alBufferData(int buffer, int format, [In] void *data, int size, int frequency)
+ ///
+ /// Fills a buffer with audio data.
+ ///
+ ///
+ /// Buffer name to be filled with data.
+ ///
+ ///
+ ///
+ /// Format type from among the following:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Pointer to the audio data.
+ ///
+ ///
+ /// The size of the audio data in bytes.
+ ///
+ ///
+ /// The frequency of the audio data.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alBufferData(ALuint buffer, ALenum format, ALvoid* data, ALsizei size, ALsizei freq);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alBufferData(int buffer, int format, [In] void* data, int size, int frequency);
+ #endregion alBufferData(int buffer, int format, [In] void *data, int size, int frequency)
+
+ #region void alBufferf(int bid, int param, float val)
+ ///
+ /// Set Buffer parameters.
+ ///
+ // AL_API void AL_APIENTRY alBufferf( ALuint bid, ALenum param, ALfloat value );
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alBufferf(int bid, int param, float val);
+ #endregion void alBufferf(int bid, int param, float val)
+
+ #region void alBuffer3f(int bid, int param, float value1, float value2, float value3)
+ ///
+ /// Set Buffer parameters.
+ ///
+ // AL_API void AL_APIENTRY alBuffer3f( ALuint bid, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3 );
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alBuffer3f(int bid, int param, float value1, float value2, float value3);
+ #endregion void alBuffer3f(int bid, int param, float value1, float value2, float value3)
+
+ #region void alBufferfv(int bid, int param, out float val)
+ ///
+ /// Set Buffer parameters.
+ ///
+ // AL_API void AL_APIENTRY alBufferfv( ALuint bid, ALenum param, ALfloat *value );
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alBufferfv(int bid, int param, out float val);
+ #endregion void alBufferfv(int bid, int param, out float val)
+
+ #region void alBufferi(int bid, int param, int val)
+ ///
+ /// Set Buffer parameters.
+ ///
+ // AL_API void AL_APIENTRY alBufferi( ALuint bid, ALenum param, ALint value );
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alBufferi(int bid, int param, int val);
+ #endregion void alBufferi(int bid, int param, int val)
+
+ #region void alBuffer3i(int bid, int param, int value1, int value2, int value3)
+ ///
+ /// Set Buffer parameters.
+ ///
+ // AL_API void AL_APIENTRY alBuffer3i( ALuint bid, ALenum param, ALint value1, ALint value2, ALint value3 );
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alBuffer3i(int bid, int param, int value1, int value2, int value3);
+ #endregion void alBuffer3i(int bid, int param, int value1, int value2, int value3)
+
+ #region void alBufferiv(int bid, int param, out int val)
+ ///
+ /// Set Buffer parameters.
+ ///
+ // AL_API void AL_APIENTRY alBufferiv( ALuint bid, ALenum param, ALint *value );
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alBufferiv(int bid, int param, out int val);
+ #endregion void alBufferiv(int bid, int param, out int val)
+
+ #region alDeleteBuffers(int number, [In] ref int buffer)
+ ///
+ /// Deletes one or more buffers.
+ ///
+ ///
+ /// The number of buffers to be deleted.
+ ///
+ ///
+ /// Pointer to an array of buffer names identifying the buffers to be deleted.
+ ///
+ ///
+ /// If the requested number of buffers cannot be deleted, an error will be
+ /// generated which can be detected with . If an error
+ /// occurs, no buffers will be deleted. If number equals zero,
+ /// alDeleteBuffers does nothing and will not return an error.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alDeleteBuffers(ALsizei n, ALuint* buffers);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alDeleteBuffers(int number, [In] ref int buffer);
+ #endregion alDeleteBuffers(int number, [In] ref int buffer)
+
+ #region alDeleteBuffers(int number, [In] int[] buffers)
+ ///
+ /// Deletes one or more buffers.
+ ///
+ ///
+ /// The number of buffers to be deleted.
+ ///
+ ///
+ /// Pointer to an array of buffer names identifying the buffers to be deleted.
+ ///
+ ///
+ /// If the requested number of buffers cannot be deleted, an error will be
+ /// generated which can be detected with . If an error
+ /// occurs, no buffers will be deleted. If number equals zero,
+ /// alDeleteBuffers does nothing and will not return an error.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alDeleteBuffers(ALsizei n, ALuint* buffers);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alDeleteBuffers(int number, [In] int[] buffers);
+ #endregion alDeleteBuffers(int number, [In] int[] buffers)
+
+ #region alDeleteBuffers(int number, [In] IntPtr buffers)
+ ///
+ /// Deletes one or more buffers.
+ ///
+ ///
+ /// The number of buffers to be deleted.
+ ///
+ ///
+ /// Pointer to an array of buffer names identifying the buffers to be deleted.
+ ///
+ ///
+ /// If the requested number of buffers cannot be deleted, an error will be
+ /// generated which can be detected with . If an error
+ /// occurs, no buffers will be deleted. If number equals zero,
+ /// alDeleteBuffers does nothing and will not return an error.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alDeleteBuffers(ALsizei n, ALuint* buffers);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alDeleteBuffers(int number, [In] IntPtr buffers);
+ #endregion alDeleteBuffers(int number, [In] IntPtr buffers)
+
+ #region alDeleteBuffers(int number, [In] int *buffers)
+ ///
+ /// Deletes one or more buffers.
+ ///
+ ///
+ /// The number of buffers to be deleted.
+ ///
+ ///
+ /// Pointer to an array of buffer names identifying the buffers to be deleted.
+ ///
+ ///
+ /// If the requested number of buffers cannot be deleted, an error will be
+ /// generated which can be detected with . If an error
+ /// occurs, no buffers will be deleted. If number equals zero,
+ /// alDeleteBuffers does nothing and will not return an error.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alDeleteBuffers(ALsizei n, ALuint* buffers);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alDeleteBuffers(int number, [In] int* buffers);
+ #endregion alDeleteBuffers(int number, [In] int *buffers)
+
+ #region alDeleteSources(int number, [In] ref int sources)
+ ///
+ /// Deletes one or more sources.
+ ///
+ ///
+ /// The number of sources to be deleted.
+ ///
+ ///
+ /// Pointer to an array of source names identifying the sources to be deleted.
+ ///
+ ///
+ /// If the requested number of sources cannot be deleted, an error will be generated
+ /// which can be detected with . If an error occurs, no
+ /// sources will be deleted. If number equals zero, alDeleteSources
+ /// does nothing and will not return an error.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alDeleteSources(ALsizei n, ALuint* sources);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alDeleteSources(int number, [In] ref int sources);
+ #endregion alDeleteSources(int number, [In] ref int sources)
+
+ #region alDeleteSources(int number, [In] int[] sources)
+ ///
+ /// Deletes one or more sources.
+ ///
+ ///
+ /// The number of sources to be deleted.
+ ///
+ ///
+ /// Pointer to an array of source names identifying the sources to be deleted.
+ ///
+ ///
+ /// If the requested number of sources cannot be deleted, an error will be generated
+ /// which can be detected with . If an error occurs, no
+ /// sources will be deleted. If number equals zero, alDeleteSources
+ /// does nothing and will not return an error.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alDeleteSources(ALsizei n, ALuint* sources);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alDeleteSources(int number, [In] int[] sources);
+ #endregion alDeleteSources(int number, [In] int[] sources)
+
+ #region alDeleteSources(int number, [In] IntPtr sources)
+ ///
+ /// Deletes one or more sources.
+ ///
+ ///
+ /// The number of sources to be deleted.
+ ///
+ ///
+ /// Pointer to an array of source names identifying the sources to be deleted.
+ ///
+ ///
+ /// If the requested number of sources cannot be deleted, an error will be generated
+ /// which can be detected with . If an error occurs, no
+ /// sources will be deleted. If number equals zero, alDeleteSources
+ /// does nothing and will not return an error.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alDeleteSources(ALsizei n, ALuint* sources);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alDeleteSources(int number, [In] IntPtr sources);
+ #endregion alDeleteSources(int number, [In] IntPtr sources)
+
+ #region alDeleteSources(int number, [In] int *sources)
+ ///
+ /// Deletes one or more sources.
+ ///
+ ///
+ /// The number of sources to be deleted.
+ ///
+ ///
+ /// Pointer to an array of source names identifying the sources to be deleted.
+ ///
+ ///
+ /// If the requested number of sources cannot be deleted, an error will be generated
+ /// which can be detected with . If an error occurs, no
+ /// sources will be deleted. If number equals zero, alDeleteSources
+ /// does nothing and will not return an error.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alDeleteSources(ALsizei n, ALuint* sources);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alDeleteSources(int number, [In] int* sources);
+ #endregion alDeleteSources(int number, [In] int *sources)
+
+ #region alDisable(int capability)
+ ///
+ /// Disables a feature of the OpenAL driver.
+ ///
+ ///
+ /// The capability to disable.
+ ///
+ ///
+ /// At the time of this writing, there are no features to be disabled using this
+ /// function, so if it is called the error will be
+ /// generated.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alDisable(ALenum capability);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alDisable(int capability);
+ #endregion alDisable(int capability)
+
+ #region alDistanceModel(int val)
+ ///
+ /// Selects the OpenAL distance model.
+ ///
+ ///
+ ///
+ /// The distance model to be set:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The default distance model in OpenAL is .
+ ///
+ ///
+ /// The model works according to the following
+ /// formula:
+ ///
+ ///
+ ///
+ /// G_dB = AL_GAIN – 20log10(1 + AL_ROLLOFF_FACTOR * (distance – AL_REFERENCE_DISTANCE) / AL_REFERENCE_DISTANCE));
+ /// G_dB = min(G_dB, AL_MAX_GAIN);
+ /// G_dB = max(G_dB, AL_MIN_GAIN);
+ ///
+ ///
+ ///
+ /// The model works according to the
+ /// following formula:
+ ///
+ ///
+ ///
+ /// distance = max(distance, AL_REFERENCE_DISTANCE);
+ /// distance = min(distance, AL_MAX_DISTANCE);
+ /// G_dB = AL_GAIN – 20log10(1 + AL_ROLLOFF_FACTOR * (distance – AL_REFERENCE_DISTANCE) / AL_REFERENCE_DISTANCE));
+ /// G_dB = min(G_dB, AL_MAX_GAIN);
+ /// G_dB = max(G_dB, AL_MIN_GAIN);
+ ///
+ ///
+ ///
+ /// The model works according to the following formula:
+ ///
+ ///
+ ///
+ /// G_db = AL_GAIN;
+ ///
+ ///
+ ///
+ // ALAPI ALvoid ALAPIENTRY alDistanceModel(ALenum value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alDistanceModel(int val);
+ #endregion alDistanceModel(int val)
+
+ #region alDopplerFactor(float val)
+ ///
+ /// Selects the OpenAL Doppler factor value.
+ ///
+ ///
+ /// The Doppler scale value to set.
+ ///
+ ///
+ /// The default Doppler factor value is 1.0.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alDopplerFactor(ALfloat value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alDopplerFactor(float val);
+ #endregion alDopplerFactor(float val)
+
+ #region alDopplerVelocity(float val)
+ ///
+ /// Selects the OpenAL Doppler velocity value.
+ ///
+ ///
+ /// The Doppler velocity value to set.
+ ///
+ ///
+ /// The default Doppler velocity value is 343.3.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alDopplerVelocity(ALfloat value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alDopplerVelocity(float val);
+ #endregion alDopplerVelocity(float val)
+
+ #region alSpeedOfSound(float val)
+ ///
+ /// Selects the OpenAL Speed of Sound value.
+ ///
+ ///
+ /// The Speed of Sound value to set.
+ ///
+ ///
+ ///
+ ///
+ // ALAPI ALvoid ALAPIENTRY alDopplerVelocity(ALfloat value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alSpeedOfSound(float val);
+ #endregion alSpeedOfSound(float val)
+
+ #region alEnable(int capability)
+ ///
+ /// Enables a feature of the OpenAL driver.
+ ///
+ ///
+ /// The capability to enable.
+ ///
+ ///
+ /// At the time of this writing, there are no features to be enabled using this
+ /// function, so if it is called the error will be
+ /// generated.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alEnable(ALenum capability);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alEnable(int capability);
+ #endregion alEnable(int capability)
+
+ #region alGenBuffers(int number, out int buffer)
+ ///
+ /// Generates one or more buffers.
+ ///
+ ///
+ /// The number of buffers to be generated.
+ ///
+ ///
+ /// Pointer to an array of integer values which will store the names of the new
+ /// buffers.
+ ///
+ ///
+ /// If the requested number of buffers cannot be created, an error will be generated
+ /// which can be detected with . If an error occurs, no
+ /// buffers will be generated. If number equals zero, alGenBuffers
+ /// does nothing and does not return an error.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGenBuffers(ALsizei n, ALuint* buffers);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGenBuffers(int number, out int buffer);
+ #endregion alGenBuffers(int number, out int buffer)
+
+ #region alGenBuffers(int number, [Out] int[] buffers)
+ ///
+ /// Generates one or more buffers.
+ ///
+ ///
+ /// The number of buffers to be generated.
+ ///
+ ///
+ /// Pointer to an array of integer values which will store the names of the new
+ /// buffers.
+ ///
+ ///
+ /// If the requested number of buffers cannot be created, an error will be generated
+ /// which can be detected with . If an error occurs, no
+ /// buffers will be generated. If number equals zero, alGenBuffers
+ /// does nothing and does not return an error.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGenBuffers(ALsizei n, ALuint* buffers);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGenBuffers(int number, [Out] int[] buffers);
+ #endregion alGenBuffers(int number, [Out] int[] buffers)
+
+ #region alGenBuffers(int number, [Out] IntPtr buffers)
+ ///
+ /// Generates one or more buffers.
+ ///
+ ///
+ /// The number of buffers to be generated.
+ ///
+ ///
+ /// Pointer to an array of integer values which will store the names of the new
+ /// buffers.
+ ///
+ ///
+ /// If the requested number of buffers cannot be created, an error will be generated
+ /// which can be detected with . If an error occurs, no
+ /// buffers will be generated. If number equals zero, alGenBuffers
+ /// does nothing and does not return an error.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGenBuffers(ALsizei n, ALuint* buffers);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGenBuffers(int number, [Out] IntPtr buffers);
+ #endregion alGenBuffers(int number, [Out] IntPtr buffers)
+
+ #region alGenBuffers(int number, [Out] int *buffers)
+ ///
+ /// Generates one or more buffers.
+ ///
+ ///
+ /// The number of buffers to be generated.
+ ///
+ ///
+ /// Pointer to an array of integer values which will store the names of the new
+ /// buffers.
+ ///
+ ///
+ /// If the requested number of buffers cannot be created, an error will be generated
+ /// which can be detected with . If an error occurs, no
+ /// buffers will be generated. If number equals zero, alGenBuffers
+ /// does nothing and does not return an error.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGenBuffers(ALsizei n, ALuint* buffers);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alGenBuffers(int number, [Out] int* buffers);
+ #endregion alGenBuffers(int number, [Out] int *buffers)
+
+ #region alGenSources(int number, out int source)
+ ///
+ /// Generates one or more sources.
+ ///
+ ///
+ /// The number of sources to be generated.
+ ///
+ ///
+ /// Pointer to an array of integer values which will store the names of the new
+ /// sources.
+ ///
+ ///
+ /// If the requested number of sources cannot be created, an error will be generated
+ /// which can be detected with . If an error occurs, no
+ /// sources will be generated. If number equals zero, alGenSources
+ /// does nothing and does not return an error.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGenSources(ALsizei n, ALuint* sources);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGenSources(int number, out int source);
+ #endregion alGenSources(int number, out int source)
+
+ #region alGenSources(int number, [Out] int[] sources)
+ ///
+ /// Generates one or more sources.
+ ///
+ ///
+ /// The number of sources to be generated.
+ ///
+ ///
+ /// Pointer to an array of integer values which will store the names of the new
+ /// sources.
+ ///
+ ///
+ /// If the requested number of sources cannot be created, an error will be generated
+ /// which can be detected with . If an error occurs, no
+ /// sources will be generated. If number equals zero, alGenSources
+ /// does nothing and does not return an error.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGenSources(ALsizei n, ALuint* sources);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGenSources(int number, [Out] int[] sources);
+ #endregion alGenSources(int number, [Out] int[] sources)
+
+ #region alGenSources(int number, [Out] IntPtr sources)
+ ///
+ /// Generates one or more sources.
+ ///
+ ///
+ /// The number of sources to be generated.
+ ///
+ ///
+ /// Pointer to an array of integer values which will store the names of the new
+ /// sources.
+ ///
+ ///
+ /// If the requested number of sources cannot be created, an error will be generated
+ /// which can be detected with . If an error occurs, no
+ /// sources will be generated. If number equals zero, alGenSources
+ /// does nothing and does not return an error.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGenSources(ALsizei n, ALuint* sources);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGenSources(int number, [Out] IntPtr sources);
+ #endregion alGenSources(int number, [Out] IntPtr sources)
+
+ #region alGenSources(int number, [Out] int *sources)
+ ///
+ /// Generates one or more sources.
+ ///
+ ///
+ /// The number of sources to be generated.
+ ///
+ ///
+ /// Pointer to an array of integer values which will store the names of the new
+ /// sources.
+ ///
+ ///
+ /// If the requested number of sources cannot be created, an error will be generated
+ /// which can be detected with . If an error occurs, no
+ /// sources will be generated. If number equals zero, alGenSources
+ /// does nothing and does not return an error.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGenSources(ALsizei n, ALuint* sources);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alGenSources(int number, [Out] int* sources);
+ #endregion alGenSources(int number, [Out] int *sources)
+
+ #region int alGetBoolean(int state)
+ ///
+ /// Returns a boolean OpenAL state.
+ ///
+ ///
+ /// The state to be queried.
+ ///
+ ///
+ /// The boolean value ( or ) described
+ /// by state will be returned.
+ ///
+ ///
+ /// There aren’t any boolean states defined at the time of this writing, so this
+ /// function will always generate the error .
+ ///
+ // ALAPI ALboolean ALAPIENTRY alGetBoolean(ALenum param);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int alGetBoolean(int state);
+ #endregion int alGetBoolean(int state)
+
+ #region alGetBooleanv(int state, out int output)
+ ///
+ /// Retrieves a boolean OpenAL state.
+ ///
+ ///
+ /// The state to be queried.
+ ///
+ ///
+ /// A pointer to the location where the state will be stored.
+ ///
+ ///
+ /// There aren’t any boolean states defined at the time of this writing, so this
+ /// function will always generate the error .
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetBooleanv(ALenum param, ALboolean* data);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetBooleanv(int state, out int output);
+ #endregion alGetBooleanv(int state, out int output)
+
+ #region alGetBooleanv(int state, [Out] int[] output)
+ ///
+ /// Retrieves a boolean OpenAL state.
+ ///
+ ///
+ /// The state to be queried.
+ ///
+ ///
+ /// A pointer to the location where the state will be stored.
+ ///
+ ///
+ /// There aren’t any boolean states defined at the time of this writing, so this
+ /// function will always generate the error .
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetBooleanv(ALenum param, ALboolean* data);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetBooleanv(int state, [Out] int[] output);
+ #endregion alGetBooleanv(int state, [Out] int[] output)
+
+ #region alGetBooleanv(int state, [Out] IntPtr output)
+ ///
+ /// Retrieves a boolean OpenAL state.
+ ///
+ ///
+ /// The state to be queried.
+ ///
+ ///
+ /// A pointer to the location where the state will be stored.
+ ///
+ ///
+ /// There aren’t any boolean states defined at the time of this writing, so this
+ /// function will always generate the error .
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetBooleanv(ALenum param, ALboolean* data);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetBooleanv(int state, [Out] IntPtr output);
+ #endregion alGetBooleanv(int state, [Out] IntPtr output)
+
+ #region alGetBooleanv(int state, [Out] int *output)
+ ///
+ /// Retrieves a boolean OpenAL state.
+ ///
+ ///
+ /// The state to be queried.
+ ///
+ ///
+ /// A pointer to the location where the state will be stored.
+ ///
+ ///
+ /// There aren’t any boolean states defined at the time of this writing, so this
+ /// function will always generate the error .
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetBooleanv(ALenum param, ALboolean* data);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alGetBooleanv(int state, [Out] int* output);
+ #endregion alGetBooleanv(int state, [Out] int *output)
+
+ #region alGetBufferf(int buffer, int attribute, out int val)
+ ///
+ /// Retrieves a floating point property of a buffer.
+ ///
+ ///
+ /// Buffer name whose attribute is being retrieved.
+ ///
+ ///
+ /// The name of the attribute to be retrieved.
+ ///
+ ///
+ /// A pointer to an float to hold the retrieved data.
+ ///
+ ///
+ /// There are no float attributes for buffers at this time.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetBufferf(ALuint buffer, ALenum param, ALfloat* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetBufferf(int buffer, int attribute, out int val);
+ #endregion alGetBufferf(int buffer, int attribute, out int val)
+
+ #region alGetBufferf(int buffer, int attribute, [Out] int[] val)
+ ///
+ /// Retrieves a floating point property of a buffer.
+ ///
+ ///
+ /// Buffer name whose attribute is being retrieved.
+ ///
+ ///
+ /// The name of the attribute to be retrieved.
+ ///
+ ///
+ /// A pointer to an float to hold the retrieved data.
+ ///
+ ///
+ /// There are no float attributes for buffers at this time.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetBufferf(ALuint buffer, ALenum param, ALfloat* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetBufferf(int buffer, int attribute, [Out] int[] val);
+ #endregion alGetBufferf(int buffer, int attribute, [Out] int[] val)
+
+ #region alGetBufferf(int buffer, int attribute, [Out] IntPtr val)
+ ///
+ /// Retrieves a floating point property of a buffer.
+ ///
+ ///
+ /// Buffer name whose attribute is being retrieved.
+ ///
+ ///
+ /// The name of the attribute to be retrieved.
+ ///
+ ///
+ /// A pointer to an float to hold the retrieved data.
+ ///
+ ///
+ /// There are no float attributes for buffers at this time.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetBufferf(ALuint buffer, ALenum param, ALfloat* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetBufferf(int buffer, int attribute, [Out] IntPtr val);
+ #endregion alGetBufferf(int buffer, int attribute, [Out] IntPtr val)
+
+ #region alGetBufferf(int buffer, int attribute, [Out] float *val)
+ ///
+ /// Retrieves a floating point property of a buffer.
+ ///
+ ///
+ /// Buffer name whose attribute is being retrieved.
+ ///
+ ///
+ /// The name of the attribute to be retrieved.
+ ///
+ ///
+ /// A pointer to an float to hold the retrieved data.
+ ///
+ ///
+ /// There are no float attributes for buffers at this time.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetBufferf(ALuint buffer, ALenum param, ALfloat* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alGetBufferf(int buffer, int attribute, [Out] float* val);
+ #endregion alGetBufferf(int buffer, int attribute, [Out] float *val)
+
+ #region void alGetBuffer3f(int buffer, int attribute, out float value1, out float value2, out float value3)
+ ///
+ /// Retrieves a floating point property of a buffer.
+ ///
+ ///
+ /// Buffer name whose attribute is being retrieved.
+ ///
+ ///
+ /// The name of the attribute to be retrieved.
+ ///
+ ///
+ /// A pointer to an float to hold the retrieved data.
+ ///
+ ///
+ /// A pointer to an float to hold the retrieved data.
+ ///
+ ///
+ /// A pointer to an float to hold the retrieved data.
+ ///
+ ///
+ /// There are no float attributes for buffers at this time.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetBufferfv(ALuint buffer, ALenum param, ALfloat* value1, ALfloat* value2, ALfloat* value3);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetBuffer3f(int buffer, int attribute, out float value1, out float value2, out float value3);
+ #endregion void alGetBuffer3f(int buffer, int attribute, out float value1, out float value2, out float value3)
+
+ #region alGetBufferfv(int buffer, int attribute, out float val)
+ ///
+ /// Retrieves a floating point property of a buffer.
+ ///
+ ///
+ /// Buffer name whose attribute is being retrieved.
+ ///
+ ///
+ /// The name of the attribute to be retrieved.
+ ///
+ ///
+ /// A pointer to an float to hold the retrieved data.
+ ///
+ ///
+ /// There are no float attributes for buffers at this time.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetBufferfv(ALuint buffer, ALenum param, ALfloat* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetBufferfv(int buffer, int attribute, out float val);
+ #endregion alGetBufferfv(int buffer, int attribute, out float val)
+
+ #region alGetBufferfv(int buffer, int attribute, [Out] float[] val)
+ ///
+ /// Retrieves a floating point property of a buffer.
+ ///
+ ///
+ /// Buffer name whose attribute is being retrieved.
+ ///
+ ///
+ /// The name of the attribute to be retrieved.
+ ///
+ ///
+ /// A pointer to an float to hold the retrieved data.
+ ///
+ ///
+ /// There are no float attributes for buffers at this time.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetBufferfv(ALuint buffer, ALenum param, ALfloat* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetBufferfv(int buffer, int attribute, [Out] float[] val);
+ #endregion alGetBufferfv(int buffer, int attribute, [Out] float[] val)
+
+ #region alGetBufferfv(int buffer, int attribute, [Out] IntPtr val)
+ ///
+ /// Retrieves a floating point property of a buffer.
+ ///
+ ///
+ /// Buffer name whose attribute is being retrieved.
+ ///
+ ///
+ /// The name of the attribute to be retrieved.
+ ///
+ ///
+ /// A pointer to an float to hold the retrieved data.
+ ///
+ ///
+ /// There are no float attributes for buffers at this time.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetBufferfv(ALuint buffer, ALenum param, ALfloat* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetBufferfv(int buffer, int attribute, [Out] IntPtr val);
+ #endregion alGetBufferfv(int buffer, int attribute, [Out] IntPtr val)
+
+ #region alGetBufferfv(int buffer, int attribute, [Out] float *val)
+ ///
+ /// Retrieves a floating point property of a buffer.
+ ///
+ ///
+ /// Buffer name whose attribute is being retrieved.
+ ///
+ ///
+ /// The name of the attribute to be retrieved.
+ ///
+ ///
+ /// A pointer to an float to hold the retrieved data.
+ ///
+ ///
+ /// There are no float attributes for buffers at this time.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetBufferfv(ALuint buffer, ALenum param, ALfloat* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alGetBufferfv(int buffer, int attribute, [Out] float* val);
+ #endregion alGetBufferfv(int buffer, int attribute, [Out] float *val)
+
+ #region alGetBufferi(int buffer, int attribute, out int val)
+ ///
+ /// Retrieves an integer property of a buffer.
+ ///
+ ///
+ /// Buffer name whose attribute is being retrieved.
+ ///
+ ///
+ ///
+ /// The name of the attribute to be retrieved:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to an integer to hold the retrieved data.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetBufferi(ALuint buffer, ALenum param, ALint* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetBufferi(int buffer, int attribute, out int val);
+ #endregion alGetBufferi(int buffer, int attribute, out int val)
+
+ #region alGetBufferi(int buffer, int attribute, [Out] int[] val)
+ ///
+ /// Retrieves an integer property of a buffer.
+ ///
+ ///
+ /// Buffer name whose attribute is being retrieved.
+ ///
+ ///
+ ///
+ /// The name of the attribute to be retrieved:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to an integer to hold the retrieved data.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetBufferi(ALuint buffer, ALenum param, ALint* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetBufferi(int buffer, int attribute, [Out] int[] val);
+ #endregion alGetBufferi(int buffer, int attribute, [Out] int[] val)
+
+ #region alGetBufferi(int buffer, int attribute, [Out] IntPtr val)
+ ///
+ /// Retrieves an integer property of a buffer.
+ ///
+ ///
+ /// Buffer name whose attribute is being retrieved.
+ ///
+ ///
+ ///
+ /// The name of the attribute to be retrieved:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to an integer to hold the retrieved data.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetBufferi(ALuint buffer, ALenum param, ALint* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetBufferi(int buffer, int attribute, [Out] IntPtr val);
+ #endregion alGetBufferi(int buffer, int attribute, [Out] IntPtr val)
+
+ #region alGetBufferi(int buffer, int attribute, [Out] int *val)
+ ///
+ /// Retrieves an integer property of a buffer.
+ ///
+ ///
+ /// Buffer name whose attribute is being retrieved.
+ ///
+ ///
+ ///
+ /// The name of the attribute to be retrieved:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to an integer to hold the retrieved data.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetBufferi(ALuint buffer, ALenum param, ALint* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alGetBufferi(int buffer, int attribute, [Out] int* val);
+ #endregion alGetBufferi(int buffer, int attribute, [Out] int *val)
+
+ #region void alGetBuffer3i(int buffer, int attribute, out int value1, out int value2, out int value3)
+ ///
+ /// Retrieves an integer property of a buffer.
+ ///
+ ///
+ /// Buffer name whose attribute is being retrieved.
+ ///
+ ///
+ /// The name of the attribute to be retrieved.
+ ///
+ ///
+ /// A pointer to an int to hold the retrieved data.
+ ///
+ ///
+ /// A pointer to an int to hold the retrieved data.
+ ///
+ ///
+ /// A pointer to an int to hold the retrieved data.
+ ///
+ ///
+ /// There are no int attributes for buffers at this time.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetBufferfv(ALuint buffer, ALenum param, ALint* value1, ALint* value2, ALint* value3);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetBuffer3i(int buffer, int attribute, out int value1, out int value2, out int value3);
+ #endregion void alGetBuffer3i(int buffer, int attribute, out int value1, out int value2, out int value3)
+
+ #region alGetBufferiv(int buffer, int attribute, out int val)
+ ///
+ /// Retrieves an integer property of a buffer.
+ ///
+ ///
+ /// Buffer name whose attribute is being retrieved.
+ ///
+ ///
+ ///
+ /// The name of the attribute to be retrieved:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to an integer to hold the retrieved data.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetBufferiv(ALuint buffer, ALenum param, ALint* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetBufferiv(int buffer, int attribute, out int val);
+ #endregion alGetBufferiv(int buffer, int attribute, out int val)
+
+ #region alGetBufferiv(int buffer, int attribute, [Out] int[] val)
+ ///
+ /// Retrieves an integer property of a buffer.
+ ///
+ ///
+ /// Buffer name whose attribute is being retrieved.
+ ///
+ ///
+ ///
+ /// The name of the attribute to be retrieved:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to an integer to hold the retrieved data.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetBufferiv(ALuint buffer, ALenum param, ALint* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetBufferiv(int buffer, int attribute, [Out] int[] val);
+ #endregion alGetBufferiv(int buffer, int attribute, [Out] int[] val)
+
+ #region alGetBufferiv(int buffer, int attribute, [Out] IntPtr val)
+ ///
+ /// Retrieves an integer property of a buffer.
+ ///
+ ///
+ /// Buffer name whose attribute is being retrieved.
+ ///
+ ///
+ ///
+ /// The name of the attribute to be retrieved:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to an integer to hold the retrieved data.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetBufferiv(ALuint buffer, ALenum param, ALint* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetBufferiv(int buffer, int attribute, [Out] IntPtr val);
+ #endregion alGetBufferiv(int buffer, int attribute, [Out] IntPtr val)
+
+ #region alGetBufferiv(int buffer, int attribute, [Out] int *val)
+ ///
+ /// Retrieves an integer property of a buffer.
+ ///
+ ///
+ /// Buffer name whose attribute is being retrieved.
+ ///
+ ///
+ ///
+ /// The name of the attribute to be retrieved:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to an integer to hold the retrieved data.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetBufferiv(ALuint buffer, ALenum param, ALint* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alGetBufferiv(int buffer, int attribute, [Out] int* val);
+ #endregion alGetBufferiv(int buffer, int attribute, [Out] int *val)
+
+ #region double alGetDouble(int state)
+ ///
+ /// Returns a double precision floating point OpenAL state.
+ ///
+ ///
+ /// The state to be queried.
+ ///
+ ///
+ /// The double value described by state will be returned.
+ ///
+ ///
+ /// There aren’t any double precision floating point states defined at the time of
+ /// this writing, so this function will always generate the error
+ /// .
+ ///
+ // ALAPI ALdouble ALAPIENTRY alGetDouble(ALenum param);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern double alGetDouble(int state);
+ #endregion double alGetDouble(int state)
+
+ #region alGetDoublev(int state, out double output)
+ ///
+ /// Retrieves a double precision floating point OpenAL state.
+ ///
+ ///
+ /// The state to be queried.
+ ///
+ ///
+ /// A pointer to the location where the state will be stored.
+ ///
+ ///
+ /// There aren’t any double precision floating point states defined at the time of
+ /// this writing, so this function will always generate the error
+ /// .
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetDoublev(ALenum param, ALdouble* data);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetDoublev(int state, out double output);
+ #endregion alGetDoublev(int state, out double output)
+
+ #region alGetDoublev(int state, [Out] double[] output)
+ ///
+ /// Retrieves a double precision floating point OpenAL state.
+ ///
+ ///
+ /// The state to be queried.
+ ///
+ ///
+ /// A pointer to the location where the state will be stored.
+ ///
+ ///
+ /// There aren’t any double precision floating point states defined at the time of
+ /// this writing, so this function will always generate the error
+ /// .
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetDoublev(ALenum param, ALdouble* data);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetDoublev(int state, [Out] double[] output);
+ #endregion alGetDoublev(int state, [Out] double[] output)
+
+ #region alGetDoublev(int state, [Out] IntPtr output)
+ ///
+ /// Retrieves a double precision floating point OpenAL state.
+ ///
+ ///
+ /// The state to be queried.
+ ///
+ ///
+ /// A pointer to the location where the state will be stored.
+ ///
+ ///
+ /// There aren’t any double precision floating point states defined at the time of
+ /// this writing, so this function will always generate the error
+ /// .
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetDoublev(ALenum param, ALdouble* data);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetDoublev(int state, [Out] IntPtr output);
+ #endregion alGetDoublev(int state, [Out] IntPtr output)
+
+ #region alGetDoublev(int state, [Out] double *output)
+ ///
+ /// Retrieves a double precision floating point OpenAL state.
+ ///
+ ///
+ /// The state to be queried.
+ ///
+ ///
+ /// A pointer to the location where the state will be stored.
+ ///
+ ///
+ /// There aren’t any double precision floating point states defined at the time of
+ /// this writing, so this function will always generate the error
+ /// .
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetDoublev(ALenum param, ALdouble* data);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alGetDoublev(int state, [Out] double* output);
+ #endregion alGetDoublev(int state, [Out] double *output)
+
+ #region int alGetEnumValue(string enumName)
+ ///
+ /// Returns the enumeration value of an OpenAL enum described by a string.
+ ///
+ ///
+ /// A string describing an OpenAL enum.
+ ///
+ ///
+ /// The actual value for the described enum is returned.
+ ///
+ // ALAPI ALenum ALAPIENTRY alGetEnumValue(ALubyte* ename);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int alGetEnumValue(string enumName);
+ #endregion int alGetEnumValue(string enumName)
+
+ #region int alGetError()
+ ///
+ /// Returns the current error state and then clears the error state.
+ ///
+ ///
+ /// The error state.
+ ///
+ ///
+ /// When an OpenAL error occurs, the error state is set and will not be changed until
+ /// the error state is retrieved using alGetError. Whenever alGetError
+ /// is called, the error state is cleared and the last state (the current state when
+ /// the call was made) is returned. To isolate error detection to a specific portion
+ /// of code, alGetError should be called before the isolated section to clear
+ /// the current error state.
+ ///
+ // ALAPI ALenum ALAPIENTRY alGetError(ALvoid);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int alGetError();
+ #endregion int alGetError()
+
+ #region float alGetFloat(int state)
+ ///
+ /// Returns a floating point OpenAL state.
+ ///
+ ///
+ ///
+ /// The state to be queried:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The floating point value described by state will be returned.
+ ///
+ // ALAPI ALfloat ALAPIENTRY alGetFloat(ALenum param);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern float alGetFloat(int state);
+ #endregion float alGetFloat(int state)
+
+ #region alGetFloatv(int state, out float output)
+ ///
+ /// Retrieves a floating point OpenAL state.
+ ///
+ ///
+ ///
+ /// The state to be queried:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the location where the state will be stored.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetFloatv(ALenum param, ALfloat* data);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetFloatv(int state, out float output);
+ #endregion alGetFloatv(int state, out float output)
+
+ #region alGetFloatv(int state, [Out] float[] output)
+ ///
+ /// Retrieves a floating point OpenAL state.
+ ///
+ ///
+ ///
+ /// The state to be queried:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the location where the state will be stored.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetFloatv(ALenum param, ALfloat* data);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetFloatv(int state, [Out] float[] output);
+ #endregion alGetFloatv(int state, [Out] float[] output)
+
+ #region alGetFloatv(int state, [Out] IntPtr output)
+ ///
+ /// Retrieves a floating point OpenAL state.
+ ///
+ ///
+ ///
+ /// The state to be queried:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the location where the state will be stored.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetFloatv(ALenum param, ALfloat* data);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetFloatv(int state, [Out] IntPtr output);
+ #endregion alGetFloatv(int state, [Out] IntPtr output)
+
+ #region alGetFloatv(int state, [Out] float *output)
+ ///
+ /// Retrieves a floating point OpenAL state.
+ ///
+ ///
+ ///
+ /// The state to be queried:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the location where the state will be stored.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetFloatv(ALenum param, ALfloat* data);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alGetFloatv(int state, [Out] float* output);
+ #endregion alGetFloatv(int state, [Out] float *output)
+
+ #region int alGetInteger(int state)
+ ///
+ /// Returns an integer OpenAL state.
+ ///
+ ///
+ ///
+ /// The state to be queried:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The integer value described by state will be returned.
+ ///
+ // ALAPI ALint ALAPIENTRY alGetInteger(ALenum param);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int alGetInteger(int state);
+ #endregion int alGetInteger(int state)
+
+ #region alGetIntegerv(int state, out int output)
+ ///
+ /// Retrieves an integer OpenAL state.
+ ///
+ ///
+ ///
+ /// The state to be queried:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the location where the state will be stored.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetIntegerv(ALenum param, ALint* data);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetIntegerv(int state, out int output);
+ #endregion alGetIntegerv(int state, out int output)
+
+ #region alGetIntegerv(int state, [Out] int[] output)
+ ///
+ /// Retrieves an integer OpenAL state.
+ ///
+ ///
+ ///
+ /// The state to be queried:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the location where the state will be stored.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetIntegerv(ALenum param, ALint* data);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetIntegerv(int state, [Out] int[] output);
+ #endregion alGetIntegerv(int state, [Out] int[] output)
+
+ #region alGetIntegerv(int state, [Out] IntPtr output)
+ ///
+ /// Retrieves an integer OpenAL state.
+ ///
+ ///
+ ///
+ /// The state to be queried:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the location where the state will be stored.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetIntegerv(ALenum param, ALint* data);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetIntegerv(int state, [Out] IntPtr output);
+ #endregion alGetIntegerv(int state, [Out] IntPtr output)
+
+ #region alGetIntegerv(int state, [Out] int *output)
+ ///
+ /// Retrieves an integer OpenAL state.
+ ///
+ ///
+ ///
+ /// The state to be queried:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the location where the state will be stored.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetIntegerv(ALenum param, ALint* data);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alGetIntegerv(int state, [Out] int* output);
+ #endregion alGetIntegerv(int state, [Out] int *output)
+
+ #region alGetListener3f(int attribute, out float output1, out float output2, out float output3)
+ ///
+ /// Retrieves a set of three floating point values from a property of the listener.
+ ///
+ ///
+ ///
+ /// The name of the attribute to be queried:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Pointer to the the floating point being retrieved.
+ ///
+ ///
+ /// Pointer to the the floating point being retrieved.
+ ///
+ ///
+ /// Pointer to the the floating point being retrieved.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetListener3f(ALenum param, ALfloat* v1, ALfloat* v2, ALfloat* v3);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetListener3f(int attribute, out float output1, out float output2, out float output3);
+ #endregion alGetListener3f(int attribute, out float output1, out float output2, out float output3)
+
+ #region alGetListener3f(int attribute, [Out] float[] output1, [Out] float[] output2, [Out] float[] output3)
+ ///
+ /// Retrieves a set of three floating point values from a property of the listener.
+ ///
+ ///
+ ///
+ /// The name of the attribute to be queried:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Pointer to the the floating point being retrieved.
+ ///
+ ///
+ /// Pointer to the the floating point being retrieved.
+ ///
+ ///
+ /// Pointer to the the floating point being retrieved.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetListener3f(ALenum param, ALfloat* v1, ALfloat* v2, ALfloat* v3);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetListener3f(int attribute, [Out] float[] output1, [Out] float[] output2, [Out] float[] output3);
+ #endregion alGetListener3f(int attribute, [Out] float[] output1, [Out] float[] output2, [Out] float[] output3)
+
+ #region alGetListener3f(int attribute, [Out] IntPtr output1, [Out] IntPtr output2, [Out] IntPtr output3)
+ ///
+ /// Retrieves a set of three floating point values from a property of the listener.
+ ///
+ ///
+ ///
+ /// The name of the attribute to be queried:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Pointer to the the floating point being retrieved.
+ ///
+ ///
+ /// Pointer to the the floating point being retrieved.
+ ///
+ ///
+ /// Pointer to the the floating point being retrieved.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetListener3f(ALenum param, ALfloat* v1, ALfloat* v2, ALfloat* v3);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetListener3f(int attribute, [Out] IntPtr output1, [Out] IntPtr output2, [Out] IntPtr output3);
+ #endregion alGetListener3f(int attribute, [Out] IntPtr output1, [Out] IntPtr output2, [Out] IntPtr output3)
+
+ #region alGetListener3f(int attribute, [Out] float *output1, [Out] float *output2, [Out] float *output3)
+ ///
+ /// Retrieves a set of three floating point values from a property of the listener.
+ ///
+ ///
+ ///
+ /// The name of the attribute to be queried:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Pointer to the the floating point being retrieved.
+ ///
+ ///
+ /// Pointer to the the floating point being retrieved.
+ ///
+ ///
+ /// Pointer to the the floating point being retrieved.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetListener3f(ALenum param, ALfloat* v1, ALfloat* v2, ALfloat* v3);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alGetListener3f(int attribute, [Out] float* output1, [Out] float* output2, [Out] float* output3);
+ #endregion alGetListener3f(int attribute, [Out] float *output1, [Out] float *output2, [Out] float *output3)
+
+ #region alGetListenerf(int attribute, out float output)
+ ///
+ /// Retrieves a floating point property of the listener.
+ ///
+ ///
+ ///
+ /// The name of the attribute to be queried:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the floating point value being retrieved.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetListenerf(ALenum param, ALfloat* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetListenerf(int attribute, out float output);
+ #endregion alGetListenerf(int attribute, out float output)
+
+ #region alGetListenerf(int attribute, [Out] float[] output)
+ ///
+ /// Retrieves a floating point property of the listener.
+ ///
+ ///
+ ///
+ /// The name of the attribute to be queried:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the floating point value being retrieved.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetListenerf(ALenum param, ALfloat* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetListenerf(int attribute, [Out] float[] output);
+ #endregion alGetListenerf(int attribute, [Out] float[] output)
+
+ #region alGetListenerf(int attribute, [Out] IntPtr output)
+ ///
+ /// Retrieves a floating point property of the listener.
+ ///
+ ///
+ ///
+ /// The name of the attribute to be queried:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the floating point value being retrieved.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetListenerf(ALenum param, ALfloat* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetListenerf(int attribute, [Out] IntPtr output);
+ #endregion alGetListenerf(int attribute, [Out] IntPtr output)
+
+ #region alGetListenerf(int attribute, [Out] float *output)
+ ///
+ /// Retrieves a floating point property of the listener.
+ ///
+ ///
+ ///
+ /// The name of the attribute to be queried:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the floating point value being retrieved.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetListenerf(ALenum param, ALfloat* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alGetListenerf(int attribute, [Out] float* output);
+ #endregion alGetListenerf(int attribute, [Out] float *output)
+
+ #region alGetListenerfv(int attribute, out float output)
+ ///
+ /// Retrieves a floating point-vector property of the listener.
+ ///
+ ///
+ ///
+ /// The name of the attribute to be queried:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the floating point-vector value being retrieved.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetListenerfv(ALenum param, ALfloat* values);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetListenerfv(int attribute, out float output);
+ #endregion alGetListenerfv(int attribute, out float output)
+
+ #region alGetListenerfv(int attribute, [Out] float[] output)
+ ///
+ /// Retrieves a floating point-vector property of the listener.
+ ///
+ ///
+ ///
+ /// The name of the attribute to be queried:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the floating point-vector value being retrieved.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetListenerfv(ALenum param, ALfloat* values);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetListenerfv(int attribute, [Out] float[] output);
+ #endregion alGetListenerfv(int attribute, [Out] float[] output)
+
+ #region alGetListenerfv(int attribute, [Out] IntPtr output)
+ ///
+ /// Retrieves a floating point-vector property of the listener.
+ ///
+ ///
+ ///
+ /// The name of the attribute to be queried:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the floating point-vector value being retrieved.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetListenerfv(ALenum param, ALfloat* values);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetListenerfv(int attribute, [Out] IntPtr output);
+ #endregion alGetListenerfv(int attribute, [Out] IntPtr output)
+
+ #region alGetListenerfv(int attribute, [Out] float *output)
+ ///
+ /// Retrieves a floating point-vector property of the listener.
+ ///
+ ///
+ ///
+ /// The name of the attribute to be queried:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the floating point-vector value being retrieved.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetListenerfv(ALenum param, ALfloat* values);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alGetListenerfv(int attribute, [Out] float* output);
+ #endregion alGetListenerfv(int attribute, [Out] float *output)
+
+ #region alGetListeneri(int attribute, out int output)
+ ///
+ /// Retrieves an integer property of the listener.
+ ///
+ ///
+ /// The name of the attribute to be queried.
+ ///
+ ///
+ /// A pointer to the integer value being retrieved.
+ ///
+ ///
+ /// There are no integer listener attributes at this time.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetListeneri(ALenum param, ALint* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetListeneri(int attribute, out int output);
+ #endregion alGetListeneri(int attribute, out int output)
+
+ #region alGetListeneri(int attribute, [Out] int[] output)
+ ///
+ /// Retrieves an integer property of the listener.
+ ///
+ ///
+ /// The name of the attribute to be queried.
+ ///
+ ///
+ /// A pointer to the integer value being retrieved.
+ ///
+ ///
+ /// There are no integer listener attributes at this time.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetListeneri(ALenum param, ALint* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetListeneri(int attribute, [Out] int[] output);
+ #endregion alGetListeneri(int attribute, [Out] int[] output)
+
+ #region alGetListeneri(int attribute, [Out] IntPtr output)
+ ///
+ /// Retrieves an integer property of the listener.
+ ///
+ ///
+ /// The name of the attribute to be queried.
+ ///
+ ///
+ /// A pointer to the integer value being retrieved.
+ ///
+ ///
+ /// There are no integer listener attributes at this time.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetListeneri(ALenum param, ALint* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetListeneri(int attribute, [Out] IntPtr output);
+ #endregion alGetListeneri(int attribute, [Out] IntPtr output)
+
+ #region alGetListeneri(int attribute, [Out] int *output)
+ ///
+ /// Retrieves an integer property of the listener.
+ ///
+ ///
+ /// The name of the attribute to be queried.
+ ///
+ ///
+ /// A pointer to the integer value being retrieved.
+ ///
+ ///
+ /// There are no integer listener attributes at this time.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetListeneri(ALenum param, ALint* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alGetListeneri(int attribute, [Out] int* output);
+ #endregion alGetListeneri(int attribute, [Out] int *output)
+
+ #region alGetListener3i(int attribute, [Out] int *output1, [Out] int *output2, [Out] int *output3)
+ ///
+ /// Retrieves a set of three integer values from a property of the listener.
+ ///
+ ///
+ ///
+ /// The name of the attribute to be queried:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Pointer to the integer being retrieved.
+ ///
+ ///
+ /// Pointer to the integer being retrieved.
+ ///
+ ///
+ /// Pointer to the intger being retrieved.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetListener3i(ALenum param, ALint* v1, ALfint* v2, ALint* v3);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alGetListener3i(int attribute, [Out] int* output1, [Out] int* output2, [Out] int* output3);
+ #endregion alGetListener3i(int attribute, [Out] int *output1, [Out] int *output2, [Out] int *output3)
+
+ #region alGetListeneriv(int attribute, out int output)
+ ///
+ /// Retrieves an integer property of the listener.
+ ///
+ ///
+ /// The name of the attribute to be queried.
+ ///
+ ///
+ /// A pointer to the integer value being retrieved.
+ ///
+ ///
+ /// There are no integer listener attributes at this time.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetListeneriv(ALenum param, ALint* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetListeneriv(int attribute, out int output);
+ #endregion alGetListeneriv(int attribute, out int output)
+
+ #region alGetListeneriv(int attribute, [Out] int[] output)
+ ///
+ /// Retrieves an integer property of the listener.
+ ///
+ ///
+ /// The name of the attribute to be queried.
+ ///
+ ///
+ /// A pointer to the integer value being retrieved.
+ ///
+ ///
+ /// There are no integer listener attributes at this time.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetListeneriv(ALenum param, ALint* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetListeneriv(int attribute, [Out] int[] output);
+ #endregion alGetListeneriv(int attribute, [Out] int[] output)
+
+ #region alGetListeneriv(int attribute, [Out] IntPtr output)
+ ///
+ /// Retrieves an integer property of the listener.
+ ///
+ ///
+ /// The name of the attribute to be queried.
+ ///
+ ///
+ /// A pointer to the integer value being retrieved.
+ ///
+ ///
+ /// There are no integer listener attributes at this time.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetListeneriv(ALenum param, ALint* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetListeneriv(int attribute, [Out] IntPtr output);
+ #endregion alGetListeneriv(int attribute, [Out] IntPtr output)
+
+ #region alGetListeneriv(int attribute, [Out] int *output)
+ ///
+ /// Retrieves an integer property of the listener.
+ ///
+ ///
+ /// The name of the attribute to be queried.
+ ///
+ ///
+ /// A pointer to the integer value being retrieved.
+ ///
+ ///
+ /// There are no integer listener attributes at this time.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetListeneriv(ALenum param, ALint* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alGetListeneriv(int attribute, [Out] int* output);
+ #endregion alGetListeneriv(int attribute, [Out] int *output)
+
+ #region IntPtr alGetProcAddress(string functionName)
+ ///
+ /// Returns the address of an OpenAL extension function.
+ ///
+ ///
+ /// A string containing the function name.
+ ///
+ ///
+ /// A pointer to the desired function is returned.
+ ///
+ ///
+ /// The return value will be IntPtr.Zero if the function is not found.
+ ///
+ // ALAPI ALvoid* ALAPIENTRY alGetProcAddress(ALubyte* fname);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern IntPtr alGetProcAddress(string functionName);
+ #endregion IntPtr alGetProcAddress(string functionName)
+
+ #region alGetSource3f(int source, int attribute, out float value1, out float value2, out float value3)
+ ///
+ /// Retrieves an integer property of a source.
+ ///
+ ///
+ /// Source name whose attribute is being retrieved.
+ ///
+ ///
+ ///
+ /// The name of the attribute to retrieve:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The float values which the attribute will be set to.
+ ///
+ ///
+ /// The float values which the attribute will be set to.
+ ///
+ ///
+ /// The float values which the attribute will be set to.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetSource3f(ALuint source, ALenum param, ALfloat* v1, ALfloat* v2, ALfloat* v3);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetSource3f(int source, int attribute, out float value1, out float value2, out float value3);
+ #endregion alGetSource3f(int source, int attribute, out float value1, out float value2, out float value3)
+
+ #region alGetSource3f(int source, int attribute, [Out] float[] value1, [Out] float[] value2, [Out] float[] value3)
+ ///
+ /// Retrieves an integer property of a source.
+ ///
+ ///
+ /// Source name whose attribute is being retrieved.
+ ///
+ ///
+ ///
+ /// The name of the attribute to retrieve:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The float values which the attribute will be set to.
+ ///
+ ///
+ /// The float values which the attribute will be set to.
+ ///
+ ///
+ /// The float values which the attribute will be set to.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetSource3f(ALuint source, ALenum param, ALfloat* v1, ALfloat* v2, ALfloat* v3);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetSource3f(int source, int attribute, [Out] float[] value1, [Out] float[] value2, [Out] float[] value3);
+ #endregion alGetSource3f(int source, int attribute, [Out] float[] value1, [Out] float[] value2, [Out] float[] value3)
+
+ #region alGetSource3f(int source, int attribute, [Out] IntPtr value1, [Out] IntPtr value2, [Out] IntPtr value3)
+ ///
+ /// Retrieves an integer property of a source.
+ ///
+ ///
+ /// Source name whose attribute is being retrieved.
+ ///
+ ///
+ ///
+ /// The name of the attribute to retrieve:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The float values which the attribute will be set to.
+ ///
+ ///
+ /// The float values which the attribute will be set to.
+ ///
+ ///
+ /// The float values which the attribute will be set to.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetSource3f(ALuint source, ALenum param, ALfloat* v1, ALfloat* v2, ALfloat* v3);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetSource3f(int source, int attribute, [Out] IntPtr value1, [Out] IntPtr value2, [Out] IntPtr value3);
+ #endregion alGetSource3f(int source, int attribute, [Out] IntPtr value1, [Out] IntPtr value2, [Out] IntPtr value3)
+
+ #region alGetSource3f(int source, int attribute, [Out] float *value1, [Out] float *value2, [Out] float *value3)
+ ///
+ /// Retrieves an integer property of a source.
+ ///
+ ///
+ /// Source name whose attribute is being retrieved.
+ ///
+ ///
+ ///
+ /// The name of the attribute to retrieve:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The float values which the attribute will be set to.
+ ///
+ ///
+ /// The float values which the attribute will be set to.
+ ///
+ ///
+ /// The float values which the attribute will be set to.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetSource3f(ALuint source, ALenum param, ALfloat* v1, ALfloat* v2, ALfloat* v3);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alGetSource3f(int source, int attribute, [Out] float* value1, [Out] float* value2, [Out] float* value3);
+ #endregion alGetSource3f(int source, int attribute, [Out] float *value1, [Out] float *value2, [Out] float *value3)
+
+ #region alGetSourcef(int source, int attribute, out float val)
+ ///
+ /// Retrieves a floating point property of a source.
+ ///
+ ///
+ /// Source name whose attribute is being retrieved.
+ ///
+ ///
+ ///
+ /// The name of the attribute to retrieve:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the floating point value being retrieved.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetSourcef(ALuint source, ALenum param, ALfloat* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetSourcef(int source, int attribute, out float val);
+ #endregion alGetSourcef(int source, int attribute, out float val)
+
+ #region alGetSourcef(int source, int attribute, [Out] float[] val)
+ ///
+ /// Retrieves a floating point property of a source.
+ ///
+ ///
+ /// Source name whose attribute is being retrieved.
+ ///
+ ///
+ ///
+ /// The name of the attribute to retrieve:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the floating point value being retrieved.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetSourcef(ALuint source, ALenum param, ALfloat* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetSourcef(int source, int attribute, [Out] float[] val);
+ #endregion alGetSourcef(int source, int attribute, [Out] float[] val)
+
+ #region alGetSourcef(int source, int attribute, [Out] IntPtr val)
+ ///
+ /// Retrieves a floating point property of a source.
+ ///
+ ///
+ /// Source name whose attribute is being retrieved.
+ ///
+ ///
+ ///
+ /// The name of the attribute to retrieve:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the floating point value being retrieved.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetSourcef(ALuint source, ALenum param, ALfloat* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetSourcef(int source, int attribute, [Out] IntPtr val);
+ #endregion alGetSourcef(int source, int attribute, [Out] IntPtr val)
+
+ #region alGetSourcef(int source, int attribute, [Out] float *val)
+ ///
+ /// Retrieves a floating point property of a source.
+ ///
+ ///
+ /// Source name whose attribute is being retrieved.
+ ///
+ ///
+ ///
+ /// The name of the attribute to retrieve:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the floating point value being retrieved.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetSourcef(ALuint source, ALenum param, ALfloat* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alGetSourcef(int source, int attribute, [Out] float* val);
+ #endregion alGetSourcef(int source, int attribute, [Out] float *val)
+
+ #region alGetSourcefv(int source, int attribute, out float val)
+ ///
+ /// Retrieves a floating point-vector property of a source.
+ ///
+ ///
+ /// Source name whose attribute is being retrieved.
+ ///
+ ///
+ ///
+ /// The name of the attribute being retrieved:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the vector to retrieve.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetSourcefv(ALuint source, ALenum param, ALfloat* values);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetSourcefv(int source, int attribute, out float val);
+ #endregion alGetSourcefv(int source, int attribute, out float val)
+
+ #region alGetSourcefv(int source, int attribute, [Out] float[] values)
+ ///
+ /// Retrieves a floating point-vector property of a source.
+ ///
+ ///
+ /// Source name whose attribute is being retrieved.
+ ///
+ ///
+ ///
+ /// The name of the attribute being retrieved:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the vector to retrieve.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetSourcefv(ALuint source, ALenum param, ALfloat* values);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetSourcefv(int source, int attribute, [Out] float[] values);
+ #endregion alGetSourcefv(int source, int attribute, [Out] float[] values)
+
+ #region alGetSourcefv(int source, int attribute, [Out] IntPtr values)
+ ///
+ /// Retrieves a floating point-vector property of a source.
+ ///
+ ///
+ /// Source name whose attribute is being retrieved.
+ ///
+ ///
+ ///
+ /// The name of the attribute being retrieved:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the vector to retrieve.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetSourcefv(ALuint source, ALenum param, ALfloat* values);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetSourcefv(int source, int attribute, [Out] IntPtr values);
+ #endregion alGetSourcefv(int source, int attribute, [Out] IntPtr values)
+
+ #region alGetSourcefv(int source, int attribute, [Out] float *values)
+ ///
+ /// Retrieves a floating point-vector property of a source.
+ ///
+ ///
+ /// Source name whose attribute is being retrieved.
+ ///
+ ///
+ ///
+ /// The name of the attribute being retrieved:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the vector to retrieve.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetSourcefv(ALuint source, ALenum param, ALfloat* values);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alGetSourcefv(int source, int attribute, [Out] float* values);
+ #endregion alGetSourcefv(int source, int attribute, [Out] float *values)
+
+ #region alGetSourcei(int source, int attribute, out int val)
+ ///
+ /// Retrieves an integer property of a source.
+ ///
+ ///
+ /// Source name whose attribute is being retrieved.
+ ///
+ ///
+ ///
+ /// The name of the attribute to retrieve:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the integer value being retrieved.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetSourcei(ALuint source, ALenum param, ALint* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetSourcei(int source, int attribute, out int val);
+ #endregion alGetSourcei(int source, int attribute, out int val)
+
+ #region alGetSourcei(int source, int attribute, [Out] int[] val)
+ ///
+ /// Retrieves an integer property of a source.
+ ///
+ ///
+ /// Source name whose attribute is being retrieved.
+ ///
+ ///
+ ///
+ /// The name of the attribute to retrieve:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the integer value being retrieved.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetSourcei(ALuint source, ALenum param, ALint* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetSourcei(int source, int attribute, [Out] int[] val);
+ #endregion alGetSourcei(int source, int attribute, [Out] int[] val)
+
+ #region alGetSourcei(int source, int attribute, [Out] IntPtr val)
+ ///
+ /// Retrieves an integer property of a source.
+ ///
+ ///
+ /// Source name whose attribute is being retrieved.
+ ///
+ ///
+ ///
+ /// The name of the attribute to retrieve:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the integer value being retrieved.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetSourcei(ALuint source, ALenum param, ALint* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetSourcei(int source, int attribute, [Out] IntPtr val);
+ #endregion alGetSourcei(int source, int attribute, [Out] IntPtr val)
+
+ #region alGetSourcei(int source, int attribute, [Out] int *val)
+ ///
+ /// Retrieves an integer property of a source.
+ ///
+ ///
+ /// Source name whose attribute is being retrieved.
+ ///
+ ///
+ ///
+ /// The name of the attribute to retrieve:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the integer value being retrieved.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetSourcei(ALuint source, ALenum param, ALint* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alGetSourcei(int source, int attribute, [Out] int* val);
+ #endregion alGetSourcei(int source, int attribute, [Out] int *val)
+
+ #region alGetSource3i(int source, int attribute, out int value1, out int value2, out int value3)
+ ///
+ /// Retrieves an integer property of a source.
+ ///
+ ///
+ /// Source name whose attribute is being retrieved.
+ ///
+ ///
+ ///
+ /// The name of the attribute to retrieve:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The int values which the attribute will be set to.
+ ///
+ ///
+ /// The int values which the attribute will be set to.
+ ///
+ ///
+ /// The int values which the attribute will be set to.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetSource3i(ALuint source, ALenum param, ALin* v1, ALint* v2, ALint* v3);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetSource3i(int source, int attribute, out int value1, out int value2, out int value3);
+ #endregion alGetSource3i(int source, int attribute, out int value1, out int value2, out int value3)
+
+ #region alGetSourceiv(int source, int attribute, out int val)
+ ///
+ /// Retrieves an integer property of a source.
+ ///
+ ///
+ /// Source name whose attribute is being retrieved.
+ ///
+ ///
+ ///
+ /// The name of the attribute to retrieve:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the integer value being retrieved.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetSourceiv(ALuint source, ALenum param, ALint* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetSourceiv(int source, int attribute, out int val);
+ #endregion alGetSourceiv(int source, int attribute, out int val)
+
+ #region alGetSourceiv(int source, int attribute, [Out] int[] val)
+ ///
+ /// Retrieves an integer property of a source.
+ ///
+ ///
+ /// Source name whose attribute is being retrieved.
+ ///
+ ///
+ ///
+ /// The name of the attribute to retrieve:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the integer value being retrieved.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetSourceiv(ALuint source, ALenum param, ALint* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetSourceiv(int source, int attribute, [Out] int[] val);
+ #endregion alGetSourceiv(int source, int attribute, [Out] int[] val)
+
+ #region alGetSourceiv(int source, int attribute, [Out] IntPtr val)
+ ///
+ /// Retrieves an integer property of a source.
+ ///
+ ///
+ /// Source name whose attribute is being retrieved.
+ ///
+ ///
+ ///
+ /// The name of the attribute to retrieve:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the integer value being retrieved.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetSourceiv(ALuint source, ALenum param, ALint* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alGetSourceiv(int source, int attribute, [Out] IntPtr val);
+ #endregion alGetSourceiv(int source, int attribute, [Out] IntPtr val)
+
+ #region alGetSourceiv(int source, int attribute, [Out] int *val)
+ ///
+ /// Retrieves an integer property of a source.
+ ///
+ ///
+ /// Source name whose attribute is being retrieved.
+ ///
+ ///
+ ///
+ /// The name of the attribute to retrieve:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the integer value being retrieved.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alGetSourceiv(ALuint source, ALenum param, ALint* value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alGetSourceiv(int source, int attribute, [Out] int* val);
+ #endregion alGetSourceiv(int source, int attribute, [Out] int *val)
+
+ #region string alGetString(int state)
+ ///
+ /// Retrieves an OpenAL string property.
+ ///
+ ///
+ ///
+ /// The property to be queried:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to a null-terminated string.
+ ///
+ // ALAPI ALubyte* ALAPIENTRY alGetString(ALenum param);
+ public static string alGetString(int state)
+ {
+ return Marshal.PtrToStringAnsi(_alGetString(state));
+ }
+
+ [DllImport(AL_NATIVE_LIBRARY, EntryPoint = "alGetString", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ private static extern IntPtr _alGetString(int state);
+ #endregion string alGetString(int state)
+
+ #region alHint(int target, int mode)
+ ///
+ /// Sets application preferences for driver performance choices.
+ ///
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alHint(ALenum target, ALenum mode);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alHint(int target, int mode);
+ #endregion alHint(int target, int mode)
+
+ #region int alIsBuffer(int buffer)
+ ///
+ /// Tests if a buffer name is valid.
+ ///
+ ///
+ /// A buffer name to be tested for validity.
+ ///
+ ///
+ /// bool value if the buffer name is valid or
+ /// if the buffer name is not valid.
+ ///
+ // ALAPI ALboolean ALAPIENTRY alIsBuffer(ALuint buffer);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int alIsBuffer(int buffer);
+ #endregion int alIsBuffer(int buffer)
+
+ #region int alIsEnabled(int capability)
+ ///
+ /// Returns a value indicating if a specific feature is enabled in the OpenAL driver.
+ ///
+ ///
+ /// The capability to query.
+ ///
+ ///
+ /// if the capability is enabled, if
+ /// the capability is disabled.
+ ///
+ ///
+ /// At the time of this writing, this function always returns ,
+ /// and since there are no capabilities defined yet, the error
+ /// will also be set.
+ ///
+ // ALAPI ALboolean ALAPIENTRY alIsEnabled(ALenum capability);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int alIsEnabled(int capability);
+ #endregion int alIsEnabled(int capability)
+
+ #region int alIsExtensionPresent(string extensionName)
+ ///
+ /// Tests if a specific extension is available for the OpenAL driver.
+ ///
+ ///
+ /// A string describing the desired extension.
+ ///
+ ///
+ /// if the extension is available, if
+ /// the extension is not available.
+ ///
+ // ALAPI ALboolean ALAPIENTRY alIsExtensionPresent(ALubyte* fname);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int alIsExtensionPresent(string extensionName);
+ #endregion int alIsExtensionPresent(String extensionName)
+
+ #region int alIsSource(int id)
+ ///
+ /// Tests if a source name is valid.
+ ///
+ ///
+ /// A source name to be tested for validity.
+ ///
+ ///
+ /// bool value if the source name is valid or
+ /// if the source name is not valid.
+ ///
+ // ALAPI ALboolean ALAPIENTRY alIsSource(ALuint id);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int alIsSource(int id);
+ #endregion int alIsSource(int id)
+
+ #region alListener3f(int attribute, float value1, float value2, float value3)
+ ///
+ /// Sets a floating point property for the listener.
+ ///
+ ///
+ ///
+ /// The name of the attribute to set:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The value to set the attribute to.
+ ///
+ ///
+ /// The value to set the attribute to.
+ ///
+ ///
+ /// The value to set the attribute to.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alListener3f(ALenum param, ALfloat v1, ALfloat v2, ALfloat v3);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alListener3f(int attribute, float value1, float value2, float value3);
+ #endregion alListener3f(int attribute, float value1, float value2, float value3)
+
+ #region alListenerf(int attribute, float val)
+ ///
+ /// Sets a floating point property for the listener.
+ ///
+ ///
+ /// The name of the attribute to be set.
+ ///
+ ///
+ /// The float value to set the attribute to.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alListenerf(ALenum param, ALfloat value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alListenerf(int attribute, float val);
+ #endregion alListenerf(int attribute, float val)
+
+ #region alListenerfv(int attribute, [In] ref float values)
+ ///
+ /// Sets a floating point-vector property of the listener.
+ ///
+ ///
+ ///
+ /// The name of the attribute to be set:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Pointer to floating point-vector values.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alListenerfv(ALenum param, ALfloat* values);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alListenerfv(int attribute, [In] ref float values);
+ #endregion alListenerfv(int attribute, [In] ref float values)
+
+ #region alListenerfv(int attribute, [In] float[] values)
+ ///
+ /// Sets a floating point-vector property of the listener.
+ ///
+ ///
+ ///
+ /// The name of the attribute to be set:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Pointer to floating point-vector values.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alListenerfv(ALenum param, ALfloat* values);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alListenerfv(int attribute, [In] float[] values);
+ #endregion alListenerfv(int attribute, [In] float[] values)
+
+ #region alListenerfv(int attribute, [In] IntPtr values)
+ ///
+ /// Sets a floating point-vector property of the listener.
+ ///
+ ///
+ ///
+ /// The name of the attribute to be set:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Pointer to floating point-vector values.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alListenerfv(ALenum param, ALfloat* values);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alListenerfv(int attribute, [In] IntPtr values);
+ #endregion alListenerfv(int attribute, [In] IntPtr values)
+
+ #region alListenerfv(int attribute, [In] float *values)
+ ///
+ /// Sets a floating point-vector property of the listener.
+ ///
+ ///
+ ///
+ /// The name of the attribute to be set:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Pointer to floating point-vector values.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alListenerfv(ALenum param, ALfloat* values);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alListenerfv(int attribute, [In] float* values);
+ #endregion alListenerfv(int attribute, [In] float *values)
+
+ #region alListeneri(int attribute, int val)
+ ///
+ /// Sets an integer property of the listener.
+ ///
+ ///
+ /// The name of the attribute to be set.
+ ///
+ ///
+ /// The integer value to set the attribute to.
+ ///
+ ///
+ /// There are no integer listener attributes at this time.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alListeneri(ALenum param, ALint value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alListeneri(int attribute, int val);
+ #endregion alListeneri(int attribute, int val)
+
+ #region alListener3i(int attribute, int value1, int value2, int value3)
+ ///
+ /// Sets an integer property for the listener.
+ ///
+ ///
+ ///
+ /// The name of the attribute to set:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The value to set the attribute to.
+ ///
+ ///
+ /// The value to set the attribute to.
+ ///
+ ///
+ /// The value to set the attribute to.
+ ///
+ // AL_API void AL_APIENTRY alListener3i( ALenum param, ALint value1, ALint value2, ALint value3 )
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alListener3i(int attribute, int value1, int value2, int value3);
+ #endregion alListener3i(int attribute, int value1, int value2, int value3)
+
+ #region alListeneriv(int attribute, [In] ref int values)
+ ///
+ /// Sets a integer-vector property of the listener.
+ ///
+ ///
+ ///
+ /// The name of the attribute to be set:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Pointer to integer-vector values.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alListeneriv(ALenum param, ALint* values);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alListeneriv(int attribute, [In] ref int values);
+ #endregion alListeneriv(int attribute, [In] ref int values)
+
+ #region alQueuei(int source, int attribute, int val)
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ // ALAPI void ALAPIENTRY alQueuei(ALuint sid, ALenum param, ALint value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alQueuei(int source, int attribute, int val);
+ #endregion alQueuei(int source, int attribute, int val)
+
+ #region alSource3f(int source, int attribute, float value1, float value2, float value3)
+ ///
+ /// Sets a source property requiring three floating point values.
+ ///
+ ///
+ /// Source name whose attribute is being set.
+ ///
+ ///
+ ///
+ /// The name of the attribute to set:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The float values which the attribute will be set to.
+ ///
+ ///
+ /// The float values which the attribute will be set to.
+ ///
+ ///
+ /// The float values which the attribute will be set to.
+ ///
+ ///
+ /// This function is an alternative to .
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSource3f(ALuint source, ALenum param, ALfloat v1, ALfloat v2, ALfloat v3);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alSource3f(int source, int attribute, float value1, float value2, float value3);
+ #endregion alSource3f(int source, int attribute, float value1, float value2, float value3)
+
+ #region alSourcef(int source, int attribute, float val)
+ ///
+ /// Sets a floating point property of a source.
+ ///
+ ///
+ /// Source name whose attribute is being set.
+ ///
+ ///
+ ///
+ /// The name of the attribute to set:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The value to set the attribute to.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourcef(ALuint source, ALenum param, ALfloat value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alSourcef(int source, int attribute, float val);
+ #endregion alSourcef(int source, int attribute, float val)
+
+ #region alSourcefv(int source, int attribute, [In] ref float values)
+ ///
+ /// Sets a floating point-vector property of a source.
+ ///
+ ///
+ /// Source name whose attribute is being set.
+ ///
+ ///
+ ///
+ /// The name of the attribute being set:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the vector to set the attribute to.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourcefv(ALuint source, ALenum param, ALfloat* values);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alSourcefv(int source, int attribute, [In] ref float values);
+ #endregion alSourcefv(int source, int attribute, float[] values)
+
+ #region alSourcefv(int source, int attribute, [In] float[] values)
+ ///
+ /// Sets a floating point-vector property of a source.
+ ///
+ ///
+ /// Source name whose attribute is being set.
+ ///
+ ///
+ ///
+ /// The name of the attribute being set:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the vector to set the attribute to.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourcefv(ALuint source, ALenum param, ALfloat* values);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alSourcefv(int source, int attribute, [In] float[] values);
+ #endregion alSourcefv(int source, int attribute, [In] float[] values)
+
+ #region alSourcefv(int source, int attribute, [In] IntPtr values)
+ ///
+ /// Sets a floating point-vector property of a source.
+ ///
+ ///
+ /// Source name whose attribute is being set.
+ ///
+ ///
+ ///
+ /// The name of the attribute being set:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the vector to set the attribute to.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourcefv(ALuint source, ALenum param, ALfloat* values);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alSourcefv(int source, int attribute, [In] IntPtr values);
+ #endregion alSourcefv(int source, int attribute, [In] IntPtr values)
+
+ #region alSourcefv(int source, int attribute, [In] float *values)
+ ///
+ /// Sets a floating point-vector property of a source.
+ ///
+ ///
+ /// Source name whose attribute is being set.
+ ///
+ ///
+ ///
+ /// The name of the attribute being set:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the vector to set the attribute to.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourcefv(ALuint source, ALenum param, ALfloat* values);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alSourcefv(int source, int attribute, [In] float* values);
+ #endregion alSourcefv(int source, int attribute, [In] float *values)
+
+ #region alSourcei(int source, int attribute, int val)
+ ///
+ /// Sets an integer property of a source.
+ ///
+ ///
+ /// Source name whose attribute is being set.
+ ///
+ ///
+ ///
+ /// The name of the attribute to set:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The value to set the attribute to.
+ ///
+ ///
+ /// The buffer name zero is reserved as a “Null Buffer" and is accepted by
+ /// alSourcei(…, Al.AL_BUFFER, …) as a valid buffer of zero length.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourcei(ALuint source, ALenum param, ALint value);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alSourcei(int source, int attribute, int val);
+ #endregion alSourcei(int source, int attribute, int val)
+
+ #region alSourceiv(int source, int attribute, [In] int *values)
+ ///
+ /// Sets a integer-vector property of a source.
+ ///
+ ///
+ /// Source name whose attribute is being set.
+ ///
+ ///
+ ///
+ /// The name of the attribute being set:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to the vector to set the attribute to.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourceiv(ALuint source, ALenum param, ALint* values);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alSourceiv(int source, int attribute, [In] int* values);
+ #endregion alSourceiv(int source, int attribute, [In] int *values)
+
+ #region alSource3i(int source, int attribute, int value1, int value2, int value3)
+ ///
+ /// Sets a source property requiring three integer values.
+ ///
+ ///
+ /// Source name whose attribute is being set.
+ ///
+ ///
+ ///
+ /// The name of the attribute to set:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The int values which the attribute will be set to.
+ ///
+ ///
+ /// The int values which the attribute will be set to.
+ ///
+ ///
+ /// The int values which the attribute will be set to.
+ ///
+ ///
+ /// This function is an alternative to .
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSource3i(ALuint source, ALenum param, ALint v1, ALint v2, ALint v3);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alSource3i(int source, int attribute, int value1, int value2, int value3);
+ #endregion void alSource3i(int source, int attribute, int value1, int value2, int value3)
+
+ #region alSourcePause(int source)
+ ///
+ /// Pauses a source.
+ ///
+ ///
+ /// The name of the source to be paused.
+ ///
+ ///
+ /// The paused source will have its state changed to .
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourcePause(ALuint source);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alSourcePause(int source);
+ #endregion alSourcePause(int source)
+
+ #region alSourcePausev(int number, [In] ref int source)
+ ///
+ /// Pauses a set of sources.
+ ///
+ ///
+ /// The number of sources to be paused.
+ ///
+ ///
+ /// A pointer to an array of sources to be paused.
+ ///
+ ///
+ /// The paused sources will have their state changed to .
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourcePausev(ALsizei n, ALuint *sources);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alSourcePausev(int number, [In] ref int source);
+ #endregion alSourcePausev(int number, [In] ref int source)
+
+ #region alSourcePausev(int number, [In] int[] sources)
+ ///
+ /// Pauses a set of sources.
+ ///
+ ///
+ /// The number of sources to be paused.
+ ///
+ ///
+ /// A pointer to an array of sources to be paused.
+ ///
+ ///
+ /// The paused sources will have their state changed to .
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourcePausev(ALsizei n, ALuint *sources);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alSourcePausev(int number, [In] int[] sources);
+ #endregion alSourcePausev(int number, [In] int[] sources)
+
+ #region alSourcePausev(int number, [In] IntPtr sources)
+ ///
+ /// Pauses a set of sources.
+ ///
+ ///
+ /// The number of sources to be paused.
+ ///
+ ///
+ /// A pointer to an array of sources to be paused.
+ ///
+ ///
+ /// The paused sources will have their state changed to .
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourcePausev(ALsizei n, ALuint *sources);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alSourcePausev(int number, [In] IntPtr sources);
+ #endregion alSourcePausev(int number, [In] IntPtr sources)
+
+ #region alSourcePausev(int number, [In] int *sources)
+ ///
+ /// Pauses a set of sources.
+ ///
+ ///
+ /// The number of sources to be paused.
+ ///
+ ///
+ /// A pointer to an array of sources to be paused.
+ ///
+ ///
+ /// The paused sources will have their state changed to .
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourcePausev(ALsizei n, ALuint *sources);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alSourcePausev(int number, [In] int* sources);
+ #endregion alSourcePausev(int number, [In] int *sources)
+
+ #region alSourcePlay(int source)
+ ///
+ /// Plays a source.
+ ///
+ ///
+ /// The name of the source to be played.
+ ///
+ ///
+ /// The playing source will have its state changed to .
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourcePlay(ALuint source);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alSourcePlay(int source);
+ #endregion alSourcePlay(int source)
+
+ #region alSourcePlayv(int number, [In] ref int source)
+ ///
+ /// Plays a set of sources.
+ ///
+ ///
+ /// The number of sources to be played.
+ ///
+ ///
+ /// A pointer to an array of sources to be played.
+ ///
+ ///
+ /// The playing sources will have their state changed to .
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourcePlayv(ALsizei n, ALuint *sources);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alSourcePlayv(int number, [In] ref int source);
+ #endregion alSourcePlayv(int number, [In] ref int source)
+
+ #region alSourcePlayv(int number, [In] int[] sources)
+ ///
+ /// Plays a set of sources.
+ ///
+ ///
+ /// The number of sources to be played.
+ ///
+ ///
+ /// A pointer to an array of sources to be played.
+ ///
+ ///
+ /// The playing sources will have their state changed to .
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourcePlayv(ALsizei n, ALuint *sources);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alSourcePlayv(int number, [In] int[] sources);
+ #endregion alSourcePlayv(int number, [In] int[] sources)
+
+ #region alSourcePlayv(int number, [In] IntPtr sources)
+ ///
+ /// Plays a set of sources.
+ ///
+ ///
+ /// The number of sources to be played.
+ ///
+ ///
+ /// A pointer to an array of sources to be played.
+ ///
+ ///
+ /// The playing sources will have their state changed to .
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourcePlayv(ALsizei n, ALuint *sources);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alSourcePlayv(int number, [In] IntPtr sources);
+ #endregion alSourcePlayv(int number, [In] IntPtr sources)
+
+ #region alSourcePlayv(int number, [In] int *sources)
+ ///
+ /// Plays a set of sources.
+ ///
+ ///
+ /// The number of sources to be played.
+ ///
+ ///
+ /// A pointer to an array of sources to be played.
+ ///
+ ///
+ /// The playing sources will have their state changed to .
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourcePlayv(ALsizei n, ALuint *sources);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alSourcePlayv(int number, [In] int* sources);
+ #endregion alSourcePlayv(int number, [In] int *sources)
+
+ #region alSourceQueueBuffers(int source, int number, [In] ref int buffer)
+ ///
+ /// Queues a set of buffers on a source.
+ ///
+ ///
+ /// The name of the source to queue buffers onto.
+ ///
+ ///
+ /// The number of buffers to be queued.
+ ///
+ ///
+ /// A pointer to an array of buffer names to be queued.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourceQueueBuffers(ALuint source, ALsizei n, ALuint* buffers);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alSourceQueueBuffers(int source, int number, [In] ref int buffer);
+ #endregion alSourceQueueBuffers(int source, int number, [In] ref int buffer)
+
+ #region alSourceQueueBuffers(int source, int number, [In] int[] buffers)
+ ///
+ /// Queues a set of buffers on a source.
+ ///
+ ///
+ /// The name of the source to queue buffers onto.
+ ///
+ ///
+ /// The number of buffers to be queued.
+ ///
+ ///
+ /// A pointer to an array of buffer names to be queued.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourceQueueBuffers(ALuint source, ALsizei n, ALuint* buffers);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alSourceQueueBuffers(int source, int number, [In] int[] buffers);
+ #endregion alSourceQueueBuffers(int source, int number, [In] int[] buffers)
+
+ #region alSourceQueueBuffers(int source, int number, [In] IntPtr buffers)
+ ///
+ /// Queues a set of buffers on a source.
+ ///
+ ///
+ /// The name of the source to queue buffers onto.
+ ///
+ ///
+ /// The number of buffers to be queued.
+ ///
+ ///
+ /// A pointer to an array of buffer names to be queued.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourceQueueBuffers(ALuint source, ALsizei n, ALuint* buffers);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alSourceQueueBuffers(int source, int number, [In] IntPtr buffers);
+ #endregion alSourceQueueBuffers(int source, int number, [In] IntPtr buffers)
+
+ #region alSourceQueueBuffers(int source, int number, [In] int *buffers)
+ ///
+ /// Queues a set of buffers on a source.
+ ///
+ ///
+ /// The name of the source to queue buffers onto.
+ ///
+ ///
+ /// The number of buffers to be queued.
+ ///
+ ///
+ /// A pointer to an array of buffer names to be queued.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourceQueueBuffers(ALuint source, ALsizei n, ALuint* buffers);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alSourceQueueBuffers(int source, int number, [In] int* buffers);
+ #endregion alSourceQueueBuffers(int source, int number, [In] int *buffers)
+
+ #region alSourceRewind(int source)
+ ///
+ /// Stops the source and sets its state to .
+ ///
+ ///
+ /// The name of the source to be rewound.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourceRewind(ALuint source);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alSourceRewind(int source);
+ #endregion alSourceRewind(int source)
+
+ #region alSourceRewindv(int number, [In] ref int source)
+ ///
+ /// Stops a set of sources and sets all their states to .
+ ///
+ ///
+ /// The number of sources to be rewound.
+ ///
+ ///
+ /// A pointer to an array of sources to be rewound.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourceRewindv(ALsizei n, ALuint *sources);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alSourceRewindv(int number, [In] ref int source);
+ #endregion alSourceRewindv(int number, [In] ref int source)
+
+ #region alSourceRewindv(int number, [In] int[] sources)
+ ///
+ /// Stops a set of sources and sets all their states to .
+ ///
+ ///
+ /// The number of sources to be rewound.
+ ///
+ ///
+ /// A pointer to an array of sources to be rewound.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourceRewindv(ALsizei n, ALuint *sources);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alSourceRewindv(int number, [In] int[] sources);
+ #endregion alSourceRewindv(int number, [In] int[] sources)
+
+ #region alSourceRewindv(int number, [In] IntPtr sources)
+ ///
+ /// Stops a set of sources and sets all their states to .
+ ///
+ ///
+ /// The number of sources to be rewound.
+ ///
+ ///
+ /// A pointer to an array of sources to be rewound.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourceRewindv(ALsizei n, ALuint *sources);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alSourceRewindv(int number, [In] IntPtr sources);
+ #endregion alSourceRewindv(int number, [In] IntPtr sources)
+
+ #region alSourceRewindv(int number, [In] int *sources)
+ ///
+ /// Stops a set of sources and sets all their states to .
+ ///
+ ///
+ /// The number of sources to be rewound.
+ ///
+ ///
+ /// A pointer to an array of sources to be rewound.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourceRewindv(ALsizei n, ALuint *sources);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alSourceRewindv(int number, [In] int* sources);
+ #endregion alSourceRewindv(int number, [In] int *sources)
+
+ #region alSourceStop(int source)
+ ///
+ /// Stops a source.
+ ///
+ ///
+ /// The name of the source to be stopped.
+ ///
+ ///
+ /// The stopped source will have its state changed to .
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourceStop(ALuint source);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alSourceStop(int source);
+ #endregion alSourceStop(int source)
+
+ #region alSourceStopv(int number, [In] ref int source)
+ ///
+ /// Stops a set of sources.
+ ///
+ ///
+ /// The number of sources to stop.
+ ///
+ ///
+ /// A pointer to an array of sources to be stopped.
+ ///
+ ///
+ /// The stopped sources will have their state changed to .
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourceStopv(ALsizei n, ALuint *sources);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alSourceStopv(int number, [In] ref int source);
+ #endregion alSourceStopv(int number, [In] ref int source)
+
+ #region alSourceStopv(int number, [In] int[] sources)
+ ///
+ /// Stops a set of sources.
+ ///
+ ///
+ /// The number of sources to stop.
+ ///
+ ///
+ /// A pointer to an array of sources to be stopped.
+ ///
+ ///
+ /// The stopped sources will have their state changed to .
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourceStopv(ALsizei n, ALuint *sources);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alSourceStopv(int number, [In] int[] sources);
+ #endregion alSourceStopv(int number, [In] int[] sources)
+
+ #region alSourceStopv(int number, [In] IntPtr sources)
+ ///
+ /// Stops a set of sources.
+ ///
+ ///
+ /// The number of sources to stop.
+ ///
+ ///
+ /// A pointer to an array of sources to be stopped.
+ ///
+ ///
+ /// The stopped sources will have their state changed to .
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourceStopv(ALsizei n, ALuint *sources);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alSourceStopv(int number, [In] IntPtr sources);
+ #endregion alSourceStopv(int number, [In] IntPtr sources)
+
+ #region alSourceStopv(int number, [In] int *sources)
+ ///
+ /// Stops a set of sources.
+ ///
+ ///
+ /// The number of sources to stop.
+ ///
+ ///
+ /// A pointer to an array of sources to be stopped.
+ ///
+ ///
+ /// The stopped sources will have their state changed to .
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourceStopv(ALsizei n, ALuint *sources);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alSourceStopv(int number, [In] int* sources);
+ #endregion alSourceStopv(int number, [In] int *sources)
+
+ #region alSourceUnqueueBuffers(int source, int number, [In] ref int buffer)
+ ///
+ /// Unqueues a set of buffers attached to a source.
+ ///
+ ///
+ /// The name of the source to unqueue buffers from.
+ ///
+ ///
+ /// The number of buffers to be unqueued.
+ ///
+ ///
+ /// A pointer to an array of buffer names that were removed.
+ ///
+ ///
+ /// The unqueue operation will only take place if all number buffers can be
+ /// removed from the queue.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourceUnqueueBuffers(ALuint source, ALsizei n, ALuint* buffers);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alSourceUnqueueBuffers(int source, int number, [In] ref int buffer);
+ #endregion alSourceUnqueueBuffers(int source, int number, [In] ref int buffer)
+
+ #region alSourceUnqueueBuffers(int source, int number, [In] int[] buffers)
+ ///
+ /// Unqueues a set of buffers attached to a source.
+ ///
+ ///
+ /// The name of the source to unqueue buffers from.
+ ///
+ ///
+ /// The number of buffers to be unqueued.
+ ///
+ ///
+ /// A pointer to an array of buffer names that were removed.
+ ///
+ ///
+ /// The unqueue operation will only take place if all number buffers can be
+ /// removed from the queue.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourceUnqueueBuffers(ALuint source, ALsizei n, ALuint* buffers);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alSourceUnqueueBuffers(int source, int number, [In] int[] buffers);
+ #endregion alSourceUnqueueBuffers(int source, int number, [In] int[] buffers)
+
+ #region alSourceUnqueueBuffers(int source, int number, [In] IntPtr buffers)
+ ///
+ /// Unqueues a set of buffers attached to a source.
+ ///
+ ///
+ /// The name of the source to unqueue buffers from.
+ ///
+ ///
+ /// The number of buffers to be unqueued.
+ ///
+ ///
+ /// A pointer to an array of buffer names that were removed.
+ ///
+ ///
+ /// The unqueue operation will only take place if all number buffers can be
+ /// removed from the queue.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourceUnqueueBuffers(ALuint source, ALsizei n, ALuint* buffers);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alSourceUnqueueBuffers(int source, int number, [In] IntPtr buffers);
+ #endregion alSourceUnqueueBuffers(int source, int number, [In] IntPtr buffers)
+
+ #region alSourceUnqueueBuffers(int source, int number, [In] int *buffers)
+ ///
+ /// Unqueues a set of buffers attached to a source.
+ ///
+ ///
+ /// The name of the source to unqueue buffers from.
+ ///
+ ///
+ /// The number of buffers to be unqueued.
+ ///
+ ///
+ /// A pointer to an array of buffer names that were removed.
+ ///
+ ///
+ /// The unqueue operation will only take place if all number buffers can be
+ /// removed from the queue.
+ ///
+ // ALAPI ALvoid ALAPIENTRY alSourceUnqueueBuffers(ALuint source, ALsizei n, ALuint* buffers);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alSourceUnqueueBuffers(int source, int number, [In] int* buffers);
+ #endregion alSourceUnqueueBuffers(int source, int number, [In] int *buffers)
+ #endregion Public OpenAL 1.1 Methods
+
+ #region Public IASIG Methods
+ #region int alGenEnvironmentIASIG(int number, out int environments)
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ // ALAPI ALsizei ALAPIENTRY alGenEnvironmentIASIG(ALsizei n, ALuint* environs);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int alGenEnvironmentIASIG(int number, out int environments);
+ #endregion int alGenEnvironmentIASIG(int number, out int environments)
+
+ #region int alGenEnvironmentIASIG(int number, [Out] int[] environments)
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ // ALAPI ALsizei ALAPIENTRY alGenEnvironmentIASIG(ALsizei n, ALuint* environs);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int alGenEnvironmentIASIG(int number, [Out] int[] environments);
+ #endregion int alGenEnvironmentIASIG(int number, [Out] int[] environments)
+
+ #region int alGenEnvironmentIASIG(int number, [Out] IntPtr environments)
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ // ALAPI ALsizei ALAPIENTRY alGenEnvironmentIASIG(ALsizei n, ALuint* environs);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int alGenEnvironmentIASIG(int number, [Out] IntPtr environments);
+ #endregion int alGenEnvironmentIASIG(int number, [Out] IntPtr environments)
+
+ #region int alGenEnvironmentIASIG(int number, [Out] int *environments)
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ // ALAPI ALsizei ALAPIENTRY alGenEnvironmentIASIG(ALsizei n, ALuint* environs);
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern int alGenEnvironmentIASIG(int number, [Out] int* environments);
+ #endregion int alGenEnvironmentIASIG(int number, [Out] int *environments)
+
+ #region alDeleteEnvironmentIASIG(int number, [In] ref int environments)
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ // ALAPI void ALAPIENTRY alDeleteEnvironmentIASIG( ALsizei n, ALuint* environs );
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alDeleteEnvironmentIASIG(int number, [In] ref int environments);
+ #endregion alDeleteEnvironmentIASIG(int number, [In] ref int environments)
+
+ #region alDeleteEnvironmentIASIG(int number, [In] int[] environments)
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ // ALAPI void ALAPIENTRY alDeleteEnvironmentIASIG( ALsizei n, ALuint* environs );
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alDeleteEnvironmentIASIG(int number, [In] int[] environments);
+ #endregion alDeleteEnvironmentIASIG(int number, [In] int[] environments)
+
+ #region alDeleteEnvironmentIASIG(int number, [In] IntPtr environments)
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ // ALAPI void ALAPIENTRY alDeleteEnvironmentIASIG( ALsizei n, ALuint* environs );
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alDeleteEnvironmentIASIG(int number, [In] IntPtr environments);
+ #endregion alDeleteEnvironmentIASIG(int number, [In] IntPtr environments)
+
+ #region alDeleteEnvironmentIASIG(int number, [In] int *environments)
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ // ALAPI void ALAPIENTRY alDeleteEnvironmentIASIG( ALsizei n, ALuint* environs );
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alDeleteEnvironmentIASIG(int number, [In] int* environments);
+ #endregion alDeleteEnvironmentIASIG(int number, [In] int *environments)
+
+ #region int alIsEnvironmentIASIG(int environment)
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ // ALAPI ALboolean ALAPIENTRY alIsEnvironmentIASIG( ALuint environ );
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int alIsEnvironmentIASIG(int environment);
+ #endregion int alIsEnvironmentIASIG(int environment)
+
+ #region alEnvironmentiIASIG(int environmentId, int attribute, int val)
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ // ALAPI void ALAPIENTRY alEnvironmentiIASIG( ALuint eid, ALenum param, ALint value );
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alEnvironmentiIASIG(int environmentId, int attribute, int val);
+ #endregion alEnvironmentiIASIG(int environmentId, int attribute, int val)
+
+ #region alEnvironmentfIASIG(int environmentId, int attribute, int val)
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ ///
+ /// Unknown.
+ ///
+ // ALAPI void ALAPIENTRY alEnvironmentfIASIG( ALuint eid, ALenum param, ALuint value );
+ [DllImport(AL_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alEnvironmentfIASIG(int environmentId, int attribute, int val);
+ #endregion alEnvironmentfIASIG(int environmentId, int attribute, int val)
+ #endregion Public IASIG Methods
+
+ #region Public OpenAL Extension Methods
+ #region X-RAM Methods
+ #region EAXSetBufferMode
+ ///
+ /// Sets the X-RAM mode for the specified buffers.
+ ///
+ ///
+ /// The number of buffers to set.
+ ///
+ ///
+ /// A pointer to an array of buffers to set.
+ ///
+ ///
+ ///
+ /// The X-RAM buffer mode for the specified buffers.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ [CLSCompliant(false)]
+ public unsafe static void EAXSetBufferMode(int n, int* buffers, int mode)
+ {
+ Delegates.EAXSetBufferMode(n, buffers, mode);
+ }
+
+ ///
+ /// Sets the X-RAM mode for the specified buffers.
+ ///
+ ///
+ /// The number of buffers to set.
+ ///
+ ///
+ /// An array of buffers to set, with minimum n elements.
+ ///
+ ///
+ ///
+ /// The X-RAM buffer mode for the specified buffers.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ public static void EAXSetBufferMode(int n, int[] buffers, int mode)
+ {
+ unsafe
+ {
+ fixed (int* ptr = buffers)
+ {
+ Delegates.EAXSetBufferMode(n, ptr, mode);
+ }
+ }
+ }
+ ///
+ /// Sets the X-RAM mode for the specified buffers.
+ ///
+ ///
+ /// The number of buffers to set.
+ ///
+ ///
+ /// A pointer to an array of buffers to set.
+ ///
+ ///
+ ///
+ /// The X-RAM buffer mode for the specified buffers.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ public static void EAXSetBufferMode(int n, ref int buffers, int mode)
+ {
+ unsafe
+ {
+ fixed (int* ptr = &buffers)
+ {
+ Delegates.EAXSetBufferMode(n, ptr, mode);
+ }
+ }
+ }
+ #endregion EAXSetBufferMode
+
+ #region EAXGetBufferMode
+ ///
+ /// Gets the X-RAM mode for the specified buffer.
+ ///
+ ///
+ /// Buffer to retreive the property for.
+ ///
+ ///
+ /// Not used yet.
+ ///
+ ///
+ ///
+ /// One of the following values:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ [CLSCompliant(false)]
+ public unsafe static int EAXGetBufferMode(int buffer, int* reserved)
+ {
+ return Delegates.EAXGetBufferMode(buffer, reserved);
+ }
+ ///
+ /// Gets the X-RAM mode for the specified buffer.
+ ///
+ ///
+ /// Buffer to retreive the property for.
+ ///
+ ///
+ /// Not used yet.
+ ///
+ ///
+ ///
+ /// One of the following values:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ public static int EAXGetBufferMode(int buffer, int[] reserved)
+ {
+ unsafe
+ {
+ fixed (int* ptr = reserved)
+ {
+ return Delegates.EAXGetBufferMode(buffer, ptr);
+ }
+ }
+ }
+ ///
+ /// Gets the X-RAM mode for the specified buffer.
+ ///
+ ///
+ /// Buffer to retreive the property for.
+ ///
+ ///
+ /// Not used yet.
+ ///
+ ///
+ ///
+ /// One of the following values:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ public static int EAXGetBufferMode(int buffer, ref int reserved)
+ {
+ unsafe
+ {
+ fixed (int* ptr = &reserved)
+ {
+ return Delegates.EAXGetBufferMode(buffer, ptr);
+ }
+ }
+ }
+ #endregion EAXGetBufferMode
+ #endregion X-RAM Methods
+
+ #region EFX_EXT Methods
+ #region alEffect
+ public static void alGenEffects(int size, int[] effects)
+ {
+ unsafe
+ {
+ fixed (int* ptr = &effects[0])
+ {
+ Delegates.alGenEffects(size, ptr);
+ }
+ }
+ }
+
+ public static void alGenEffects(int size, out int effect)
+ {
+ unsafe
+ {
+ fixed (int* ptr = &effect)
+ {
+ Delegates.alGenEffects(size, ptr);
+ }
+ }
+ }
+
+ public static void alDeleteEffects(int size, int[] effects)
+ {
+ unsafe
+ {
+ fixed (int* ptr = &effects[0])
+ {
+ Delegates.alDeleteEffects(size, ptr);
+ }
+ }
+ }
+
+ public static void alDeleteEffects(int size, int effect)
+ {
+ unsafe
+ {
+ Delegates.alDeleteEffects(size, &effect);
+ }
+ }
+
+ public static bool alIsEffect(int effect)
+ {
+ return Delegates.alIsEffect(effect);
+ }
+
+ public static void alEffecti(int effect, int param, int value)
+ {
+ Delegates.alEffecti(effect, param, value);
+ }
+
+ public static void alEffectiv(int effect, int param, int[] value)
+ {
+ unsafe
+ {
+ fixed (int* ptr = &value[0])
+ {
+ Delegates.alEffectiv(effect, param, ptr);
+ }
+ }
+ }
+
+ public static void alEffectf(int effect, int param, float value)
+ {
+ Delegates.alEffectf(effect, param, value);
+ }
+
+ public static void alEffectfv(int effect, int param, float[] value)
+ {
+ unsafe
+ {
+ fixed (float* ptr = &value[0])
+ {
+ Delegates.alEffectfv(effect, param, ptr);
+ }
+ }
+ }
+
+ public static void alGetEffecti(int effect, int param, out int value)
+ {
+ unsafe
+ {
+ fixed (int* ptr = &value)
+ {
+ Delegates.alGetEffecti(effect, param, ptr);
+ }
+ }
+ }
+
+ public static void alGetEffectiv(int effect, int param, int[] value)
+ {
+ unsafe
+ {
+ fixed (int* ptr = &value[0])
+ {
+ Delegates.alGetEffectiv(effect, param, ptr);
+ }
+ }
+ }
+
+ public static void alGetEffectf(int effect, int param, out float value)
+ {
+ unsafe
+ {
+ fixed (float* ptr = &value)
+ {
+ Delegates.alGetEffectf(effect, param, ptr);
+ }
+ }
+ }
+
+ public static void alGetEffectfv(int effect, int param, float[] value)
+ {
+ unsafe
+ {
+ fixed (float* ptr = &value[0])
+ {
+ Delegates.alGetEffectfv(effect, param, ptr);
+ }
+ }
+ }
+ #endregion
+
+ #region alFilter
+ public static void alGenFilters(int size, int[] Filters)
+ {
+ unsafe
+ {
+ fixed (int* ptr = &Filters[0])
+ {
+ Delegates.alGenFilters(size, ptr);
+ }
+ }
+ }
+
+ public static void alGenFilters(int size, out int Filter)
+ {
+ unsafe
+ {
+ fixed (int* ptr = &Filter)
+ {
+ Delegates.alGenFilters(size, ptr);
+ }
+ }
+ }
+
+ public static void alDeleteFilters(int size, int[] Filters)
+ {
+ unsafe
+ {
+ fixed (int* ptr = &Filters[0])
+ {
+ Delegates.alDeleteFilters(size, ptr);
+ }
+ }
+ }
+
+ public static void alDeleteFilters(int size, int Filter)
+ {
+ unsafe
+ {
+ Delegates.alDeleteFilters(size, &Filter);
+ }
+ }
+
+ public static bool alIsFilter(int Filter)
+ {
+ return Delegates.alIsFilter(Filter);
+ }
+
+ public static void alFilteri(int Filter, int param, int value)
+ {
+ Delegates.alFilteri(Filter, param, value);
+ }
+
+ public static void alFilteriv(int Filter, int param, int[] value)
+ {
+ unsafe
+ {
+ fixed (int* ptr = &value[0])
+ {
+ Delegates.alFilteriv(Filter, param, ptr);
+ }
+ }
+ }
+
+ public static void alFilterf(int Filter, int param, float value)
+ {
+ Delegates.alFilterf(Filter, param, value);
+ }
+
+ public static void alFilterfv(int Filter, int param, float[] value)
+ {
+ unsafe
+ {
+ fixed (float* ptr = &value[0])
+ {
+ Delegates.alFilterfv(Filter, param, ptr);
+ }
+ }
+ }
+
+ public static void alGetFilteri(int Filter, int param, out int value)
+ {
+ unsafe
+ {
+ fixed (int* ptr = &value)
+ {
+ Delegates.alGetFilteri(Filter, param, ptr);
+ }
+ }
+ }
+
+ public static void alGetFilteriv(int Filter, int param, int[] value)
+ {
+ unsafe
+ {
+ fixed (int* ptr = &value[0])
+ {
+ Delegates.alGetFilteriv(Filter, param, ptr);
+ }
+ }
+ }
+
+ public static void alGetFilterf(int Filter, int param, out float value)
+ {
+ unsafe
+ {
+ fixed (float* ptr = &value)
+ {
+ Delegates.alGetFilterf(Filter, param, ptr);
+ }
+ }
+ }
+
+ public static void alGetFilterfv(int Filter, int param, float[] value)
+ {
+ unsafe
+ {
+ fixed (float* ptr = &value[0])
+ {
+ Delegates.alGetFilterfv(Filter, param, ptr);
+ }
+ }
+ }
+ #endregion
+
+ #region alAuxiliaryEffectSlot
+ public static void alGenAuxiliaryEffectSlots(int size, int[] AuxiliaryEffectSlots)
+ {
+ unsafe
+ {
+ fixed (int* ptr = &AuxiliaryEffectSlots[0])
+ {
+ Delegates.alGenAuxiliaryEffectSlots(size, ptr);
+ }
+ }
+ }
+
+ public static void alGenAuxiliaryEffectSlots(int size, out int AuxiliaryEffectSlot)
+ {
+ unsafe
+ {
+ fixed (int* ptr = &AuxiliaryEffectSlot)
+ {
+ Delegates.alGenAuxiliaryEffectSlots(size, ptr);
+ }
+ }
+ }
+
+ public static void alDeleteAuxiliaryEffectSlots(int size, int[] AuxiliaryEffectSlots)
+ {
+ unsafe
+ {
+ fixed (int* ptr = &AuxiliaryEffectSlots[0])
+ {
+ Delegates.alDeleteAuxiliaryEffectSlots(size, ptr);
+ }
+ }
+ }
+
+ public static void alDeleteAuxiliaryEffectSlots(int size, int AuxiliaryEffectSlot)
+ {
+ unsafe
+ {
+ Delegates.alDeleteAuxiliaryEffectSlots(size, &AuxiliaryEffectSlot);
+ }
+ }
+
+ public static bool alIsAuxiliaryEffectSlot(int AuxiliaryEffectSlot)
+ {
+ return Delegates.alIsAuxiliaryEffectSlot(AuxiliaryEffectSlot);
+ }
+
+ public static void alAuxiliaryEffectSloti(int AuxiliaryEffectSlot, int param, int value)
+ {
+ Delegates.alAuxiliaryEffectSloti(AuxiliaryEffectSlot, param, value);
+ }
+
+ public static void alAuxiliaryEffectSlotiv(int AuxiliaryEffectSlot, int param, int[] value)
+ {
+ unsafe
+ {
+ fixed (int* ptr = &value[0])
+ {
+ Delegates.alAuxiliaryEffectSlotiv(AuxiliaryEffectSlot, param, ptr);
+ }
+ }
+ }
+
+ public static void alAuxiliaryEffectSlotf(int AuxiliaryEffectSlot, int param, float value)
+ {
+ Delegates.alAuxiliaryEffectSlotf(AuxiliaryEffectSlot, param, value);
+ }
+
+ public static void alAuxiliaryEffectSlotfv(int AuxiliaryEffectSlot, int param, float[] value)
+ {
+ unsafe
+ {
+ fixed (float* ptr = &value[0])
+ {
+ Delegates.alAuxiliaryEffectSlotfv(AuxiliaryEffectSlot, param, ptr);
+ }
+ }
+ }
+
+ public static void alGetAuxiliaryEffectSloti(int AuxiliaryEffectSlot, int param, out int value)
+ {
+ unsafe
+ {
+ fixed (int* ptr = &value)
+ {
+ Delegates.alGetAuxiliaryEffectSloti(AuxiliaryEffectSlot, param, ptr);
+ }
+ }
+ }
+
+ public static void alGetAuxiliaryEffectSlotiv(int AuxiliaryEffectSlot, int param, int[] value)
+ {
+ unsafe
+ {
+ fixed (int* ptr = &value[0])
+ {
+ Delegates.alGetAuxiliaryEffectSlotiv(AuxiliaryEffectSlot, param, ptr);
+ }
+ }
+ }
+
+ public static void alGetAuxiliaryEffectSlotf(int AuxiliaryEffectSlot, int param, out float value)
+ {
+ unsafe
+ {
+ fixed (float* ptr = &value)
+ {
+ Delegates.alGetAuxiliaryEffectSlotf(AuxiliaryEffectSlot, param, ptr);
+ }
+ }
+ }
+
+ public static void alGetAuxiliaryEffectSlotfv(int AuxiliaryEffectSlot, int param, float[] value)
+ {
+ unsafe
+ {
+ fixed (float* ptr = &value[0])
+ {
+ Delegates.alGetAuxiliaryEffectSlotfv(AuxiliaryEffectSlot, param, ptr);
+ }
+ }
+ }
+ #endregion
+ #endregion
+ #endregion Public OpenAL Extension Methods
+
+ #region Public Delegates
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALENABLEDelegate(int capability);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALDISABLEDelegate(int capability);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate int LPALISENABLEDDelegate(int capability);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate string LPALGETSTRINGDelegate(int param);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALGETBOOLEANVDelegate(int param, out int data);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALGETINTEGERVDelegate(int param, out int data);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALGETFLOATVDelegate(int param, out float data);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALGETDOUBLEVDelegate(int param, out double data);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate int LPALGETBOOLEANDelegate(int param);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate int LPALGETINTEGERDelegate(int param);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate float LPALGETFLOATDelegate(int param);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate double LPALGETDOUBLEDelegate(int param);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate int LPALGETERRORDelegate();
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate int LPALISEXTENSIONPRESENTDelegate(string extname);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate IntPtr LPALGETPROCADDRESSDelegate(string fname);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate int LPALGETENUMVALUEDelegate(string ename);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALLISTENERFDelegate(int param, float val);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALLISTENER3FDelegate(int param, float value1, float value2, float value3);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALLISTENERFVDelegate(int param, [In] ref float values);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALLISTENERIDelegate(int param, int val);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALLISTENER3IDelegate(int param, int value1, int value2, int value3);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALLISTENERIVDelegate(int param, [In] ref int values);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALGETLISTENERFDelegate(int param, out float val);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALGETLISTENER3FDelegate(int param, out float value1, out float value2, out float value3);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALGETLISTENERFVDelegate(int param, out float values);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALGETLISTENERIDelegate(int param, out int val);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALGETLISTENER3IDelegate(int param, out int value1, out int value2, out int value3);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALGETLISTENERIVDelegate(int param, out int values);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALGENSOURCESDelegate(int n, out int sources);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALDELETESOURCESDelegate(int n, out int sources);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate int LPALISSOURCEDelegate(int sid);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALSOURCEFDelegate(int sid, int param, float val);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALSOURCE3FDelegate(int sid, int param, float value1, float value2, float value3);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALSOURCEFVDelegate(int sid, int param, out float values);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALSOURCEIDelegate(int sid, int param, int val);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALSOURCE3IDelegate(int sid, int param, int value1, int value2, int value3);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALSOURCEIVDelegate(int sid, int param, out int values);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALGETSOURCEFDelegate(int sid, int param, out float val);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALGETSOURCE3FDelegate(int sid, int param, out float value1, out float value2, out float value3);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALGETSOURCEFVDelegate(int sid, int param, out float values);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALGETSOURCEIDelegate(int sid, int param, out int val);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALGETSOURCE3IDelegate(int sid, int param, out int value1, out int value2, out int value3);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALGETSOURCEIVDelegate(int sid, int param, out int values);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALSOURCEPLAYVDelegate(int ns, out int sids);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALSOURCESTOPVDelegate(int ns, out int sids);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALSOURCEREWINDVDelegate(int ns, out int sids);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALSOURCEPAUSEVDelegate(int ns, out int sids);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALSOURCEPLAYDelegate(int sid);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALSOURCESTOPDelegate(int sid);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALSOURCEREWINDDelegate(int sid);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALSOURCEPAUSEDelegate(int sid);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALSOURCEQUEUEBUFFERSDelegate(int sid, int numEntries, out int bids);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALSOURCEUNQUEUEBUFFERSDelegate(int sid, int numEntries, out int bids);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALGENBUFFERSDelegate(int n, out int buffers);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALDELETEBUFFERSDelegate(int n, out int buffers);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate int LPALISBUFFERDelegate(int bid);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALBUFFERDATADelegate(int bid, int format, IntPtr data, int size, int freq);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALBUFFERFDelegate(int bid, int param, float val);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALBUFFER3FDelegate(int bid, int param, float value1, float value2, float value3);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALBUFFERFVDelegate(int bid, int param, out float values);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALBUFFERIDelegate(int bid, int param, int val);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALBUFFER3IDelegate(int bid, int param, int value1, int value2, int value3);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALBUFFERIVDelegate(int bid, int param, out int values);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALGETBUFFERFDelegate(int bid, int param, out float val);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALGETBUFFER3FDelegate(int bid, int param, out float value1, out float value2, out float value3);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALGETBUFFERFVDelegate(int bid, int param, out float values);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALGETBUFFERIDelegate(int bid, int param, out int val);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALGETBUFFER3IDelegate(int bid, int param, out int value1, out int value2, out int value3);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALGETBUFFERIVDelegate(int bid, int param, out int values);
+
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALDOPPLERFACTORDelegate(float val);
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALDOPPLERVELOCITYDelegate(float val);
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALSPEEDOFSOUNDDelegate(float val);
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALDISTANCEMODELDelegate(int distanceModel);
+ #endregion Public Delegates
+
+ #region Extension Support
+ ///
+ /// Reloads OpenAL extension functions.
+ ///
+ ///
+ ///
+ /// Call this function to reload context-dependent extension OpenAL entry points. This should be done
+ /// whenever you change the current OpenAL context, or in the case you cannot (or do not want)
+ /// to use the automatic initialisation.
+ ///
+ ///
+ /// Calling this function before the automatic initialisation has taken place will result
+ /// in the Al class being initialised twice. This is harmless, but, given the choice,
+ /// the automatic initialisation should be preferred.
+ ///
+ ///
+ public static void ReloadFunctions()
+ {
+ Assembly asm = Assembly.Load("Tao.OpenAl");
+ Type delegates_class = asm.GetType("Tao.OpenAl.Delegates");
+
+ FieldInfo[] v = delegates_class.GetFields();
+ foreach (FieldInfo f in v)
+ {
+ f.SetValue(null, Delegates.GetDelegateForExtensionMethod(f.Name, f.FieldType));
+ }
+ }
+ #endregion
+ }
+}
diff --git a/Source/Compatibility/Tao/OpenAl/Alc.cs b/Source/Compatibility/Tao/OpenAl/Alc.cs
new file mode 100644
index 00000000..b60df5ea
--- /dev/null
+++ b/Source/Compatibility/Tao/OpenAl/Alc.cs
@@ -0,0 +1,1005 @@
+#region License
+/*
+MIT License
+Copyright ©2003-2006 Tao Framework Team
+http://www.taoframework.com
+All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+#endregion License
+
+// Disable missing XML comment warnings
+#pragma warning disable 1591
+
+using System;
+using System.Runtime.InteropServices;
+using System.Security;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Tao.OpenAl
+{
+ #region Class Documentation
+ ///
+ /// OpenAL binding for .NET, implementing ALC 1.1.
+ ///
+ ///
+ /// Binds functions and definitions in OpenAL32.dll or libAL.so.
+ ///
+ #endregion Class Documentation
+ [Obsolete("Use OpenTK.Audio.OpenAL instead.")]
+ public static class Alc
+ {
+ // --- Fields ---
+ #region Private Constants
+ #region string ALC_NATIVE_LIBRARY
+ ///
+ /// Specifies OpenAl's native library archive.
+ ///
+ ///
+ /// Specifies OpenAl32.dll everywhere; will be mapped via .config for mono.
+ ///
+ private const string ALC_NATIVE_LIBRARY = "OpenAL32.dll";
+ #endregion string ALC_NATIVE_LIBRARY
+
+ #region CallingConvention CALLING_CONVENTION
+ ///
+ /// Specifies the calling convention.
+ ///
+ ///
+ /// Specifies .
+ ///
+ private const CallingConvention CALLING_CONVENTION = CallingConvention.Cdecl;
+ #endregion CallingConvention CALLING_CONVENTION
+ #endregion Private Constants
+
+ #region Public OpenAL 1.1 Constants
+ #region ALC_INVALID
+ ///
+ /// Bad value.
+ ///
+ // #define ALC_INVALID (0)
+ public const int ALC_INVALID = (0);
+ #endregion ALC_INVALID
+
+ #region ALC_FALSE
+ ///
+ /// bool false.
+ ///
+ // #define ALC_FALSE 0
+ public const int ALC_FALSE = 0;
+ #endregion ALC_FALSE
+
+ #region ALC_TRUE
+ ///
+ /// bool true.
+ ///
+ // #define ALC_TRUE 1
+ public const int ALC_TRUE = 1;
+ #endregion ALC_TRUE
+
+ #region ALC_NO_ERROR
+ ///
+ /// No error.
+ ///
+ // #define ALC_NO_ERROR ALC_FALSE
+ public const int ALC_NO_ERROR = ALC_FALSE;
+ #endregion ALC_NO_ERROR
+
+ #region ALC_MAJOR_VERSION
+ ///
+ /// Major version.
+ ///
+ // #define ALC_MAJOR_VERSION 0x1000
+ public const int ALC_MAJOR_VERSION = 0x1000;
+ #endregion ALC_MAJOR_VERSION
+
+ #region ALC_MINOR_VERSION
+ ///
+ /// Minor version.
+ ///
+ // #define ALC_MINOR_VERSION 0x1001
+ public const int ALC_MINOR_VERSION = 0x1001;
+ #endregion ALC_MINOR_VERSION
+
+ #region ALC_ATTRIBUTES_SIZE
+ ///
+ /// Attributes size.
+ ///
+ // #define ALC_ATTRIBUTES_SIZE 0x1002
+ public const int ALC_ATTRIBUTES_SIZE = 0x1002;
+ #endregion ALC_ATTRIBUTES_SIZE
+
+ #region ALC_ALL_ATTRIBUTES
+ ///
+ /// All attributes.
+ ///
+ // #define ALC_ALL_ATTRIBUTES 0x1003
+ public const int ALC_ALL_ATTRIBUTES = 0x1003;
+ #endregion ALC_ALL_ATTRIBUTES
+
+ #region ALC_CAPTURE_DEVICE_SPECIFIER
+ ///
+ /// Capture device specifier.
+ ///
+ // #define ALC_CAPTURE_DEVICE_SPECIFIER 0x310
+ public const int ALC_CAPTURE_DEVICE_SPECIFIER = 0x310;
+ #endregion ALC_CAPTURE_DEVICE_SPECIFIER
+
+ #region ALC_CAPTURE_DEFAULT_DEVICE_SPECIFIER
+ ///
+ /// Capture default device specifier.
+ ///
+ // #define ALC_CAPTURE_DEFAULT_DEVICE_SPECIFIER 0x311
+ public const int ALC_CAPTURE_DEFAULT_DEVICE_SPECIFIER = 0x311;
+ #endregion ALC_CAPTURE_DEFAULT_DEVICE_SPECIFIER
+
+ #region ALC_CAPTURE_SAMPLES
+ ///
+ /// Capture samples.
+ ///
+ // #define ALC_CAPTURE_SAMPLES 0x312
+ public const int ALC_CAPTURE_SAMPLES = 0x312;
+ #endregion ALC_CAPTURE_SAMPLES
+
+ #region ALC_DEFAULT_DEVICE_SPECIFIER
+ ///
+ /// Default device specifier.
+ ///
+ // #define ALC_DEFAULT_DEVICE_SPECIFIER 0x1004
+ public const int ALC_DEFAULT_DEVICE_SPECIFIER = 0x1004;
+ #endregion ALC_DEFAULT_DEVICE_SPECIFIER
+
+ #region ALC_DEVICE_SPECIFIER
+ ///
+ /// Device specifier.
+ ///
+ // #define ALC_DEVICE_SPECIFIER 0x1005
+ public const int ALC_DEVICE_SPECIFIER = 0x1005;
+ #endregion ALC_DEVICE_SPECIFIER
+
+ #region ALC_EXTENSIONS
+ ///
+ /// Extensions.
+ ///
+ // #define ALC_EXTENSIONS 0x1006
+ public const int ALC_EXTENSIONS = 0x1006;
+ #endregion ALC_EXTENSIONS
+
+ #region ALC_FREQUENCY
+ ///
+ /// Frequency.
+ ///
+ // #define ALC_FREQUENCY 0x1007
+ public const int ALC_FREQUENCY = 0x1007;
+ #endregion ALC_FREQUENCY
+
+ #region ALC_REFRESH
+ ///
+ /// Refresh.
+ ///
+ // #define ALC_REFRESH 0x1008
+ public const int ALC_REFRESH = 0x1008;
+ #endregion ALC_REFRESH
+
+ #region ALC_SYNC
+ ///
+ /// Sync.
+ ///
+ // #define ALC_SYNC 0x1009
+ public const int ALC_SYNC = 0x1009;
+ #endregion ALC_SYNC
+
+ #region ALC_MONO_SOURCES
+ ///
+ /// Num of requested Mono (3D) Sources
+ ///
+ // #define ALC_MONO_SOURCES 0x1010
+ public const int ALC_MONO_SOURCES = 0x1010;
+ #endregion ALC_MONO_SOURCES
+
+ #region ALC_STEREO_SOURCES
+ ///
+ /// Num of requested Stereo Sources
+ ///
+ // #define ALC_STEREO_SOURCES 0x1011
+ public const int ALC_STEREO_SOURCES = 0x1011;
+ #endregion ALC_STEREO_SOURCES
+
+ #region ALC_INVALID_DEVICE
+ ///
+ /// The device argument does not name a valid device.
+ ///
+ // #define ALC_INVALID_DEVICE 0xA001
+ public const int ALC_INVALID_DEVICE = 0xA001;
+ #endregion ALC_INVALID_DEVICE
+
+ #region ALC_INVALID_CONTEXT
+ ///
+ /// The context argument does not name a valid context.
+ ///
+ // #define ALC_INVALID_CONTEXT 0xA002
+ public const int ALC_INVALID_CONTEXT = 0xA002;
+ #endregion ALC_INVALID_CONTEXT
+
+ #region ALC_INVALID_ENUM
+ ///
+ /// A function was called at inappropriate time, or in an inappropriate way, causing
+ /// an illegal state. This can be an incompatible value, object ID, and/or function.
+ ///
+ // #define ALC_INVALID_ENUM 0xA003
+ public const int ALC_INVALID_ENUM = 0xA003;
+ #endregion ALC_INVALID_ENUM
+
+ #region ALC_INVALID_VALUE
+ ///
+ /// Illegal value passed as an argument to an AL call. Applies to parameter values,
+ /// but not to enumerations.
+ ///
+ // #define ALC_INVALID_VALUE 0xA004
+ public const int ALC_INVALID_VALUE = 0xA004;
+ #endregion ALC_INVALID_VALUE
+
+ #region ALC_OUT_OF_MEMORY
+ ///
+ /// A function could not be completed, because there is not enough memory available.
+ ///
+ // #define ALC_OUT_OF_MEMORY 0xA005
+ public const int ALC_OUT_OF_MEMORY = 0xA005;
+ #endregion ALC_OUT_OF_MEMORY
+
+ #region ALC_ENUMERATE_ALL_EXT
+ public const int ALC_DEFAULT_ALL_DEVICES_SPECIFIER = 0x1012;
+ public const int ALC_ALL_DEVICES_SPECIFIER = 0x1013;
+ #endregion
+
+ #region ALC_EFX_EXT
+ public const string ALC_EXT_EFX_NAME = "ALC_EXT_EFX";
+ public const int ALC_EFX_MAJOR_VERSION = 0x20001;
+ public const int ALC_EFX_MINOR_VERSION = 0x20002;
+ public const int ALC_MAX_AUXILIARY_SENDS = 0x20003;
+ #endregion
+
+ #endregion Public OpenAL 1.0 Constants
+
+ // --- Public Externs ---
+ #region Public OpenAL 1.1 Methods
+ #region alcCloseDevice([In] IntPtr device)
+ ///
+ /// Closes a device.
+ ///
+ ///
+ /// A pointer to an opened device.
+ ///
+ // ALCAPI ALCvoid ALCAPIENTRY alcCloseDevice(ALCdevice *device);
+ [DllImport(ALC_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alcCloseDevice([In] IntPtr device);
+ #endregion alcCloseDevice([In] IntPtr device)
+
+ #region IntPtr alcCreateContext([In] IntPtr device, [In] ref int attribute)
+ ///
+ /// Creates a context using a specified device.
+ ///
+ ///
+ /// A pointer to a device.
+ ///
+ ///
+ ///
+ /// A pointer to a set of attributes:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Returns a pointer to the new context (IntPtr.Zero on failure).
+ ///
+ // ALCAPI ALCcontext* ALCAPIENTRY alcCreateContext(ALCdevice *device, ALCint *attrList);
+ [DllImport(ALC_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern IntPtr alcCreateContext([In] IntPtr device, [In] ref int attribute);
+ #endregion IntPtr alcCreateContext([In] IntPtr device, [In] ref int attribute)
+
+ #region IntPtr alcCreateContext([In] IntPtr device, [In] int[] attribute)
+ ///
+ /// Creates a context using a specified device.
+ ///
+ ///
+ /// A pointer to a device.
+ ///
+ ///
+ ///
+ /// A pointer to a set of attributes:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Returns a pointer to the new context (IntPtr.Zero on failure).
+ ///
+ // ALCAPI ALCcontext* ALCAPIENTRY alcCreateContext(ALCdevice *device, ALCint *attrList);
+ [DllImport(ALC_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern IntPtr alcCreateContext([In] IntPtr device, [In] int[] attribute);
+ #endregion IntPtr alcCreateContext([In] IntPtr device, [In] int[] attribute)
+
+ #region IntPtr alcCreateContext([In] IntPtr device, [In] IntPtr attribute)
+ ///
+ /// Creates a context using a specified device.
+ ///
+ ///
+ /// A pointer to a device.
+ ///
+ ///
+ ///
+ /// A pointer to a set of attributes:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Returns a pointer to the new context (IntPtr.Zero on failure).
+ ///
+ // ALCAPI ALCcontext* ALCAPIENTRY alcCreateContext(ALCdevice *device, ALCint *attrList);
+ [DllImport(ALC_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern IntPtr alcCreateContext([In] IntPtr device, [In] IntPtr attribute);
+ #endregion IntPtr alcCreateContext([In] IntPtr device, [In] IntPtr attribute)
+
+ #region IntPtr alcCreateContext([In] IntPtr device, [In] int *attribute)
+ ///
+ /// Creates a context using a specified device.
+ ///
+ ///
+ /// A pointer to a device.
+ ///
+ ///
+ ///
+ /// A pointer to a set of attributes:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Returns a pointer to the new context (IntPtr.Zero on failure).
+ ///
+ // ALCAPI ALCcontext* ALCAPIENTRY alcCreateContext(ALCdevice *device, ALCint *attrList);
+ [DllImport(ALC_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern IntPtr alcCreateContext([In] IntPtr device, [In] int* attribute);
+ #endregion IntPtr alcCreateContext([In] IntPtr device, [In] int *attribute)
+
+ #region alcDestroyContext([In] IntPtr context)
+ ///
+ /// Destroys a context.
+ ///
+ ///
+ /// Pointer to the context to be destroyed.
+ ///
+ // ALCAPI ALCvoid ALCAPIENTRY alcDestroyContext(ALCcontext *context);
+ [DllImport(ALC_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alcDestroyContext([In] IntPtr context);
+ #endregion alcDestroyContext([In] IntPtr context)
+
+ #region IntPtr alcGetContextsDevice([In] IntPtr context)
+ ///
+ /// Gets the device for a context.
+ ///
+ ///
+ /// The context to query.
+ ///
+ ///
+ /// A pointer to a device or IntPtr.Zero on failue.
+ ///
+ // ALCAPI ALCdevice* ALCAPIENTRY alcGetContextsDevice(ALCcontext *context);
+ [DllImport(ALC_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern IntPtr alcGetContextsDevice([In] IntPtr context);
+ #endregion IntPtr alcGetContextsDevice([In] IntPtr context)
+
+ #region IntPtr alcGetCurrentContext()
+ ///
+ /// Retrieves the current context.
+ ///
+ ///
+ /// Returns a pointer to the current context or IntPtr.Zero on failure.
+ ///
+ // ALCAPI ALCcontext* ALCAPIENTRY alcGetCurrentContext(ALCvoid);
+ [DllImport(ALC_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern IntPtr alcGetCurrentContext();
+ #endregion IntPtr alcGetCurrentContext()
+
+ #region int alcGetEnumValue([In] IntPtr device, string enumName)
+ ///
+ /// Retrieves the enum value for a specified enumeration name.
+ ///
+ ///
+ /// The device to be queried.
+ ///
+ ///
+ /// A null terminated string describing the enum value.
+ ///
+ ///
+ /// Returns the enum value described by the enumName string.
+ ///
+ // ALCAPI ALCenum ALCAPIENTRY alcGetEnumValue(ALCdevice *device, ALCubyte *enumName);
+ [DllImport(ALC_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION, CharSet = CharSet.Ansi), SuppressUnmanagedCodeSecurity]
+ public static extern int alcGetEnumValue([In] IntPtr device, string enumName);
+ #endregion int alcGetEnumValue([In] IntPtr device, string enumName)
+
+ #region int alcGetError([In] IntPtr device)
+ ///
+ /// Retrieves the current context error state.
+ ///
+ ///
+ /// The device to query.
+ ///
+ ///
+ /// The current context error state will be returned.
+ ///
+ // ALCAPI ALCenum ALCAPIENTRY alcGetError(ALCdevice *device);
+ [DllImport(ALC_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int alcGetError([In] IntPtr device);
+ #endregion int alcGetError([In] IntPtr device)
+
+ #region alcGetIntegerv([In] IntPtr device, int attribute, int size, out int data)
+ ///
+ /// Returns integers related to the context.
+ ///
+ ///
+ /// The device to be queried.
+ ///
+ ///
+ ///
+ /// An attribute to be retrieved:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The size of the destination buffer provided.
+ ///
+ ///
+ /// A pointer to the data to be returned.
+ ///
+ // ALCAPI ALCvoid ALCAPIENTRY alcGetIntegerv(ALCdevice *device, ALCenum param, ALCsizei size, ALCint *data);
+ [DllImport(ALC_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alcGetIntegerv([In] IntPtr device, int attribute, int size, out int data);
+ #endregion alcGetIntegerv([In] IntPtr device, int attribute, int size, out int data)
+
+ #region alcGetIntegerv([In] IntPtr device, int attribute, int size, [Out] int[] data)
+ ///
+ /// Returns integers related to the context.
+ ///
+ ///
+ /// The device to be queried.
+ ///
+ ///
+ ///
+ /// An attribute to be retrieved:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The size of the destination buffer provided.
+ ///
+ ///
+ /// A pointer to the data to be returned.
+ ///
+ // ALCAPI ALCvoid ALCAPIENTRY alcGetIntegerv(ALCdevice *device, ALCenum param, ALCsizei size, ALCint *data);
+ [DllImport(ALC_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alcGetIntegerv([In] IntPtr device, int attribute, int size, [Out] int[] data);
+ #endregion alcGetIntegerv([In] IntPtr device, int attribute, int size, [Out] int[] data)
+
+ #region alcGetIntegerv([In] IntPtr device, int attribute, int size, [Out] IntPtr data)
+ ///
+ /// Returns integers related to the context.
+ ///
+ ///
+ /// The device to be queried.
+ ///
+ ///
+ ///
+ /// An attribute to be retrieved:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The size of the destination buffer provided.
+ ///
+ ///
+ /// A pointer to the data to be returned.
+ ///
+ // ALCAPI ALCvoid ALCAPIENTRY alcGetIntegerv(ALCdevice *device, ALCenum param, ALCsizei size, ALCint *data);
+ [DllImport(ALC_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alcGetIntegerv([In] IntPtr device, int attribute, int size, [Out] IntPtr data);
+ #endregion alcGetIntegerv([In] IntPtr device, int attribute, int size, [Out] IntPtr data)
+
+ #region alcGetIntegerv([In] IntPtr device, int attribute, int size, [Out] int *data)
+ ///
+ /// Returns integers related to the context.
+ ///
+ ///
+ /// The device to be queried.
+ ///
+ ///
+ ///
+ /// An attribute to be retrieved:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The size of the destination buffer provided.
+ ///
+ ///
+ /// A pointer to the data to be returned.
+ ///
+ // ALCAPI ALCvoid ALCAPIENTRY alcGetIntegerv(ALCdevice *device, ALCenum param, ALCsizei size, ALCint *data);
+ [DllImport(ALC_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void alcGetIntegerv([In] IntPtr device, int attribute, int size, [Out] int* data);
+ #endregion alcGetIntegerv([In] IntPtr device, int attribute, int size, [Out] int *data)
+
+ #region IntPtr alcGetProcAddress([In] IntPtr device, string functionName)
+ ///
+ /// Retrieves the address of a specified context extension function.
+ ///
+ ///
+ /// The device to be queried for the function.
+ ///
+ ///
+ /// A null terminated string describing the function.
+ ///
+ ///
+ /// Returns the address of the function, or IntPtr.Zero if it is not found.
+ ///
+ // ALCAPI ALCvoid* ALCAPIENTRY alcGetProcAddress(ALCdevice *device, ALCubyte *funcName);
+ [DllImport(ALC_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION, CharSet = CharSet.Ansi), SuppressUnmanagedCodeSecurity]
+ public static extern IntPtr alcGetProcAddress([In] IntPtr device, string functionName);
+ #endregion IntPtr alcGetProcAddress([In] IntPtr device, string functionName)
+
+ #region string alcGetString([In] IntPtr device, int attribute)
+ ///
+ /// Returns strings related to the context.
+ ///
+ ///
+ /// The device to be queried.
+ ///
+ ///
+ ///
+ /// An attribute to be retrieved:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Returns a pointer to a string.
+ ///
+ // ALCAPI ALCubyte* ALCAPIENTRY alcGetString(ALCdevice *device, ALCenum param);
+ //[DllImport(ALC_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION, CharSet = CharSet.Ansi, EntryPoint = "alcGetString"), SuppressUnmanagedCodeSecurity]
+ //public static extern string alcGetString([In] IntPtr device, int attribute);
+ public static string alcGetString([In] IntPtr device, int attribute)
+ {
+ return Marshal.PtrToStringAnsi(alcGetStringInternal(device, attribute));
+ }
+
+ [DllImport(ALC_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION, CharSet = CharSet.Ansi, EntryPoint = "alcGetString"), SuppressUnmanagedCodeSecurity]
+ private static extern IntPtr alcGetStringInternal([In] IntPtr device, int attribute);
+
+ ///
+ /// Returns strings related to the context.
+ ///
+ ///
+ /// The device to be queried.
+ ///
+ ///
+ ///
+ /// An attribute to be retrieved:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Returns a pointer to a string.
+ ///
+ public static string[] alcGetStringv([In] IntPtr device, int attribute)
+ {
+ return GetStringArray(alcGetStringInternal(device, attribute));
+ }
+
+ private static string[] GetStringArray(IntPtr ptr)
+ {
+ if (ptr == IntPtr.Zero)
+ {
+ return null;
+ }
+ List rv = new List();
+ StringBuilder builder = new StringBuilder();
+ for (int index = 0; ; index++)
+ {
+ char ch = (char)Marshal.ReadByte(ptr, index);
+ if (ch == '\0')
+ {
+ if (builder.Length == 0)
+ {
+ break;
+ }
+ else
+ {
+ rv.Add(builder.ToString());
+ builder.Length = 0;
+ }
+ }
+ else
+ {
+ builder.Append(ch);
+ }
+ }
+ return rv.ToArray();
+ }
+ #endregion string alcGetString([In] IntPtr device, int attribute)
+
+ #region int alcIsExtensionPresent([In] IntPtr device, string extensionName)
+ ///
+ /// Queries if a specified context extension is available.
+ ///
+ ///
+ /// The device to be queried for an extension.
+ ///
+ ///
+ /// A null terminated string describing the extension.
+ ///
+ ///
+ /// Returns if the extension is available,
+ /// if the extension is not available.
+ ///
+ // ALCAPI ALCboolean ALCAPIENTRY alcIsExtensionPresent(ALCdevice *device, ALCubyte *extName);
+ [DllImport(ALC_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION, CharSet = CharSet.Ansi), SuppressUnmanagedCodeSecurity]
+ public static extern int alcIsExtensionPresent([In] IntPtr device, string extensionName);
+ #endregion int alcIsExtensionPresent([In] IntPtr device, string extensionName)
+
+ #region int alcMakeContextCurrent([In] IntPtr context)
+ ///
+ /// Makes a specified context the current context.
+ ///
+ ///
+ /// Pointer to the new context.
+ ///
+ ///
+ /// Returns an error code on failure.
+ ///
+ // ALCAPI ALCboolean ALCAPIENTRY alcMakeContextCurrent(ALCcontext *context);
+ [DllImport(ALC_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int alcMakeContextCurrent([In] IntPtr context);
+ #endregion int alcMakeContextCurrent([In] IntPtr context)
+
+ #region IntPtr alcOpenDevice(string deviceName)
+ ///
+ /// Opens a device by name.
+ ///
+ ///
+ /// A null-terminated string describing a device.
+ ///
+ ///
+ /// Returns a pointer to the opened device.
+ ///
+ // ALCAPI ALCdevice* ALCAPIENTRY alcOpenDevice(ALCubyte *deviceName);
+ [DllImport(ALC_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION, CharSet = CharSet.Ansi), SuppressUnmanagedCodeSecurity]
+ public static extern IntPtr alcOpenDevice(string deviceName);
+ #endregion IntPtr alcOpenDevice(string deviceName)
+
+ #region alcProcessContext([In] IntPtr context)
+ ///
+ /// Tells a context to begin processing.
+ ///
+ ///
+ /// Pointer to the new context.
+ ///
+ // ALCAPI ALCvoid ALCAPIENTRY alcProcessContext(ALCcontext *context);
+ [DllImport(ALC_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alcProcessContext([In] IntPtr context);
+ #endregion alcProcessContext([In] IntPtr context)
+
+ #region alcSuspendContext([In] IntPtr context)
+ ///
+ /// Suspends processing on a specified context.
+ ///
+ ///
+ /// A pointer to the context to be suspended.
+ ///
+ // ALCAPI ALCvoid ALCAPIENTRY alcSuspendContext(ALCcontext *context);
+ [DllImport(ALC_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alcSuspendContext([In] IntPtr context);
+ #endregion alcSuspendContext([In] IntPtr context)
+
+ #region IntPtr alcCaptureOpenDevice(string devicename, int frequency, int format, int buffersize)
+ ///
+ ///
+ ///
+ ///
+ /// The Open Device will be captured
+ ///
+ // ALC_API ALCdevice* ALC_APIENTRY alcCaptureOpenDevice( const ALCchar *devicename, ALCuint frequency, ALCenum format, ALCsizei buffersize );
+ [DllImport(ALC_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern IntPtr alcCaptureOpenDevice(string devicename, int frequency, int format, int buffersize);
+ #endregion IntPtr alcCaptureOpenDevice(string devicename, int frequency, int format, int buffersize)
+
+ #region int alcCaptureCloseDevice([In] IntPtr device)
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // ALC_API ALCboolean ALC_APIENTRY alcCaptureStart( ALCdevice *device );
+ [DllImport(ALC_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int alcCaptureCloseDevice([In] IntPtr device);
+ #endregion int alcCaptureCloseDevice([In] IntPtr device)
+
+ #region void alcCaptureStart([In] IntPtr device)
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // ALC_API ALCboolean ALC_APIENTRY alcCaptureStart( ALCdevice *device );
+ [DllImport(ALC_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alcCaptureStart([In] IntPtr device);
+ #endregion void alcCaptureStart([In] IntPtr device)
+
+ #region void alcCaptureStop([In] IntPtr device)
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // ALC_API ALCboolean ALC_APIENTRY alcCaptureStop( ALCdevice *device );
+ [DllImport(ALC_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alcCaptureStop([In] IntPtr device);
+ #endregion void alcCaptureStop([In] IntPtr device)
+
+ #region void alcCaptureSamples([In] IntPtr device, [In] IntPtr buffer, int samples)
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // ALC_API ALCboolean ALC_APIENTRY alcCaptureSamples( ALCdevice *device, ALCvoid *buffer, ALCsizei samples );
+ [DllImport(ALC_NATIVE_LIBRARY, CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void alcCaptureSamples([In] IntPtr device, [In] IntPtr buffer, int samples);
+ #endregion void alcCaptureSamples([In] IntPtr device, [In] IntPtr buffer, int samples)
+ #endregion Public OpenAL 1.1 Methods
+
+ #region Public OpenAL 1.1 Delegates
+ #region IntPtr LPALCCREATECONTEXTDelegate([In] IntPtr device, [In] ref int attrlist)
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate IntPtr LPALCCREATECONTEXTDelegate([In] IntPtr device, [In] ref int attrlist);
+ #endregion IntPtr LPALCCREATECONTEXTDelegate([In] IntPtr device, [In] ref int attrlist)
+
+ #region int LPALCMAKECONTEXTCURRENTDelegate([In] IntPtr context)
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate int LPALCMAKECONTEXTCURRENTDelegate([In] IntPtr context);
+ #endregion int LPALCMAKECONTEXTCURRENTDelegate([In] IntPtr context)
+
+ #region void LPALCPROCESSCONTEXTDelegate([In] IntPtr context)
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALCPROCESSCONTEXTDelegate([In] IntPtr context);
+ #endregion void LPALCPROCESSCONTEXTDelegate([In] IntPtr context)
+
+ #region void LPALCSUSPENDCONTEXTDelegate([In] IntPtr context)
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALCSUSPENDCONTEXTDelegate([In] IntPtr context);
+ #endregion void LPALCSUSPENDCONTEXTDelegate([In] IntPtr context)
+
+ #region void LPALCDESTROYCONTEXTDelegate([In] IntPtr context)
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALCDESTROYCONTEXTDelegate([In] IntPtr context);
+ #endregion void LPALCDESTROYCONTEXTDelegate([In] IntPtr context)
+
+ #region IntPtr LPALCGETCURRENTECONTEXTDelegate()
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate IntPtr LPALCGETCURRENTECONTEXTDelegate();
+ #endregion IntPtr LPALCGETCURRENTECONTEXTDelegate()
+
+ #region IntPtr LPALCCONTEXTSDEVICEDelegate([In] IntPtr context)
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate IntPtr LPALCGETCONTEXTSDEVICEDelegate([In] IntPtr context);
+ #endregion IntPtr LPALCGETCONTEXTSDEVICEDelegate([In] IntPtr context)
+
+ #region IntPtr LPALCOPENDEVICEDelegate(string devicename)
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate IntPtr LPALCOPENDEVICEDelegate(string devicename);
+ #endregion IntPtr LPALCOPENDEVICEDelegate(string devicename)
+
+ #region int LPALCCLOSEDEVICEDelegate([In] IntPtr device)
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate int LPALCCLOSEDEVICEDelegate([In] IntPtr device);
+ #endregion int LPALCCLOSEDEVICEDelegate([In] IntPtr device)
+
+ #region int LPALCCLOSEDEVICEDelegate([In] IntPtr device)
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate int LPALCGETERRORDelegate([In] IntPtr device);
+ #endregion int LPALCCLOSEDEVICEDelegate([In] IntPtr device)
+
+ #region int LPALCISEXTENSIONPRESENTDelegate([In] IntPtr device, string extname)
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate int LPALCISEXTENSIONPRESENTDelegate([In] IntPtr device, string extname);
+ #endregion int LPALCISEXTENSIONPRESENTDelegate([In] IntPtr device, string extname)
+
+ #region IntPtr LPALCGETPROCADDRESSDelegate([In] IntPtr device, string funcname)
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate IntPtr LPALCGETPROCADDRESSDelegate([In] IntPtr device, string funcname);
+ #endregion IntPtr LPALCGETPROCADDRESSDelegate([In] IntPtr device, string funcname)
+
+ #region int LPALCGETENUMVALUEDelegate([In] IntPtr device, string enumname)
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate int LPALCGETENUMVALUEDelegate([In] IntPtr device, string enumname);
+ #endregion int LPALCGETENUMVALUEDelegate([In] IntPtr device, string enumname)
+
+ #region string LPALCGETSTRINGDelegate([In] IntPtr device, string enumname)
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate string LPALCGETSTRINGDelegate([In] IntPtr device, string enumname);
+ #endregion string LPALCGETSTRINGDelegate([In] IntPtr device, string enumname)
+
+ #region void LPALCGETINTEGERVDelegate([In] IntPtr context, int param, int size, out int data)
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALCGETINTEGERVDelegate([In] IntPtr context, int param, int size, out int data);
+ #endregion void LPALCGETINTEGERVDelegate([In] IntPtr context, int param, int size, out int data)
+
+ #region void LPALCCAPTUREOPENDEVICEDelegate(string devicename, int frequency, int format, int buffersize)
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALCCAPTUREOPENDEVICEDelegate(string devicename, int frequency, int format, int buffersize);
+ #endregion void LPALCCAPTUREOPENDEVICEDelegate(string devicename, int frequency, int format, int buffersize)
+
+ #region int LPALCCAPTURECLOSEDEVICEDelegate([In] IntPtr device)
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate int LPALCCAPTURECLOSEDEVICEDelegate([In] IntPtr device);
+ #endregion int LPALCCAPTURECLOSEDEVICEDelegate([In] IntPtr device)
+
+ #region void LPALCCAPTURESTARTDelegate([In] IntPtr device)
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALCCAPTURESTARTDelegate([In] IntPtr device);
+ #endregion void LPALCCAPTURESTARTDelegate([In] IntPtr device)
+
+ #region void LPALCCAPTURESTOPDelegate([In] IntPtr device)
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALCCAPTURESTOPDelegate([In] IntPtr device);
+ #endregion void LPALCCAPTURESTOPDelegate([In] IntPtr device)
+
+ #region void LPALCCAPTURESAMPLESDelegate([In] IntPtr device, [In] IntPtr buffer, int samples)
+ ///
+ ///
+ ///
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ public delegate void LPALCCAPTURESAMPLESDelegate([In] IntPtr device, [In] IntPtr buffer, int samples);
+ #endregion void LPALCCAPTURESAMPLESDelegate([In] IntPtr device, [In] IntPtr buffer, int samples)
+ #endregion Public OpenAL 1.1 Delegates
+ }
+}
diff --git a/Source/Compatibility/Tao/OpenAl/Alut.cs b/Source/Compatibility/Tao/OpenAl/Alut.cs
new file mode 100644
index 00000000..e4035a05
--- /dev/null
+++ b/Source/Compatibility/Tao/OpenAl/Alut.cs
@@ -0,0 +1,737 @@
+#region License
+/*
+MIT License
+Copyright ©2003-2006 Tao Framework Team
+http://www.taoframework.com
+All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+#endregion License
+
+using System;
+using System.IO;
+using System.Security;
+using System.Runtime.InteropServices;
+using System.Text;
+
+namespace Tao.OpenAl
+{
+ #region Class Documentation
+ ///
+ /// OpenAL binding for .NET, implementing ALUT 1.1.
+ ///
+ ///
+ /// ALUT is non-standard.
+ ///
+ #endregion Class Documentation
+ [Obsolete("Use OpenTK.Audio.OpenAL instead.")]
+ public static class Alut
+ {
+ // --- Fields ---
+ #region Private Constants
+ #region string ALUT_NATIVE_LIBRARY
+ ///
+ /// Specifies OpenAl's native library archive.
+ ///
+ ///
+ /// Specifies OpenAl32.dll everywhere; will be mapped via .config for mono.
+ ///
+ private const string ALUT_NATIVE_LIBRARY = "alut.dll";
+ #endregion string ALUT_NATIVE_LIBRARY
+
+ #region CallingConvention CALLING_CONVENTION
+ ///
+ /// Specifies the calling convention.
+ ///
+ ///
+ /// Specifies .
+ ///
+ private const CallingConvention CALLING_CONVENTION = CallingConvention.Cdecl;
+ #endregion CallingConvention CALLING_CONVENTION
+ #endregion Private Constants
+
+ #region Public OpenAL 1.1 Constants
+ ///
+ ///
+ ///
+ public const int ALUT_API_MAJOR_VERSION = 1;
+ ///
+ ///
+ ///
+ public const int ALUT_API_MINOR_VERSION = 1;
+ ///
+ ///
+ ///
+ public const int ALUT_ERROR_NO_ERROR = 0;
+ ///
+ ///
+ ///
+ public const int ALUT_ERROR_OUT_OF_MEMORY = 0x200;
+ ///
+ ///
+ ///
+ public const int ALUT_ERROR_INVALID_ENUM = 0x201;
+ ///
+ ///
+ ///
+ public const int ALUT_ERROR_INVALID_VALUE = 0x202;
+ ///
+ ///
+ ///
+ public const int ALUT_ERROR_INVALID_OPERATION = 0x203;
+ ///
+ ///
+ ///
+ public const int ALUT_ERROR_NO_CURRENT_CONTEXT = 0x204;
+ ///
+ ///
+ ///
+ public const int ALUT_ERROR_AL_ERROR_ON_ENTRY = 0x205;
+ ///
+ ///
+ ///
+ public const int ALUT_ERROR_ALC_ERROR_ON_ENTRY = 0x206;
+ ///
+ ///
+ ///
+ public const int ALUT_ERROR_OPEN_DEVICE = 0x207;
+ ///
+ ///
+ ///
+ public const int ALUT_ERROR_CLOSE_DEVICE = 0x208;
+ ///
+ ///
+ ///
+ public const int ALUT_ERROR_CREATE_CONTEXT = 0x209;
+ ///
+ ///
+ ///
+ public const int ALUT_ERROR_MAKE_CONTEXT_CURRENT = 0x20A;
+ ///
+ ///
+ ///
+ public const int ALUT_ERROR_DESTROY_CONTEXT = 0x20B;
+ ///
+ ///
+ ///
+ public const int ALUT_ERROR_GEN_BUFFERS = 0x20C;
+ ///
+ ///
+ ///
+ public const int ALUT_ERROR_BUFFER_DATA = 0x20D;
+ ///
+ ///
+ ///
+ public const int ALUT_ERROR_IO_ERROR = 0x20E;
+ ///
+ ///
+ ///
+ public const int ALUT_ERROR_UNSUPPORTED_FILE_TYPE = 0x20F;
+ ///
+ ///
+ ///
+ public const int ALUT_ERROR_UNSUPPORTED_FILE_SUBTYPE = 0x210;
+ ///
+ ///
+ ///
+ public const int ALUT_ERROR_CORRUPT_OR_TRUNCATED_DATA = 0x211;
+ ///
+ ///
+ ///
+ public const int ALUT_WAVEFORM_SINE = 0x100;
+ ///
+ ///
+ ///
+ public const int ALUT_WAVEFORM_SQUARE = 0x101;
+ ///
+ ///
+ ///
+ public const int ALUT_WAVEFORM_SAWTOOTH = 0x102;
+ ///
+ ///
+ ///
+ public const int ALUT_WAVEFORM_WHITENOISE = 0x103;
+ ///
+ ///
+ ///
+ public const int ALUT_WAVEFORM_IMPULSE = 0x104;
+ ///
+ ///
+ ///
+ public const int ALUT_LOADER_BUFFER = 0x300;
+ ///
+ ///
+ ///
+ public const int ALUT_LOADER_MEMORY = 0x301;
+ #endregion Public OpenAL 1.1 Constants
+
+ // --- Public Methods ---
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // ALUT_API ALboolean ALUT_APIENTRY alutInit (int *argcp, char **argv);
+ [DllImport(ALUT_NATIVE_LIBRARY, CallingConvention=CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int alutInit(int[] argcp, string[] argv);
+
+ ///
+ ///
+ ///
+ ///
+ public static int alutInit()
+ {
+ return alutInit(null, null);
+ }
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // ALUT_API ALboolean ALUT_APIENTRY alutInitWithoutContext (int *argcp, char **argv);
+ [DllImport(ALUT_NATIVE_LIBRARY, CallingConvention=CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int alutInitWithoutContext(int[] argcp, string[] argv);
+
+ ///
+ ///
+ ///
+ // ALUT_API ALboolean ALUT_APIENTRY alutExit (void);
+ [DllImport(ALUT_NATIVE_LIBRARY, CallingConvention=CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int alutExit();
+
+ ///
+ ///
+ ///
+ // ALUT_API ALenum ALUT_APIENTRY alutGetError (void);
+ [DllImport(ALUT_NATIVE_LIBRARY, CallingConvention=CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int alutGetError();
+
+ ///
+ ///
+ ///
+ ///
+ // ALUT_API const char *ALUT_APIENTRY alutGetErrorString (ALenum error);
+ [DllImport(ALUT_NATIVE_LIBRARY, CallingConvention=CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern string alutGetErrorString(int error);
+
+ ///
+ ///
+ ///
+ ///
+ ///
+ // ALUT_API ALuint ALUT_APIENTRY alutCreateBufferFromFile (const char *fileName);
+ [DllImport(ALUT_NATIVE_LIBRARY, CallingConvention=CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int alutCreateBufferFromFile(string fileName);
+
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // ALUT_API ALuint ALUT_APIENTRY alutCreateBufferFromFileImage (const ALvoid *data, ALsizei length);
+ [DllImport(ALUT_NATIVE_LIBRARY, CallingConvention=CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int alutCreateBufferFromFileImage(IntPtr data, int length);
+
+ ///
+ ///
+ ///
+ ///
+ // ALUT_API ALuint ALUT_APIENTRY alutCreateBufferHelloWorld (void);
+ [DllImport(ALUT_NATIVE_LIBRARY, CallingConvention=CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int alutCreateBufferHelloWorld();
+
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // ALUT_API ALuint ALUT_APIENTRY alutCreateBufferWaveform (ALenum waveshape, ALfloat frequency, ALfloat phase, ALfloat duration);
+ [DllImport(ALUT_NATIVE_LIBRARY, CallingConvention=CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int alutCreateBufferWaveform(int waveshape, float frequency, float phase, float duration);
+
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // ALUT_API ALvoid *ALUT_APIENTRY alutLoadMemoryFromFile (const char *fileName, ALenum *format, ALsizei *size, ALfloat *frequency);
+ [DllImport(ALUT_NATIVE_LIBRARY, CallingConvention=CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern IntPtr alutLoadMemoryFromFile(string fileName, out int format, out int size, out float frequency);
+
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // ALUT_API ALvoid *ALUT_APIENTRY alutLoadMemoryFromFileImage (const ALvoid *data, ALsizei length, ALenum *format, ALsizei *size, ALfloat *frequency);
+ [DllImport(ALUT_NATIVE_LIBRARY, CallingConvention=CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern IntPtr alutLoadMemoryFromFileImage(IntPtr data, int length, out int format, out int size, out float frequency);
+
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // ALUT_API ALvoid *ALUT_APIENTRY alutLoadMemoryHelloWorld (ALenum *format, ALsizei *size, ALfloat *frequency);
+ [DllImport(ALUT_NATIVE_LIBRARY, CallingConvention=CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern IntPtr alutLoadMemoryHelloWorld(out int format, out int size, out float frequency);
+
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // ALUT_API ALvoid *ALUT_APIENTRY alutLoadMemoryWaveform (ALenum waveshape, ALfloat frequency, ALfloat phase, ALfloat duration, ALenum *format, ALsizei *size, ALfloat *freq);
+ [DllImport(ALUT_NATIVE_LIBRARY, CallingConvention=CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern IntPtr alutLoadMemoryWaveform(int waveshape, float frequency, float phase, float duration, out int format, out int size, out float freq);
+
+ ///
+ ///
+ ///
+ ///
+ ///
+ // ALUT_API const char *ALUT_APIENTRY alutGetMIMETypes (ALenum loader);
+ [DllImport(ALUT_NATIVE_LIBRARY, CallingConvention=CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern string alutGetMIMETypes(int loader);
+
+ ///
+ ///
+ ///
+ ///
+ // ALUT_API ALint ALUT_APIENTRY alutGetMajorVersion (void);
+ [DllImport(ALUT_NATIVE_LIBRARY, CallingConvention=CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int alutGetMajorVersion();
+
+ ///
+ ///
+ ///
+ ///
+ // ALUT_API ALint ALUT_APIENTRY alutGetMinorVersion (void);
+ [DllImport(ALUT_NATIVE_LIBRARY, CallingConvention=CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int alutGetMinorVersion();
+
+ ///
+ ///
+ ///
+ ///
+ ///
+ // ALUT_API ALboolean ALUT_APIENTRY alutSleep (ALfloat duration);
+ [DllImport(ALUT_NATIVE_LIBRARY, CallingConvention=CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int alutSleep(float duration);
+
+ #region DEPRECATED
+
+// #region InitializeAlut()
+// ///
+// /// Initializes OpenAL device and context.
+// ///
+// private static void InitializeAlut()
+// {
+//#if WIN32
+// IntPtr device = Alc.alcOpenDevice("DirectSound3D");
+//#else
+//IntPtr device = Alc.alcOpenDevice(null);
+//#endif
+// IntPtr context = Alc.alcCreateContext(device, IntPtr.Zero);
+// Alc.alcMakeContextCurrent(context);
+// }
+// #endregion InitializeAlut()
+//
+// #region ReadWavFile(Stream stream, out int format, out byte[] data, out int size, out int frequency, out int loop)
+// ///
+// /// Reads a WAV file.
+// ///
+// ///
+// /// The stream to be read.
+// ///
+// ///
+// /// The format of the WAV file.
+// ///
+// ///
+// /// The WAV file data.
+// ///
+// ///
+// /// The size of the WAV file data.
+// ///
+// ///
+// /// The frequency of the WAV file.
+// ///
+// ///
+// /// Does the WAV file loop?
+// ///
+// private static void ReadWavFile(Stream stream, out int format, out byte[] data, out int size, out int frequency, out int loop)
+// {
+// bool success = true;
+// format = Al.AL_FORMAT_MONO16;
+// data = null;
+// size = 0;
+// frequency = 22050;
+// loop = Al.AL_FALSE;
+//
+// BinaryReader reader = new BinaryReader(stream, System.Text.Encoding.ASCII);
+//
+// try
+// {
+// WavFileHeader fileHeader = new WavFileHeader();
+// WavChunkHeader chunkHeader = new WavChunkHeader();
+// WavFormatChunk formatChunk = new WavFormatChunk();
+//
+// // Read WAV file header
+// fileHeader.Id = reader.ReadChars(4);
+// fileHeader.Length = reader.ReadInt32();
+// fileHeader.Type = reader.ReadChars(4);
+//
+// if(new string(fileHeader.Id) != "RIFF" && fileHeader.Length <= 0 && new string(fileHeader.Type) != "WAVE")
+// {
+// success = false;
+// }
+// else
+// {
+// while(fileHeader.Length > 8)
+// {
+// // Read WAV chunk header
+// chunkHeader.Id = reader.ReadChars(4);
+// chunkHeader.Length = reader.ReadInt32();
+//
+// // Determine chunk action
+// if(new string(chunkHeader.Id) == "fmt ")
+// {
+// // Read WAV format header
+// formatChunk.Format = reader.ReadInt16();
+// formatChunk.Channels = reader.ReadInt16();
+// formatChunk.SamplesPerSecond = reader.ReadInt32();
+// formatChunk.BytesPerSecond = reader.ReadInt32();
+// formatChunk.BytesPerSample = reader.ReadInt16();
+// formatChunk.BitsPerSample = reader.ReadInt16();
+//
+// if(chunkHeader.Length > 16)
+// {
+// formatChunk.ExtraBytesLength = reader.ReadInt16();
+// formatChunk.ExtraBytes = reader.ReadBytes(formatChunk.ExtraBytesLength);
+// }
+// else
+// {
+// formatChunk.ExtraBytesLength = 0;
+// formatChunk.ExtraBytes = null;
+// }
+//
+// if(formatChunk.Format == 0x0001)
+// {
+// if(formatChunk.Channels == 1)
+// {
+// if(formatChunk.BitsPerSample == 8)
+// {
+// format = Al.AL_FORMAT_MONO8;
+// }
+// else
+// {
+// format = Al.AL_FORMAT_MONO16;
+// }
+// }
+// else
+// {
+// if(formatChunk.BitsPerSample == 8)
+// {
+// format = Al.AL_FORMAT_STEREO8;
+// }
+// else
+// {
+// format = Al.AL_FORMAT_STEREO16;
+// }
+// }
+// }
+// frequency = formatChunk.SamplesPerSecond;
+// }
+// else if(new string(chunkHeader.Id) == "data")
+// {
+// if(formatChunk.Format == 0x0001)
+// {
+// size = chunkHeader.Length - 8;
+// data = reader.ReadBytes(size);
+// }
+// }
+// else
+// {
+// if(chunkHeader.Length <= fileHeader.Length && chunkHeader.Length > 0)
+// {
+// reader.ReadBytes(chunkHeader.Length);
+// }
+// }
+//
+// if(chunkHeader.Length <= fileHeader.Length && chunkHeader.Length > 0)
+// {
+// fileHeader.Length -= chunkHeader.Length;
+// }
+// else
+// {
+// fileHeader.Length = 0;
+// }
+// }
+// }
+// success = true;
+// }
+// catch
+// {
+// success = false;
+// }
+// finally
+// {
+// reader.Close();
+// }
+//
+// if(!success)
+// {
+// format = -1;
+// data = null;
+// size = -1;
+// frequency = -1;
+// loop = -1;
+// }
+// }
+// #endregion ReadWavFile(string fileName, out int format, out byte[] data, out int size, out int frequency, out int loop)
+
+ // #region alutExit()
+ // ///
+ // /// Destroys OpenAL context and device.
+ // ///
+ // // ALUTAPI ALvoid ALUTAPIENTRY alutExit(ALvoid);
+ // public static void alutExit()
+ // {
+ // IntPtr context = Alc.alcGetCurrentContext();
+ // IntPtr device = Alc.alcGetContextsDevice(context);
+ // Alc.alcMakeContextCurrent(IntPtr.Zero);
+ // Alc.alcDestroyContext(context);
+ // Alc.alcCloseDevice(device);
+ // context = IntPtr.Zero;
+ // device = IntPtr.Zero;
+ // }
+ // #endregion alutExit()
+
+// #region alutInit()
+// ///
+// /// Initializes an OpenAL device and context.
+// ///
+// // ALUTAPI ALvoid ALUTAPIENTRY alutInit(ALint *argc, ALbyte **argv);
+// public static void alutInit()
+// {
+// InitializeAlut();
+// }
+// #endregion alutInit()
+//
+// #region alutInit(int argc, StringBuilder argv)
+// ///
+// /// Initializes an OpenAL device and context.
+// ///
+// ///
+// /// Number of commandline arguments.
+// ///
+// ///
+// /// The commandline arguments.
+// ///
+// // ALUTAPI ALvoid ALUTAPIENTRY alutInit(ALint *argc, ALbyte **argv);
+// public static void alutInit(int argc, StringBuilder argv)
+// {
+// InitializeAlut();
+// }
+// #endregion alutInit(int argc, StringBuilder argv)
+
+// #region Private Structs
+// #region WavFileHeader
+// ///
+// /// WAV file header.
+// ///
+// // 12 bytes total
+// [StructLayout(LayoutKind.Sequential, CharSet=CharSet.Ansi)]
+// private struct WavFileHeader
+// {
+// [MarshalAs(UnmanagedType.ByValArray, SizeConst=4)]
+// public char[] Id;
+// public int Length;
+// [MarshalAs(UnmanagedType.ByValArray, SizeConst=4)]
+// public char[] Type;
+// }
+// #endregion WavFileHeader
+//
+// #region WavChunkHeader
+// ///
+// /// WAV chunk header.
+// ///
+// // 8 bytes total
+// [StructLayout(LayoutKind.Sequential, CharSet=CharSet.Ansi)]
+// private struct WavChunkHeader
+// {
+// [MarshalAs(UnmanagedType.ByValArray, SizeConst=4)]
+// public char[] Id;
+// public int Length;
+// }
+// #endregion WavChunkHeader
+//
+// #region WavFormatChunk
+// ///
+// /// WAV format chunk.
+// ///
+// // 16 bytes total
+// [StructLayout(LayoutKind.Sequential)]
+// private struct WavFormatChunk
+// {
+// public short Format;
+// public short Channels;
+// public int SamplesPerSecond;
+// public int BytesPerSecond;
+// public short BytesPerSample;
+// public short BitsPerSample;
+// public short ExtraBytesLength;
+// public byte[] ExtraBytes;
+// }
+// #endregion WavFormatChunk
+// #endregion Private Structs
+
+// #region alutLoadWAVFile(string fileName, out int format, out byte[] data, out int size, out int frequency, out int loop)
+// ///
+// /// Loads a WAV file.
+// ///
+// ///
+// /// The filename to be loaded.
+// ///
+// ///
+// /// The format of the WAV file.
+// ///
+// ///
+// /// The WAV file data.
+// ///
+// ///
+// /// The size of the WAV file data.
+// ///
+// ///
+// /// The WAV file frequency.
+// ///
+// ///
+// /// Does the WAV file loop?
+// ///
+// // ALUTAPI ALvoid ALUTAPIENTRY alutLoadWAVFile(ALbyte *file, ALenum *format, ALvoid **data, ALsizei *size, ALsizei *freq, ALboolean *loop);
+// public static void alutLoadWAVFile(string fileName, out int format, out byte[] data, out int size, out int frequency, out int loop)
+// {
+// if(File.Exists(fileName))
+// {
+// FileStream stream = new FileStream(fileName, FileMode.Open, FileAccess.Read, FileShare.Read);
+// ReadWavFile(stream, out format, out data, out size, out frequency, out loop);
+// stream.Close();
+// stream = null;
+// }
+// else
+// {
+// format = -1;
+// data = null;
+// size = -1;
+// frequency = -1;
+// loop = -1;
+// }
+// }
+// #endregion alutLoadWAVFile(string fileName, out int format, out byte[] data, out int size, out int frequency, out int loop)
+//
+// #region alutLoadWAVMemory([In] byte[] memory, out int format, out byte[] data, out int size, out int frequency, out int loop)
+// ///
+// /// Loads a WAV file from memory.
+// ///
+// ///
+// /// The WAV memory to be loaded.
+// ///
+// ///
+// /// The format of the WAV file.
+// ///
+// ///
+// /// The WAV file data.
+// ///
+// ///
+// /// The size of the WAV file data.
+// ///
+// ///
+// /// The WAV file frequency.
+// ///
+// ///
+// /// Does the WAV file loop?
+// ///
+// // ALUTAPI ALvoid ALUTAPIENTRY alutLoadWAVMemory(ALbyte *memory, ALenum *format, ALvoid **data, ALsizei *size, ALsizei *freq, ALboolean *loop);
+// public static void alutLoadWAVMemory([In] byte[] memory, out int format, out byte[] data, out int size, out int frequency, out int loop)
+// {
+// if(memory != null)
+// {
+// MemoryStream stream = new MemoryStream(memory, 0, memory.Length);
+// ReadWavFile(stream, out format, out data, out size, out frequency, out loop);
+// stream.Close();
+// stream = null;
+// }
+// else
+// {
+// format = -1;
+// data = null;
+// size = -1;
+// frequency = -1;
+// loop = -1;
+// }
+// }
+// #endregion alutLoadWAVMemory([In] byte[] memory, out int format, out byte[] data, out int size, out int frequency, out int loop)
+//
+// #region alutUnloadWAV(int format, out byte[] data, int size, int frequency)
+// ///
+// /// Unloads a WAV file.
+// ///
+// ///
+// /// The format of the WAV file.
+// ///
+// ///
+// /// The data of the WAV file.
+// ///
+// ///
+// /// The size of the WAV file's data.
+// ///
+// ///
+// /// The frequency of the WAV file.
+// ///
+// // ALUTAPI ALvoid ALUTAPIENTRY alutUnloadWAV(ALenum format, ALvoid *data, ALsizei size, ALsizei freq);
+// public static void alutUnloadWAV(int format, out byte[] data, int size, int frequency)
+// {
+// data = null;
+// }
+// #endregion alutUnloadWAV(int format, out byte[] data, int size, int frequency)
+ #endregion DEPRECATED
+ }
+}
diff --git a/Source/Compatibility/Tao/OpenGl/GLCore.cs b/Source/Compatibility/Tao/OpenGl/GLCore.cs
new file mode 100644
index 00000000..b8d47b30
--- /dev/null
+++ b/Source/Compatibility/Tao/OpenGl/GLCore.cs
@@ -0,0 +1,1793 @@
+#region License
+//
+// The Open Toolkit Library License
+//
+// Copyright (c) 2006 - 2009 the Open Toolkit library.
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights to
+// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+// the Software, and to permit persons to whom the Software is furnished to do
+// so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in all
+// copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+// OTHER DEALINGS IN THE SOFTWARE.
+//
+#endregion
+
+namespace Tao.OpenGl
+{
+ using System;
+ using System.Runtime.InteropServices;
+
+#pragma warning disable 3019
+#pragma warning disable 1591
+
+ partial class Gl
+ {
+
+ internal static partial class Imports
+ {
+
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glNewList", ExactSpelling = true)]
+ internal extern static void NewList(UInt32 list, int mode);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glEndList", ExactSpelling = true)]
+ internal extern static void EndList();
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glCallList", ExactSpelling = true)]
+ internal extern static void CallList(UInt32 list);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glCallLists", ExactSpelling = true)]
+ internal extern static void CallLists(Int32 n, int type, IntPtr lists);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glDeleteLists", ExactSpelling = true)]
+ internal extern static void DeleteLists(UInt32 list, Int32 range);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGenLists", ExactSpelling = true)]
+ internal extern static Int32 GenLists(Int32 range);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glListBase", ExactSpelling = true)]
+ internal extern static void ListBase(UInt32 @base);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glBegin", ExactSpelling = true)]
+ internal extern static void Begin(int mode);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glBitmap", ExactSpelling = true)]
+ internal extern static unsafe void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte* bitmap);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor3b", ExactSpelling = true)]
+ internal extern static void Color3b(SByte red, SByte green, SByte blue);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor3bv", ExactSpelling = true)]
+ internal extern static unsafe void Color3bv(SByte* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor3d", ExactSpelling = true)]
+ internal extern static void Color3d(Double red, Double green, Double blue);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor3dv", ExactSpelling = true)]
+ internal extern static unsafe void Color3dv(Double* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor3f", ExactSpelling = true)]
+ internal extern static void Color3f(Single red, Single green, Single blue);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor3fv", ExactSpelling = true)]
+ internal extern static unsafe void Color3fv(Single* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor3i", ExactSpelling = true)]
+ internal extern static void Color3i(Int32 red, Int32 green, Int32 blue);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor3iv", ExactSpelling = true)]
+ internal extern static unsafe void Color3iv(Int32* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor3s", ExactSpelling = true)]
+ internal extern static void Color3s(Int16 red, Int16 green, Int16 blue);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor3sv", ExactSpelling = true)]
+ internal extern static unsafe void Color3sv(Int16* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor3ub", ExactSpelling = true)]
+ internal extern static void Color3ub(Byte red, Byte green, Byte blue);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor3ubv", ExactSpelling = true)]
+ internal extern static unsafe void Color3ubv(Byte* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor3ui", ExactSpelling = true)]
+ internal extern static void Color3ui(UInt32 red, UInt32 green, UInt32 blue);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor3uiv", ExactSpelling = true)]
+ internal extern static unsafe void Color3uiv(UInt32* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor3us", ExactSpelling = true)]
+ internal extern static void Color3us(UInt16 red, UInt16 green, UInt16 blue);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor3usv", ExactSpelling = true)]
+ internal extern static unsafe void Color3usv(UInt16* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor4b", ExactSpelling = true)]
+ internal extern static void Color4b(SByte red, SByte green, SByte blue, SByte alpha);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor4bv", ExactSpelling = true)]
+ internal extern static unsafe void Color4bv(SByte* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor4d", ExactSpelling = true)]
+ internal extern static void Color4d(Double red, Double green, Double blue, Double alpha);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor4dv", ExactSpelling = true)]
+ internal extern static unsafe void Color4dv(Double* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor4f", ExactSpelling = true)]
+ internal extern static void Color4f(Single red, Single green, Single blue, Single alpha);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor4fv", ExactSpelling = true)]
+ internal extern static unsafe void Color4fv(Single* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor4i", ExactSpelling = true)]
+ internal extern static void Color4i(Int32 red, Int32 green, Int32 blue, Int32 alpha);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor4iv", ExactSpelling = true)]
+ internal extern static unsafe void Color4iv(Int32* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor4s", ExactSpelling = true)]
+ internal extern static void Color4s(Int16 red, Int16 green, Int16 blue, Int16 alpha);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor4sv", ExactSpelling = true)]
+ internal extern static unsafe void Color4sv(Int16* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor4ub", ExactSpelling = true)]
+ internal extern static void Color4ub(Byte red, Byte green, Byte blue, Byte alpha);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor4ubv", ExactSpelling = true)]
+ internal extern static unsafe void Color4ubv(Byte* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor4ui", ExactSpelling = true)]
+ internal extern static void Color4ui(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor4uiv", ExactSpelling = true)]
+ internal extern static unsafe void Color4uiv(UInt32* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor4us", ExactSpelling = true)]
+ internal extern static void Color4us(UInt16 red, UInt16 green, UInt16 blue, UInt16 alpha);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColor4usv", ExactSpelling = true)]
+ internal extern static unsafe void Color4usv(UInt16* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glEdgeFlag", ExactSpelling = true)]
+ internal extern static void EdgeFlag(Int32 flag);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glEdgeFlagv", ExactSpelling = true)]
+ internal extern static unsafe void EdgeFlagv(Int32* flag);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glEnd", ExactSpelling = true)]
+ internal extern static void End();
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glIndexd", ExactSpelling = true)]
+ internal extern static void Indexd(Double c);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glIndexdv", ExactSpelling = true)]
+ internal extern static unsafe void Indexdv(Double* c);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glIndexf", ExactSpelling = true)]
+ internal extern static void Indexf(Single c);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glIndexfv", ExactSpelling = true)]
+ internal extern static unsafe void Indexfv(Single* c);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glIndexi", ExactSpelling = true)]
+ internal extern static void Indexi(Int32 c);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glIndexiv", ExactSpelling = true)]
+ internal extern static unsafe void Indexiv(Int32* c);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glIndexs", ExactSpelling = true)]
+ internal extern static void Indexs(Int16 c);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glIndexsv", ExactSpelling = true)]
+ internal extern static unsafe void Indexsv(Int16* c);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glNormal3b", ExactSpelling = true)]
+ internal extern static void Normal3b(SByte nx, SByte ny, SByte nz);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glNormal3bv", ExactSpelling = true)]
+ internal extern static unsafe void Normal3bv(SByte* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glNormal3d", ExactSpelling = true)]
+ internal extern static void Normal3d(Double nx, Double ny, Double nz);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glNormal3dv", ExactSpelling = true)]
+ internal extern static unsafe void Normal3dv(Double* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glNormal3f", ExactSpelling = true)]
+ internal extern static void Normal3f(Single nx, Single ny, Single nz);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glNormal3fv", ExactSpelling = true)]
+ internal extern static unsafe void Normal3fv(Single* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glNormal3i", ExactSpelling = true)]
+ internal extern static void Normal3i(Int32 nx, Int32 ny, Int32 nz);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glNormal3iv", ExactSpelling = true)]
+ internal extern static unsafe void Normal3iv(Int32* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glNormal3s", ExactSpelling = true)]
+ internal extern static void Normal3s(Int16 nx, Int16 ny, Int16 nz);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glNormal3sv", ExactSpelling = true)]
+ internal extern static unsafe void Normal3sv(Int16* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRasterPos2d", ExactSpelling = true)]
+ internal extern static void RasterPos2d(Double x, Double y);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRasterPos2dv", ExactSpelling = true)]
+ internal extern static unsafe void RasterPos2dv(Double* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRasterPos2f", ExactSpelling = true)]
+ internal extern static void RasterPos2f(Single x, Single y);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRasterPos2fv", ExactSpelling = true)]
+ internal extern static unsafe void RasterPos2fv(Single* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRasterPos2i", ExactSpelling = true)]
+ internal extern static void RasterPos2i(Int32 x, Int32 y);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRasterPos2iv", ExactSpelling = true)]
+ internal extern static unsafe void RasterPos2iv(Int32* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRasterPos2s", ExactSpelling = true)]
+ internal extern static void RasterPos2s(Int16 x, Int16 y);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRasterPos2sv", ExactSpelling = true)]
+ internal extern static unsafe void RasterPos2sv(Int16* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRasterPos3d", ExactSpelling = true)]
+ internal extern static void RasterPos3d(Double x, Double y, Double z);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRasterPos3dv", ExactSpelling = true)]
+ internal extern static unsafe void RasterPos3dv(Double* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRasterPos3f", ExactSpelling = true)]
+ internal extern static void RasterPos3f(Single x, Single y, Single z);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRasterPos3fv", ExactSpelling = true)]
+ internal extern static unsafe void RasterPos3fv(Single* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRasterPos3i", ExactSpelling = true)]
+ internal extern static void RasterPos3i(Int32 x, Int32 y, Int32 z);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRasterPos3iv", ExactSpelling = true)]
+ internal extern static unsafe void RasterPos3iv(Int32* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRasterPos3s", ExactSpelling = true)]
+ internal extern static void RasterPos3s(Int16 x, Int16 y, Int16 z);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRasterPos3sv", ExactSpelling = true)]
+ internal extern static unsafe void RasterPos3sv(Int16* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRasterPos4d", ExactSpelling = true)]
+ internal extern static void RasterPos4d(Double x, Double y, Double z, Double w);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRasterPos4dv", ExactSpelling = true)]
+ internal extern static unsafe void RasterPos4dv(Double* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRasterPos4f", ExactSpelling = true)]
+ internal extern static void RasterPos4f(Single x, Single y, Single z, Single w);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRasterPos4fv", ExactSpelling = true)]
+ internal extern static unsafe void RasterPos4fv(Single* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRasterPos4i", ExactSpelling = true)]
+ internal extern static void RasterPos4i(Int32 x, Int32 y, Int32 z, Int32 w);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRasterPos4iv", ExactSpelling = true)]
+ internal extern static unsafe void RasterPos4iv(Int32* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRasterPos4s", ExactSpelling = true)]
+ internal extern static void RasterPos4s(Int16 x, Int16 y, Int16 z, Int16 w);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRasterPos4sv", ExactSpelling = true)]
+ internal extern static unsafe void RasterPos4sv(Int16* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRectd", ExactSpelling = true)]
+ internal extern static void Rectd(Double x1, Double y1, Double x2, Double y2);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRectdv", ExactSpelling = true)]
+ internal extern static unsafe void Rectdv(Double* v1, Double* v2);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRectf", ExactSpelling = true)]
+ internal extern static void Rectf(Single x1, Single y1, Single x2, Single y2);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRectfv", ExactSpelling = true)]
+ internal extern static unsafe void Rectfv(Single* v1, Single* v2);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRecti", ExactSpelling = true)]
+ internal extern static void Recti(Int32 x1, Int32 y1, Int32 x2, Int32 y2);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRectiv", ExactSpelling = true)]
+ internal extern static unsafe void Rectiv(Int32* v1, Int32* v2);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRects", ExactSpelling = true)]
+ internal extern static void Rects(Int16 x1, Int16 y1, Int16 x2, Int16 y2);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRectsv", ExactSpelling = true)]
+ internal extern static unsafe void Rectsv(Int16* v1, Int16* v2);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord1d", ExactSpelling = true)]
+ internal extern static void TexCoord1d(Double s);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord1dv", ExactSpelling = true)]
+ internal extern static unsafe void TexCoord1dv(Double* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord1f", ExactSpelling = true)]
+ internal extern static void TexCoord1f(Single s);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord1fv", ExactSpelling = true)]
+ internal extern static unsafe void TexCoord1fv(Single* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord1i", ExactSpelling = true)]
+ internal extern static void TexCoord1i(Int32 s);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord1iv", ExactSpelling = true)]
+ internal extern static unsafe void TexCoord1iv(Int32* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord1s", ExactSpelling = true)]
+ internal extern static void TexCoord1s(Int16 s);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord1sv", ExactSpelling = true)]
+ internal extern static unsafe void TexCoord1sv(Int16* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord2d", ExactSpelling = true)]
+ internal extern static void TexCoord2d(Double s, Double t);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord2dv", ExactSpelling = true)]
+ internal extern static unsafe void TexCoord2dv(Double* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord2f", ExactSpelling = true)]
+ internal extern static void TexCoord2f(Single s, Single t);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord2fv", ExactSpelling = true)]
+ internal extern static unsafe void TexCoord2fv(Single* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord2i", ExactSpelling = true)]
+ internal extern static void TexCoord2i(Int32 s, Int32 t);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord2iv", ExactSpelling = true)]
+ internal extern static unsafe void TexCoord2iv(Int32* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord2s", ExactSpelling = true)]
+ internal extern static void TexCoord2s(Int16 s, Int16 t);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord2sv", ExactSpelling = true)]
+ internal extern static unsafe void TexCoord2sv(Int16* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord3d", ExactSpelling = true)]
+ internal extern static void TexCoord3d(Double s, Double t, Double r);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord3dv", ExactSpelling = true)]
+ internal extern static unsafe void TexCoord3dv(Double* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord3f", ExactSpelling = true)]
+ internal extern static void TexCoord3f(Single s, Single t, Single r);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord3fv", ExactSpelling = true)]
+ internal extern static unsafe void TexCoord3fv(Single* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord3i", ExactSpelling = true)]
+ internal extern static void TexCoord3i(Int32 s, Int32 t, Int32 r);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord3iv", ExactSpelling = true)]
+ internal extern static unsafe void TexCoord3iv(Int32* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord3s", ExactSpelling = true)]
+ internal extern static void TexCoord3s(Int16 s, Int16 t, Int16 r);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord3sv", ExactSpelling = true)]
+ internal extern static unsafe void TexCoord3sv(Int16* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord4d", ExactSpelling = true)]
+ internal extern static void TexCoord4d(Double s, Double t, Double r, Double q);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord4dv", ExactSpelling = true)]
+ internal extern static unsafe void TexCoord4dv(Double* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord4f", ExactSpelling = true)]
+ internal extern static void TexCoord4f(Single s, Single t, Single r, Single q);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord4fv", ExactSpelling = true)]
+ internal extern static unsafe void TexCoord4fv(Single* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord4i", ExactSpelling = true)]
+ internal extern static void TexCoord4i(Int32 s, Int32 t, Int32 r, Int32 q);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord4iv", ExactSpelling = true)]
+ internal extern static unsafe void TexCoord4iv(Int32* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord4s", ExactSpelling = true)]
+ internal extern static void TexCoord4s(Int16 s, Int16 t, Int16 r, Int16 q);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoord4sv", ExactSpelling = true)]
+ internal extern static unsafe void TexCoord4sv(Int16* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertex2d", ExactSpelling = true)]
+ internal extern static void Vertex2d(Double x, Double y);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertex2dv", ExactSpelling = true)]
+ internal extern static unsafe void Vertex2dv(Double* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertex2f", ExactSpelling = true)]
+ internal extern static void Vertex2f(Single x, Single y);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertex2fv", ExactSpelling = true)]
+ internal extern static unsafe void Vertex2fv(Single* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertex2i", ExactSpelling = true)]
+ internal extern static void Vertex2i(Int32 x, Int32 y);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertex2iv", ExactSpelling = true)]
+ internal extern static unsafe void Vertex2iv(Int32* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertex2s", ExactSpelling = true)]
+ internal extern static void Vertex2s(Int16 x, Int16 y);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertex2sv", ExactSpelling = true)]
+ internal extern static unsafe void Vertex2sv(Int16* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertex3d", ExactSpelling = true)]
+ internal extern static void Vertex3d(Double x, Double y, Double z);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertex3dv", ExactSpelling = true)]
+ internal extern static unsafe void Vertex3dv(Double* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertex3f", ExactSpelling = true)]
+ internal extern static void Vertex3f(Single x, Single y, Single z);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertex3fv", ExactSpelling = true)]
+ internal extern static unsafe void Vertex3fv(Single* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertex3i", ExactSpelling = true)]
+ internal extern static void Vertex3i(Int32 x, Int32 y, Int32 z);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertex3iv", ExactSpelling = true)]
+ internal extern static unsafe void Vertex3iv(Int32* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertex3s", ExactSpelling = true)]
+ internal extern static void Vertex3s(Int16 x, Int16 y, Int16 z);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertex3sv", ExactSpelling = true)]
+ internal extern static unsafe void Vertex3sv(Int16* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertex4d", ExactSpelling = true)]
+ internal extern static void Vertex4d(Double x, Double y, Double z, Double w);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertex4dv", ExactSpelling = true)]
+ internal extern static unsafe void Vertex4dv(Double* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertex4f", ExactSpelling = true)]
+ internal extern static void Vertex4f(Single x, Single y, Single z, Single w);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertex4fv", ExactSpelling = true)]
+ internal extern static unsafe void Vertex4fv(Single* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertex4i", ExactSpelling = true)]
+ internal extern static void Vertex4i(Int32 x, Int32 y, Int32 z, Int32 w);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertex4iv", ExactSpelling = true)]
+ internal extern static unsafe void Vertex4iv(Int32* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertex4s", ExactSpelling = true)]
+ internal extern static void Vertex4s(Int16 x, Int16 y, Int16 z, Int16 w);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertex4sv", ExactSpelling = true)]
+ internal extern static unsafe void Vertex4sv(Int16* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glClipPlane", ExactSpelling = true)]
+ internal extern static unsafe void ClipPlane(int plane, Double* equation);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColorMaterial", ExactSpelling = true)]
+ internal extern static void ColorMaterial(int face, int mode);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glCullFace", ExactSpelling = true)]
+ internal extern static void CullFace(int mode);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glFogf", ExactSpelling = true)]
+ internal extern static void Fogf(int pname, Single param);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glFogfv", ExactSpelling = true)]
+ internal extern static unsafe void Fogfv(int pname, Single* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glFogi", ExactSpelling = true)]
+ internal extern static void Fogi(int pname, Int32 param);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glFogiv", ExactSpelling = true)]
+ internal extern static unsafe void Fogiv(int pname, Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glFrontFace", ExactSpelling = true)]
+ internal extern static void FrontFace(int mode);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glHint", ExactSpelling = true)]
+ internal extern static void Hint(int target, int mode);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glLightf", ExactSpelling = true)]
+ internal extern static void Lightf(int light, int pname, Single param);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glLightfv", ExactSpelling = true)]
+ internal extern static unsafe void Lightfv(int light, int pname, Single* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glLighti", ExactSpelling = true)]
+ internal extern static void Lighti(int light, int pname, Int32 param);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glLightiv", ExactSpelling = true)]
+ internal extern static unsafe void Lightiv(int light, int pname, Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glLightModelf", ExactSpelling = true)]
+ internal extern static void LightModelf(int pname, Single param);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glLightModelfv", ExactSpelling = true)]
+ internal extern static unsafe void LightModelfv(int pname, Single* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glLightModeli", ExactSpelling = true)]
+ internal extern static void LightModeli(int pname, Int32 param);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glLightModeliv", ExactSpelling = true)]
+ internal extern static unsafe void LightModeliv(int pname, Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glLineStipple", ExactSpelling = true)]
+ internal extern static void LineStipple(Int32 factor, UInt16 pattern);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glLineWidth", ExactSpelling = true)]
+ internal extern static void LineWidth(Single width);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMaterialf", ExactSpelling = true)]
+ internal extern static void Materialf(int face, int pname, Single param);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMaterialfv", ExactSpelling = true)]
+ internal extern static unsafe void Materialfv(int face, int pname, Single* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMateriali", ExactSpelling = true)]
+ internal extern static void Materiali(int face, int pname, Int32 param);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMaterialiv", ExactSpelling = true)]
+ internal extern static unsafe void Materialiv(int face, int pname, Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glPointSize", ExactSpelling = true)]
+ internal extern static void PointSize(Single size);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glPolygonMode", ExactSpelling = true)]
+ internal extern static void PolygonMode(int face, int mode);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glPolygonStipple", ExactSpelling = true)]
+ internal extern static unsafe void PolygonStipple(Byte* mask);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glScissor", ExactSpelling = true)]
+ internal extern static void Scissor(Int32 x, Int32 y, Int32 width, Int32 height);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glShadeModel", ExactSpelling = true)]
+ internal extern static void ShadeModel(int mode);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexParameterf", ExactSpelling = true)]
+ internal extern static void TexParameterf(int target, int pname, Single param);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexParameterfv", ExactSpelling = true)]
+ internal extern static unsafe void TexParameterfv(int target, int pname, Single* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexParameteri", ExactSpelling = true)]
+ internal extern static void TexParameteri(int target, int pname, Int32 param);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexParameteriv", ExactSpelling = true)]
+ internal extern static unsafe void TexParameteriv(int target, int pname, Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexImage1D", ExactSpelling = true)]
+ internal extern static void TexImage1D(int target, Int32 level, int internalformat, Int32 width, Int32 border, int format, int type, IntPtr pixels);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexImage2D", ExactSpelling = true)]
+ internal extern static void TexImage2D(int target, Int32 level, int internalformat, Int32 width, Int32 height, Int32 border, int format, int type, IntPtr pixels);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexEnvf", ExactSpelling = true)]
+ internal extern static void TexEnvf(int target, int pname, Single param);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexEnvfv", ExactSpelling = true)]
+ internal extern static unsafe void TexEnvfv(int target, int pname, Single* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexEnvi", ExactSpelling = true)]
+ internal extern static void TexEnvi(int target, int pname, Int32 param);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexEnviv", ExactSpelling = true)]
+ internal extern static unsafe void TexEnviv(int target, int pname, Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexGend", ExactSpelling = true)]
+ internal extern static void TexGend(int coord, int pname, Double param);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexGendv", ExactSpelling = true)]
+ internal extern static unsafe void TexGendv(int coord, int pname, Double* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexGenf", ExactSpelling = true)]
+ internal extern static void TexGenf(int coord, int pname, Single param);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexGenfv", ExactSpelling = true)]
+ internal extern static unsafe void TexGenfv(int coord, int pname, Single* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexGeni", ExactSpelling = true)]
+ internal extern static void TexGeni(int coord, int pname, Int32 param);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexGeniv", ExactSpelling = true)]
+ internal extern static unsafe void TexGeniv(int coord, int pname, Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glFeedbackBuffer", ExactSpelling = true)]
+ internal extern static unsafe void FeedbackBuffer(Int32 size, int type, [Out] Single* buffer);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glSelectBuffer", ExactSpelling = true)]
+ internal extern static unsafe void SelectBuffer(Int32 size, [Out] UInt32* buffer);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRenderMode", ExactSpelling = true)]
+ internal extern static Int32 RenderMode(int mode);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glInitNames", ExactSpelling = true)]
+ internal extern static void InitNames();
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glLoadName", ExactSpelling = true)]
+ internal extern static void LoadName(UInt32 name);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glPassThrough", ExactSpelling = true)]
+ internal extern static void PassThrough(Single token);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glPopName", ExactSpelling = true)]
+ internal extern static void PopName();
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glPushName", ExactSpelling = true)]
+ internal extern static void PushName(UInt32 name);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glDrawBuffer", ExactSpelling = true)]
+ internal extern static void DrawBuffer(int mode);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glClear", ExactSpelling = true)]
+ internal extern static void Clear(int mask);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glClearAccum", ExactSpelling = true)]
+ internal extern static void ClearAccum(Single red, Single green, Single blue, Single alpha);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glClearIndex", ExactSpelling = true)]
+ internal extern static void ClearIndex(Single c);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glClearColor", ExactSpelling = true)]
+ internal extern static void ClearColor(Single red, Single green, Single blue, Single alpha);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glClearStencil", ExactSpelling = true)]
+ internal extern static void ClearStencil(Int32 s);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glClearDepth", ExactSpelling = true)]
+ internal extern static void ClearDepth(Double depth);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glStencilMask", ExactSpelling = true)]
+ internal extern static void StencilMask(UInt32 mask);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColorMask", ExactSpelling = true)]
+ internal extern static void ColorMask(Int32 red, Int32 green, Int32 blue, Int32 alpha);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glDepthMask", ExactSpelling = true)]
+ internal extern static void DepthMask(Int32 flag);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glIndexMask", ExactSpelling = true)]
+ internal extern static void IndexMask(UInt32 mask);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glAccum", ExactSpelling = true)]
+ internal extern static void Accum(int op, Single value);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glDisable", ExactSpelling = true)]
+ internal extern static void Disable(int cap);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glEnable", ExactSpelling = true)]
+ internal extern static void Enable(int cap);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glFinish", ExactSpelling = true)]
+ internal extern static void Finish();
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glFlush", ExactSpelling = true)]
+ internal extern static void Flush();
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glPopAttrib", ExactSpelling = true)]
+ internal extern static void PopAttrib();
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glPushAttrib", ExactSpelling = true)]
+ internal extern static void PushAttrib(int mask);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMap1d", ExactSpelling = true)]
+ internal extern static unsafe void Map1d(int target, Double u1, Double u2, Int32 stride, Int32 order, Double* points);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMap1f", ExactSpelling = true)]
+ internal extern static unsafe void Map1f(int target, Single u1, Single u2, Int32 stride, Int32 order, Single* points);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMap2d", ExactSpelling = true)]
+ internal extern static unsafe void Map2d(int target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMap2f", ExactSpelling = true)]
+ internal extern static unsafe void Map2f(int target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMapGrid1d", ExactSpelling = true)]
+ internal extern static void MapGrid1d(Int32 un, Double u1, Double u2);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMapGrid1f", ExactSpelling = true)]
+ internal extern static void MapGrid1f(Int32 un, Single u1, Single u2);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMapGrid2d", ExactSpelling = true)]
+ internal extern static void MapGrid2d(Int32 un, Double u1, Double u2, Int32 vn, Double v1, Double v2);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMapGrid2f", ExactSpelling = true)]
+ internal extern static void MapGrid2f(Int32 un, Single u1, Single u2, Int32 vn, Single v1, Single v2);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glEvalCoord1d", ExactSpelling = true)]
+ internal extern static void EvalCoord1d(Double u);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glEvalCoord1dv", ExactSpelling = true)]
+ internal extern static unsafe void EvalCoord1dv(Double* u);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glEvalCoord1f", ExactSpelling = true)]
+ internal extern static void EvalCoord1f(Single u);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glEvalCoord1fv", ExactSpelling = true)]
+ internal extern static unsafe void EvalCoord1fv(Single* u);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glEvalCoord2d", ExactSpelling = true)]
+ internal extern static void EvalCoord2d(Double u, Double v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glEvalCoord2dv", ExactSpelling = true)]
+ internal extern static unsafe void EvalCoord2dv(Double* u);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glEvalCoord2f", ExactSpelling = true)]
+ internal extern static void EvalCoord2f(Single u, Single v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glEvalCoord2fv", ExactSpelling = true)]
+ internal extern static unsafe void EvalCoord2fv(Single* u);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glEvalMesh1", ExactSpelling = true)]
+ internal extern static void EvalMesh1(int mode, Int32 i1, Int32 i2);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glEvalPoint1", ExactSpelling = true)]
+ internal extern static void EvalPoint1(Int32 i);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glEvalMesh2", ExactSpelling = true)]
+ internal extern static void EvalMesh2(int mode, Int32 i1, Int32 i2, Int32 j1, Int32 j2);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glEvalPoint2", ExactSpelling = true)]
+ internal extern static void EvalPoint2(Int32 i, Int32 j);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glAlphaFunc", ExactSpelling = true)]
+ internal extern static void AlphaFunc(int func, Single @ref);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glBlendFunc", ExactSpelling = true)]
+ internal extern static void BlendFunc(int sfactor, int dfactor);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glLogicOp", ExactSpelling = true)]
+ internal extern static void LogicOp(int opcode);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glStencilFunc", ExactSpelling = true)]
+ internal extern static void StencilFunc(int func, Int32 @ref, UInt32 mask);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glStencilOp", ExactSpelling = true)]
+ internal extern static void StencilOp(int fail, int zfail, int zpass);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glDepthFunc", ExactSpelling = true)]
+ internal extern static void DepthFunc(int func);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glPixelZoom", ExactSpelling = true)]
+ internal extern static void PixelZoom(Single xfactor, Single yfactor);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glPixelTransferf", ExactSpelling = true)]
+ internal extern static void PixelTransferf(int pname, Single param);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glPixelTransferi", ExactSpelling = true)]
+ internal extern static void PixelTransferi(int pname, Int32 param);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glPixelStoref", ExactSpelling = true)]
+ internal extern static void PixelStoref(int pname, Single param);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glPixelStorei", ExactSpelling = true)]
+ internal extern static void PixelStorei(int pname, Int32 param);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glPixelMapfv", ExactSpelling = true)]
+ internal extern static unsafe void PixelMapfv(int map, Int32 mapsize, Single* values);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glPixelMapuiv", ExactSpelling = true)]
+ internal extern static unsafe void PixelMapuiv(int map, Int32 mapsize, UInt32* values);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glPixelMapusv", ExactSpelling = true)]
+ internal extern static unsafe void PixelMapusv(int map, Int32 mapsize, UInt16* values);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glReadBuffer", ExactSpelling = true)]
+ internal extern static void ReadBuffer(int mode);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glCopyPixels", ExactSpelling = true)]
+ internal extern static void CopyPixels(Int32 x, Int32 y, Int32 width, Int32 height, int type);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glReadPixels", ExactSpelling = true)]
+ internal extern static void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, int format, int type, [Out] IntPtr pixels);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glDrawPixels", ExactSpelling = true)]
+ internal extern static void DrawPixels(Int32 width, Int32 height, int format, int type, IntPtr pixels);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetBooleanv", ExactSpelling = true)]
+ internal extern static unsafe void GetBooleanv(int pname, [Out] Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetClipPlane", ExactSpelling = true)]
+ internal extern static unsafe void GetClipPlane(int plane, [Out] Double* equation);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetDoublev", ExactSpelling = true)]
+ internal extern static unsafe void GetDoublev(int pname, [Out] Double* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetError", ExactSpelling = true)]
+ internal extern static int GetError();
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetFloatv", ExactSpelling = true)]
+ internal extern static unsafe void GetFloatv(int pname, [Out] Single* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetIntegerv", ExactSpelling = true)]
+ internal extern static unsafe void GetIntegerv(int pname, [Out] Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetLightfv", ExactSpelling = true)]
+ internal extern static unsafe void GetLightfv(int light, int pname, [Out] Single* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetLightiv", ExactSpelling = true)]
+ internal extern static unsafe void GetLightiv(int light, int pname, [Out] Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetMapdv", ExactSpelling = true)]
+ internal extern static unsafe void GetMapdv(int target, int query, [Out] Double* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetMapfv", ExactSpelling = true)]
+ internal extern static unsafe void GetMapfv(int target, int query, [Out] Single* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetMapiv", ExactSpelling = true)]
+ internal extern static unsafe void GetMapiv(int target, int query, [Out] Int32* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetMaterialfv", ExactSpelling = true)]
+ internal extern static unsafe void GetMaterialfv(int face, int pname, [Out] Single* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetMaterialiv", ExactSpelling = true)]
+ internal extern static unsafe void GetMaterialiv(int face, int pname, [Out] Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetPixelMapfv", ExactSpelling = true)]
+ internal extern static unsafe void GetPixelMapfv(int map, [Out] Single* values);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetPixelMapuiv", ExactSpelling = true)]
+ internal extern static unsafe void GetPixelMapuiv(int map, [Out] UInt32* values);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetPixelMapusv", ExactSpelling = true)]
+ internal extern static unsafe void GetPixelMapusv(int map, [Out] UInt16* values);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetPolygonStipple", ExactSpelling = true)]
+ internal extern static unsafe void GetPolygonStipple([Out] Byte* mask);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetString", ExactSpelling = true)]
+ internal extern static IntPtr GetString(int name);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetTexEnvfv", ExactSpelling = true)]
+ internal extern static unsafe void GetTexEnvfv(int target, int pname, [Out] Single* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetTexEnviv", ExactSpelling = true)]
+ internal extern static unsafe void GetTexEnviv(int target, int pname, [Out] Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetTexGendv", ExactSpelling = true)]
+ internal extern static unsafe void GetTexGendv(int coord, int pname, [Out] Double* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetTexGenfv", ExactSpelling = true)]
+ internal extern static unsafe void GetTexGenfv(int coord, int pname, [Out] Single* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetTexGeniv", ExactSpelling = true)]
+ internal extern static unsafe void GetTexGeniv(int coord, int pname, [Out] Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetTexImage", ExactSpelling = true)]
+ internal extern static void GetTexImage(int target, Int32 level, int format, int type, [Out] IntPtr pixels);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetTexParameterfv", ExactSpelling = true)]
+ internal extern static unsafe void GetTexParameterfv(int target, int pname, [Out] Single* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetTexParameteriv", ExactSpelling = true)]
+ internal extern static unsafe void GetTexParameteriv(int target, int pname, [Out] Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetTexLevelParameterfv", ExactSpelling = true)]
+ internal extern static unsafe void GetTexLevelParameterfv(int target, Int32 level, int pname, [Out] Single* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetTexLevelParameteriv", ExactSpelling = true)]
+ internal extern static unsafe void GetTexLevelParameteriv(int target, Int32 level, int pname, [Out] Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glIsEnabled", ExactSpelling = true)]
+ internal extern static Int32 IsEnabled(int cap);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glIsList", ExactSpelling = true)]
+ internal extern static Int32 IsList(UInt32 list);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glDepthRange", ExactSpelling = true)]
+ internal extern static void DepthRange(Double near, Double far);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glFrustum", ExactSpelling = true)]
+ internal extern static void Frustum(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glLoadIdentity", ExactSpelling = true)]
+ internal extern static void LoadIdentity();
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glLoadMatrixf", ExactSpelling = true)]
+ internal extern static unsafe void LoadMatrixf(Single* m);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glLoadMatrixd", ExactSpelling = true)]
+ internal extern static unsafe void LoadMatrixd(Double* m);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMatrixMode", ExactSpelling = true)]
+ internal extern static void MatrixMode(int mode);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultMatrixf", ExactSpelling = true)]
+ internal extern static unsafe void MultMatrixf(Single* m);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultMatrixd", ExactSpelling = true)]
+ internal extern static unsafe void MultMatrixd(Double* m);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glOrtho", ExactSpelling = true)]
+ internal extern static void Ortho(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glPopMatrix", ExactSpelling = true)]
+ internal extern static void PopMatrix();
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glPushMatrix", ExactSpelling = true)]
+ internal extern static void PushMatrix();
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRotated", ExactSpelling = true)]
+ internal extern static void Rotated(Double angle, Double x, Double y, Double z);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glRotatef", ExactSpelling = true)]
+ internal extern static void Rotatef(Single angle, Single x, Single y, Single z);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glScaled", ExactSpelling = true)]
+ internal extern static void Scaled(Double x, Double y, Double z);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glScalef", ExactSpelling = true)]
+ internal extern static void Scalef(Single x, Single y, Single z);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTranslated", ExactSpelling = true)]
+ internal extern static void Translated(Double x, Double y, Double z);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTranslatef", ExactSpelling = true)]
+ internal extern static void Translatef(Single x, Single y, Single z);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glViewport", ExactSpelling = true)]
+ internal extern static void Viewport(Int32 x, Int32 y, Int32 width, Int32 height);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glArrayElement", ExactSpelling = true)]
+ internal extern static void ArrayElement(Int32 i);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColorPointer", ExactSpelling = true)]
+ internal extern static void ColorPointer(Int32 size, int type, Int32 stride, IntPtr pointer);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glDisableClientState", ExactSpelling = true)]
+ internal extern static void DisableClientState(int array);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glDrawArrays", ExactSpelling = true)]
+ internal extern static void DrawArrays(int mode, Int32 first, Int32 count);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glDrawElements", ExactSpelling = true)]
+ internal extern static void DrawElements(int mode, Int32 count, int type, IntPtr indices);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glEdgeFlagPointer", ExactSpelling = true)]
+ internal extern static void EdgeFlagPointer(Int32 stride, IntPtr pointer);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glEnableClientState", ExactSpelling = true)]
+ internal extern static void EnableClientState(int array);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetPointerv", ExactSpelling = true)]
+ internal extern static void GetPointerv(int pname, [Out] IntPtr @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glIndexPointer", ExactSpelling = true)]
+ internal extern static void IndexPointer(int type, Int32 stride, IntPtr pointer);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glInterleavedArrays", ExactSpelling = true)]
+ internal extern static void InterleavedArrays(int format, Int32 stride, IntPtr pointer);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glNormalPointer", ExactSpelling = true)]
+ internal extern static void NormalPointer(int type, Int32 stride, IntPtr pointer);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexCoordPointer", ExactSpelling = true)]
+ internal extern static void TexCoordPointer(Int32 size, int type, Int32 stride, IntPtr pointer);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexPointer", ExactSpelling = true)]
+ internal extern static void VertexPointer(Int32 size, int type, Int32 stride, IntPtr pointer);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glPolygonOffset", ExactSpelling = true)]
+ internal extern static void PolygonOffset(Single factor, Single units);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glCopyTexImage1D", ExactSpelling = true)]
+ internal extern static void CopyTexImage1D(int target, Int32 level, int internalformat, Int32 x, Int32 y, Int32 width, Int32 border);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glCopyTexImage2D", ExactSpelling = true)]
+ internal extern static void CopyTexImage2D(int target, Int32 level, int internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glCopyTexSubImage1D", ExactSpelling = true)]
+ internal extern static void CopyTexSubImage1D(int target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glCopyTexSubImage2D", ExactSpelling = true)]
+ internal extern static void CopyTexSubImage2D(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexSubImage1D", ExactSpelling = true)]
+ internal extern static void TexSubImage1D(int target, Int32 level, Int32 xoffset, Int32 width, int format, int type, IntPtr pixels);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexSubImage2D", ExactSpelling = true)]
+ internal extern static void TexSubImage2D(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, int format, int type, IntPtr pixels);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glAreTexturesResident", ExactSpelling = true)]
+ internal extern static unsafe Int32 AreTexturesResident(Int32 n, UInt32* textures, [Out] Int32* residences);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glBindTexture", ExactSpelling = true)]
+ internal extern static void BindTexture(int target, UInt32 texture);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glDeleteTextures", ExactSpelling = true)]
+ internal extern static unsafe void DeleteTextures(Int32 n, UInt32* textures);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGenTextures", ExactSpelling = true)]
+ internal extern static unsafe void GenTextures(Int32 n, [Out] UInt32* textures);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glIsTexture", ExactSpelling = true)]
+ internal extern static Int32 IsTexture(UInt32 texture);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glPrioritizeTextures", ExactSpelling = true)]
+ internal extern static unsafe void PrioritizeTextures(Int32 n, UInt32* textures, Single* priorities);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glIndexub", ExactSpelling = true)]
+ internal extern static void Indexub(Byte c);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glIndexubv", ExactSpelling = true)]
+ internal extern static unsafe void Indexubv(Byte* c);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glPopClientAttrib", ExactSpelling = true)]
+ internal extern static void PopClientAttrib();
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glPushClientAttrib", ExactSpelling = true)]
+ internal extern static void PushClientAttrib(int mask);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glBlendColor", ExactSpelling = true)]
+ internal extern static void BlendColor(Single red, Single green, Single blue, Single alpha);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glBlendEquation", ExactSpelling = true)]
+ internal extern static void BlendEquation(int mode);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glDrawRangeElements", ExactSpelling = true)]
+ internal extern static void DrawRangeElements(int mode, UInt32 start, UInt32 end, Int32 count, int type, IntPtr indices);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColorTable", ExactSpelling = true)]
+ internal extern static void ColorTable(int target, int internalformat, Int32 width, int format, int type, IntPtr table);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColorTableParameterfv", ExactSpelling = true)]
+ internal extern static unsafe void ColorTableParameterfv(int target, int pname, Single* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColorTableParameteriv", ExactSpelling = true)]
+ internal extern static unsafe void ColorTableParameteriv(int target, int pname, Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glCopyColorTable", ExactSpelling = true)]
+ internal extern static void CopyColorTable(int target, int internalformat, Int32 x, Int32 y, Int32 width);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetColorTable", ExactSpelling = true)]
+ internal extern static void GetColorTable(int target, int format, int type, [Out] IntPtr table);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetColorTableParameterfv", ExactSpelling = true)]
+ internal extern static unsafe void GetColorTableParameterfv(int target, int pname, [Out] Single* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetColorTableParameteriv", ExactSpelling = true)]
+ internal extern static unsafe void GetColorTableParameteriv(int target, int pname, [Out] Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glColorSubTable", ExactSpelling = true)]
+ internal extern static void ColorSubTable(int target, Int32 start, Int32 count, int format, int type, IntPtr data);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glCopyColorSubTable", ExactSpelling = true)]
+ internal extern static void CopyColorSubTable(int target, Int32 start, Int32 x, Int32 y, Int32 width);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glConvolutionFilter1D", ExactSpelling = true)]
+ internal extern static void ConvolutionFilter1D(int target, int internalformat, Int32 width, int format, int type, IntPtr image);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glConvolutionFilter2D", ExactSpelling = true)]
+ internal extern static void ConvolutionFilter2D(int target, int internalformat, Int32 width, Int32 height, int format, int type, IntPtr image);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glConvolutionParameterf", ExactSpelling = true)]
+ internal extern static void ConvolutionParameterf(int target, int pname, Single @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glConvolutionParameterfv", ExactSpelling = true)]
+ internal extern static unsafe void ConvolutionParameterfv(int target, int pname, Single* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glConvolutionParameteri", ExactSpelling = true)]
+ internal extern static void ConvolutionParameteri(int target, int pname, Int32 @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glConvolutionParameteriv", ExactSpelling = true)]
+ internal extern static unsafe void ConvolutionParameteriv(int target, int pname, Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glCopyConvolutionFilter1D", ExactSpelling = true)]
+ internal extern static void CopyConvolutionFilter1D(int target, int internalformat, Int32 x, Int32 y, Int32 width);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glCopyConvolutionFilter2D", ExactSpelling = true)]
+ internal extern static void CopyConvolutionFilter2D(int target, int internalformat, Int32 x, Int32 y, Int32 width, Int32 height);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetConvolutionFilter", ExactSpelling = true)]
+ internal extern static void GetConvolutionFilter(int target, int format, int type, [Out] IntPtr image);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetConvolutionParameterfv", ExactSpelling = true)]
+ internal extern static unsafe void GetConvolutionParameterfv(int target, int pname, [Out] Single* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetConvolutionParameteriv", ExactSpelling = true)]
+ internal extern static unsafe void GetConvolutionParameteriv(int target, int pname, [Out] Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetSeparableFilter", ExactSpelling = true)]
+ internal extern static void GetSeparableFilter(int target, int format, int type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glSeparableFilter2D", ExactSpelling = true)]
+ internal extern static void SeparableFilter2D(int target, int internalformat, Int32 width, Int32 height, int format, int type, IntPtr row, IntPtr column);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetHistogram", ExactSpelling = true)]
+ internal extern static void GetHistogram(int target, Int32 reset, int format, int type, [Out] IntPtr values);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetHistogramParameterfv", ExactSpelling = true)]
+ internal extern static unsafe void GetHistogramParameterfv(int target, int pname, [Out] Single* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetHistogramParameteriv", ExactSpelling = true)]
+ internal extern static unsafe void GetHistogramParameteriv(int target, int pname, [Out] Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetMinmax", ExactSpelling = true)]
+ internal extern static void GetMinmax(int target, Int32 reset, int format, int type, [Out] IntPtr values);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetMinmaxParameterfv", ExactSpelling = true)]
+ internal extern static unsafe void GetMinmaxParameterfv(int target, int pname, [Out] Single* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetMinmaxParameteriv", ExactSpelling = true)]
+ internal extern static unsafe void GetMinmaxParameteriv(int target, int pname, [Out] Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glHistogram", ExactSpelling = true)]
+ internal extern static void Histogram(int target, Int32 width, int internalformat, Int32 sink);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMinmax", ExactSpelling = true)]
+ internal extern static void Minmax(int target, int internalformat, Int32 sink);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glResetHistogram", ExactSpelling = true)]
+ internal extern static void ResetHistogram(int target);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glResetMinmax", ExactSpelling = true)]
+ internal extern static void ResetMinmax(int target);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexImage3D", ExactSpelling = true)]
+ internal extern static void TexImage3D(int target, Int32 level, int internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, int format, int type, IntPtr pixels);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glTexSubImage3D", ExactSpelling = true)]
+ internal extern static void TexSubImage3D(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, int format, int type, IntPtr pixels);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glCopyTexSubImage3D", ExactSpelling = true)]
+ internal extern static void CopyTexSubImage3D(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glActiveTexture", ExactSpelling = true)]
+ internal extern static void ActiveTexture(int texture);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glClientActiveTexture", ExactSpelling = true)]
+ internal extern static void ClientActiveTexture(int texture);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord1d", ExactSpelling = true)]
+ internal extern static void MultiTexCoord1d(int target, Double s);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord1dv", ExactSpelling = true)]
+ internal extern static unsafe void MultiTexCoord1dv(int target, Double* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord1f", ExactSpelling = true)]
+ internal extern static void MultiTexCoord1f(int target, Single s);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord1fv", ExactSpelling = true)]
+ internal extern static unsafe void MultiTexCoord1fv(int target, Single* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord1i", ExactSpelling = true)]
+ internal extern static void MultiTexCoord1i(int target, Int32 s);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord1iv", ExactSpelling = true)]
+ internal extern static unsafe void MultiTexCoord1iv(int target, Int32* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord1s", ExactSpelling = true)]
+ internal extern static void MultiTexCoord1s(int target, Int16 s);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord1sv", ExactSpelling = true)]
+ internal extern static unsafe void MultiTexCoord1sv(int target, Int16* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord2d", ExactSpelling = true)]
+ internal extern static void MultiTexCoord2d(int target, Double s, Double t);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord2dv", ExactSpelling = true)]
+ internal extern static unsafe void MultiTexCoord2dv(int target, Double* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord2f", ExactSpelling = true)]
+ internal extern static void MultiTexCoord2f(int target, Single s, Single t);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord2fv", ExactSpelling = true)]
+ internal extern static unsafe void MultiTexCoord2fv(int target, Single* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord2i", ExactSpelling = true)]
+ internal extern static void MultiTexCoord2i(int target, Int32 s, Int32 t);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord2iv", ExactSpelling = true)]
+ internal extern static unsafe void MultiTexCoord2iv(int target, Int32* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord2s", ExactSpelling = true)]
+ internal extern static void MultiTexCoord2s(int target, Int16 s, Int16 t);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord2sv", ExactSpelling = true)]
+ internal extern static unsafe void MultiTexCoord2sv(int target, Int16* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord3d", ExactSpelling = true)]
+ internal extern static void MultiTexCoord3d(int target, Double s, Double t, Double r);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord3dv", ExactSpelling = true)]
+ internal extern static unsafe void MultiTexCoord3dv(int target, Double* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord3f", ExactSpelling = true)]
+ internal extern static void MultiTexCoord3f(int target, Single s, Single t, Single r);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord3fv", ExactSpelling = true)]
+ internal extern static unsafe void MultiTexCoord3fv(int target, Single* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord3i", ExactSpelling = true)]
+ internal extern static void MultiTexCoord3i(int target, Int32 s, Int32 t, Int32 r);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord3iv", ExactSpelling = true)]
+ internal extern static unsafe void MultiTexCoord3iv(int target, Int32* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord3s", ExactSpelling = true)]
+ internal extern static void MultiTexCoord3s(int target, Int16 s, Int16 t, Int16 r);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord3sv", ExactSpelling = true)]
+ internal extern static unsafe void MultiTexCoord3sv(int target, Int16* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord4d", ExactSpelling = true)]
+ internal extern static void MultiTexCoord4d(int target, Double s, Double t, Double r, Double q);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord4dv", ExactSpelling = true)]
+ internal extern static unsafe void MultiTexCoord4dv(int target, Double* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord4f", ExactSpelling = true)]
+ internal extern static void MultiTexCoord4f(int target, Single s, Single t, Single r, Single q);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord4fv", ExactSpelling = true)]
+ internal extern static unsafe void MultiTexCoord4fv(int target, Single* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord4i", ExactSpelling = true)]
+ internal extern static void MultiTexCoord4i(int target, Int32 s, Int32 t, Int32 r, Int32 q);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord4iv", ExactSpelling = true)]
+ internal extern static unsafe void MultiTexCoord4iv(int target, Int32* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord4s", ExactSpelling = true)]
+ internal extern static void MultiTexCoord4s(int target, Int16 s, Int16 t, Int16 r, Int16 q);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiTexCoord4sv", ExactSpelling = true)]
+ internal extern static unsafe void MultiTexCoord4sv(int target, Int16* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glLoadTransposeMatrixf", ExactSpelling = true)]
+ internal extern static unsafe void LoadTransposeMatrixf(Single* m);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glLoadTransposeMatrixd", ExactSpelling = true)]
+ internal extern static unsafe void LoadTransposeMatrixd(Double* m);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultTransposeMatrixf", ExactSpelling = true)]
+ internal extern static unsafe void MultTransposeMatrixf(Single* m);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultTransposeMatrixd", ExactSpelling = true)]
+ internal extern static unsafe void MultTransposeMatrixd(Double* m);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glSampleCoverage", ExactSpelling = true)]
+ internal extern static void SampleCoverage(Single value, Int32 invert);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glCompressedTexImage3D", ExactSpelling = true)]
+ internal extern static void CompressedTexImage3D(int target, Int32 level, int internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glCompressedTexImage2D", ExactSpelling = true)]
+ internal extern static void CompressedTexImage2D(int target, Int32 level, int internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glCompressedTexImage1D", ExactSpelling = true)]
+ internal extern static void CompressedTexImage1D(int target, Int32 level, int internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glCompressedTexSubImage3D", ExactSpelling = true)]
+ internal extern static void CompressedTexSubImage3D(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, int format, Int32 imageSize, IntPtr data);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glCompressedTexSubImage2D", ExactSpelling = true)]
+ internal extern static void CompressedTexSubImage2D(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, int format, Int32 imageSize, IntPtr data);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glCompressedTexSubImage1D", ExactSpelling = true)]
+ internal extern static void CompressedTexSubImage1D(int target, Int32 level, Int32 xoffset, Int32 width, int format, Int32 imageSize, IntPtr data);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetCompressedTexImage", ExactSpelling = true)]
+ internal extern static void GetCompressedTexImage(int target, Int32 level, [Out] IntPtr img);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glBlendFuncSeparate", ExactSpelling = true)]
+ internal extern static void BlendFuncSeparate(int sfactorRGB, int dfactorRGB, int sfactorAlpha, int dfactorAlpha);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glFogCoordf", ExactSpelling = true)]
+ internal extern static void FogCoordf(Single coord);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glFogCoordfv", ExactSpelling = true)]
+ internal extern static unsafe void FogCoordfv(Single* coord);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glFogCoordd", ExactSpelling = true)]
+ internal extern static void FogCoordd(Double coord);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glFogCoorddv", ExactSpelling = true)]
+ internal extern static unsafe void FogCoorddv(Double* coord);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glFogCoordPointer", ExactSpelling = true)]
+ internal extern static void FogCoordPointer(int type, Int32 stride, IntPtr pointer);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiDrawArrays", ExactSpelling = true)]
+ internal extern static unsafe void MultiDrawArrays(int mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMultiDrawElements", ExactSpelling = true)]
+ internal extern static unsafe void MultiDrawElements(int mode, Int32* count, int type, IntPtr indices, Int32 primcount);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glPointParameterf", ExactSpelling = true)]
+ internal extern static void PointParameterf(int pname, Single param);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glPointParameterfv", ExactSpelling = true)]
+ internal extern static unsafe void PointParameterfv(int pname, Single* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glPointParameteri", ExactSpelling = true)]
+ internal extern static void PointParameteri(int pname, Int32 param);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glPointParameteriv", ExactSpelling = true)]
+ internal extern static unsafe void PointParameteriv(int pname, Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glSecondaryColor3b", ExactSpelling = true)]
+ internal extern static void SecondaryColor3b(SByte red, SByte green, SByte blue);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glSecondaryColor3bv", ExactSpelling = true)]
+ internal extern static unsafe void SecondaryColor3bv(SByte* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glSecondaryColor3d", ExactSpelling = true)]
+ internal extern static void SecondaryColor3d(Double red, Double green, Double blue);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glSecondaryColor3dv", ExactSpelling = true)]
+ internal extern static unsafe void SecondaryColor3dv(Double* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glSecondaryColor3f", ExactSpelling = true)]
+ internal extern static void SecondaryColor3f(Single red, Single green, Single blue);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glSecondaryColor3fv", ExactSpelling = true)]
+ internal extern static unsafe void SecondaryColor3fv(Single* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glSecondaryColor3i", ExactSpelling = true)]
+ internal extern static void SecondaryColor3i(Int32 red, Int32 green, Int32 blue);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glSecondaryColor3iv", ExactSpelling = true)]
+ internal extern static unsafe void SecondaryColor3iv(Int32* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glSecondaryColor3s", ExactSpelling = true)]
+ internal extern static void SecondaryColor3s(Int16 red, Int16 green, Int16 blue);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glSecondaryColor3sv", ExactSpelling = true)]
+ internal extern static unsafe void SecondaryColor3sv(Int16* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glSecondaryColor3ub", ExactSpelling = true)]
+ internal extern static void SecondaryColor3ub(Byte red, Byte green, Byte blue);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glSecondaryColor3ubv", ExactSpelling = true)]
+ internal extern static unsafe void SecondaryColor3ubv(Byte* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glSecondaryColor3ui", ExactSpelling = true)]
+ internal extern static void SecondaryColor3ui(UInt32 red, UInt32 green, UInt32 blue);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glSecondaryColor3uiv", ExactSpelling = true)]
+ internal extern static unsafe void SecondaryColor3uiv(UInt32* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glSecondaryColor3us", ExactSpelling = true)]
+ internal extern static void SecondaryColor3us(UInt16 red, UInt16 green, UInt16 blue);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glSecondaryColor3usv", ExactSpelling = true)]
+ internal extern static unsafe void SecondaryColor3usv(UInt16* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glSecondaryColorPointer", ExactSpelling = true)]
+ internal extern static void SecondaryColorPointer(Int32 size, int type, Int32 stride, IntPtr pointer);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glWindowPos2d", ExactSpelling = true)]
+ internal extern static void WindowPos2d(Double x, Double y);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glWindowPos2dv", ExactSpelling = true)]
+ internal extern static unsafe void WindowPos2dv(Double* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glWindowPos2f", ExactSpelling = true)]
+ internal extern static void WindowPos2f(Single x, Single y);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glWindowPos2fv", ExactSpelling = true)]
+ internal extern static unsafe void WindowPos2fv(Single* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glWindowPos2i", ExactSpelling = true)]
+ internal extern static void WindowPos2i(Int32 x, Int32 y);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glWindowPos2iv", ExactSpelling = true)]
+ internal extern static unsafe void WindowPos2iv(Int32* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glWindowPos2s", ExactSpelling = true)]
+ internal extern static void WindowPos2s(Int16 x, Int16 y);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glWindowPos2sv", ExactSpelling = true)]
+ internal extern static unsafe void WindowPos2sv(Int16* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glWindowPos3d", ExactSpelling = true)]
+ internal extern static void WindowPos3d(Double x, Double y, Double z);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glWindowPos3dv", ExactSpelling = true)]
+ internal extern static unsafe void WindowPos3dv(Double* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glWindowPos3f", ExactSpelling = true)]
+ internal extern static void WindowPos3f(Single x, Single y, Single z);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glWindowPos3fv", ExactSpelling = true)]
+ internal extern static unsafe void WindowPos3fv(Single* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glWindowPos3i", ExactSpelling = true)]
+ internal extern static void WindowPos3i(Int32 x, Int32 y, Int32 z);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glWindowPos3iv", ExactSpelling = true)]
+ internal extern static unsafe void WindowPos3iv(Int32* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glWindowPos3s", ExactSpelling = true)]
+ internal extern static void WindowPos3s(Int16 x, Int16 y, Int16 z);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glWindowPos3sv", ExactSpelling = true)]
+ internal extern static unsafe void WindowPos3sv(Int16* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGenQueries", ExactSpelling = true)]
+ internal extern static unsafe void GenQueries(Int32 n, [Out] UInt32* ids);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glDeleteQueries", ExactSpelling = true)]
+ internal extern static unsafe void DeleteQueries(Int32 n, UInt32* ids);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glIsQuery", ExactSpelling = true)]
+ internal extern static Int32 IsQuery(UInt32 id);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glBeginQuery", ExactSpelling = true)]
+ internal extern static void BeginQuery(int target, UInt32 id);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glEndQuery", ExactSpelling = true)]
+ internal extern static void EndQuery(int target);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetQueryiv", ExactSpelling = true)]
+ internal extern static unsafe void GetQueryiv(int target, int pname, [Out] Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetQueryObjectiv", ExactSpelling = true)]
+ internal extern static unsafe void GetQueryObjectiv(UInt32 id, int pname, [Out] Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetQueryObjectuiv", ExactSpelling = true)]
+ internal extern static unsafe void GetQueryObjectuiv(UInt32 id, int pname, [Out] UInt32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glBindBuffer", ExactSpelling = true)]
+ internal extern static void BindBuffer(int target, UInt32 buffer);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glDeleteBuffers", ExactSpelling = true)]
+ internal extern static unsafe void DeleteBuffers(Int32 n, UInt32* buffers);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGenBuffers", ExactSpelling = true)]
+ internal extern static unsafe void GenBuffers(Int32 n, [Out] UInt32* buffers);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glIsBuffer", ExactSpelling = true)]
+ internal extern static Int32 IsBuffer(UInt32 buffer);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glBufferData", ExactSpelling = true)]
+ internal extern static void BufferData(int target, IntPtr size, IntPtr data, int usage);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glBufferSubData", ExactSpelling = true)]
+ internal extern static void BufferSubData(int target, IntPtr offset, IntPtr size, IntPtr data);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetBufferSubData", ExactSpelling = true)]
+ internal extern static void GetBufferSubData(int target, IntPtr offset, IntPtr size, [Out] IntPtr data);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glMapBuffer", ExactSpelling = true)]
+ internal extern static unsafe IntPtr MapBuffer(int target, int access);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glUnmapBuffer", ExactSpelling = true)]
+ internal extern static Int32 UnmapBuffer(int target);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetBufferParameteriv", ExactSpelling = true)]
+ internal extern static unsafe void GetBufferParameteriv(int target, int pname, [Out] Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetBufferPointerv", ExactSpelling = true)]
+ internal extern static void GetBufferPointerv(int target, int pname, [Out] IntPtr @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glBlendEquationSeparate", ExactSpelling = true)]
+ internal extern static void BlendEquationSeparate(int modeRGB, int modeAlpha);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glDrawBuffers", ExactSpelling = true)]
+ internal extern static unsafe void DrawBuffers(Int32 n, int* bufs);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glStencilOpSeparate", ExactSpelling = true)]
+ internal extern static void StencilOpSeparate(int face, int sfail, int dpfail, int dppass);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glStencilFuncSeparate", ExactSpelling = true)]
+ internal extern static void StencilFuncSeparate(int frontfunc, int backfunc, Int32 @ref, UInt32 mask);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glStencilMaskSeparate", ExactSpelling = true)]
+ internal extern static void StencilMaskSeparate(int face, UInt32 mask);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glAttachShader", ExactSpelling = true)]
+ internal extern static void AttachShader(UInt32 program, UInt32 shader);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glBindAttribLocation", ExactSpelling = true)]
+ internal extern static void BindAttribLocation(UInt32 program, UInt32 index, System.String name);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glCompileShader", ExactSpelling = true)]
+ internal extern static void CompileShader(UInt32 shader);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glCreateProgram", ExactSpelling = true)]
+ internal extern static Int32 CreateProgram();
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glCreateShader", ExactSpelling = true)]
+ internal extern static Int32 CreateShader(int type);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glDeleteProgram", ExactSpelling = true)]
+ internal extern static void DeleteProgram(UInt32 program);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glDeleteShader", ExactSpelling = true)]
+ internal extern static void DeleteShader(UInt32 shader);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glDetachShader", ExactSpelling = true)]
+ internal extern static void DetachShader(UInt32 program, UInt32 shader);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glDisableVertexAttribArray", ExactSpelling = true)]
+ internal extern static void DisableVertexAttribArray(UInt32 index);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glEnableVertexAttribArray", ExactSpelling = true)]
+ internal extern static void EnableVertexAttribArray(UInt32 index);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetActiveAttrib", ExactSpelling = true)]
+ internal extern static unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] int* type, [Out] System.Text.StringBuilder name);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetActiveUniform", ExactSpelling = true)]
+ internal extern static unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] int* type, [Out] System.Text.StringBuilder name);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetAttachedShaders", ExactSpelling = true)]
+ internal extern static unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] Int32* count, [Out] UInt32* obj);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetAttribLocation", ExactSpelling = true)]
+ internal extern static Int32 GetAttribLocation(UInt32 program, System.String name);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetProgramiv", ExactSpelling = true)]
+ internal extern static unsafe void GetProgramiv(UInt32 program, int pname, [Out] Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetProgramInfoLog", ExactSpelling = true)]
+ internal extern static unsafe void GetProgramInfoLog(UInt32 program, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetShaderiv", ExactSpelling = true)]
+ internal extern static unsafe void GetShaderiv(UInt32 shader, int pname, [Out] Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetShaderInfoLog", ExactSpelling = true)]
+ internal extern static unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetShaderSource", ExactSpelling = true)]
+ internal extern static unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder[] source);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetUniformLocation", ExactSpelling = true)]
+ internal extern static Int32 GetUniformLocation(UInt32 program, System.String name);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetUniformfv", ExactSpelling = true)]
+ internal extern static unsafe void GetUniformfv(UInt32 program, Int32 location, [Out] Single* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetUniformiv", ExactSpelling = true)]
+ internal extern static unsafe void GetUniformiv(UInt32 program, Int32 location, [Out] Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetVertexAttribdv", ExactSpelling = true)]
+ internal extern static unsafe void GetVertexAttribdv(UInt32 index, int pname, [Out] Double* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetVertexAttribfv", ExactSpelling = true)]
+ internal extern static unsafe void GetVertexAttribfv(UInt32 index, int pname, [Out] Single* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetVertexAttribiv", ExactSpelling = true)]
+ internal extern static unsafe void GetVertexAttribiv(UInt32 index, int pname, [Out] Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glGetVertexAttribPointerv", ExactSpelling = true)]
+ internal extern static void GetVertexAttribPointerv(UInt32 index, int pname, [Out] IntPtr pointer);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glIsProgram", ExactSpelling = true)]
+ internal extern static Int32 IsProgram(UInt32 program);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glIsShader", ExactSpelling = true)]
+ internal extern static Int32 IsShader(UInt32 shader);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glLinkProgram", ExactSpelling = true)]
+ internal extern static void LinkProgram(UInt32 program);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glShaderSource", ExactSpelling = true)]
+ internal extern static unsafe void ShaderSource(UInt32 shader, Int32 count, System.String[] @string, Int32* length);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glUseProgram", ExactSpelling = true)]
+ internal extern static void UseProgram(UInt32 program);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glUniform1f", ExactSpelling = true)]
+ internal extern static void Uniform1f(Int32 location, Single v0);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glUniform2f", ExactSpelling = true)]
+ internal extern static void Uniform2f(Int32 location, Single v0, Single v1);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glUniform3f", ExactSpelling = true)]
+ internal extern static void Uniform3f(Int32 location, Single v0, Single v1, Single v2);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glUniform4f", ExactSpelling = true)]
+ internal extern static void Uniform4f(Int32 location, Single v0, Single v1, Single v2, Single v3);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glUniform1i", ExactSpelling = true)]
+ internal extern static void Uniform1i(Int32 location, Int32 v0);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glUniform2i", ExactSpelling = true)]
+ internal extern static void Uniform2i(Int32 location, Int32 v0, Int32 v1);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glUniform3i", ExactSpelling = true)]
+ internal extern static void Uniform3i(Int32 location, Int32 v0, Int32 v1, Int32 v2);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glUniform4i", ExactSpelling = true)]
+ internal extern static void Uniform4i(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glUniform1fv", ExactSpelling = true)]
+ internal extern static unsafe void Uniform1fv(Int32 location, Int32 count, Single* value);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glUniform2fv", ExactSpelling = true)]
+ internal extern static unsafe void Uniform2fv(Int32 location, Int32 count, Single* value);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glUniform3fv", ExactSpelling = true)]
+ internal extern static unsafe void Uniform3fv(Int32 location, Int32 count, Single* value);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glUniform4fv", ExactSpelling = true)]
+ internal extern static unsafe void Uniform4fv(Int32 location, Int32 count, Single* value);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glUniform1iv", ExactSpelling = true)]
+ internal extern static unsafe void Uniform1iv(Int32 location, Int32 count, Int32* value);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glUniform2iv", ExactSpelling = true)]
+ internal extern static unsafe void Uniform2iv(Int32 location, Int32 count, Int32* value);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glUniform3iv", ExactSpelling = true)]
+ internal extern static unsafe void Uniform3iv(Int32 location, Int32 count, Int32* value);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glUniform4iv", ExactSpelling = true)]
+ internal extern static unsafe void Uniform4iv(Int32 location, Int32 count, Int32* value);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glUniformMatrix2fv", ExactSpelling = true)]
+ internal extern static unsafe void UniformMatrix2fv(Int32 location, Int32 count, Int32 transpose, Single* value);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glUniformMatrix3fv", ExactSpelling = true)]
+ internal extern static unsafe void UniformMatrix3fv(Int32 location, Int32 count, Int32 transpose, Single* value);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glUniformMatrix4fv", ExactSpelling = true)]
+ internal extern static unsafe void UniformMatrix4fv(Int32 location, Int32 count, Int32 transpose, Single* value);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glValidateProgram", ExactSpelling = true)]
+ internal extern static void ValidateProgram(UInt32 program);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib1d", ExactSpelling = true)]
+ internal extern static void VertexAttrib1d(UInt32 index, Double x);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib1dv", ExactSpelling = true)]
+ internal extern static unsafe void VertexAttrib1dv(UInt32 index, Double* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib1f", ExactSpelling = true)]
+ internal extern static void VertexAttrib1f(UInt32 index, Single x);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib1fv", ExactSpelling = true)]
+ internal extern static unsafe void VertexAttrib1fv(UInt32 index, Single* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib1s", ExactSpelling = true)]
+ internal extern static void VertexAttrib1s(UInt32 index, Int16 x);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib1sv", ExactSpelling = true)]
+ internal extern static unsafe void VertexAttrib1sv(UInt32 index, Int16* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib2d", ExactSpelling = true)]
+ internal extern static void VertexAttrib2d(UInt32 index, Double x, Double y);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib2dv", ExactSpelling = true)]
+ internal extern static unsafe void VertexAttrib2dv(UInt32 index, Double* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib2f", ExactSpelling = true)]
+ internal extern static void VertexAttrib2f(UInt32 index, Single x, Single y);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib2fv", ExactSpelling = true)]
+ internal extern static unsafe void VertexAttrib2fv(UInt32 index, Single* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib2s", ExactSpelling = true)]
+ internal extern static void VertexAttrib2s(UInt32 index, Int16 x, Int16 y);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib2sv", ExactSpelling = true)]
+ internal extern static unsafe void VertexAttrib2sv(UInt32 index, Int16* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib3d", ExactSpelling = true)]
+ internal extern static void VertexAttrib3d(UInt32 index, Double x, Double y, Double z);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib3dv", ExactSpelling = true)]
+ internal extern static unsafe void VertexAttrib3dv(UInt32 index, Double* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib3f", ExactSpelling = true)]
+ internal extern static void VertexAttrib3f(UInt32 index, Single x, Single y, Single z);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib3fv", ExactSpelling = true)]
+ internal extern static unsafe void VertexAttrib3fv(UInt32 index, Single* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib3s", ExactSpelling = true)]
+ internal extern static void VertexAttrib3s(UInt32 index, Int16 x, Int16 y, Int16 z);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib3sv", ExactSpelling = true)]
+ internal extern static unsafe void VertexAttrib3sv(UInt32 index, Int16* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib4Nbv", ExactSpelling = true)]
+ internal extern static unsafe void VertexAttrib4Nbv(UInt32 index, SByte* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib4Niv", ExactSpelling = true)]
+ internal extern static unsafe void VertexAttrib4Niv(UInt32 index, Int32* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib4Nsv", ExactSpelling = true)]
+ internal extern static unsafe void VertexAttrib4Nsv(UInt32 index, Int16* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib4Nub", ExactSpelling = true)]
+ internal extern static void VertexAttrib4Nub(UInt32 index, Byte x, Byte y, Byte z, Byte w);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib4Nubv", ExactSpelling = true)]
+ internal extern static unsafe void VertexAttrib4Nubv(UInt32 index, Byte* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib4Nuiv", ExactSpelling = true)]
+ internal extern static unsafe void VertexAttrib4Nuiv(UInt32 index, UInt32* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib4Nusv", ExactSpelling = true)]
+ internal extern static unsafe void VertexAttrib4Nusv(UInt32 index, UInt16* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib4bv", ExactSpelling = true)]
+ internal extern static unsafe void VertexAttrib4bv(UInt32 index, SByte* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib4d", ExactSpelling = true)]
+ internal extern static void VertexAttrib4d(UInt32 index, Double x, Double y, Double z, Double w);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib4dv", ExactSpelling = true)]
+ internal extern static unsafe void VertexAttrib4dv(UInt32 index, Double* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib4f", ExactSpelling = true)]
+ internal extern static void VertexAttrib4f(UInt32 index, Single x, Single y, Single z, Single w);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib4fv", ExactSpelling = true)]
+ internal extern static unsafe void VertexAttrib4fv(UInt32 index, Single* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib4iv", ExactSpelling = true)]
+ internal extern static unsafe void VertexAttrib4iv(UInt32 index, Int32* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib4s", ExactSpelling = true)]
+ internal extern static void VertexAttrib4s(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib4sv", ExactSpelling = true)]
+ internal extern static unsafe void VertexAttrib4sv(UInt32 index, Int16* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib4ubv", ExactSpelling = true)]
+ internal extern static unsafe void VertexAttrib4ubv(UInt32 index, Byte* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib4uiv", ExactSpelling = true)]
+ internal extern static unsafe void VertexAttrib4uiv(UInt32 index, UInt32* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttrib4usv", ExactSpelling = true)]
+ internal extern static unsafe void VertexAttrib4usv(UInt32 index, UInt16* v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glVertexAttribPointer", ExactSpelling = true)]
+ internal extern static void VertexAttribPointer(UInt32 index, Int32 size, int type, Int32 normalized, Int32 stride, IntPtr pointer);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glUniformMatrix2x3fv", ExactSpelling = true)]
+ internal extern static unsafe void UniformMatrix2x3fv(Int32 location, Int32 count, Int32 transpose, Single* value);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glUniformMatrix3x2fv", ExactSpelling = true)]
+ internal extern static unsafe void UniformMatrix3x2fv(Int32 location, Int32 count, Int32 transpose, Single* value);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glUniformMatrix2x4fv", ExactSpelling = true)]
+ internal extern static unsafe void UniformMatrix2x4fv(Int32 location, Int32 count, Int32 transpose, Single* value);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glUniformMatrix4x2fv", ExactSpelling = true)]
+ internal extern static unsafe void UniformMatrix4x2fv(Int32 location, Int32 count, Int32 transpose, Single* value);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glUniformMatrix3x4fv", ExactSpelling = true)]
+ internal extern static unsafe void UniformMatrix3x4fv(Int32 location, Int32 count, Int32 transpose, Single* value);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(Gl.Library, EntryPoint = "glUniformMatrix4x3fv", ExactSpelling = true)]
+ internal extern static unsafe void UniformMatrix4x3fv(Int32 location, Int32 count, Int32 transpose, Single* value);
+ }
+ }
+}
diff --git a/Source/Compatibility/Tao/OpenGl/GLDelegates.cs b/Source/Compatibility/Tao/OpenGl/GLDelegates.cs
new file mode 100644
index 00000000..ebccd351
--- /dev/null
+++ b/Source/Compatibility/Tao/OpenGl/GLDelegates.cs
@@ -0,0 +1,4625 @@
+#region License
+//
+// The Open Toolkit Library License
+//
+// Copyright (c) 2006 - 2009 the Open Toolkit library.
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights to
+// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+// the Software, and to permit persons to whom the Software is furnished to do
+// so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in all
+// copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+// OTHER DEALINGS IN THE SOFTWARE.
+//
+#endregion
+
+namespace Tao.OpenGl
+{
+ using System;
+ using System.Runtime.InteropServices;
+ #pragma warning disable 0649
+
+ partial class Gl
+ {
+ internal static partial class Delegates
+ {
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void NewList(UInt32 list, int mode);
+ internal static NewList glNewList;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void EndList();
+ internal static EndList glEndList;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CallList(UInt32 list);
+ internal static CallList glCallList;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CallLists(Int32 n, int type, IntPtr lists);
+ internal static CallLists glCallLists;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DeleteLists(UInt32 list, Int32 range);
+ internal static DeleteLists glDeleteLists;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 GenLists(Int32 range);
+ internal static GenLists glGenLists;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ListBase(UInt32 @base);
+ internal static ListBase glListBase;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Begin(int mode);
+ internal static Begin glBegin;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte* bitmap);
+ internal unsafe static Bitmap glBitmap;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Color3b(SByte red, SByte green, SByte blue);
+ internal static Color3b glColor3b;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Color3bv(SByte* v);
+ internal unsafe static Color3bv glColor3bv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Color3d(Double red, Double green, Double blue);
+ internal static Color3d glColor3d;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Color3dv(Double* v);
+ internal unsafe static Color3dv glColor3dv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Color3f(Single red, Single green, Single blue);
+ internal static Color3f glColor3f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Color3fv(Single* v);
+ internal unsafe static Color3fv glColor3fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Color3i(Int32 red, Int32 green, Int32 blue);
+ internal static Color3i glColor3i;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Color3iv(Int32* v);
+ internal unsafe static Color3iv glColor3iv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Color3s(Int16 red, Int16 green, Int16 blue);
+ internal static Color3s glColor3s;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Color3sv(Int16* v);
+ internal unsafe static Color3sv glColor3sv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Color3ub(Byte red, Byte green, Byte blue);
+ internal static Color3ub glColor3ub;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Color3ubv(Byte* v);
+ internal unsafe static Color3ubv glColor3ubv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Color3ui(UInt32 red, UInt32 green, UInt32 blue);
+ internal static Color3ui glColor3ui;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Color3uiv(UInt32* v);
+ internal unsafe static Color3uiv glColor3uiv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Color3us(UInt16 red, UInt16 green, UInt16 blue);
+ internal static Color3us glColor3us;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Color3usv(UInt16* v);
+ internal unsafe static Color3usv glColor3usv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Color4b(SByte red, SByte green, SByte blue, SByte alpha);
+ internal static Color4b glColor4b;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Color4bv(SByte* v);
+ internal unsafe static Color4bv glColor4bv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Color4d(Double red, Double green, Double blue, Double alpha);
+ internal static Color4d glColor4d;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Color4dv(Double* v);
+ internal unsafe static Color4dv glColor4dv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Color4f(Single red, Single green, Single blue, Single alpha);
+ internal static Color4f glColor4f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Color4fv(Single* v);
+ internal unsafe static Color4fv glColor4fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Color4i(Int32 red, Int32 green, Int32 blue, Int32 alpha);
+ internal static Color4i glColor4i;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Color4iv(Int32* v);
+ internal unsafe static Color4iv glColor4iv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Color4s(Int16 red, Int16 green, Int16 blue, Int16 alpha);
+ internal static Color4s glColor4s;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Color4sv(Int16* v);
+ internal unsafe static Color4sv glColor4sv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Color4ub(Byte red, Byte green, Byte blue, Byte alpha);
+ internal static Color4ub glColor4ub;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Color4ubv(Byte* v);
+ internal unsafe static Color4ubv glColor4ubv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Color4ui(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha);
+ internal static Color4ui glColor4ui;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Color4uiv(UInt32* v);
+ internal unsafe static Color4uiv glColor4uiv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Color4us(UInt16 red, UInt16 green, UInt16 blue, UInt16 alpha);
+ internal static Color4us glColor4us;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Color4usv(UInt16* v);
+ internal unsafe static Color4usv glColor4usv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void EdgeFlag(Int32 flag);
+ internal static EdgeFlag glEdgeFlag;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void EdgeFlagv(Int32* flag);
+ internal unsafe static EdgeFlagv glEdgeFlagv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void End();
+ internal static End glEnd;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Indexd(Double c);
+ internal static Indexd glIndexd;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Indexdv(Double* c);
+ internal unsafe static Indexdv glIndexdv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Indexf(Single c);
+ internal static Indexf glIndexf;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Indexfv(Single* c);
+ internal unsafe static Indexfv glIndexfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Indexi(Int32 c);
+ internal static Indexi glIndexi;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Indexiv(Int32* c);
+ internal unsafe static Indexiv glIndexiv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Indexs(Int16 c);
+ internal static Indexs glIndexs;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Indexsv(Int16* c);
+ internal unsafe static Indexsv glIndexsv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Normal3b(SByte nx, SByte ny, SByte nz);
+ internal static Normal3b glNormal3b;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Normal3bv(SByte* v);
+ internal unsafe static Normal3bv glNormal3bv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Normal3d(Double nx, Double ny, Double nz);
+ internal static Normal3d glNormal3d;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Normal3dv(Double* v);
+ internal unsafe static Normal3dv glNormal3dv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Normal3f(Single nx, Single ny, Single nz);
+ internal static Normal3f glNormal3f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Normal3fv(Single* v);
+ internal unsafe static Normal3fv glNormal3fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Normal3i(Int32 nx, Int32 ny, Int32 nz);
+ internal static Normal3i glNormal3i;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Normal3iv(Int32* v);
+ internal unsafe static Normal3iv glNormal3iv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Normal3s(Int16 nx, Int16 ny, Int16 nz);
+ internal static Normal3s glNormal3s;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Normal3sv(Int16* v);
+ internal unsafe static Normal3sv glNormal3sv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void RasterPos2d(Double x, Double y);
+ internal static RasterPos2d glRasterPos2d;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void RasterPos2dv(Double* v);
+ internal unsafe static RasterPos2dv glRasterPos2dv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void RasterPos2f(Single x, Single y);
+ internal static RasterPos2f glRasterPos2f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void RasterPos2fv(Single* v);
+ internal unsafe static RasterPos2fv glRasterPos2fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void RasterPos2i(Int32 x, Int32 y);
+ internal static RasterPos2i glRasterPos2i;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void RasterPos2iv(Int32* v);
+ internal unsafe static RasterPos2iv glRasterPos2iv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void RasterPos2s(Int16 x, Int16 y);
+ internal static RasterPos2s glRasterPos2s;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void RasterPos2sv(Int16* v);
+ internal unsafe static RasterPos2sv glRasterPos2sv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void RasterPos3d(Double x, Double y, Double z);
+ internal static RasterPos3d glRasterPos3d;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void RasterPos3dv(Double* v);
+ internal unsafe static RasterPos3dv glRasterPos3dv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void RasterPos3f(Single x, Single y, Single z);
+ internal static RasterPos3f glRasterPos3f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void RasterPos3fv(Single* v);
+ internal unsafe static RasterPos3fv glRasterPos3fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void RasterPos3i(Int32 x, Int32 y, Int32 z);
+ internal static RasterPos3i glRasterPos3i;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void RasterPos3iv(Int32* v);
+ internal unsafe static RasterPos3iv glRasterPos3iv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void RasterPos3s(Int16 x, Int16 y, Int16 z);
+ internal static RasterPos3s glRasterPos3s;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void RasterPos3sv(Int16* v);
+ internal unsafe static RasterPos3sv glRasterPos3sv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void RasterPos4d(Double x, Double y, Double z, Double w);
+ internal static RasterPos4d glRasterPos4d;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void RasterPos4dv(Double* v);
+ internal unsafe static RasterPos4dv glRasterPos4dv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void RasterPos4f(Single x, Single y, Single z, Single w);
+ internal static RasterPos4f glRasterPos4f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void RasterPos4fv(Single* v);
+ internal unsafe static RasterPos4fv glRasterPos4fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void RasterPos4i(Int32 x, Int32 y, Int32 z, Int32 w);
+ internal static RasterPos4i glRasterPos4i;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void RasterPos4iv(Int32* v);
+ internal unsafe static RasterPos4iv glRasterPos4iv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void RasterPos4s(Int16 x, Int16 y, Int16 z, Int16 w);
+ internal static RasterPos4s glRasterPos4s;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void RasterPos4sv(Int16* v);
+ internal unsafe static RasterPos4sv glRasterPos4sv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Rectd(Double x1, Double y1, Double x2, Double y2);
+ internal static Rectd glRectd;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Rectdv(Double* v1, Double* v2);
+ internal unsafe static Rectdv glRectdv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Rectf(Single x1, Single y1, Single x2, Single y2);
+ internal static Rectf glRectf;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Rectfv(Single* v1, Single* v2);
+ internal unsafe static Rectfv glRectfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Recti(Int32 x1, Int32 y1, Int32 x2, Int32 y2);
+ internal static Recti glRecti;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Rectiv(Int32* v1, Int32* v2);
+ internal unsafe static Rectiv glRectiv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Rects(Int16 x1, Int16 y1, Int16 x2, Int16 y2);
+ internal static Rects glRects;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Rectsv(Int16* v1, Int16* v2);
+ internal unsafe static Rectsv glRectsv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord1d(Double s);
+ internal static TexCoord1d glTexCoord1d;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord1dv(Double* v);
+ internal unsafe static TexCoord1dv glTexCoord1dv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord1f(Single s);
+ internal static TexCoord1f glTexCoord1f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord1fv(Single* v);
+ internal unsafe static TexCoord1fv glTexCoord1fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord1i(Int32 s);
+ internal static TexCoord1i glTexCoord1i;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord1iv(Int32* v);
+ internal unsafe static TexCoord1iv glTexCoord1iv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord1s(Int16 s);
+ internal static TexCoord1s glTexCoord1s;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord1sv(Int16* v);
+ internal unsafe static TexCoord1sv glTexCoord1sv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord2d(Double s, Double t);
+ internal static TexCoord2d glTexCoord2d;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord2dv(Double* v);
+ internal unsafe static TexCoord2dv glTexCoord2dv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord2f(Single s, Single t);
+ internal static TexCoord2f glTexCoord2f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord2fv(Single* v);
+ internal unsafe static TexCoord2fv glTexCoord2fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord2i(Int32 s, Int32 t);
+ internal static TexCoord2i glTexCoord2i;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord2iv(Int32* v);
+ internal unsafe static TexCoord2iv glTexCoord2iv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord2s(Int16 s, Int16 t);
+ internal static TexCoord2s glTexCoord2s;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord2sv(Int16* v);
+ internal unsafe static TexCoord2sv glTexCoord2sv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord3d(Double s, Double t, Double r);
+ internal static TexCoord3d glTexCoord3d;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord3dv(Double* v);
+ internal unsafe static TexCoord3dv glTexCoord3dv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord3f(Single s, Single t, Single r);
+ internal static TexCoord3f glTexCoord3f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord3fv(Single* v);
+ internal unsafe static TexCoord3fv glTexCoord3fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord3i(Int32 s, Int32 t, Int32 r);
+ internal static TexCoord3i glTexCoord3i;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord3iv(Int32* v);
+ internal unsafe static TexCoord3iv glTexCoord3iv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord3s(Int16 s, Int16 t, Int16 r);
+ internal static TexCoord3s glTexCoord3s;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord3sv(Int16* v);
+ internal unsafe static TexCoord3sv glTexCoord3sv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord4d(Double s, Double t, Double r, Double q);
+ internal static TexCoord4d glTexCoord4d;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord4dv(Double* v);
+ internal unsafe static TexCoord4dv glTexCoord4dv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord4f(Single s, Single t, Single r, Single q);
+ internal static TexCoord4f glTexCoord4f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord4fv(Single* v);
+ internal unsafe static TexCoord4fv glTexCoord4fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord4i(Int32 s, Int32 t, Int32 r, Int32 q);
+ internal static TexCoord4i glTexCoord4i;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord4iv(Int32* v);
+ internal unsafe static TexCoord4iv glTexCoord4iv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord4s(Int16 s, Int16 t, Int16 r, Int16 q);
+ internal static TexCoord4s glTexCoord4s;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord4sv(Int16* v);
+ internal unsafe static TexCoord4sv glTexCoord4sv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Vertex2d(Double x, Double y);
+ internal static Vertex2d glVertex2d;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Vertex2dv(Double* v);
+ internal unsafe static Vertex2dv glVertex2dv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Vertex2f(Single x, Single y);
+ internal static Vertex2f glVertex2f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Vertex2fv(Single* v);
+ internal unsafe static Vertex2fv glVertex2fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Vertex2i(Int32 x, Int32 y);
+ internal static Vertex2i glVertex2i;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Vertex2iv(Int32* v);
+ internal unsafe static Vertex2iv glVertex2iv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Vertex2s(Int16 x, Int16 y);
+ internal static Vertex2s glVertex2s;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Vertex2sv(Int16* v);
+ internal unsafe static Vertex2sv glVertex2sv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Vertex3d(Double x, Double y, Double z);
+ internal static Vertex3d glVertex3d;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Vertex3dv(Double* v);
+ internal unsafe static Vertex3dv glVertex3dv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Vertex3f(Single x, Single y, Single z);
+ internal static Vertex3f glVertex3f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Vertex3fv(Single* v);
+ internal unsafe static Vertex3fv glVertex3fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Vertex3i(Int32 x, Int32 y, Int32 z);
+ internal static Vertex3i glVertex3i;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Vertex3iv(Int32* v);
+ internal unsafe static Vertex3iv glVertex3iv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Vertex3s(Int16 x, Int16 y, Int16 z);
+ internal static Vertex3s glVertex3s;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Vertex3sv(Int16* v);
+ internal unsafe static Vertex3sv glVertex3sv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Vertex4d(Double x, Double y, Double z, Double w);
+ internal static Vertex4d glVertex4d;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Vertex4dv(Double* v);
+ internal unsafe static Vertex4dv glVertex4dv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Vertex4f(Single x, Single y, Single z, Single w);
+ internal static Vertex4f glVertex4f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Vertex4fv(Single* v);
+ internal unsafe static Vertex4fv glVertex4fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Vertex4i(Int32 x, Int32 y, Int32 z, Int32 w);
+ internal static Vertex4i glVertex4i;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Vertex4iv(Int32* v);
+ internal unsafe static Vertex4iv glVertex4iv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Vertex4s(Int16 x, Int16 y, Int16 z, Int16 w);
+ internal static Vertex4s glVertex4s;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Vertex4sv(Int16* v);
+ internal unsafe static Vertex4sv glVertex4sv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ClipPlane(int plane, Double* equation);
+ internal unsafe static ClipPlane glClipPlane;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ColorMaterial(int face, int mode);
+ internal static ColorMaterial glColorMaterial;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CullFace(int mode);
+ internal static CullFace glCullFace;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Fogf(int pname, Single param);
+ internal static Fogf glFogf;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Fogfv(int pname, Single* @params);
+ internal unsafe static Fogfv glFogfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Fogi(int pname, Int32 param);
+ internal static Fogi glFogi;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Fogiv(int pname, Int32* @params);
+ internal unsafe static Fogiv glFogiv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FrontFace(int mode);
+ internal static FrontFace glFrontFace;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Hint(int target, int mode);
+ internal static Hint glHint;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Lightf(int light, int pname, Single param);
+ internal static Lightf glLightf;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Lightfv(int light, int pname, Single* @params);
+ internal unsafe static Lightfv glLightfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Lighti(int light, int pname, Int32 param);
+ internal static Lighti glLighti;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Lightiv(int light, int pname, Int32* @params);
+ internal unsafe static Lightiv glLightiv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void LightModelf(int pname, Single param);
+ internal static LightModelf glLightModelf;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void LightModelfv(int pname, Single* @params);
+ internal unsafe static LightModelfv glLightModelfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void LightModeli(int pname, Int32 param);
+ internal static LightModeli glLightModeli;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void LightModeliv(int pname, Int32* @params);
+ internal unsafe static LightModeliv glLightModeliv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void LineStipple(Int32 factor, UInt16 pattern);
+ internal static LineStipple glLineStipple;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void LineWidth(Single width);
+ internal static LineWidth glLineWidth;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Materialf(int face, int pname, Single param);
+ internal static Materialf glMaterialf;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Materialfv(int face, int pname, Single* @params);
+ internal unsafe static Materialfv glMaterialfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Materiali(int face, int pname, Int32 param);
+ internal static Materiali glMateriali;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Materialiv(int face, int pname, Int32* @params);
+ internal unsafe static Materialiv glMaterialiv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PointSize(Single size);
+ internal static PointSize glPointSize;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PolygonMode(int face, int mode);
+ internal static PolygonMode glPolygonMode;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void PolygonStipple(Byte* mask);
+ internal unsafe static PolygonStipple glPolygonStipple;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Scissor(Int32 x, Int32 y, Int32 width, Int32 height);
+ internal static Scissor glScissor;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ShadeModel(int mode);
+ internal static ShadeModel glShadeModel;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexParameterf(int target, int pname, Single param);
+ internal static TexParameterf glTexParameterf;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexParameterfv(int target, int pname, Single* @params);
+ internal unsafe static TexParameterfv glTexParameterfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexParameteri(int target, int pname, Int32 param);
+ internal static TexParameteri glTexParameteri;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexParameteriv(int target, int pname, Int32* @params);
+ internal unsafe static TexParameteriv glTexParameteriv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexImage1D(int target, Int32 level, int internalformat, Int32 width, Int32 border, int format, int type, IntPtr pixels);
+ internal static TexImage1D glTexImage1D;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexImage2D(int target, Int32 level, int internalformat, Int32 width, Int32 height, Int32 border, int format, int type, IntPtr pixels);
+ internal static TexImage2D glTexImage2D;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexEnvf(int target, int pname, Single param);
+ internal static TexEnvf glTexEnvf;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexEnvfv(int target, int pname, Single* @params);
+ internal unsafe static TexEnvfv glTexEnvfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexEnvi(int target, int pname, Int32 param);
+ internal static TexEnvi glTexEnvi;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexEnviv(int target, int pname, Int32* @params);
+ internal unsafe static TexEnviv glTexEnviv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexGend(int coord, int pname, Double param);
+ internal static TexGend glTexGend;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexGendv(int coord, int pname, Double* @params);
+ internal unsafe static TexGendv glTexGendv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexGenf(int coord, int pname, Single param);
+ internal static TexGenf glTexGenf;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexGenfv(int coord, int pname, Single* @params);
+ internal unsafe static TexGenfv glTexGenfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexGeni(int coord, int pname, Int32 param);
+ internal static TexGeni glTexGeni;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexGeniv(int coord, int pname, Int32* @params);
+ internal unsafe static TexGeniv glTexGeniv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void FeedbackBuffer(Int32 size, int type, [Out] Single* buffer);
+ internal unsafe static FeedbackBuffer glFeedbackBuffer;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void SelectBuffer(Int32 size, [Out] UInt32* buffer);
+ internal unsafe static SelectBuffer glSelectBuffer;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 RenderMode(int mode);
+ internal static RenderMode glRenderMode;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void InitNames();
+ internal static InitNames glInitNames;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void LoadName(UInt32 name);
+ internal static LoadName glLoadName;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PassThrough(Single token);
+ internal static PassThrough glPassThrough;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PopName();
+ internal static PopName glPopName;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PushName(UInt32 name);
+ internal static PushName glPushName;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DrawBuffer(int mode);
+ internal static DrawBuffer glDrawBuffer;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Clear(int mask);
+ internal static Clear glClear;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ClearAccum(Single red, Single green, Single blue, Single alpha);
+ internal static ClearAccum glClearAccum;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ClearIndex(Single c);
+ internal static ClearIndex glClearIndex;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ClearColor(Single red, Single green, Single blue, Single alpha);
+ internal static ClearColor glClearColor;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ClearStencil(Int32 s);
+ internal static ClearStencil glClearStencil;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ClearDepth(Double depth);
+ internal static ClearDepth glClearDepth;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void StencilMask(UInt32 mask);
+ internal static StencilMask glStencilMask;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ColorMask(Int32 red, Int32 green, Int32 blue, Int32 alpha);
+ internal static ColorMask glColorMask;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DepthMask(Int32 flag);
+ internal static DepthMask glDepthMask;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void IndexMask(UInt32 mask);
+ internal static IndexMask glIndexMask;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Accum(int op, Single value);
+ internal static Accum glAccum;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Disable(int cap);
+ internal static Disable glDisable;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Enable(int cap);
+ internal static Enable glEnable;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Finish();
+ internal static Finish glFinish;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Flush();
+ internal static Flush glFlush;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PopAttrib();
+ internal static PopAttrib glPopAttrib;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PushAttrib(int mask);
+ internal static PushAttrib glPushAttrib;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Map1d(int target, Double u1, Double u2, Int32 stride, Int32 order, Double* points);
+ internal unsafe static Map1d glMap1d;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Map1f(int target, Single u1, Single u2, Int32 stride, Int32 order, Single* points);
+ internal unsafe static Map1f glMap1f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Map2d(int target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points);
+ internal unsafe static Map2d glMap2d;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Map2f(int target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points);
+ internal unsafe static Map2f glMap2f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MapGrid1d(Int32 un, Double u1, Double u2);
+ internal static MapGrid1d glMapGrid1d;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MapGrid1f(Int32 un, Single u1, Single u2);
+ internal static MapGrid1f glMapGrid1f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MapGrid2d(Int32 un, Double u1, Double u2, Int32 vn, Double v1, Double v2);
+ internal static MapGrid2d glMapGrid2d;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MapGrid2f(Int32 un, Single u1, Single u2, Int32 vn, Single v1, Single v2);
+ internal static MapGrid2f glMapGrid2f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void EvalCoord1d(Double u);
+ internal static EvalCoord1d glEvalCoord1d;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void EvalCoord1dv(Double* u);
+ internal unsafe static EvalCoord1dv glEvalCoord1dv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void EvalCoord1f(Single u);
+ internal static EvalCoord1f glEvalCoord1f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void EvalCoord1fv(Single* u);
+ internal unsafe static EvalCoord1fv glEvalCoord1fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void EvalCoord2d(Double u, Double v);
+ internal static EvalCoord2d glEvalCoord2d;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void EvalCoord2dv(Double* u);
+ internal unsafe static EvalCoord2dv glEvalCoord2dv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void EvalCoord2f(Single u, Single v);
+ internal static EvalCoord2f glEvalCoord2f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void EvalCoord2fv(Single* u);
+ internal unsafe static EvalCoord2fv glEvalCoord2fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void EvalMesh1(int mode, Int32 i1, Int32 i2);
+ internal static EvalMesh1 glEvalMesh1;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void EvalPoint1(Int32 i);
+ internal static EvalPoint1 glEvalPoint1;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void EvalMesh2(int mode, Int32 i1, Int32 i2, Int32 j1, Int32 j2);
+ internal static EvalMesh2 glEvalMesh2;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void EvalPoint2(Int32 i, Int32 j);
+ internal static EvalPoint2 glEvalPoint2;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void AlphaFunc(int func, Single @ref);
+ internal static AlphaFunc glAlphaFunc;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BlendFunc(int sfactor, int dfactor);
+ internal static BlendFunc glBlendFunc;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void LogicOp(int opcode);
+ internal static LogicOp glLogicOp;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void StencilFunc(int func, Int32 @ref, UInt32 mask);
+ internal static StencilFunc glStencilFunc;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void StencilOp(int fail, int zfail, int zpass);
+ internal static StencilOp glStencilOp;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DepthFunc(int func);
+ internal static DepthFunc glDepthFunc;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PixelZoom(Single xfactor, Single yfactor);
+ internal static PixelZoom glPixelZoom;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PixelTransferf(int pname, Single param);
+ internal static PixelTransferf glPixelTransferf;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PixelTransferi(int pname, Int32 param);
+ internal static PixelTransferi glPixelTransferi;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PixelStoref(int pname, Single param);
+ internal static PixelStoref glPixelStoref;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PixelStorei(int pname, Int32 param);
+ internal static PixelStorei glPixelStorei;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void PixelMapfv(int map, Int32 mapsize, Single* values);
+ internal unsafe static PixelMapfv glPixelMapfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void PixelMapuiv(int map, Int32 mapsize, UInt32* values);
+ internal unsafe static PixelMapuiv glPixelMapuiv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void PixelMapusv(int map, Int32 mapsize, UInt16* values);
+ internal unsafe static PixelMapusv glPixelMapusv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ReadBuffer(int mode);
+ internal static ReadBuffer glReadBuffer;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CopyPixels(Int32 x, Int32 y, Int32 width, Int32 height, int type);
+ internal static CopyPixels glCopyPixels;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, int format, int type, [Out] IntPtr pixels);
+ internal static ReadPixels glReadPixels;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DrawPixels(Int32 width, Int32 height, int format, int type, IntPtr pixels);
+ internal static DrawPixels glDrawPixels;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetBooleanv(int pname, [Out] Int32* @params);
+ internal unsafe static GetBooleanv glGetBooleanv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetClipPlane(int plane, [Out] Double* equation);
+ internal unsafe static GetClipPlane glGetClipPlane;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetDoublev(int pname, [Out] Double* @params);
+ internal unsafe static GetDoublev glGetDoublev;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate int GetError();
+ internal static GetError glGetError;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetFloatv(int pname, [Out] Single* @params);
+ internal unsafe static GetFloatv glGetFloatv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetIntegerv(int pname, [Out] Int32* @params);
+ internal unsafe static GetIntegerv glGetIntegerv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetLightfv(int light, int pname, [Out] Single* @params);
+ internal unsafe static GetLightfv glGetLightfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetLightiv(int light, int pname, [Out] Int32* @params);
+ internal unsafe static GetLightiv glGetLightiv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetMapdv(int target, int query, [Out] Double* v);
+ internal unsafe static GetMapdv glGetMapdv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetMapfv(int target, int query, [Out] Single* v);
+ internal unsafe static GetMapfv glGetMapfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetMapiv(int target, int query, [Out] Int32* v);
+ internal unsafe static GetMapiv glGetMapiv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetMaterialfv(int face, int pname, [Out] Single* @params);
+ internal unsafe static GetMaterialfv glGetMaterialfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetMaterialiv(int face, int pname, [Out] Int32* @params);
+ internal unsafe static GetMaterialiv glGetMaterialiv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetPixelMapfv(int map, [Out] Single* values);
+ internal unsafe static GetPixelMapfv glGetPixelMapfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetPixelMapuiv(int map, [Out] UInt32* values);
+ internal unsafe static GetPixelMapuiv glGetPixelMapuiv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetPixelMapusv(int map, [Out] UInt16* values);
+ internal unsafe static GetPixelMapusv glGetPixelMapusv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetPolygonStipple([Out] Byte* mask);
+ internal unsafe static GetPolygonStipple glGetPolygonStipple;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate IntPtr GetString(int name);
+ internal static GetString glGetString;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetTexEnvfv(int target, int pname, [Out] Single* @params);
+ internal unsafe static GetTexEnvfv glGetTexEnvfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetTexEnviv(int target, int pname, [Out] Int32* @params);
+ internal unsafe static GetTexEnviv glGetTexEnviv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetTexGendv(int coord, int pname, [Out] Double* @params);
+ internal unsafe static GetTexGendv glGetTexGendv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetTexGenfv(int coord, int pname, [Out] Single* @params);
+ internal unsafe static GetTexGenfv glGetTexGenfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetTexGeniv(int coord, int pname, [Out] Int32* @params);
+ internal unsafe static GetTexGeniv glGetTexGeniv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GetTexImage(int target, Int32 level, int format, int type, [Out] IntPtr pixels);
+ internal static GetTexImage glGetTexImage;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetTexParameterfv(int target, int pname, [Out] Single* @params);
+ internal unsafe static GetTexParameterfv glGetTexParameterfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetTexParameteriv(int target, int pname, [Out] Int32* @params);
+ internal unsafe static GetTexParameteriv glGetTexParameteriv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetTexLevelParameterfv(int target, Int32 level, int pname, [Out] Single* @params);
+ internal unsafe static GetTexLevelParameterfv glGetTexLevelParameterfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetTexLevelParameteriv(int target, Int32 level, int pname, [Out] Int32* @params);
+ internal unsafe static GetTexLevelParameteriv glGetTexLevelParameteriv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 IsEnabled(int cap);
+ internal static IsEnabled glIsEnabled;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 IsList(UInt32 list);
+ internal static IsList glIsList;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DepthRange(Double near, Double far);
+ internal static DepthRange glDepthRange;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Frustum(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar);
+ internal static Frustum glFrustum;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void LoadIdentity();
+ internal static LoadIdentity glLoadIdentity;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void LoadMatrixf(Single* m);
+ internal unsafe static LoadMatrixf glLoadMatrixf;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void LoadMatrixd(Double* m);
+ internal unsafe static LoadMatrixd glLoadMatrixd;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MatrixMode(int mode);
+ internal static MatrixMode glMatrixMode;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultMatrixf(Single* m);
+ internal unsafe static MultMatrixf glMultMatrixf;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultMatrixd(Double* m);
+ internal unsafe static MultMatrixd glMultMatrixd;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Ortho(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar);
+ internal static Ortho glOrtho;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PopMatrix();
+ internal static PopMatrix glPopMatrix;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PushMatrix();
+ internal static PushMatrix glPushMatrix;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Rotated(Double angle, Double x, Double y, Double z);
+ internal static Rotated glRotated;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Rotatef(Single angle, Single x, Single y, Single z);
+ internal static Rotatef glRotatef;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Scaled(Double x, Double y, Double z);
+ internal static Scaled glScaled;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Scalef(Single x, Single y, Single z);
+ internal static Scalef glScalef;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Translated(Double x, Double y, Double z);
+ internal static Translated glTranslated;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Translatef(Single x, Single y, Single z);
+ internal static Translatef glTranslatef;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Viewport(Int32 x, Int32 y, Int32 width, Int32 height);
+ internal static Viewport glViewport;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ArrayElement(Int32 i);
+ internal static ArrayElement glArrayElement;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ColorPointer(Int32 size, int type, Int32 stride, IntPtr pointer);
+ internal static ColorPointer glColorPointer;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DisableClientState(int array);
+ internal static DisableClientState glDisableClientState;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DrawArrays(int mode, Int32 first, Int32 count);
+ internal static DrawArrays glDrawArrays;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DrawElements(int mode, Int32 count, int type, IntPtr indices);
+ internal static DrawElements glDrawElements;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void EdgeFlagPointer(Int32 stride, IntPtr pointer);
+ internal static EdgeFlagPointer glEdgeFlagPointer;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void EnableClientState(int array);
+ internal static EnableClientState glEnableClientState;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GetPointerv(int pname, [Out] IntPtr @params);
+ internal static GetPointerv glGetPointerv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void IndexPointer(int type, Int32 stride, IntPtr pointer);
+ internal static IndexPointer glIndexPointer;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void InterleavedArrays(int format, Int32 stride, IntPtr pointer);
+ internal static InterleavedArrays glInterleavedArrays;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void NormalPointer(int type, Int32 stride, IntPtr pointer);
+ internal static NormalPointer glNormalPointer;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoordPointer(Int32 size, int type, Int32 stride, IntPtr pointer);
+ internal static TexCoordPointer glTexCoordPointer;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexPointer(Int32 size, int type, Int32 stride, IntPtr pointer);
+ internal static VertexPointer glVertexPointer;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PolygonOffset(Single factor, Single units);
+ internal static PolygonOffset glPolygonOffset;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CopyTexImage1D(int target, Int32 level, int internalformat, Int32 x, Int32 y, Int32 width, Int32 border);
+ internal static CopyTexImage1D glCopyTexImage1D;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CopyTexImage2D(int target, Int32 level, int internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border);
+ internal static CopyTexImage2D glCopyTexImage2D;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CopyTexSubImage1D(int target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width);
+ internal static CopyTexSubImage1D glCopyTexSubImage1D;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CopyTexSubImage2D(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height);
+ internal static CopyTexSubImage2D glCopyTexSubImage2D;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexSubImage1D(int target, Int32 level, Int32 xoffset, Int32 width, int format, int type, IntPtr pixels);
+ internal static TexSubImage1D glTexSubImage1D;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexSubImage2D(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, int format, int type, IntPtr pixels);
+ internal static TexSubImage2D glTexSubImage2D;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate Int32 AreTexturesResident(Int32 n, UInt32* textures, [Out] Int32* residences);
+ internal unsafe static AreTexturesResident glAreTexturesResident;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BindTexture(int target, UInt32 texture);
+ internal static BindTexture glBindTexture;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void DeleteTextures(Int32 n, UInt32* textures);
+ internal unsafe static DeleteTextures glDeleteTextures;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GenTextures(Int32 n, [Out] UInt32* textures);
+ internal unsafe static GenTextures glGenTextures;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 IsTexture(UInt32 texture);
+ internal static IsTexture glIsTexture;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void PrioritizeTextures(Int32 n, UInt32* textures, Single* priorities);
+ internal unsafe static PrioritizeTextures glPrioritizeTextures;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Indexub(Byte c);
+ internal static Indexub glIndexub;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Indexubv(Byte* c);
+ internal unsafe static Indexubv glIndexubv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PopClientAttrib();
+ internal static PopClientAttrib glPopClientAttrib;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PushClientAttrib(int mask);
+ internal static PushClientAttrib glPushClientAttrib;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BlendColor(Single red, Single green, Single blue, Single alpha);
+ internal static BlendColor glBlendColor;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BlendEquation(int mode);
+ internal static BlendEquation glBlendEquation;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DrawRangeElements(int mode, UInt32 start, UInt32 end, Int32 count, int type, IntPtr indices);
+ internal static DrawRangeElements glDrawRangeElements;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ColorTable(int target, int internalformat, Int32 width, int format, int type, IntPtr table);
+ internal static ColorTable glColorTable;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ColorTableParameterfv(int target, int pname, Single* @params);
+ internal unsafe static ColorTableParameterfv glColorTableParameterfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ColorTableParameteriv(int target, int pname, Int32* @params);
+ internal unsafe static ColorTableParameteriv glColorTableParameteriv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CopyColorTable(int target, int internalformat, Int32 x, Int32 y, Int32 width);
+ internal static CopyColorTable glCopyColorTable;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GetColorTable(int target, int format, int type, [Out] IntPtr table);
+ internal static GetColorTable glGetColorTable;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetColorTableParameterfv(int target, int pname, [Out] Single* @params);
+ internal unsafe static GetColorTableParameterfv glGetColorTableParameterfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetColorTableParameteriv(int target, int pname, [Out] Int32* @params);
+ internal unsafe static GetColorTableParameteriv glGetColorTableParameteriv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ColorSubTable(int target, Int32 start, Int32 count, int format, int type, IntPtr data);
+ internal static ColorSubTable glColorSubTable;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CopyColorSubTable(int target, Int32 start, Int32 x, Int32 y, Int32 width);
+ internal static CopyColorSubTable glCopyColorSubTable;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ConvolutionFilter1D(int target, int internalformat, Int32 width, int format, int type, IntPtr image);
+ internal static ConvolutionFilter1D glConvolutionFilter1D;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ConvolutionFilter2D(int target, int internalformat, Int32 width, Int32 height, int format, int type, IntPtr image);
+ internal static ConvolutionFilter2D glConvolutionFilter2D;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ConvolutionParameterf(int target, int pname, Single @params);
+ internal static ConvolutionParameterf glConvolutionParameterf;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ConvolutionParameterfv(int target, int pname, Single* @params);
+ internal unsafe static ConvolutionParameterfv glConvolutionParameterfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ConvolutionParameteri(int target, int pname, Int32 @params);
+ internal static ConvolutionParameteri glConvolutionParameteri;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ConvolutionParameteriv(int target, int pname, Int32* @params);
+ internal unsafe static ConvolutionParameteriv glConvolutionParameteriv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CopyConvolutionFilter1D(int target, int internalformat, Int32 x, Int32 y, Int32 width);
+ internal static CopyConvolutionFilter1D glCopyConvolutionFilter1D;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CopyConvolutionFilter2D(int target, int internalformat, Int32 x, Int32 y, Int32 width, Int32 height);
+ internal static CopyConvolutionFilter2D glCopyConvolutionFilter2D;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GetConvolutionFilter(int target, int format, int type, [Out] IntPtr image);
+ internal static GetConvolutionFilter glGetConvolutionFilter;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetConvolutionParameterfv(int target, int pname, [Out] Single* @params);
+ internal unsafe static GetConvolutionParameterfv glGetConvolutionParameterfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetConvolutionParameteriv(int target, int pname, [Out] Int32* @params);
+ internal unsafe static GetConvolutionParameteriv glGetConvolutionParameteriv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GetSeparableFilter(int target, int format, int type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span);
+ internal static GetSeparableFilter glGetSeparableFilter;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SeparableFilter2D(int target, int internalformat, Int32 width, Int32 height, int format, int type, IntPtr row, IntPtr column);
+ internal static SeparableFilter2D glSeparableFilter2D;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GetHistogram(int target, Int32 reset, int format, int type, [Out] IntPtr values);
+ internal static GetHistogram glGetHistogram;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetHistogramParameterfv(int target, int pname, [Out] Single* @params);
+ internal unsafe static GetHistogramParameterfv glGetHistogramParameterfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetHistogramParameteriv(int target, int pname, [Out] Int32* @params);
+ internal unsafe static GetHistogramParameteriv glGetHistogramParameteriv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GetMinmax(int target, Int32 reset, int format, int type, [Out] IntPtr values);
+ internal static GetMinmax glGetMinmax;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetMinmaxParameterfv(int target, int pname, [Out] Single* @params);
+ internal unsafe static GetMinmaxParameterfv glGetMinmaxParameterfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetMinmaxParameteriv(int target, int pname, [Out] Int32* @params);
+ internal unsafe static GetMinmaxParameteriv glGetMinmaxParameteriv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Histogram(int target, Int32 width, int internalformat, Int32 sink);
+ internal static Histogram glHistogram;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Minmax(int target, int internalformat, Int32 sink);
+ internal static Minmax glMinmax;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ResetHistogram(int target);
+ internal static ResetHistogram glResetHistogram;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ResetMinmax(int target);
+ internal static ResetMinmax glResetMinmax;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexImage3D(int target, Int32 level, int internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, int format, int type, IntPtr pixels);
+ internal static TexImage3D glTexImage3D;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexSubImage3D(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, int format, int type, IntPtr pixels);
+ internal static TexSubImage3D glTexSubImage3D;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CopyTexSubImage3D(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height);
+ internal static CopyTexSubImage3D glCopyTexSubImage3D;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ActiveTexture(int texture);
+ internal static ActiveTexture glActiveTexture;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ClientActiveTexture(int texture);
+ internal static ClientActiveTexture glClientActiveTexture;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord1d(int target, Double s);
+ internal static MultiTexCoord1d glMultiTexCoord1d;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord1dv(int target, Double* v);
+ internal unsafe static MultiTexCoord1dv glMultiTexCoord1dv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord1f(int target, Single s);
+ internal static MultiTexCoord1f glMultiTexCoord1f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord1fv(int target, Single* v);
+ internal unsafe static MultiTexCoord1fv glMultiTexCoord1fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord1i(int target, Int32 s);
+ internal static MultiTexCoord1i glMultiTexCoord1i;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord1iv(int target, Int32* v);
+ internal unsafe static MultiTexCoord1iv glMultiTexCoord1iv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord1s(int target, Int16 s);
+ internal static MultiTexCoord1s glMultiTexCoord1s;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord1sv(int target, Int16* v);
+ internal unsafe static MultiTexCoord1sv glMultiTexCoord1sv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord2d(int target, Double s, Double t);
+ internal static MultiTexCoord2d glMultiTexCoord2d;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord2dv(int target, Double* v);
+ internal unsafe static MultiTexCoord2dv glMultiTexCoord2dv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord2f(int target, Single s, Single t);
+ internal static MultiTexCoord2f glMultiTexCoord2f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord2fv(int target, Single* v);
+ internal unsafe static MultiTexCoord2fv glMultiTexCoord2fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord2i(int target, Int32 s, Int32 t);
+ internal static MultiTexCoord2i glMultiTexCoord2i;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord2iv(int target, Int32* v);
+ internal unsafe static MultiTexCoord2iv glMultiTexCoord2iv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord2s(int target, Int16 s, Int16 t);
+ internal static MultiTexCoord2s glMultiTexCoord2s;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord2sv(int target, Int16* v);
+ internal unsafe static MultiTexCoord2sv glMultiTexCoord2sv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord3d(int target, Double s, Double t, Double r);
+ internal static MultiTexCoord3d glMultiTexCoord3d;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord3dv(int target, Double* v);
+ internal unsafe static MultiTexCoord3dv glMultiTexCoord3dv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord3f(int target, Single s, Single t, Single r);
+ internal static MultiTexCoord3f glMultiTexCoord3f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord3fv(int target, Single* v);
+ internal unsafe static MultiTexCoord3fv glMultiTexCoord3fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord3i(int target, Int32 s, Int32 t, Int32 r);
+ internal static MultiTexCoord3i glMultiTexCoord3i;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord3iv(int target, Int32* v);
+ internal unsafe static MultiTexCoord3iv glMultiTexCoord3iv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord3s(int target, Int16 s, Int16 t, Int16 r);
+ internal static MultiTexCoord3s glMultiTexCoord3s;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord3sv(int target, Int16* v);
+ internal unsafe static MultiTexCoord3sv glMultiTexCoord3sv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord4d(int target, Double s, Double t, Double r, Double q);
+ internal static MultiTexCoord4d glMultiTexCoord4d;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord4dv(int target, Double* v);
+ internal unsafe static MultiTexCoord4dv glMultiTexCoord4dv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord4f(int target, Single s, Single t, Single r, Single q);
+ internal static MultiTexCoord4f glMultiTexCoord4f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord4fv(int target, Single* v);
+ internal unsafe static MultiTexCoord4fv glMultiTexCoord4fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord4i(int target, Int32 s, Int32 t, Int32 r, Int32 q);
+ internal static MultiTexCoord4i glMultiTexCoord4i;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord4iv(int target, Int32* v);
+ internal unsafe static MultiTexCoord4iv glMultiTexCoord4iv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord4s(int target, Int16 s, Int16 t, Int16 r, Int16 q);
+ internal static MultiTexCoord4s glMultiTexCoord4s;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord4sv(int target, Int16* v);
+ internal unsafe static MultiTexCoord4sv glMultiTexCoord4sv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void LoadTransposeMatrixf(Single* m);
+ internal unsafe static LoadTransposeMatrixf glLoadTransposeMatrixf;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void LoadTransposeMatrixd(Double* m);
+ internal unsafe static LoadTransposeMatrixd glLoadTransposeMatrixd;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultTransposeMatrixf(Single* m);
+ internal unsafe static MultTransposeMatrixf glMultTransposeMatrixf;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultTransposeMatrixd(Double* m);
+ internal unsafe static MultTransposeMatrixd glMultTransposeMatrixd;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SampleCoverage(Single value, Int32 invert);
+ internal static SampleCoverage glSampleCoverage;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CompressedTexImage3D(int target, Int32 level, int internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data);
+ internal static CompressedTexImage3D glCompressedTexImage3D;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CompressedTexImage2D(int target, Int32 level, int internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data);
+ internal static CompressedTexImage2D glCompressedTexImage2D;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CompressedTexImage1D(int target, Int32 level, int internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data);
+ internal static CompressedTexImage1D glCompressedTexImage1D;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CompressedTexSubImage3D(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, int format, Int32 imageSize, IntPtr data);
+ internal static CompressedTexSubImage3D glCompressedTexSubImage3D;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CompressedTexSubImage2D(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, int format, Int32 imageSize, IntPtr data);
+ internal static CompressedTexSubImage2D glCompressedTexSubImage2D;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CompressedTexSubImage1D(int target, Int32 level, Int32 xoffset, Int32 width, int format, Int32 imageSize, IntPtr data);
+ internal static CompressedTexSubImage1D glCompressedTexSubImage1D;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GetCompressedTexImage(int target, Int32 level, [Out] IntPtr img);
+ internal static GetCompressedTexImage glGetCompressedTexImage;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BlendFuncSeparate(int sfactorRGB, int dfactorRGB, int sfactorAlpha, int dfactorAlpha);
+ internal static BlendFuncSeparate glBlendFuncSeparate;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FogCoordf(Single coord);
+ internal static FogCoordf glFogCoordf;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void FogCoordfv(Single* coord);
+ internal unsafe static FogCoordfv glFogCoordfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FogCoordd(Double coord);
+ internal static FogCoordd glFogCoordd;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void FogCoorddv(Double* coord);
+ internal unsafe static FogCoorddv glFogCoorddv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FogCoordPointer(int type, Int32 stride, IntPtr pointer);
+ internal static FogCoordPointer glFogCoordPointer;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiDrawArrays(int mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount);
+ internal unsafe static MultiDrawArrays glMultiDrawArrays;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiDrawElements(int mode, Int32* count, int type, IntPtr indices, Int32 primcount);
+ internal unsafe static MultiDrawElements glMultiDrawElements;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PointParameterf(int pname, Single param);
+ internal static PointParameterf glPointParameterf;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void PointParameterfv(int pname, Single* @params);
+ internal unsafe static PointParameterfv glPointParameterfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PointParameteri(int pname, Int32 param);
+ internal static PointParameteri glPointParameteri;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void PointParameteriv(int pname, Int32* @params);
+ internal unsafe static PointParameteriv glPointParameteriv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SecondaryColor3b(SByte red, SByte green, SByte blue);
+ internal static SecondaryColor3b glSecondaryColor3b;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void SecondaryColor3bv(SByte* v);
+ internal unsafe static SecondaryColor3bv glSecondaryColor3bv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SecondaryColor3d(Double red, Double green, Double blue);
+ internal static SecondaryColor3d glSecondaryColor3d;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void SecondaryColor3dv(Double* v);
+ internal unsafe static SecondaryColor3dv glSecondaryColor3dv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SecondaryColor3f(Single red, Single green, Single blue);
+ internal static SecondaryColor3f glSecondaryColor3f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void SecondaryColor3fv(Single* v);
+ internal unsafe static SecondaryColor3fv glSecondaryColor3fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SecondaryColor3i(Int32 red, Int32 green, Int32 blue);
+ internal static SecondaryColor3i glSecondaryColor3i;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void SecondaryColor3iv(Int32* v);
+ internal unsafe static SecondaryColor3iv glSecondaryColor3iv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SecondaryColor3s(Int16 red, Int16 green, Int16 blue);
+ internal static SecondaryColor3s glSecondaryColor3s;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void SecondaryColor3sv(Int16* v);
+ internal unsafe static SecondaryColor3sv glSecondaryColor3sv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SecondaryColor3ub(Byte red, Byte green, Byte blue);
+ internal static SecondaryColor3ub glSecondaryColor3ub;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void SecondaryColor3ubv(Byte* v);
+ internal unsafe static SecondaryColor3ubv glSecondaryColor3ubv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SecondaryColor3ui(UInt32 red, UInt32 green, UInt32 blue);
+ internal static SecondaryColor3ui glSecondaryColor3ui;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void SecondaryColor3uiv(UInt32* v);
+ internal unsafe static SecondaryColor3uiv glSecondaryColor3uiv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SecondaryColor3us(UInt16 red, UInt16 green, UInt16 blue);
+ internal static SecondaryColor3us glSecondaryColor3us;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void SecondaryColor3usv(UInt16* v);
+ internal unsafe static SecondaryColor3usv glSecondaryColor3usv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SecondaryColorPointer(Int32 size, int type, Int32 stride, IntPtr pointer);
+ internal static SecondaryColorPointer glSecondaryColorPointer;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WindowPos2d(Double x, Double y);
+ internal static WindowPos2d glWindowPos2d;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WindowPos2dv(Double* v);
+ internal unsafe static WindowPos2dv glWindowPos2dv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WindowPos2f(Single x, Single y);
+ internal static WindowPos2f glWindowPos2f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WindowPos2fv(Single* v);
+ internal unsafe static WindowPos2fv glWindowPos2fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WindowPos2i(Int32 x, Int32 y);
+ internal static WindowPos2i glWindowPos2i;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WindowPos2iv(Int32* v);
+ internal unsafe static WindowPos2iv glWindowPos2iv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WindowPos2s(Int16 x, Int16 y);
+ internal static WindowPos2s glWindowPos2s;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WindowPos2sv(Int16* v);
+ internal unsafe static WindowPos2sv glWindowPos2sv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WindowPos3d(Double x, Double y, Double z);
+ internal static WindowPos3d glWindowPos3d;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WindowPos3dv(Double* v);
+ internal unsafe static WindowPos3dv glWindowPos3dv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WindowPos3f(Single x, Single y, Single z);
+ internal static WindowPos3f glWindowPos3f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WindowPos3fv(Single* v);
+ internal unsafe static WindowPos3fv glWindowPos3fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WindowPos3i(Int32 x, Int32 y, Int32 z);
+ internal static WindowPos3i glWindowPos3i;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WindowPos3iv(Int32* v);
+ internal unsafe static WindowPos3iv glWindowPos3iv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WindowPos3s(Int16 x, Int16 y, Int16 z);
+ internal static WindowPos3s glWindowPos3s;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WindowPos3sv(Int16* v);
+ internal unsafe static WindowPos3sv glWindowPos3sv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GenQueries(Int32 n, [Out] UInt32* ids);
+ internal unsafe static GenQueries glGenQueries;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void DeleteQueries(Int32 n, UInt32* ids);
+ internal unsafe static DeleteQueries glDeleteQueries;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 IsQuery(UInt32 id);
+ internal static IsQuery glIsQuery;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BeginQuery(int target, UInt32 id);
+ internal static BeginQuery glBeginQuery;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void EndQuery(int target);
+ internal static EndQuery glEndQuery;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetQueryiv(int target, int pname, [Out] Int32* @params);
+ internal unsafe static GetQueryiv glGetQueryiv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetQueryObjectiv(UInt32 id, int pname, [Out] Int32* @params);
+ internal unsafe static GetQueryObjectiv glGetQueryObjectiv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetQueryObjectuiv(UInt32 id, int pname, [Out] UInt32* @params);
+ internal unsafe static GetQueryObjectuiv glGetQueryObjectuiv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BindBuffer(int target, UInt32 buffer);
+ internal static BindBuffer glBindBuffer;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void DeleteBuffers(Int32 n, UInt32* buffers);
+ internal unsafe static DeleteBuffers glDeleteBuffers;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GenBuffers(Int32 n, [Out] UInt32* buffers);
+ internal unsafe static GenBuffers glGenBuffers;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 IsBuffer(UInt32 buffer);
+ internal static IsBuffer glIsBuffer;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BufferData(int target, IntPtr size, IntPtr data, int usage);
+ internal static BufferData glBufferData;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BufferSubData(int target, IntPtr offset, IntPtr size, IntPtr data);
+ internal static BufferSubData glBufferSubData;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GetBufferSubData(int target, IntPtr offset, IntPtr size, [Out] IntPtr data);
+ internal static GetBufferSubData glGetBufferSubData;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate IntPtr MapBuffer(int target, int access);
+ internal unsafe static MapBuffer glMapBuffer;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 UnmapBuffer(int target);
+ internal static UnmapBuffer glUnmapBuffer;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetBufferParameteriv(int target, int pname, [Out] Int32* @params);
+ internal unsafe static GetBufferParameteriv glGetBufferParameteriv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GetBufferPointerv(int target, int pname, [Out] IntPtr @params);
+ internal static GetBufferPointerv glGetBufferPointerv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BlendEquationSeparate(int modeRGB, int modeAlpha);
+ internal static BlendEquationSeparate glBlendEquationSeparate;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void DrawBuffers(Int32 n, int* bufs);
+ internal unsafe static DrawBuffers glDrawBuffers;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void StencilOpSeparate(int face, int sfail, int dpfail, int dppass);
+ internal static StencilOpSeparate glStencilOpSeparate;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void StencilFuncSeparate(int frontfunc, int backfunc, Int32 @ref, UInt32 mask);
+ internal static StencilFuncSeparate glStencilFuncSeparate;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void StencilMaskSeparate(int face, UInt32 mask);
+ internal static StencilMaskSeparate glStencilMaskSeparate;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void AttachShader(UInt32 program, UInt32 shader);
+ internal static AttachShader glAttachShader;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BindAttribLocation(UInt32 program, UInt32 index, System.String name);
+ internal static BindAttribLocation glBindAttribLocation;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CompileShader(UInt32 shader);
+ internal static CompileShader glCompileShader;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 CreateProgram();
+ internal static CreateProgram glCreateProgram;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 CreateShader(int type);
+ internal static CreateShader glCreateShader;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DeleteProgram(UInt32 program);
+ internal static DeleteProgram glDeleteProgram;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DeleteShader(UInt32 shader);
+ internal static DeleteShader glDeleteShader;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DetachShader(UInt32 program, UInt32 shader);
+ internal static DetachShader glDetachShader;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DisableVertexAttribArray(UInt32 index);
+ internal static DisableVertexAttribArray glDisableVertexAttribArray;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void EnableVertexAttribArray(UInt32 index);
+ internal static EnableVertexAttribArray glEnableVertexAttribArray;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] int* type, [Out] System.Text.StringBuilder name);
+ internal unsafe static GetActiveAttrib glGetActiveAttrib;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] int* type, [Out] System.Text.StringBuilder name);
+ internal unsafe static GetActiveUniform glGetActiveUniform;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] Int32* count, [Out] UInt32* obj);
+ internal unsafe static GetAttachedShaders glGetAttachedShaders;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 GetAttribLocation(UInt32 program, System.String name);
+ internal static GetAttribLocation glGetAttribLocation;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetProgramiv(UInt32 program, int pname, [Out] Int32* @params);
+ internal unsafe static GetProgramiv glGetProgramiv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetProgramInfoLog(UInt32 program, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog);
+ internal unsafe static GetProgramInfoLog glGetProgramInfoLog;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetShaderiv(UInt32 shader, int pname, [Out] Int32* @params);
+ internal unsafe static GetShaderiv glGetShaderiv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog);
+ internal unsafe static GetShaderInfoLog glGetShaderInfoLog;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetShaderSource(UInt32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder[] source);
+ internal unsafe static GetShaderSource glGetShaderSource;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 GetUniformLocation(UInt32 program, System.String name);
+ internal static GetUniformLocation glGetUniformLocation;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetUniformfv(UInt32 program, Int32 location, [Out] Single* @params);
+ internal unsafe static GetUniformfv glGetUniformfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetUniformiv(UInt32 program, Int32 location, [Out] Int32* @params);
+ internal unsafe static GetUniformiv glGetUniformiv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetVertexAttribdv(UInt32 index, int pname, [Out] Double* @params);
+ internal unsafe static GetVertexAttribdv glGetVertexAttribdv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetVertexAttribfv(UInt32 index, int pname, [Out] Single* @params);
+ internal unsafe static GetVertexAttribfv glGetVertexAttribfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetVertexAttribiv(UInt32 index, int pname, [Out] Int32* @params);
+ internal unsafe static GetVertexAttribiv glGetVertexAttribiv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GetVertexAttribPointerv(UInt32 index, int pname, [Out] IntPtr pointer);
+ internal static GetVertexAttribPointerv glGetVertexAttribPointerv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 IsProgram(UInt32 program);
+ internal static IsProgram glIsProgram;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 IsShader(UInt32 shader);
+ internal static IsShader glIsShader;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void LinkProgram(UInt32 program);
+ internal static LinkProgram glLinkProgram;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ShaderSource(UInt32 shader, Int32 count, System.String[] @string, Int32* length);
+ internal unsafe static ShaderSource glShaderSource;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void UseProgram(UInt32 program);
+ internal static UseProgram glUseProgram;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Uniform1f(Int32 location, Single v0);
+ internal static Uniform1f glUniform1f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Uniform2f(Int32 location, Single v0, Single v1);
+ internal static Uniform2f glUniform2f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Uniform3f(Int32 location, Single v0, Single v1, Single v2);
+ internal static Uniform3f glUniform3f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Uniform4f(Int32 location, Single v0, Single v1, Single v2, Single v3);
+ internal static Uniform4f glUniform4f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Uniform1i(Int32 location, Int32 v0);
+ internal static Uniform1i glUniform1i;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Uniform2i(Int32 location, Int32 v0, Int32 v1);
+ internal static Uniform2i glUniform2i;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Uniform3i(Int32 location, Int32 v0, Int32 v1, Int32 v2);
+ internal static Uniform3i glUniform3i;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Uniform4i(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3);
+ internal static Uniform4i glUniform4i;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Uniform1fv(Int32 location, Int32 count, Single* value);
+ internal unsafe static Uniform1fv glUniform1fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Uniform2fv(Int32 location, Int32 count, Single* value);
+ internal unsafe static Uniform2fv glUniform2fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Uniform3fv(Int32 location, Int32 count, Single* value);
+ internal unsafe static Uniform3fv glUniform3fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Uniform4fv(Int32 location, Int32 count, Single* value);
+ internal unsafe static Uniform4fv glUniform4fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Uniform1iv(Int32 location, Int32 count, Int32* value);
+ internal unsafe static Uniform1iv glUniform1iv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Uniform2iv(Int32 location, Int32 count, Int32* value);
+ internal unsafe static Uniform2iv glUniform2iv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Uniform3iv(Int32 location, Int32 count, Int32* value);
+ internal unsafe static Uniform3iv glUniform3iv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Uniform4iv(Int32 location, Int32 count, Int32* value);
+ internal unsafe static Uniform4iv glUniform4iv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void UniformMatrix2fv(Int32 location, Int32 count, Int32 transpose, Single* value);
+ internal unsafe static UniformMatrix2fv glUniformMatrix2fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void UniformMatrix3fv(Int32 location, Int32 count, Int32 transpose, Single* value);
+ internal unsafe static UniformMatrix3fv glUniformMatrix3fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void UniformMatrix4fv(Int32 location, Int32 count, Int32 transpose, Single* value);
+ internal unsafe static UniformMatrix4fv glUniformMatrix4fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ValidateProgram(UInt32 program);
+ internal static ValidateProgram glValidateProgram;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib1d(UInt32 index, Double x);
+ internal static VertexAttrib1d glVertexAttrib1d;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib1dv(UInt32 index, Double* v);
+ internal unsafe static VertexAttrib1dv glVertexAttrib1dv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib1f(UInt32 index, Single x);
+ internal static VertexAttrib1f glVertexAttrib1f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib1fv(UInt32 index, Single* v);
+ internal unsafe static VertexAttrib1fv glVertexAttrib1fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib1s(UInt32 index, Int16 x);
+ internal static VertexAttrib1s glVertexAttrib1s;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib1sv(UInt32 index, Int16* v);
+ internal unsafe static VertexAttrib1sv glVertexAttrib1sv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib2d(UInt32 index, Double x, Double y);
+ internal static VertexAttrib2d glVertexAttrib2d;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib2dv(UInt32 index, Double* v);
+ internal unsafe static VertexAttrib2dv glVertexAttrib2dv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib2f(UInt32 index, Single x, Single y);
+ internal static VertexAttrib2f glVertexAttrib2f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib2fv(UInt32 index, Single* v);
+ internal unsafe static VertexAttrib2fv glVertexAttrib2fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib2s(UInt32 index, Int16 x, Int16 y);
+ internal static VertexAttrib2s glVertexAttrib2s;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib2sv(UInt32 index, Int16* v);
+ internal unsafe static VertexAttrib2sv glVertexAttrib2sv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib3d(UInt32 index, Double x, Double y, Double z);
+ internal static VertexAttrib3d glVertexAttrib3d;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib3dv(UInt32 index, Double* v);
+ internal unsafe static VertexAttrib3dv glVertexAttrib3dv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib3f(UInt32 index, Single x, Single y, Single z);
+ internal static VertexAttrib3f glVertexAttrib3f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib3fv(UInt32 index, Single* v);
+ internal unsafe static VertexAttrib3fv glVertexAttrib3fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib3s(UInt32 index, Int16 x, Int16 y, Int16 z);
+ internal static VertexAttrib3s glVertexAttrib3s;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib3sv(UInt32 index, Int16* v);
+ internal unsafe static VertexAttrib3sv glVertexAttrib3sv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4Nbv(UInt32 index, SByte* v);
+ internal unsafe static VertexAttrib4Nbv glVertexAttrib4Nbv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4Niv(UInt32 index, Int32* v);
+ internal unsafe static VertexAttrib4Niv glVertexAttrib4Niv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4Nsv(UInt32 index, Int16* v);
+ internal unsafe static VertexAttrib4Nsv glVertexAttrib4Nsv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib4Nub(UInt32 index, Byte x, Byte y, Byte z, Byte w);
+ internal static VertexAttrib4Nub glVertexAttrib4Nub;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4Nubv(UInt32 index, Byte* v);
+ internal unsafe static VertexAttrib4Nubv glVertexAttrib4Nubv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4Nuiv(UInt32 index, UInt32* v);
+ internal unsafe static VertexAttrib4Nuiv glVertexAttrib4Nuiv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4Nusv(UInt32 index, UInt16* v);
+ internal unsafe static VertexAttrib4Nusv glVertexAttrib4Nusv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4bv(UInt32 index, SByte* v);
+ internal unsafe static VertexAttrib4bv glVertexAttrib4bv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib4d(UInt32 index, Double x, Double y, Double z, Double w);
+ internal static VertexAttrib4d glVertexAttrib4d;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4dv(UInt32 index, Double* v);
+ internal unsafe static VertexAttrib4dv glVertexAttrib4dv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib4f(UInt32 index, Single x, Single y, Single z, Single w);
+ internal static VertexAttrib4f glVertexAttrib4f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4fv(UInt32 index, Single* v);
+ internal unsafe static VertexAttrib4fv glVertexAttrib4fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4iv(UInt32 index, Int32* v);
+ internal unsafe static VertexAttrib4iv glVertexAttrib4iv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib4s(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w);
+ internal static VertexAttrib4s glVertexAttrib4s;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4sv(UInt32 index, Int16* v);
+ internal unsafe static VertexAttrib4sv glVertexAttrib4sv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4ubv(UInt32 index, Byte* v);
+ internal unsafe static VertexAttrib4ubv glVertexAttrib4ubv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4uiv(UInt32 index, UInt32* v);
+ internal unsafe static VertexAttrib4uiv glVertexAttrib4uiv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4usv(UInt32 index, UInt16* v);
+ internal unsafe static VertexAttrib4usv glVertexAttrib4usv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttribPointer(UInt32 index, Int32 size, int type, Int32 normalized, Int32 stride, IntPtr pointer);
+ internal static VertexAttribPointer glVertexAttribPointer;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void UniformMatrix2x3fv(Int32 location, Int32 count, Int32 transpose, Single* value);
+ internal unsafe static UniformMatrix2x3fv glUniformMatrix2x3fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void UniformMatrix3x2fv(Int32 location, Int32 count, Int32 transpose, Single* value);
+ internal unsafe static UniformMatrix3x2fv glUniformMatrix3x2fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void UniformMatrix2x4fv(Int32 location, Int32 count, Int32 transpose, Single* value);
+ internal unsafe static UniformMatrix2x4fv glUniformMatrix2x4fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void UniformMatrix4x2fv(Int32 location, Int32 count, Int32 transpose, Single* value);
+ internal unsafe static UniformMatrix4x2fv glUniformMatrix4x2fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void UniformMatrix3x4fv(Int32 location, Int32 count, Int32 transpose, Single* value);
+ internal unsafe static UniformMatrix3x4fv glUniformMatrix3x4fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void UniformMatrix4x3fv(Int32 location, Int32 count, Int32 transpose, Single* value);
+ internal unsafe static UniformMatrix4x3fv glUniformMatrix4x3fv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ActiveTextureARB(int texture);
+ internal static ActiveTextureARB glActiveTextureARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ClientActiveTextureARB(int texture);
+ internal static ClientActiveTextureARB glClientActiveTextureARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord1dARB(int target, Double s);
+ internal static MultiTexCoord1dARB glMultiTexCoord1dARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord1dvARB(int target, Double* v);
+ internal unsafe static MultiTexCoord1dvARB glMultiTexCoord1dvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord1fARB(int target, Single s);
+ internal static MultiTexCoord1fARB glMultiTexCoord1fARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord1fvARB(int target, Single* v);
+ internal unsafe static MultiTexCoord1fvARB glMultiTexCoord1fvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord1iARB(int target, Int32 s);
+ internal static MultiTexCoord1iARB glMultiTexCoord1iARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord1ivARB(int target, Int32* v);
+ internal unsafe static MultiTexCoord1ivARB glMultiTexCoord1ivARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord1sARB(int target, Int16 s);
+ internal static MultiTexCoord1sARB glMultiTexCoord1sARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord1svARB(int target, Int16* v);
+ internal unsafe static MultiTexCoord1svARB glMultiTexCoord1svARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord2dARB(int target, Double s, Double t);
+ internal static MultiTexCoord2dARB glMultiTexCoord2dARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord2dvARB(int target, Double* v);
+ internal unsafe static MultiTexCoord2dvARB glMultiTexCoord2dvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord2fARB(int target, Single s, Single t);
+ internal static MultiTexCoord2fARB glMultiTexCoord2fARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord2fvARB(int target, Single* v);
+ internal unsafe static MultiTexCoord2fvARB glMultiTexCoord2fvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord2iARB(int target, Int32 s, Int32 t);
+ internal static MultiTexCoord2iARB glMultiTexCoord2iARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord2ivARB(int target, Int32* v);
+ internal unsafe static MultiTexCoord2ivARB glMultiTexCoord2ivARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord2sARB(int target, Int16 s, Int16 t);
+ internal static MultiTexCoord2sARB glMultiTexCoord2sARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord2svARB(int target, Int16* v);
+ internal unsafe static MultiTexCoord2svARB glMultiTexCoord2svARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord3dARB(int target, Double s, Double t, Double r);
+ internal static MultiTexCoord3dARB glMultiTexCoord3dARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord3dvARB(int target, Double* v);
+ internal unsafe static MultiTexCoord3dvARB glMultiTexCoord3dvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord3fARB(int target, Single s, Single t, Single r);
+ internal static MultiTexCoord3fARB glMultiTexCoord3fARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord3fvARB(int target, Single* v);
+ internal unsafe static MultiTexCoord3fvARB glMultiTexCoord3fvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord3iARB(int target, Int32 s, Int32 t, Int32 r);
+ internal static MultiTexCoord3iARB glMultiTexCoord3iARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord3ivARB(int target, Int32* v);
+ internal unsafe static MultiTexCoord3ivARB glMultiTexCoord3ivARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord3sARB(int target, Int16 s, Int16 t, Int16 r);
+ internal static MultiTexCoord3sARB glMultiTexCoord3sARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord3svARB(int target, Int16* v);
+ internal unsafe static MultiTexCoord3svARB glMultiTexCoord3svARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord4dARB(int target, Double s, Double t, Double r, Double q);
+ internal static MultiTexCoord4dARB glMultiTexCoord4dARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord4dvARB(int target, Double* v);
+ internal unsafe static MultiTexCoord4dvARB glMultiTexCoord4dvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord4fARB(int target, Single s, Single t, Single r, Single q);
+ internal static MultiTexCoord4fARB glMultiTexCoord4fARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord4fvARB(int target, Single* v);
+ internal unsafe static MultiTexCoord4fvARB glMultiTexCoord4fvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord4iARB(int target, Int32 s, Int32 t, Int32 r, Int32 q);
+ internal static MultiTexCoord4iARB glMultiTexCoord4iARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord4ivARB(int target, Int32* v);
+ internal unsafe static MultiTexCoord4ivARB glMultiTexCoord4ivARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord4sARB(int target, Int16 s, Int16 t, Int16 r, Int16 q);
+ internal static MultiTexCoord4sARB glMultiTexCoord4sARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord4svARB(int target, Int16* v);
+ internal unsafe static MultiTexCoord4svARB glMultiTexCoord4svARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void LoadTransposeMatrixfARB(Single* m);
+ internal unsafe static LoadTransposeMatrixfARB glLoadTransposeMatrixfARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void LoadTransposeMatrixdARB(Double* m);
+ internal unsafe static LoadTransposeMatrixdARB glLoadTransposeMatrixdARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultTransposeMatrixfARB(Single* m);
+ internal unsafe static MultTransposeMatrixfARB glMultTransposeMatrixfARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultTransposeMatrixdARB(Double* m);
+ internal unsafe static MultTransposeMatrixdARB glMultTransposeMatrixdARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SampleCoverageARB(Single value, Int32 invert);
+ internal static SampleCoverageARB glSampleCoverageARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CompressedTexImage3DARB(int target, Int32 level, int internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data);
+ internal static CompressedTexImage3DARB glCompressedTexImage3DARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CompressedTexImage2DARB(int target, Int32 level, int internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data);
+ internal static CompressedTexImage2DARB glCompressedTexImage2DARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CompressedTexImage1DARB(int target, Int32 level, int internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data);
+ internal static CompressedTexImage1DARB glCompressedTexImage1DARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CompressedTexSubImage3DARB(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, int format, Int32 imageSize, IntPtr data);
+ internal static CompressedTexSubImage3DARB glCompressedTexSubImage3DARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CompressedTexSubImage2DARB(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, int format, Int32 imageSize, IntPtr data);
+ internal static CompressedTexSubImage2DARB glCompressedTexSubImage2DARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CompressedTexSubImage1DARB(int target, Int32 level, Int32 xoffset, Int32 width, int format, Int32 imageSize, IntPtr data);
+ internal static CompressedTexSubImage1DARB glCompressedTexSubImage1DARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GetCompressedTexImageARB(int target, Int32 level, [Out] IntPtr img);
+ internal static GetCompressedTexImageARB glGetCompressedTexImageARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PointParameterfARB(int pname, Single param);
+ internal static PointParameterfARB glPointParameterfARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void PointParameterfvARB(int pname, Single* @params);
+ internal unsafe static PointParameterfvARB glPointParameterfvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WeightbvARB(Int32 size, SByte* weights);
+ internal unsafe static WeightbvARB glWeightbvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WeightsvARB(Int32 size, Int16* weights);
+ internal unsafe static WeightsvARB glWeightsvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WeightivARB(Int32 size, Int32* weights);
+ internal unsafe static WeightivARB glWeightivARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WeightfvARB(Int32 size, Single* weights);
+ internal unsafe static WeightfvARB glWeightfvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WeightdvARB(Int32 size, Double* weights);
+ internal unsafe static WeightdvARB glWeightdvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WeightubvARB(Int32 size, Byte* weights);
+ internal unsafe static WeightubvARB glWeightubvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WeightusvARB(Int32 size, UInt16* weights);
+ internal unsafe static WeightusvARB glWeightusvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WeightuivARB(Int32 size, UInt32* weights);
+ internal unsafe static WeightuivARB glWeightuivARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WeightPointerARB(Int32 size, int type, Int32 stride, IntPtr pointer);
+ internal static WeightPointerARB glWeightPointerARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexBlendARB(Int32 count);
+ internal static VertexBlendARB glVertexBlendARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CurrentPaletteMatrixARB(Int32 index);
+ internal static CurrentPaletteMatrixARB glCurrentPaletteMatrixARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MatrixIndexubvARB(Int32 size, Byte* indices);
+ internal unsafe static MatrixIndexubvARB glMatrixIndexubvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MatrixIndexusvARB(Int32 size, UInt16* indices);
+ internal unsafe static MatrixIndexusvARB glMatrixIndexusvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MatrixIndexuivARB(Int32 size, UInt32* indices);
+ internal unsafe static MatrixIndexuivARB glMatrixIndexuivARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MatrixIndexPointerARB(Int32 size, int type, Int32 stride, IntPtr pointer);
+ internal static MatrixIndexPointerARB glMatrixIndexPointerARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WindowPos2dARB(Double x, Double y);
+ internal static WindowPos2dARB glWindowPos2dARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WindowPos2dvARB(Double* v);
+ internal unsafe static WindowPos2dvARB glWindowPos2dvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WindowPos2fARB(Single x, Single y);
+ internal static WindowPos2fARB glWindowPos2fARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WindowPos2fvARB(Single* v);
+ internal unsafe static WindowPos2fvARB glWindowPos2fvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WindowPos2iARB(Int32 x, Int32 y);
+ internal static WindowPos2iARB glWindowPos2iARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WindowPos2ivARB(Int32* v);
+ internal unsafe static WindowPos2ivARB glWindowPos2ivARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WindowPos2sARB(Int16 x, Int16 y);
+ internal static WindowPos2sARB glWindowPos2sARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WindowPos2svARB(Int16* v);
+ internal unsafe static WindowPos2svARB glWindowPos2svARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WindowPos3dARB(Double x, Double y, Double z);
+ internal static WindowPos3dARB glWindowPos3dARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WindowPos3dvARB(Double* v);
+ internal unsafe static WindowPos3dvARB glWindowPos3dvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WindowPos3fARB(Single x, Single y, Single z);
+ internal static WindowPos3fARB glWindowPos3fARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WindowPos3fvARB(Single* v);
+ internal unsafe static WindowPos3fvARB glWindowPos3fvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WindowPos3iARB(Int32 x, Int32 y, Int32 z);
+ internal static WindowPos3iARB glWindowPos3iARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WindowPos3ivARB(Int32* v);
+ internal unsafe static WindowPos3ivARB glWindowPos3ivARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WindowPos3sARB(Int16 x, Int16 y, Int16 z);
+ internal static WindowPos3sARB glWindowPos3sARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WindowPos3svARB(Int16* v);
+ internal unsafe static WindowPos3svARB glWindowPos3svARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib1dARB(UInt32 index, Double x);
+ internal static VertexAttrib1dARB glVertexAttrib1dARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib1dvARB(UInt32 index, Double* v);
+ internal unsafe static VertexAttrib1dvARB glVertexAttrib1dvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib1fARB(UInt32 index, Single x);
+ internal static VertexAttrib1fARB glVertexAttrib1fARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib1fvARB(UInt32 index, Single* v);
+ internal unsafe static VertexAttrib1fvARB glVertexAttrib1fvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib1sARB(UInt32 index, Int16 x);
+ internal static VertexAttrib1sARB glVertexAttrib1sARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib1svARB(UInt32 index, Int16* v);
+ internal unsafe static VertexAttrib1svARB glVertexAttrib1svARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib2dARB(UInt32 index, Double x, Double y);
+ internal static VertexAttrib2dARB glVertexAttrib2dARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib2dvARB(UInt32 index, Double* v);
+ internal unsafe static VertexAttrib2dvARB glVertexAttrib2dvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib2fARB(UInt32 index, Single x, Single y);
+ internal static VertexAttrib2fARB glVertexAttrib2fARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib2fvARB(UInt32 index, Single* v);
+ internal unsafe static VertexAttrib2fvARB glVertexAttrib2fvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib2sARB(UInt32 index, Int16 x, Int16 y);
+ internal static VertexAttrib2sARB glVertexAttrib2sARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib2svARB(UInt32 index, Int16* v);
+ internal unsafe static VertexAttrib2svARB glVertexAttrib2svARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib3dARB(UInt32 index, Double x, Double y, Double z);
+ internal static VertexAttrib3dARB glVertexAttrib3dARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib3dvARB(UInt32 index, Double* v);
+ internal unsafe static VertexAttrib3dvARB glVertexAttrib3dvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib3fARB(UInt32 index, Single x, Single y, Single z);
+ internal static VertexAttrib3fARB glVertexAttrib3fARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib3fvARB(UInt32 index, Single* v);
+ internal unsafe static VertexAttrib3fvARB glVertexAttrib3fvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib3sARB(UInt32 index, Int16 x, Int16 y, Int16 z);
+ internal static VertexAttrib3sARB glVertexAttrib3sARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib3svARB(UInt32 index, Int16* v);
+ internal unsafe static VertexAttrib3svARB glVertexAttrib3svARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4NbvARB(UInt32 index, SByte* v);
+ internal unsafe static VertexAttrib4NbvARB glVertexAttrib4NbvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4NivARB(UInt32 index, Int32* v);
+ internal unsafe static VertexAttrib4NivARB glVertexAttrib4NivARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4NsvARB(UInt32 index, Int16* v);
+ internal unsafe static VertexAttrib4NsvARB glVertexAttrib4NsvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib4NubARB(UInt32 index, Byte x, Byte y, Byte z, Byte w);
+ internal static VertexAttrib4NubARB glVertexAttrib4NubARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4NubvARB(UInt32 index, Byte* v);
+ internal unsafe static VertexAttrib4NubvARB glVertexAttrib4NubvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4NuivARB(UInt32 index, UInt32* v);
+ internal unsafe static VertexAttrib4NuivARB glVertexAttrib4NuivARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4NusvARB(UInt32 index, UInt16* v);
+ internal unsafe static VertexAttrib4NusvARB glVertexAttrib4NusvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4bvARB(UInt32 index, SByte* v);
+ internal unsafe static VertexAttrib4bvARB glVertexAttrib4bvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib4dARB(UInt32 index, Double x, Double y, Double z, Double w);
+ internal static VertexAttrib4dARB glVertexAttrib4dARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4dvARB(UInt32 index, Double* v);
+ internal unsafe static VertexAttrib4dvARB glVertexAttrib4dvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib4fARB(UInt32 index, Single x, Single y, Single z, Single w);
+ internal static VertexAttrib4fARB glVertexAttrib4fARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4fvARB(UInt32 index, Single* v);
+ internal unsafe static VertexAttrib4fvARB glVertexAttrib4fvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4ivARB(UInt32 index, Int32* v);
+ internal unsafe static VertexAttrib4ivARB glVertexAttrib4ivARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib4sARB(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w);
+ internal static VertexAttrib4sARB glVertexAttrib4sARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4svARB(UInt32 index, Int16* v);
+ internal unsafe static VertexAttrib4svARB glVertexAttrib4svARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4ubvARB(UInt32 index, Byte* v);
+ internal unsafe static VertexAttrib4ubvARB glVertexAttrib4ubvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4uivARB(UInt32 index, UInt32* v);
+ internal unsafe static VertexAttrib4uivARB glVertexAttrib4uivARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4usvARB(UInt32 index, UInt16* v);
+ internal unsafe static VertexAttrib4usvARB glVertexAttrib4usvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttribPointerARB(UInt32 index, Int32 size, int type, Int32 normalized, Int32 stride, IntPtr pointer);
+ internal static VertexAttribPointerARB glVertexAttribPointerARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void EnableVertexAttribArrayARB(UInt32 index);
+ internal static EnableVertexAttribArrayARB glEnableVertexAttribArrayARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DisableVertexAttribArrayARB(UInt32 index);
+ internal static DisableVertexAttribArrayARB glDisableVertexAttribArrayARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ProgramStringARB(int target, int format, Int32 len, IntPtr @string);
+ internal static ProgramStringARB glProgramStringARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BindProgramARB(int target, UInt32 program);
+ internal static BindProgramARB glBindProgramARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void DeleteProgramsARB(Int32 n, UInt32* programs);
+ internal unsafe static DeleteProgramsARB glDeleteProgramsARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GenProgramsARB(Int32 n, [Out] UInt32* programs);
+ internal unsafe static GenProgramsARB glGenProgramsARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ProgramEnvParameter4dARB(int target, UInt32 index, Double x, Double y, Double z, Double w);
+ internal static ProgramEnvParameter4dARB glProgramEnvParameter4dARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ProgramEnvParameter4dvARB(int target, UInt32 index, Double* @params);
+ internal unsafe static ProgramEnvParameter4dvARB glProgramEnvParameter4dvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ProgramEnvParameter4fARB(int target, UInt32 index, Single x, Single y, Single z, Single w);
+ internal static ProgramEnvParameter4fARB glProgramEnvParameter4fARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ProgramEnvParameter4fvARB(int target, UInt32 index, Single* @params);
+ internal unsafe static ProgramEnvParameter4fvARB glProgramEnvParameter4fvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ProgramLocalParameter4dARB(int target, UInt32 index, Double x, Double y, Double z, Double w);
+ internal static ProgramLocalParameter4dARB glProgramLocalParameter4dARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ProgramLocalParameter4dvARB(int target, UInt32 index, Double* @params);
+ internal unsafe static ProgramLocalParameter4dvARB glProgramLocalParameter4dvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ProgramLocalParameter4fARB(int target, UInt32 index, Single x, Single y, Single z, Single w);
+ internal static ProgramLocalParameter4fARB glProgramLocalParameter4fARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ProgramLocalParameter4fvARB(int target, UInt32 index, Single* @params);
+ internal unsafe static ProgramLocalParameter4fvARB glProgramLocalParameter4fvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetProgramEnvParameterdvARB(int target, UInt32 index, [Out] Double* @params);
+ internal unsafe static GetProgramEnvParameterdvARB glGetProgramEnvParameterdvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetProgramEnvParameterfvARB(int target, UInt32 index, [Out] Single* @params);
+ internal unsafe static GetProgramEnvParameterfvARB glGetProgramEnvParameterfvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetProgramLocalParameterdvARB(int target, UInt32 index, [Out] Double* @params);
+ internal unsafe static GetProgramLocalParameterdvARB glGetProgramLocalParameterdvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetProgramLocalParameterfvARB(int target, UInt32 index, [Out] Single* @params);
+ internal unsafe static GetProgramLocalParameterfvARB glGetProgramLocalParameterfvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetProgramivARB(int target, int pname, [Out] Int32* @params);
+ internal unsafe static GetProgramivARB glGetProgramivARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GetProgramStringARB(int target, int pname, [Out] IntPtr @string);
+ internal static GetProgramStringARB glGetProgramStringARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetVertexAttribdvARB(UInt32 index, int pname, [Out] Double* @params);
+ internal unsafe static GetVertexAttribdvARB glGetVertexAttribdvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetVertexAttribfvARB(UInt32 index, int pname, [Out] Single* @params);
+ internal unsafe static GetVertexAttribfvARB glGetVertexAttribfvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetVertexAttribivARB(UInt32 index, int pname, [Out] Int32* @params);
+ internal unsafe static GetVertexAttribivARB glGetVertexAttribivARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GetVertexAttribPointervARB(UInt32 index, int pname, [Out] IntPtr pointer);
+ internal static GetVertexAttribPointervARB glGetVertexAttribPointervARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 IsProgramARB(UInt32 program);
+ internal static IsProgramARB glIsProgramARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BindBufferARB(int target, UInt32 buffer);
+ internal static BindBufferARB glBindBufferARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void DeleteBuffersARB(Int32 n, UInt32* buffers);
+ internal unsafe static DeleteBuffersARB glDeleteBuffersARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GenBuffersARB(Int32 n, [Out] UInt32* buffers);
+ internal unsafe static GenBuffersARB glGenBuffersARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 IsBufferARB(UInt32 buffer);
+ internal static IsBufferARB glIsBufferARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BufferDataARB(int target, IntPtr size, IntPtr data, int usage);
+ internal static BufferDataARB glBufferDataARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BufferSubDataARB(int target, IntPtr offset, IntPtr size, IntPtr data);
+ internal static BufferSubDataARB glBufferSubDataARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GetBufferSubDataARB(int target, IntPtr offset, IntPtr size, [Out] IntPtr data);
+ internal static GetBufferSubDataARB glGetBufferSubDataARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate IntPtr MapBufferARB(int target, int access);
+ internal unsafe static MapBufferARB glMapBufferARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 UnmapBufferARB(int target);
+ internal static UnmapBufferARB glUnmapBufferARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetBufferParameterivARB(int target, int pname, [Out] Int32* @params);
+ internal unsafe static GetBufferParameterivARB glGetBufferParameterivARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GetBufferPointervARB(int target, int pname, [Out] IntPtr @params);
+ internal static GetBufferPointervARB glGetBufferPointervARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GenQueriesARB(Int32 n, [Out] UInt32* ids);
+ internal unsafe static GenQueriesARB glGenQueriesARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void DeleteQueriesARB(Int32 n, UInt32* ids);
+ internal unsafe static DeleteQueriesARB glDeleteQueriesARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 IsQueryARB(UInt32 id);
+ internal static IsQueryARB glIsQueryARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BeginQueryARB(int target, UInt32 id);
+ internal static BeginQueryARB glBeginQueryARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void EndQueryARB(int target);
+ internal static EndQueryARB glEndQueryARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetQueryivARB(int target, int pname, [Out] Int32* @params);
+ internal unsafe static GetQueryivARB glGetQueryivARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetQueryObjectivARB(UInt32 id, int pname, [Out] Int32* @params);
+ internal unsafe static GetQueryObjectivARB glGetQueryObjectivARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetQueryObjectuivARB(UInt32 id, int pname, [Out] UInt32* @params);
+ internal unsafe static GetQueryObjectuivARB glGetQueryObjectuivARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DeleteObjectARB(UInt32 obj);
+ internal static DeleteObjectARB glDeleteObjectARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 GetHandleARB(int pname);
+ internal static GetHandleARB glGetHandleARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DetachObjectARB(UInt32 containerObj, UInt32 attachedObj);
+ internal static DetachObjectARB glDetachObjectARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 CreateShaderObjectARB(int shaderType);
+ internal static CreateShaderObjectARB glCreateShaderObjectARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ShaderSourceARB(UInt32 shaderObj, Int32 count, System.String[] @string, Int32* length);
+ internal unsafe static ShaderSourceARB glShaderSourceARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CompileShaderARB(UInt32 shaderObj);
+ internal static CompileShaderARB glCompileShaderARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 CreateProgramObjectARB();
+ internal static CreateProgramObjectARB glCreateProgramObjectARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void AttachObjectARB(UInt32 containerObj, UInt32 obj);
+ internal static AttachObjectARB glAttachObjectARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void LinkProgramARB(UInt32 programObj);
+ internal static LinkProgramARB glLinkProgramARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void UseProgramObjectARB(UInt32 programObj);
+ internal static UseProgramObjectARB glUseProgramObjectARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ValidateProgramARB(UInt32 programObj);
+ internal static ValidateProgramARB glValidateProgramARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Uniform1fARB(Int32 location, Single v0);
+ internal static Uniform1fARB glUniform1fARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Uniform2fARB(Int32 location, Single v0, Single v1);
+ internal static Uniform2fARB glUniform2fARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Uniform3fARB(Int32 location, Single v0, Single v1, Single v2);
+ internal static Uniform3fARB glUniform3fARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Uniform4fARB(Int32 location, Single v0, Single v1, Single v2, Single v3);
+ internal static Uniform4fARB glUniform4fARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Uniform1iARB(Int32 location, Int32 v0);
+ internal static Uniform1iARB glUniform1iARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Uniform2iARB(Int32 location, Int32 v0, Int32 v1);
+ internal static Uniform2iARB glUniform2iARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Uniform3iARB(Int32 location, Int32 v0, Int32 v1, Int32 v2);
+ internal static Uniform3iARB glUniform3iARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Uniform4iARB(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3);
+ internal static Uniform4iARB glUniform4iARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Uniform1fvARB(Int32 location, Int32 count, Single* value);
+ internal unsafe static Uniform1fvARB glUniform1fvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Uniform2fvARB(Int32 location, Int32 count, Single* value);
+ internal unsafe static Uniform2fvARB glUniform2fvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Uniform3fvARB(Int32 location, Int32 count, Single* value);
+ internal unsafe static Uniform3fvARB glUniform3fvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Uniform4fvARB(Int32 location, Int32 count, Single* value);
+ internal unsafe static Uniform4fvARB glUniform4fvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Uniform1ivARB(Int32 location, Int32 count, Int32* value);
+ internal unsafe static Uniform1ivARB glUniform1ivARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Uniform2ivARB(Int32 location, Int32 count, Int32* value);
+ internal unsafe static Uniform2ivARB glUniform2ivARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Uniform3ivARB(Int32 location, Int32 count, Int32* value);
+ internal unsafe static Uniform3ivARB glUniform3ivARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Uniform4ivARB(Int32 location, Int32 count, Int32* value);
+ internal unsafe static Uniform4ivARB glUniform4ivARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void UniformMatrix2fvARB(Int32 location, Int32 count, Int32 transpose, Single* value);
+ internal unsafe static UniformMatrix2fvARB glUniformMatrix2fvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void UniformMatrix3fvARB(Int32 location, Int32 count, Int32 transpose, Single* value);
+ internal unsafe static UniformMatrix3fvARB glUniformMatrix3fvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void UniformMatrix4fvARB(Int32 location, Int32 count, Int32 transpose, Single* value);
+ internal unsafe static UniformMatrix4fvARB glUniformMatrix4fvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetObjectParameterfvARB(UInt32 obj, int pname, [Out] Single* @params);
+ internal unsafe static GetObjectParameterfvARB glGetObjectParameterfvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetObjectParameterivARB(UInt32 obj, int pname, [Out] Int32* @params);
+ internal unsafe static GetObjectParameterivARB glGetObjectParameterivARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetInfoLogARB(UInt32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog);
+ internal unsafe static GetInfoLogARB glGetInfoLogARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetAttachedObjectsARB(UInt32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] UInt32* obj);
+ internal unsafe static GetAttachedObjectsARB glGetAttachedObjectsARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 GetUniformLocationARB(UInt32 programObj, System.String name);
+ internal static GetUniformLocationARB glGetUniformLocationARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] int* type, [Out] System.Text.StringBuilder name);
+ internal unsafe static GetActiveUniformARB glGetActiveUniformARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetUniformfvARB(UInt32 programObj, Int32 location, [Out] Single* @params);
+ internal unsafe static GetUniformfvARB glGetUniformfvARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetUniformivARB(UInt32 programObj, Int32 location, [Out] Int32* @params);
+ internal unsafe static GetUniformivARB glGetUniformivARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetShaderSourceARB(UInt32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder[] source);
+ internal unsafe static GetShaderSourceARB glGetShaderSourceARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BindAttribLocationARB(UInt32 programObj, UInt32 index, System.String name);
+ internal static BindAttribLocationARB glBindAttribLocationARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] int* type, [Out] System.Text.StringBuilder name);
+ internal unsafe static GetActiveAttribARB glGetActiveAttribARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 GetAttribLocationARB(UInt32 programObj, System.String name);
+ internal static GetAttribLocationARB glGetAttribLocationARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void DrawBuffersARB(Int32 n, int* bufs);
+ internal unsafe static DrawBuffersARB glDrawBuffersARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ClampColorARB(int target, int clamp);
+ internal static ClampColorARB glClampColorARB;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BlendColorEXT(Single red, Single green, Single blue, Single alpha);
+ internal static BlendColorEXT glBlendColorEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PolygonOffsetEXT(Single factor, Single bias);
+ internal static PolygonOffsetEXT glPolygonOffsetEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexImage3DEXT(int target, Int32 level, int internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, int format, int type, IntPtr pixels);
+ internal static TexImage3DEXT glTexImage3DEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexSubImage3DEXT(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, int format, int type, IntPtr pixels);
+ internal static TexSubImage3DEXT glTexSubImage3DEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetTexFilterFuncSGIS(int target, int filter, [Out] Single* weights);
+ internal unsafe static GetTexFilterFuncSGIS glGetTexFilterFuncSGIS;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexFilterFuncSGIS(int target, int filter, Int32 n, Single* weights);
+ internal unsafe static TexFilterFuncSGIS glTexFilterFuncSGIS;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexSubImage1DEXT(int target, Int32 level, Int32 xoffset, Int32 width, int format, int type, IntPtr pixels);
+ internal static TexSubImage1DEXT glTexSubImage1DEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexSubImage2DEXT(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, int format, int type, IntPtr pixels);
+ internal static TexSubImage2DEXT glTexSubImage2DEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CopyTexImage1DEXT(int target, Int32 level, int internalformat, Int32 x, Int32 y, Int32 width, Int32 border);
+ internal static CopyTexImage1DEXT glCopyTexImage1DEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CopyTexImage2DEXT(int target, Int32 level, int internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border);
+ internal static CopyTexImage2DEXT glCopyTexImage2DEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CopyTexSubImage1DEXT(int target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width);
+ internal static CopyTexSubImage1DEXT glCopyTexSubImage1DEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CopyTexSubImage2DEXT(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height);
+ internal static CopyTexSubImage2DEXT glCopyTexSubImage2DEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CopyTexSubImage3DEXT(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height);
+ internal static CopyTexSubImage3DEXT glCopyTexSubImage3DEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GetHistogramEXT(int target, Int32 reset, int format, int type, [Out] IntPtr values);
+ internal static GetHistogramEXT glGetHistogramEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetHistogramParameterfvEXT(int target, int pname, [Out] Single* @params);
+ internal unsafe static GetHistogramParameterfvEXT glGetHistogramParameterfvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetHistogramParameterivEXT(int target, int pname, [Out] Int32* @params);
+ internal unsafe static GetHistogramParameterivEXT glGetHistogramParameterivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GetMinmaxEXT(int target, Int32 reset, int format, int type, [Out] IntPtr values);
+ internal static GetMinmaxEXT glGetMinmaxEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetMinmaxParameterfvEXT(int target, int pname, [Out] Single* @params);
+ internal unsafe static GetMinmaxParameterfvEXT glGetMinmaxParameterfvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetMinmaxParameterivEXT(int target, int pname, [Out] Int32* @params);
+ internal unsafe static GetMinmaxParameterivEXT glGetMinmaxParameterivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void HistogramEXT(int target, Int32 width, int internalformat, Int32 sink);
+ internal static HistogramEXT glHistogramEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MinmaxEXT(int target, int internalformat, Int32 sink);
+ internal static MinmaxEXT glMinmaxEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ResetHistogramEXT(int target);
+ internal static ResetHistogramEXT glResetHistogramEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ResetMinmaxEXT(int target);
+ internal static ResetMinmaxEXT glResetMinmaxEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ConvolutionFilter1DEXT(int target, int internalformat, Int32 width, int format, int type, IntPtr image);
+ internal static ConvolutionFilter1DEXT glConvolutionFilter1DEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ConvolutionFilter2DEXT(int target, int internalformat, Int32 width, Int32 height, int format, int type, IntPtr image);
+ internal static ConvolutionFilter2DEXT glConvolutionFilter2DEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ConvolutionParameterfEXT(int target, int pname, Single @params);
+ internal static ConvolutionParameterfEXT glConvolutionParameterfEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ConvolutionParameterfvEXT(int target, int pname, Single* @params);
+ internal unsafe static ConvolutionParameterfvEXT glConvolutionParameterfvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ConvolutionParameteriEXT(int target, int pname, Int32 @params);
+ internal static ConvolutionParameteriEXT glConvolutionParameteriEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ConvolutionParameterivEXT(int target, int pname, Int32* @params);
+ internal unsafe static ConvolutionParameterivEXT glConvolutionParameterivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CopyConvolutionFilter1DEXT(int target, int internalformat, Int32 x, Int32 y, Int32 width);
+ internal static CopyConvolutionFilter1DEXT glCopyConvolutionFilter1DEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CopyConvolutionFilter2DEXT(int target, int internalformat, Int32 x, Int32 y, Int32 width, Int32 height);
+ internal static CopyConvolutionFilter2DEXT glCopyConvolutionFilter2DEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GetConvolutionFilterEXT(int target, int format, int type, [Out] IntPtr image);
+ internal static GetConvolutionFilterEXT glGetConvolutionFilterEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetConvolutionParameterfvEXT(int target, int pname, [Out] Single* @params);
+ internal unsafe static GetConvolutionParameterfvEXT glGetConvolutionParameterfvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetConvolutionParameterivEXT(int target, int pname, [Out] Int32* @params);
+ internal unsafe static GetConvolutionParameterivEXT glGetConvolutionParameterivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GetSeparableFilterEXT(int target, int format, int type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span);
+ internal static GetSeparableFilterEXT glGetSeparableFilterEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SeparableFilter2DEXT(int target, int internalformat, Int32 width, Int32 height, int format, int type, IntPtr row, IntPtr column);
+ internal static SeparableFilter2DEXT glSeparableFilter2DEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ColorTableSGI(int target, int internalformat, Int32 width, int format, int type, IntPtr table);
+ internal static ColorTableSGI glColorTableSGI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ColorTableParameterfvSGI(int target, int pname, Single* @params);
+ internal unsafe static ColorTableParameterfvSGI glColorTableParameterfvSGI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ColorTableParameterivSGI(int target, int pname, Int32* @params);
+ internal unsafe static ColorTableParameterivSGI glColorTableParameterivSGI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CopyColorTableSGI(int target, int internalformat, Int32 x, Int32 y, Int32 width);
+ internal static CopyColorTableSGI glCopyColorTableSGI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GetColorTableSGI(int target, int format, int type, [Out] IntPtr table);
+ internal static GetColorTableSGI glGetColorTableSGI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetColorTableParameterfvSGI(int target, int pname, [Out] Single* @params);
+ internal unsafe static GetColorTableParameterfvSGI glGetColorTableParameterfvSGI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetColorTableParameterivSGI(int target, int pname, [Out] Int32* @params);
+ internal unsafe static GetColorTableParameterivSGI glGetColorTableParameterivSGI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PixelTexGenSGIX(int mode);
+ internal static PixelTexGenSGIX glPixelTexGenSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PixelTexGenParameteriSGIS(int pname, Int32 param);
+ internal static PixelTexGenParameteriSGIS glPixelTexGenParameteriSGIS;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void PixelTexGenParameterivSGIS(int pname, Int32* @params);
+ internal unsafe static PixelTexGenParameterivSGIS glPixelTexGenParameterivSGIS;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PixelTexGenParameterfSGIS(int pname, Single param);
+ internal static PixelTexGenParameterfSGIS glPixelTexGenParameterfSGIS;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void PixelTexGenParameterfvSGIS(int pname, Single* @params);
+ internal unsafe static PixelTexGenParameterfvSGIS glPixelTexGenParameterfvSGIS;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetPixelTexGenParameterivSGIS(int pname, [Out] Int32* @params);
+ internal unsafe static GetPixelTexGenParameterivSGIS glGetPixelTexGenParameterivSGIS;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetPixelTexGenParameterfvSGIS(int pname, [Out] Single* @params);
+ internal unsafe static GetPixelTexGenParameterfvSGIS glGetPixelTexGenParameterfvSGIS;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexImage4DSGIS(int target, Int32 level, int internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, int format, int type, IntPtr pixels);
+ internal static TexImage4DSGIS glTexImage4DSGIS;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexSubImage4DSGIS(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, int format, int type, IntPtr pixels);
+ internal static TexSubImage4DSGIS glTexSubImage4DSGIS;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate Int32 AreTexturesResidentEXT(Int32 n, UInt32* textures, [Out] Int32* residences);
+ internal unsafe static AreTexturesResidentEXT glAreTexturesResidentEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BindTextureEXT(int target, UInt32 texture);
+ internal static BindTextureEXT glBindTextureEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void DeleteTexturesEXT(Int32 n, UInt32* textures);
+ internal unsafe static DeleteTexturesEXT glDeleteTexturesEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GenTexturesEXT(Int32 n, [Out] UInt32* textures);
+ internal unsafe static GenTexturesEXT glGenTexturesEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 IsTextureEXT(UInt32 texture);
+ internal static IsTextureEXT glIsTextureEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void PrioritizeTexturesEXT(Int32 n, UInt32* textures, Single* priorities);
+ internal unsafe static PrioritizeTexturesEXT glPrioritizeTexturesEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void DetailTexFuncSGIS(int target, Int32 n, Single* points);
+ internal unsafe static DetailTexFuncSGIS glDetailTexFuncSGIS;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetDetailTexFuncSGIS(int target, [Out] Single* points);
+ internal unsafe static GetDetailTexFuncSGIS glGetDetailTexFuncSGIS;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void SharpenTexFuncSGIS(int target, Int32 n, Single* points);
+ internal unsafe static SharpenTexFuncSGIS glSharpenTexFuncSGIS;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetSharpenTexFuncSGIS(int target, [Out] Single* points);
+ internal unsafe static GetSharpenTexFuncSGIS glGetSharpenTexFuncSGIS;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SampleMaskSGIS(Single value, Int32 invert);
+ internal static SampleMaskSGIS glSampleMaskSGIS;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SamplePatternSGIS(int pattern);
+ internal static SamplePatternSGIS glSamplePatternSGIS;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ArrayElementEXT(Int32 i);
+ internal static ArrayElementEXT glArrayElementEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ColorPointerEXT(Int32 size, int type, Int32 stride, Int32 count, IntPtr pointer);
+ internal static ColorPointerEXT glColorPointerEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DrawArraysEXT(int mode, Int32 first, Int32 count);
+ internal static DrawArraysEXT glDrawArraysEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void EdgeFlagPointerEXT(Int32 stride, Int32 count, Int32* pointer);
+ internal unsafe static EdgeFlagPointerEXT glEdgeFlagPointerEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GetPointervEXT(int pname, [Out] IntPtr @params);
+ internal static GetPointervEXT glGetPointervEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void IndexPointerEXT(int type, Int32 stride, Int32 count, IntPtr pointer);
+ internal static IndexPointerEXT glIndexPointerEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void NormalPointerEXT(int type, Int32 stride, Int32 count, IntPtr pointer);
+ internal static NormalPointerEXT glNormalPointerEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoordPointerEXT(Int32 size, int type, Int32 stride, Int32 count, IntPtr pointer);
+ internal static TexCoordPointerEXT glTexCoordPointerEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexPointerEXT(Int32 size, int type, Int32 stride, Int32 count, IntPtr pointer);
+ internal static VertexPointerEXT glVertexPointerEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BlendEquationEXT(int mode);
+ internal static BlendEquationEXT glBlendEquationEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SpriteParameterfSGIX(int pname, Single param);
+ internal static SpriteParameterfSGIX glSpriteParameterfSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void SpriteParameterfvSGIX(int pname, Single* @params);
+ internal unsafe static SpriteParameterfvSGIX glSpriteParameterfvSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SpriteParameteriSGIX(int pname, Int32 param);
+ internal static SpriteParameteriSGIX glSpriteParameteriSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void SpriteParameterivSGIX(int pname, Int32* @params);
+ internal unsafe static SpriteParameterivSGIX glSpriteParameterivSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PointParameterfEXT(int pname, Single param);
+ internal static PointParameterfEXT glPointParameterfEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void PointParameterfvEXT(int pname, Single* @params);
+ internal unsafe static PointParameterfvEXT glPointParameterfvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PointParameterfSGIS(int pname, Single param);
+ internal static PointParameterfSGIS glPointParameterfSGIS;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void PointParameterfvSGIS(int pname, Single* @params);
+ internal unsafe static PointParameterfvSGIS glPointParameterfvSGIS;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 GetInstrumentsSGIX();
+ internal static GetInstrumentsSGIX glGetInstrumentsSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void InstrumentsBufferSGIX(Int32 size, [Out] Int32* buffer);
+ internal unsafe static InstrumentsBufferSGIX glInstrumentsBufferSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate Int32 PollInstrumentsSGIX([Out] Int32* marker_p);
+ internal unsafe static PollInstrumentsSGIX glPollInstrumentsSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ReadInstrumentsSGIX(Int32 marker);
+ internal static ReadInstrumentsSGIX glReadInstrumentsSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void StartInstrumentsSGIX();
+ internal static StartInstrumentsSGIX glStartInstrumentsSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void StopInstrumentsSGIX(Int32 marker);
+ internal static StopInstrumentsSGIX glStopInstrumentsSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FrameZoomSGIX(Int32 factor);
+ internal static FrameZoomSGIX glFrameZoomSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TagSampleBufferSGIX();
+ internal static TagSampleBufferSGIX glTagSampleBufferSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void DeformationMap3dSGIX(int target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double* points);
+ internal unsafe static DeformationMap3dSGIX glDeformationMap3dSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void DeformationMap3fSGIX(int target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single* points);
+ internal unsafe static DeformationMap3fSGIX glDeformationMap3fSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DeformSGIX(int mask);
+ internal static DeformSGIX glDeformSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void LoadIdentityDeformationMapSGIX(int mask);
+ internal static LoadIdentityDeformationMapSGIX glLoadIdentityDeformationMapSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ReferencePlaneSGIX(Double* equation);
+ internal unsafe static ReferencePlaneSGIX glReferencePlaneSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FlushRasterSGIX();
+ internal static FlushRasterSGIX glFlushRasterSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void FogFuncSGIS(Int32 n, Single* points);
+ internal unsafe static FogFuncSGIS glFogFuncSGIS;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetFogFuncSGIS([Out] Single* points);
+ internal unsafe static GetFogFuncSGIS glGetFogFuncSGIS;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ImageTransformParameteriHP(int target, int pname, Int32 param);
+ internal static ImageTransformParameteriHP glImageTransformParameteriHP;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ImageTransformParameterfHP(int target, int pname, Single param);
+ internal static ImageTransformParameterfHP glImageTransformParameterfHP;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ImageTransformParameterivHP(int target, int pname, Int32* @params);
+ internal unsafe static ImageTransformParameterivHP glImageTransformParameterivHP;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ImageTransformParameterfvHP(int target, int pname, Single* @params);
+ internal unsafe static ImageTransformParameterfvHP glImageTransformParameterfvHP;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetImageTransformParameterivHP(int target, int pname, [Out] Int32* @params);
+ internal unsafe static GetImageTransformParameterivHP glGetImageTransformParameterivHP;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetImageTransformParameterfvHP(int target, int pname, [Out] Single* @params);
+ internal unsafe static GetImageTransformParameterfvHP glGetImageTransformParameterfvHP;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ColorSubTableEXT(int target, Int32 start, Int32 count, int format, int type, IntPtr data);
+ internal static ColorSubTableEXT glColorSubTableEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CopyColorSubTableEXT(int target, Int32 start, Int32 x, Int32 y, Int32 width);
+ internal static CopyColorSubTableEXT glCopyColorSubTableEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void HintPGI(int target, Int32 mode);
+ internal static HintPGI glHintPGI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ColorTableEXT(int target, int internalFormat, Int32 width, int format, int type, IntPtr table);
+ internal static ColorTableEXT glColorTableEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GetColorTableEXT(int target, int format, int type, [Out] IntPtr data);
+ internal static GetColorTableEXT glGetColorTableEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetColorTableParameterivEXT(int target, int pname, [Out] Int32* @params);
+ internal unsafe static GetColorTableParameterivEXT glGetColorTableParameterivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetColorTableParameterfvEXT(int target, int pname, [Out] Single* @params);
+ internal unsafe static GetColorTableParameterfvEXT glGetColorTableParameterfvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetListParameterfvSGIX(UInt32 list, int pname, [Out] Single* @params);
+ internal unsafe static GetListParameterfvSGIX glGetListParameterfvSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetListParameterivSGIX(UInt32 list, int pname, [Out] Int32* @params);
+ internal unsafe static GetListParameterivSGIX glGetListParameterivSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ListParameterfSGIX(UInt32 list, int pname, Single param);
+ internal static ListParameterfSGIX glListParameterfSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ListParameterfvSGIX(UInt32 list, int pname, Single* @params);
+ internal unsafe static ListParameterfvSGIX glListParameterfvSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ListParameteriSGIX(UInt32 list, int pname, Int32 param);
+ internal static ListParameteriSGIX glListParameteriSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ListParameterivSGIX(UInt32 list, int pname, Int32* @params);
+ internal unsafe static ListParameterivSGIX glListParameterivSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void IndexMaterialEXT(int face, int mode);
+ internal static IndexMaterialEXT glIndexMaterialEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void IndexFuncEXT(int func, Single @ref);
+ internal static IndexFuncEXT glIndexFuncEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void LockArraysEXT(Int32 first, Int32 count);
+ internal static LockArraysEXT glLockArraysEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void UnlockArraysEXT();
+ internal static UnlockArraysEXT glUnlockArraysEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void CullParameterdvEXT(int pname, [Out] Double* @params);
+ internal unsafe static CullParameterdvEXT glCullParameterdvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void CullParameterfvEXT(int pname, [Out] Single* @params);
+ internal unsafe static CullParameterfvEXT glCullParameterfvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FragmentColorMaterialSGIX(int face, int mode);
+ internal static FragmentColorMaterialSGIX glFragmentColorMaterialSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FragmentLightfSGIX(int light, int pname, Single param);
+ internal static FragmentLightfSGIX glFragmentLightfSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void FragmentLightfvSGIX(int light, int pname, Single* @params);
+ internal unsafe static FragmentLightfvSGIX glFragmentLightfvSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FragmentLightiSGIX(int light, int pname, Int32 param);
+ internal static FragmentLightiSGIX glFragmentLightiSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void FragmentLightivSGIX(int light, int pname, Int32* @params);
+ internal unsafe static FragmentLightivSGIX glFragmentLightivSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FragmentLightModelfSGIX(int pname, Single param);
+ internal static FragmentLightModelfSGIX glFragmentLightModelfSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void FragmentLightModelfvSGIX(int pname, Single* @params);
+ internal unsafe static FragmentLightModelfvSGIX glFragmentLightModelfvSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FragmentLightModeliSGIX(int pname, Int32 param);
+ internal static FragmentLightModeliSGIX glFragmentLightModeliSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void FragmentLightModelivSGIX(int pname, Int32* @params);
+ internal unsafe static FragmentLightModelivSGIX glFragmentLightModelivSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FragmentMaterialfSGIX(int face, int pname, Single param);
+ internal static FragmentMaterialfSGIX glFragmentMaterialfSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void FragmentMaterialfvSGIX(int face, int pname, Single* @params);
+ internal unsafe static FragmentMaterialfvSGIX glFragmentMaterialfvSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FragmentMaterialiSGIX(int face, int pname, Int32 param);
+ internal static FragmentMaterialiSGIX glFragmentMaterialiSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void FragmentMaterialivSGIX(int face, int pname, Int32* @params);
+ internal unsafe static FragmentMaterialivSGIX glFragmentMaterialivSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetFragmentLightfvSGIX(int light, int pname, [Out] Single* @params);
+ internal unsafe static GetFragmentLightfvSGIX glGetFragmentLightfvSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetFragmentLightivSGIX(int light, int pname, [Out] Int32* @params);
+ internal unsafe static GetFragmentLightivSGIX glGetFragmentLightivSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetFragmentMaterialfvSGIX(int face, int pname, [Out] Single* @params);
+ internal unsafe static GetFragmentMaterialfvSGIX glGetFragmentMaterialfvSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetFragmentMaterialivSGIX(int face, int pname, [Out] Int32* @params);
+ internal unsafe static GetFragmentMaterialivSGIX glGetFragmentMaterialivSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void LightEnviSGIX(int pname, Int32 param);
+ internal static LightEnviSGIX glLightEnviSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DrawRangeElementsEXT(int mode, UInt32 start, UInt32 end, Int32 count, int type, IntPtr indices);
+ internal static DrawRangeElementsEXT glDrawRangeElementsEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ApplyTextureEXT(int mode);
+ internal static ApplyTextureEXT glApplyTextureEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TextureLightEXT(int pname);
+ internal static TextureLightEXT glTextureLightEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TextureMaterialEXT(int face, int mode);
+ internal static TextureMaterialEXT glTextureMaterialEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void AsyncMarkerSGIX(UInt32 marker);
+ internal static AsyncMarkerSGIX glAsyncMarkerSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate Int32 FinishAsyncSGIX([Out] UInt32* markerp);
+ internal unsafe static FinishAsyncSGIX glFinishAsyncSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate Int32 PollAsyncSGIX([Out] UInt32* markerp);
+ internal unsafe static PollAsyncSGIX glPollAsyncSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 GenAsyncMarkersSGIX(Int32 range);
+ internal static GenAsyncMarkersSGIX glGenAsyncMarkersSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DeleteAsyncMarkersSGIX(UInt32 marker, Int32 range);
+ internal static DeleteAsyncMarkersSGIX glDeleteAsyncMarkersSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 IsAsyncMarkerSGIX(UInt32 marker);
+ internal static IsAsyncMarkerSGIX glIsAsyncMarkerSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexPointervINTEL(Int32 size, int type, IntPtr pointer);
+ internal static VertexPointervINTEL glVertexPointervINTEL;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void NormalPointervINTEL(int type, IntPtr pointer);
+ internal static NormalPointervINTEL glNormalPointervINTEL;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ColorPointervINTEL(Int32 size, int type, IntPtr pointer);
+ internal static ColorPointervINTEL glColorPointervINTEL;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoordPointervINTEL(Int32 size, int type, IntPtr pointer);
+ internal static TexCoordPointervINTEL glTexCoordPointervINTEL;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PixelTransformParameteriEXT(int target, int pname, Int32 param);
+ internal static PixelTransformParameteriEXT glPixelTransformParameteriEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PixelTransformParameterfEXT(int target, int pname, Single param);
+ internal static PixelTransformParameterfEXT glPixelTransformParameterfEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void PixelTransformParameterivEXT(int target, int pname, Int32* @params);
+ internal unsafe static PixelTransformParameterivEXT glPixelTransformParameterivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void PixelTransformParameterfvEXT(int target, int pname, Single* @params);
+ internal unsafe static PixelTransformParameterfvEXT glPixelTransformParameterfvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SecondaryColor3bEXT(SByte red, SByte green, SByte blue);
+ internal static SecondaryColor3bEXT glSecondaryColor3bEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void SecondaryColor3bvEXT(SByte* v);
+ internal unsafe static SecondaryColor3bvEXT glSecondaryColor3bvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SecondaryColor3dEXT(Double red, Double green, Double blue);
+ internal static SecondaryColor3dEXT glSecondaryColor3dEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void SecondaryColor3dvEXT(Double* v);
+ internal unsafe static SecondaryColor3dvEXT glSecondaryColor3dvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SecondaryColor3fEXT(Single red, Single green, Single blue);
+ internal static SecondaryColor3fEXT glSecondaryColor3fEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void SecondaryColor3fvEXT(Single* v);
+ internal unsafe static SecondaryColor3fvEXT glSecondaryColor3fvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SecondaryColor3iEXT(Int32 red, Int32 green, Int32 blue);
+ internal static SecondaryColor3iEXT glSecondaryColor3iEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void SecondaryColor3ivEXT(Int32* v);
+ internal unsafe static SecondaryColor3ivEXT glSecondaryColor3ivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SecondaryColor3sEXT(Int16 red, Int16 green, Int16 blue);
+ internal static SecondaryColor3sEXT glSecondaryColor3sEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void SecondaryColor3svEXT(Int16* v);
+ internal unsafe static SecondaryColor3svEXT glSecondaryColor3svEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SecondaryColor3ubEXT(Byte red, Byte green, Byte blue);
+ internal static SecondaryColor3ubEXT glSecondaryColor3ubEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void SecondaryColor3ubvEXT(Byte* v);
+ internal unsafe static SecondaryColor3ubvEXT glSecondaryColor3ubvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SecondaryColor3uiEXT(UInt32 red, UInt32 green, UInt32 blue);
+ internal static SecondaryColor3uiEXT glSecondaryColor3uiEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void SecondaryColor3uivEXT(UInt32* v);
+ internal unsafe static SecondaryColor3uivEXT glSecondaryColor3uivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SecondaryColor3usEXT(UInt16 red, UInt16 green, UInt16 blue);
+ internal static SecondaryColor3usEXT glSecondaryColor3usEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void SecondaryColor3usvEXT(UInt16* v);
+ internal unsafe static SecondaryColor3usvEXT glSecondaryColor3usvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SecondaryColorPointerEXT(Int32 size, int type, Int32 stride, IntPtr pointer);
+ internal static SecondaryColorPointerEXT glSecondaryColorPointerEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TextureNormalEXT(int mode);
+ internal static TextureNormalEXT glTextureNormalEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiDrawArraysEXT(int mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount);
+ internal unsafe static MultiDrawArraysEXT glMultiDrawArraysEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiDrawElementsEXT(int mode, Int32* count, int type, IntPtr indices, Int32 primcount);
+ internal unsafe static MultiDrawElementsEXT glMultiDrawElementsEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FogCoordfEXT(Single coord);
+ internal static FogCoordfEXT glFogCoordfEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void FogCoordfvEXT(Single* coord);
+ internal unsafe static FogCoordfvEXT glFogCoordfvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FogCoorddEXT(Double coord);
+ internal static FogCoorddEXT glFogCoorddEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void FogCoorddvEXT(Double* coord);
+ internal unsafe static FogCoorddvEXT glFogCoorddvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FogCoordPointerEXT(int type, Int32 stride, IntPtr pointer);
+ internal static FogCoordPointerEXT glFogCoordPointerEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Tangent3bEXT(SByte tx, SByte ty, SByte tz);
+ internal static Tangent3bEXT glTangent3bEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Tangent3bvEXT(SByte* v);
+ internal unsafe static Tangent3bvEXT glTangent3bvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Tangent3dEXT(Double tx, Double ty, Double tz);
+ internal static Tangent3dEXT glTangent3dEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Tangent3dvEXT(Double* v);
+ internal unsafe static Tangent3dvEXT glTangent3dvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Tangent3fEXT(Single tx, Single ty, Single tz);
+ internal static Tangent3fEXT glTangent3fEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Tangent3fvEXT(Single* v);
+ internal unsafe static Tangent3fvEXT glTangent3fvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Tangent3iEXT(Int32 tx, Int32 ty, Int32 tz);
+ internal static Tangent3iEXT glTangent3iEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Tangent3ivEXT(Int32* v);
+ internal unsafe static Tangent3ivEXT glTangent3ivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Tangent3sEXT(Int16 tx, Int16 ty, Int16 tz);
+ internal static Tangent3sEXT glTangent3sEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Tangent3svEXT(Int16* v);
+ internal unsafe static Tangent3svEXT glTangent3svEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Binormal3bEXT(SByte bx, SByte by, SByte bz);
+ internal static Binormal3bEXT glBinormal3bEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Binormal3bvEXT(SByte* v);
+ internal unsafe static Binormal3bvEXT glBinormal3bvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Binormal3dEXT(Double bx, Double by, Double bz);
+ internal static Binormal3dEXT glBinormal3dEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Binormal3dvEXT(Double* v);
+ internal unsafe static Binormal3dvEXT glBinormal3dvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Binormal3fEXT(Single bx, Single by, Single bz);
+ internal static Binormal3fEXT glBinormal3fEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Binormal3fvEXT(Single* v);
+ internal unsafe static Binormal3fvEXT glBinormal3fvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Binormal3iEXT(Int32 bx, Int32 by, Int32 bz);
+ internal static Binormal3iEXT glBinormal3iEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Binormal3ivEXT(Int32* v);
+ internal unsafe static Binormal3ivEXT glBinormal3ivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Binormal3sEXT(Int16 bx, Int16 by, Int16 bz);
+ internal static Binormal3sEXT glBinormal3sEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Binormal3svEXT(Int16* v);
+ internal unsafe static Binormal3svEXT glBinormal3svEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TangentPointerEXT(int type, Int32 stride, IntPtr pointer);
+ internal static TangentPointerEXT glTangentPointerEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BinormalPointerEXT(int type, Int32 stride, IntPtr pointer);
+ internal static BinormalPointerEXT glBinormalPointerEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FinishTextureSUNX();
+ internal static FinishTextureSUNX glFinishTextureSUNX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GlobalAlphaFactorbSUN(SByte factor);
+ internal static GlobalAlphaFactorbSUN glGlobalAlphaFactorbSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GlobalAlphaFactorsSUN(Int16 factor);
+ internal static GlobalAlphaFactorsSUN glGlobalAlphaFactorsSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GlobalAlphaFactoriSUN(Int32 factor);
+ internal static GlobalAlphaFactoriSUN glGlobalAlphaFactoriSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GlobalAlphaFactorfSUN(Single factor);
+ internal static GlobalAlphaFactorfSUN glGlobalAlphaFactorfSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GlobalAlphaFactordSUN(Double factor);
+ internal static GlobalAlphaFactordSUN glGlobalAlphaFactordSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GlobalAlphaFactorubSUN(Byte factor);
+ internal static GlobalAlphaFactorubSUN glGlobalAlphaFactorubSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GlobalAlphaFactorusSUN(UInt16 factor);
+ internal static GlobalAlphaFactorusSUN glGlobalAlphaFactorusSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GlobalAlphaFactoruiSUN(UInt32 factor);
+ internal static GlobalAlphaFactoruiSUN glGlobalAlphaFactoruiSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ReplacementCodeuiSUN(UInt32 code);
+ internal static ReplacementCodeuiSUN glReplacementCodeuiSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ReplacementCodeusSUN(UInt16 code);
+ internal static ReplacementCodeusSUN glReplacementCodeusSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ReplacementCodeubSUN(Byte code);
+ internal static ReplacementCodeubSUN glReplacementCodeubSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ReplacementCodeuivSUN(UInt32* code);
+ internal unsafe static ReplacementCodeuivSUN glReplacementCodeuivSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ReplacementCodeusvSUN(UInt16* code);
+ internal unsafe static ReplacementCodeusvSUN glReplacementCodeusvSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ReplacementCodeubvSUN(Byte* code);
+ internal unsafe static ReplacementCodeubvSUN glReplacementCodeubvSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ReplacementCodePointerSUN(int type, Int32 stride, IntPtr pointer);
+ internal static ReplacementCodePointerSUN glReplacementCodePointerSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Color4ubVertex2fSUN(Byte r, Byte g, Byte b, Byte a, Single x, Single y);
+ internal static Color4ubVertex2fSUN glColor4ubVertex2fSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Color4ubVertex2fvSUN(Byte* c, Single* v);
+ internal unsafe static Color4ubVertex2fvSUN glColor4ubVertex2fvSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Color4ubVertex3fSUN(Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z);
+ internal static Color4ubVertex3fSUN glColor4ubVertex3fSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Color4ubVertex3fvSUN(Byte* c, Single* v);
+ internal unsafe static Color4ubVertex3fvSUN glColor4ubVertex3fvSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Color3fVertex3fSUN(Single r, Single g, Single b, Single x, Single y, Single z);
+ internal static Color3fVertex3fSUN glColor3fVertex3fSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Color3fVertex3fvSUN(Single* c, Single* v);
+ internal unsafe static Color3fVertex3fvSUN glColor3fVertex3fvSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Normal3fVertex3fSUN(Single nx, Single ny, Single nz, Single x, Single y, Single z);
+ internal static Normal3fVertex3fSUN glNormal3fVertex3fSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Normal3fVertex3fvSUN(Single* n, Single* v);
+ internal unsafe static Normal3fVertex3fvSUN glNormal3fVertex3fvSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Color4fNormal3fVertex3fSUN(Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z);
+ internal static Color4fNormal3fVertex3fSUN glColor4fNormal3fVertex3fSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Color4fNormal3fVertex3fvSUN(Single* c, Single* n, Single* v);
+ internal unsafe static Color4fNormal3fVertex3fvSUN glColor4fNormal3fVertex3fvSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord2fVertex3fSUN(Single s, Single t, Single x, Single y, Single z);
+ internal static TexCoord2fVertex3fSUN glTexCoord2fVertex3fSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord2fVertex3fvSUN(Single* tc, Single* v);
+ internal unsafe static TexCoord2fVertex3fvSUN glTexCoord2fVertex3fvSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord4fVertex4fSUN(Single s, Single t, Single p, Single q, Single x, Single y, Single z, Single w);
+ internal static TexCoord4fVertex4fSUN glTexCoord4fVertex4fSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord4fVertex4fvSUN(Single* tc, Single* v);
+ internal unsafe static TexCoord4fVertex4fvSUN glTexCoord4fVertex4fvSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord2fColor4ubVertex3fSUN(Single s, Single t, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z);
+ internal static TexCoord2fColor4ubVertex3fSUN glTexCoord2fColor4ubVertex3fSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord2fColor4ubVertex3fvSUN(Single* tc, Byte* c, Single* v);
+ internal unsafe static TexCoord2fColor4ubVertex3fvSUN glTexCoord2fColor4ubVertex3fvSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord2fColor3fVertex3fSUN(Single s, Single t, Single r, Single g, Single b, Single x, Single y, Single z);
+ internal static TexCoord2fColor3fVertex3fSUN glTexCoord2fColor3fVertex3fSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord2fColor3fVertex3fvSUN(Single* tc, Single* c, Single* v);
+ internal unsafe static TexCoord2fColor3fVertex3fvSUN glTexCoord2fColor3fVertex3fvSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord2fNormal3fVertex3fSUN(Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z);
+ internal static TexCoord2fNormal3fVertex3fSUN glTexCoord2fNormal3fVertex3fSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord2fNormal3fVertex3fvSUN(Single* tc, Single* n, Single* v);
+ internal unsafe static TexCoord2fNormal3fVertex3fvSUN glTexCoord2fNormal3fVertex3fvSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord2fColor4fNormal3fVertex3fSUN(Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z);
+ internal static TexCoord2fColor4fNormal3fVertex3fSUN glTexCoord2fColor4fNormal3fVertex3fSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord2fColor4fNormal3fVertex3fvSUN(Single* tc, Single* c, Single* n, Single* v);
+ internal unsafe static TexCoord2fColor4fNormal3fVertex3fvSUN glTexCoord2fColor4fNormal3fVertex3fvSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord4fColor4fNormal3fVertex4fSUN(Single s, Single t, Single p, Single q, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z, Single w);
+ internal static TexCoord4fColor4fNormal3fVertex4fSUN glTexCoord4fColor4fNormal3fVertex4fSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord4fColor4fNormal3fVertex4fvSUN(Single* tc, Single* c, Single* n, Single* v);
+ internal unsafe static TexCoord4fColor4fNormal3fVertex4fvSUN glTexCoord4fColor4fNormal3fVertex4fvSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ReplacementCodeuiVertex3fSUN(UInt32 rc, Single x, Single y, Single z);
+ internal static ReplacementCodeuiVertex3fSUN glReplacementCodeuiVertex3fSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ReplacementCodeuiVertex3fvSUN(UInt32* rc, Single* v);
+ internal unsafe static ReplacementCodeuiVertex3fvSUN glReplacementCodeuiVertex3fvSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ReplacementCodeuiColor4ubVertex3fSUN(UInt32 rc, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z);
+ internal static ReplacementCodeuiColor4ubVertex3fSUN glReplacementCodeuiColor4ubVertex3fSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ReplacementCodeuiColor4ubVertex3fvSUN(UInt32* rc, Byte* c, Single* v);
+ internal unsafe static ReplacementCodeuiColor4ubVertex3fvSUN glReplacementCodeuiColor4ubVertex3fvSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ReplacementCodeuiColor3fVertex3fSUN(UInt32 rc, Single r, Single g, Single b, Single x, Single y, Single z);
+ internal static ReplacementCodeuiColor3fVertex3fSUN glReplacementCodeuiColor3fVertex3fSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ReplacementCodeuiColor3fVertex3fvSUN(UInt32* rc, Single* c, Single* v);
+ internal unsafe static ReplacementCodeuiColor3fVertex3fvSUN glReplacementCodeuiColor3fVertex3fvSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ReplacementCodeuiNormal3fVertex3fSUN(UInt32 rc, Single nx, Single ny, Single nz, Single x, Single y, Single z);
+ internal static ReplacementCodeuiNormal3fVertex3fSUN glReplacementCodeuiNormal3fVertex3fSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ReplacementCodeuiNormal3fVertex3fvSUN(UInt32* rc, Single* n, Single* v);
+ internal unsafe static ReplacementCodeuiNormal3fVertex3fvSUN glReplacementCodeuiNormal3fVertex3fvSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ReplacementCodeuiColor4fNormal3fVertex3fSUN(UInt32 rc, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z);
+ internal static ReplacementCodeuiColor4fNormal3fVertex3fSUN glReplacementCodeuiColor4fNormal3fVertex3fSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32* rc, Single* c, Single* n, Single* v);
+ internal unsafe static ReplacementCodeuiColor4fNormal3fVertex3fvSUN glReplacementCodeuiColor4fNormal3fVertex3fvSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ReplacementCodeuiTexCoord2fVertex3fSUN(UInt32 rc, Single s, Single t, Single x, Single y, Single z);
+ internal static ReplacementCodeuiTexCoord2fVertex3fSUN glReplacementCodeuiTexCoord2fVertex3fSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ReplacementCodeuiTexCoord2fVertex3fvSUN(UInt32* rc, Single* tc, Single* v);
+ internal unsafe static ReplacementCodeuiTexCoord2fVertex3fvSUN glReplacementCodeuiTexCoord2fVertex3fvSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN(UInt32 rc, Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z);
+ internal static ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32* rc, Single* tc, Single* n, Single* v);
+ internal unsafe static ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN(UInt32 rc, Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z);
+ internal static ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32* rc, Single* tc, Single* c, Single* n, Single* v);
+ internal unsafe static ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BlendFuncSeparateEXT(int sfactorRGB, int dfactorRGB, int sfactorAlpha, int dfactorAlpha);
+ internal static BlendFuncSeparateEXT glBlendFuncSeparateEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BlendFuncSeparateINGR(int sfactorRGB, int dfactorRGB, int sfactorAlpha, int dfactorAlpha);
+ internal static BlendFuncSeparateINGR glBlendFuncSeparateINGR;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexWeightfEXT(Single weight);
+ internal static VertexWeightfEXT glVertexWeightfEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexWeightfvEXT(Single* weight);
+ internal unsafe static VertexWeightfvEXT glVertexWeightfvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexWeightPointerEXT(Int32 size, int type, Int32 stride, IntPtr pointer);
+ internal static VertexWeightPointerEXT glVertexWeightPointerEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FlushVertexArrayRangeNV();
+ internal static FlushVertexArrayRangeNV glFlushVertexArrayRangeNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexArrayRangeNV(Int32 length, IntPtr pointer);
+ internal static VertexArrayRangeNV glVertexArrayRangeNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void CombinerParameterfvNV(int pname, Single* @params);
+ internal unsafe static CombinerParameterfvNV glCombinerParameterfvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CombinerParameterfNV(int pname, Single param);
+ internal static CombinerParameterfNV glCombinerParameterfNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void CombinerParameterivNV(int pname, Int32* @params);
+ internal unsafe static CombinerParameterivNV glCombinerParameterivNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CombinerParameteriNV(int pname, Int32 param);
+ internal static CombinerParameteriNV glCombinerParameteriNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CombinerInputNV(int stage, int portion, int variable, int input, int mapping, int componentUsage);
+ internal static CombinerInputNV glCombinerInputNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CombinerOutputNV(int stage, int portion, int abOutput, int cdOutput, int sumOutput, int scale, int bias, Int32 abDotProduct, Int32 cdDotProduct, Int32 muxSum);
+ internal static CombinerOutputNV glCombinerOutputNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FinalCombinerInputNV(int variable, int input, int mapping, int componentUsage);
+ internal static FinalCombinerInputNV glFinalCombinerInputNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetCombinerInputParameterfvNV(int stage, int portion, int variable, int pname, [Out] Single* @params);
+ internal unsafe static GetCombinerInputParameterfvNV glGetCombinerInputParameterfvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetCombinerInputParameterivNV(int stage, int portion, int variable, int pname, [Out] Int32* @params);
+ internal unsafe static GetCombinerInputParameterivNV glGetCombinerInputParameterivNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetCombinerOutputParameterfvNV(int stage, int portion, int pname, [Out] Single* @params);
+ internal unsafe static GetCombinerOutputParameterfvNV glGetCombinerOutputParameterfvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetCombinerOutputParameterivNV(int stage, int portion, int pname, [Out] Int32* @params);
+ internal unsafe static GetCombinerOutputParameterivNV glGetCombinerOutputParameterivNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetFinalCombinerInputParameterfvNV(int variable, int pname, [Out] Single* @params);
+ internal unsafe static GetFinalCombinerInputParameterfvNV glGetFinalCombinerInputParameterfvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetFinalCombinerInputParameterivNV(int variable, int pname, [Out] Int32* @params);
+ internal unsafe static GetFinalCombinerInputParameterivNV glGetFinalCombinerInputParameterivNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ResizeBuffersMESA();
+ internal static ResizeBuffersMESA glResizeBuffersMESA;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WindowPos2dMESA(Double x, Double y);
+ internal static WindowPos2dMESA glWindowPos2dMESA;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WindowPos2dvMESA(Double* v);
+ internal unsafe static WindowPos2dvMESA glWindowPos2dvMESA;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WindowPos2fMESA(Single x, Single y);
+ internal static WindowPos2fMESA glWindowPos2fMESA;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WindowPos2fvMESA(Single* v);
+ internal unsafe static WindowPos2fvMESA glWindowPos2fvMESA;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WindowPos2iMESA(Int32 x, Int32 y);
+ internal static WindowPos2iMESA glWindowPos2iMESA;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WindowPos2ivMESA(Int32* v);
+ internal unsafe static WindowPos2ivMESA glWindowPos2ivMESA;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WindowPos2sMESA(Int16 x, Int16 y);
+ internal static WindowPos2sMESA glWindowPos2sMESA;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WindowPos2svMESA(Int16* v);
+ internal unsafe static WindowPos2svMESA glWindowPos2svMESA;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WindowPos3dMESA(Double x, Double y, Double z);
+ internal static WindowPos3dMESA glWindowPos3dMESA;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WindowPos3dvMESA(Double* v);
+ internal unsafe static WindowPos3dvMESA glWindowPos3dvMESA;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WindowPos3fMESA(Single x, Single y, Single z);
+ internal static WindowPos3fMESA glWindowPos3fMESA;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WindowPos3fvMESA(Single* v);
+ internal unsafe static WindowPos3fvMESA glWindowPos3fvMESA;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WindowPos3iMESA(Int32 x, Int32 y, Int32 z);
+ internal static WindowPos3iMESA glWindowPos3iMESA;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WindowPos3ivMESA(Int32* v);
+ internal unsafe static WindowPos3ivMESA glWindowPos3ivMESA;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WindowPos3sMESA(Int16 x, Int16 y, Int16 z);
+ internal static WindowPos3sMESA glWindowPos3sMESA;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WindowPos3svMESA(Int16* v);
+ internal unsafe static WindowPos3svMESA glWindowPos3svMESA;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WindowPos4dMESA(Double x, Double y, Double z, Double w);
+ internal static WindowPos4dMESA glWindowPos4dMESA;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WindowPos4dvMESA(Double* v);
+ internal unsafe static WindowPos4dvMESA glWindowPos4dvMESA;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WindowPos4fMESA(Single x, Single y, Single z, Single w);
+ internal static WindowPos4fMESA glWindowPos4fMESA;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WindowPos4fvMESA(Single* v);
+ internal unsafe static WindowPos4fvMESA glWindowPos4fvMESA;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WindowPos4iMESA(Int32 x, Int32 y, Int32 z, Int32 w);
+ internal static WindowPos4iMESA glWindowPos4iMESA;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WindowPos4ivMESA(Int32* v);
+ internal unsafe static WindowPos4ivMESA glWindowPos4ivMESA;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WindowPos4sMESA(Int16 x, Int16 y, Int16 z, Int16 w);
+ internal static WindowPos4sMESA glWindowPos4sMESA;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void WindowPos4svMESA(Int16* v);
+ internal unsafe static WindowPos4svMESA glWindowPos4svMESA;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiModeDrawArraysIBM(int* mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride);
+ internal unsafe static MultiModeDrawArraysIBM glMultiModeDrawArraysIBM;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiModeDrawElementsIBM(int* mode, Int32* count, int type, IntPtr indices, Int32 primcount, Int32 modestride);
+ internal unsafe static MultiModeDrawElementsIBM glMultiModeDrawElementsIBM;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ColorPointerListIBM(Int32 size, int type, Int32 stride, IntPtr pointer, Int32 ptrstride);
+ internal static ColorPointerListIBM glColorPointerListIBM;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SecondaryColorPointerListIBM(Int32 size, int type, Int32 stride, IntPtr pointer, Int32 ptrstride);
+ internal static SecondaryColorPointerListIBM glSecondaryColorPointerListIBM;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void EdgeFlagPointerListIBM(Int32 stride, Int32* pointer, Int32 ptrstride);
+ internal unsafe static EdgeFlagPointerListIBM glEdgeFlagPointerListIBM;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FogCoordPointerListIBM(int type, Int32 stride, IntPtr pointer, Int32 ptrstride);
+ internal static FogCoordPointerListIBM glFogCoordPointerListIBM;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void IndexPointerListIBM(int type, Int32 stride, IntPtr pointer, Int32 ptrstride);
+ internal static IndexPointerListIBM glIndexPointerListIBM;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void NormalPointerListIBM(int type, Int32 stride, IntPtr pointer, Int32 ptrstride);
+ internal static NormalPointerListIBM glNormalPointerListIBM;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoordPointerListIBM(Int32 size, int type, Int32 stride, IntPtr pointer, Int32 ptrstride);
+ internal static TexCoordPointerListIBM glTexCoordPointerListIBM;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexPointerListIBM(Int32 size, int type, Int32 stride, IntPtr pointer, Int32 ptrstride);
+ internal static VertexPointerListIBM glVertexPointerListIBM;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TbufferMask3DFX(UInt32 mask);
+ internal static TbufferMask3DFX glTbufferMask3DFX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SampleMaskEXT(Single value, Int32 invert);
+ internal static SampleMaskEXT glSampleMaskEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SamplePatternEXT(int pattern);
+ internal static SamplePatternEXT glSamplePatternEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TextureColorMaskSGIS(Int32 red, Int32 green, Int32 blue, Int32 alpha);
+ internal static TextureColorMaskSGIS glTextureColorMaskSGIS;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void IglooInterfaceSGIX(int pname, IntPtr @params);
+ internal static IglooInterfaceSGIX glIglooInterfaceSGIX;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void DeleteFencesNV(Int32 n, UInt32* fences);
+ internal unsafe static DeleteFencesNV glDeleteFencesNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GenFencesNV(Int32 n, [Out] UInt32* fences);
+ internal unsafe static GenFencesNV glGenFencesNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 IsFenceNV(UInt32 fence);
+ internal static IsFenceNV glIsFenceNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 TestFenceNV(UInt32 fence);
+ internal static TestFenceNV glTestFenceNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetFenceivNV(UInt32 fence, int pname, [Out] Int32* @params);
+ internal unsafe static GetFenceivNV glGetFenceivNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FinishFenceNV(UInt32 fence);
+ internal static FinishFenceNV glFinishFenceNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SetFenceNV(UInt32 fence, int condition);
+ internal static SetFenceNV glSetFenceNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MapControlPointsNV(int target, UInt32 index, int type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, Int32 packed, IntPtr points);
+ internal static MapControlPointsNV glMapControlPointsNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MapParameterivNV(int target, int pname, Int32* @params);
+ internal unsafe static MapParameterivNV glMapParameterivNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MapParameterfvNV(int target, int pname, Single* @params);
+ internal unsafe static MapParameterfvNV glMapParameterfvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GetMapControlPointsNV(int target, UInt32 index, int type, Int32 ustride, Int32 vstride, Int32 packed, [Out] IntPtr points);
+ internal static GetMapControlPointsNV glGetMapControlPointsNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetMapParameterivNV(int target, int pname, [Out] Int32* @params);
+ internal unsafe static GetMapParameterivNV glGetMapParameterivNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetMapParameterfvNV(int target, int pname, [Out] Single* @params);
+ internal unsafe static GetMapParameterfvNV glGetMapParameterfvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetMapAttribParameterivNV(int target, UInt32 index, int pname, [Out] Int32* @params);
+ internal unsafe static GetMapAttribParameterivNV glGetMapAttribParameterivNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetMapAttribParameterfvNV(int target, UInt32 index, int pname, [Out] Single* @params);
+ internal unsafe static GetMapAttribParameterfvNV glGetMapAttribParameterfvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void EvalMapsNV(int target, int mode);
+ internal static EvalMapsNV glEvalMapsNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void CombinerStageParameterfvNV(int stage, int pname, Single* @params);
+ internal unsafe static CombinerStageParameterfvNV glCombinerStageParameterfvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetCombinerStageParameterfvNV(int stage, int pname, [Out] Single* @params);
+ internal unsafe static GetCombinerStageParameterfvNV glGetCombinerStageParameterfvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate Int32 AreProgramsResidentNV(Int32 n, UInt32* programs, [Out] Int32* residences);
+ internal unsafe static AreProgramsResidentNV glAreProgramsResidentNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BindProgramNV(int target, UInt32 id);
+ internal static BindProgramNV glBindProgramNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void DeleteProgramsNV(Int32 n, UInt32* programs);
+ internal unsafe static DeleteProgramsNV glDeleteProgramsNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ExecuteProgramNV(int target, UInt32 id, Single* @params);
+ internal unsafe static ExecuteProgramNV glExecuteProgramNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GenProgramsNV(Int32 n, [Out] UInt32* programs);
+ internal unsafe static GenProgramsNV glGenProgramsNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetProgramParameterdvNV(int target, UInt32 index, int pname, [Out] Double* @params);
+ internal unsafe static GetProgramParameterdvNV glGetProgramParameterdvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetProgramParameterfvNV(int target, UInt32 index, int pname, [Out] Single* @params);
+ internal unsafe static GetProgramParameterfvNV glGetProgramParameterfvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetProgramivNV(UInt32 id, int pname, [Out] Int32* @params);
+ internal unsafe static GetProgramivNV glGetProgramivNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetProgramStringNV(UInt32 id, int pname, [Out] Byte* program);
+ internal unsafe static GetProgramStringNV glGetProgramStringNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetTrackMatrixivNV(int target, UInt32 address, int pname, [Out] Int32* @params);
+ internal unsafe static GetTrackMatrixivNV glGetTrackMatrixivNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetVertexAttribdvNV(UInt32 index, int pname, [Out] Double* @params);
+ internal unsafe static GetVertexAttribdvNV glGetVertexAttribdvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetVertexAttribfvNV(UInt32 index, int pname, [Out] Single* @params);
+ internal unsafe static GetVertexAttribfvNV glGetVertexAttribfvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetVertexAttribivNV(UInt32 index, int pname, [Out] Int32* @params);
+ internal unsafe static GetVertexAttribivNV glGetVertexAttribivNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GetVertexAttribPointervNV(UInt32 index, int pname, [Out] IntPtr pointer);
+ internal static GetVertexAttribPointervNV glGetVertexAttribPointervNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 IsProgramNV(UInt32 id);
+ internal static IsProgramNV glIsProgramNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void LoadProgramNV(int target, UInt32 id, Int32 len, Byte* program);
+ internal unsafe static LoadProgramNV glLoadProgramNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ProgramParameter4dNV(int target, UInt32 index, Double x, Double y, Double z, Double w);
+ internal static ProgramParameter4dNV glProgramParameter4dNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ProgramParameter4dvNV(int target, UInt32 index, Double* v);
+ internal unsafe static ProgramParameter4dvNV glProgramParameter4dvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ProgramParameter4fNV(int target, UInt32 index, Single x, Single y, Single z, Single w);
+ internal static ProgramParameter4fNV glProgramParameter4fNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ProgramParameter4fvNV(int target, UInt32 index, Single* v);
+ internal unsafe static ProgramParameter4fvNV glProgramParameter4fvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ProgramParameters4dvNV(int target, UInt32 index, UInt32 count, Double* v);
+ internal unsafe static ProgramParameters4dvNV glProgramParameters4dvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ProgramParameters4fvNV(int target, UInt32 index, UInt32 count, Single* v);
+ internal unsafe static ProgramParameters4fvNV glProgramParameters4fvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void RequestResidentProgramsNV(Int32 n, UInt32* programs);
+ internal unsafe static RequestResidentProgramsNV glRequestResidentProgramsNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TrackMatrixNV(int target, UInt32 address, int matrix, int transform);
+ internal static TrackMatrixNV glTrackMatrixNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttribPointerNV(UInt32 index, Int32 fsize, int type, Int32 stride, IntPtr pointer);
+ internal static VertexAttribPointerNV glVertexAttribPointerNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib1dNV(UInt32 index, Double x);
+ internal static VertexAttrib1dNV glVertexAttrib1dNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib1dvNV(UInt32 index, Double* v);
+ internal unsafe static VertexAttrib1dvNV glVertexAttrib1dvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib1fNV(UInt32 index, Single x);
+ internal static VertexAttrib1fNV glVertexAttrib1fNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib1fvNV(UInt32 index, Single* v);
+ internal unsafe static VertexAttrib1fvNV glVertexAttrib1fvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib1sNV(UInt32 index, Int16 x);
+ internal static VertexAttrib1sNV glVertexAttrib1sNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib1svNV(UInt32 index, Int16* v);
+ internal unsafe static VertexAttrib1svNV glVertexAttrib1svNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib2dNV(UInt32 index, Double x, Double y);
+ internal static VertexAttrib2dNV glVertexAttrib2dNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib2dvNV(UInt32 index, Double* v);
+ internal unsafe static VertexAttrib2dvNV glVertexAttrib2dvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib2fNV(UInt32 index, Single x, Single y);
+ internal static VertexAttrib2fNV glVertexAttrib2fNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib2fvNV(UInt32 index, Single* v);
+ internal unsafe static VertexAttrib2fvNV glVertexAttrib2fvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib2sNV(UInt32 index, Int16 x, Int16 y);
+ internal static VertexAttrib2sNV glVertexAttrib2sNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib2svNV(UInt32 index, Int16* v);
+ internal unsafe static VertexAttrib2svNV glVertexAttrib2svNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib3dNV(UInt32 index, Double x, Double y, Double z);
+ internal static VertexAttrib3dNV glVertexAttrib3dNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib3dvNV(UInt32 index, Double* v);
+ internal unsafe static VertexAttrib3dvNV glVertexAttrib3dvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib3fNV(UInt32 index, Single x, Single y, Single z);
+ internal static VertexAttrib3fNV glVertexAttrib3fNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib3fvNV(UInt32 index, Single* v);
+ internal unsafe static VertexAttrib3fvNV glVertexAttrib3fvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib3sNV(UInt32 index, Int16 x, Int16 y, Int16 z);
+ internal static VertexAttrib3sNV glVertexAttrib3sNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib3svNV(UInt32 index, Int16* v);
+ internal unsafe static VertexAttrib3svNV glVertexAttrib3svNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib4dNV(UInt32 index, Double x, Double y, Double z, Double w);
+ internal static VertexAttrib4dNV glVertexAttrib4dNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4dvNV(UInt32 index, Double* v);
+ internal unsafe static VertexAttrib4dvNV glVertexAttrib4dvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib4fNV(UInt32 index, Single x, Single y, Single z, Single w);
+ internal static VertexAttrib4fNV glVertexAttrib4fNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4fvNV(UInt32 index, Single* v);
+ internal unsafe static VertexAttrib4fvNV glVertexAttrib4fvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib4sNV(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w);
+ internal static VertexAttrib4sNV glVertexAttrib4sNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4svNV(UInt32 index, Int16* v);
+ internal unsafe static VertexAttrib4svNV glVertexAttrib4svNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib4ubNV(UInt32 index, Byte x, Byte y, Byte z, Byte w);
+ internal static VertexAttrib4ubNV glVertexAttrib4ubNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4ubvNV(UInt32 index, Byte* v);
+ internal unsafe static VertexAttrib4ubvNV glVertexAttrib4ubvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttribs1dvNV(UInt32 index, Int32 count, Double* v);
+ internal unsafe static VertexAttribs1dvNV glVertexAttribs1dvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttribs1fvNV(UInt32 index, Int32 count, Single* v);
+ internal unsafe static VertexAttribs1fvNV glVertexAttribs1fvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttribs1svNV(UInt32 index, Int32 count, Int16* v);
+ internal unsafe static VertexAttribs1svNV glVertexAttribs1svNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttribs2dvNV(UInt32 index, Int32 count, Double* v);
+ internal unsafe static VertexAttribs2dvNV glVertexAttribs2dvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttribs2fvNV(UInt32 index, Int32 count, Single* v);
+ internal unsafe static VertexAttribs2fvNV glVertexAttribs2fvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttribs2svNV(UInt32 index, Int32 count, Int16* v);
+ internal unsafe static VertexAttribs2svNV glVertexAttribs2svNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttribs3dvNV(UInt32 index, Int32 count, Double* v);
+ internal unsafe static VertexAttribs3dvNV glVertexAttribs3dvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttribs3fvNV(UInt32 index, Int32 count, Single* v);
+ internal unsafe static VertexAttribs3fvNV glVertexAttribs3fvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttribs3svNV(UInt32 index, Int32 count, Int16* v);
+ internal unsafe static VertexAttribs3svNV glVertexAttribs3svNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttribs4dvNV(UInt32 index, Int32 count, Double* v);
+ internal unsafe static VertexAttribs4dvNV glVertexAttribs4dvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttribs4fvNV(UInt32 index, Int32 count, Single* v);
+ internal unsafe static VertexAttribs4fvNV glVertexAttribs4fvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttribs4svNV(UInt32 index, Int32 count, Int16* v);
+ internal unsafe static VertexAttribs4svNV glVertexAttribs4svNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttribs4ubvNV(UInt32 index, Int32 count, Byte* v);
+ internal unsafe static VertexAttribs4ubvNV glVertexAttribs4ubvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexBumpParameterivATI(int pname, Int32* param);
+ internal unsafe static TexBumpParameterivATI glTexBumpParameterivATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexBumpParameterfvATI(int pname, Single* param);
+ internal unsafe static TexBumpParameterfvATI glTexBumpParameterfvATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetTexBumpParameterivATI(int pname, [Out] Int32* param);
+ internal unsafe static GetTexBumpParameterivATI glGetTexBumpParameterivATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetTexBumpParameterfvATI(int pname, [Out] Single* param);
+ internal unsafe static GetTexBumpParameterfvATI glGetTexBumpParameterfvATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 GenFragmentShadersATI(UInt32 range);
+ internal static GenFragmentShadersATI glGenFragmentShadersATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BindFragmentShaderATI(UInt32 id);
+ internal static BindFragmentShaderATI glBindFragmentShaderATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DeleteFragmentShaderATI(UInt32 id);
+ internal static DeleteFragmentShaderATI glDeleteFragmentShaderATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BeginFragmentShaderATI();
+ internal static BeginFragmentShaderATI glBeginFragmentShaderATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void EndFragmentShaderATI();
+ internal static EndFragmentShaderATI glEndFragmentShaderATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PassTexCoordATI(UInt32 dst, UInt32 coord, int swizzle);
+ internal static PassTexCoordATI glPassTexCoordATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SampleMapATI(UInt32 dst, UInt32 interp, int swizzle);
+ internal static SampleMapATI glSampleMapATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ColorFragmentOp1ATI(int op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod);
+ internal static ColorFragmentOp1ATI glColorFragmentOp1ATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ColorFragmentOp2ATI(int op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod);
+ internal static ColorFragmentOp2ATI glColorFragmentOp2ATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ColorFragmentOp3ATI(int op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod);
+ internal static ColorFragmentOp3ATI glColorFragmentOp3ATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void AlphaFragmentOp1ATI(int op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod);
+ internal static AlphaFragmentOp1ATI glAlphaFragmentOp1ATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void AlphaFragmentOp2ATI(int op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod);
+ internal static AlphaFragmentOp2ATI glAlphaFragmentOp2ATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void AlphaFragmentOp3ATI(int op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod);
+ internal static AlphaFragmentOp3ATI glAlphaFragmentOp3ATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void SetFragmentShaderConstantATI(UInt32 dst, Single* value);
+ internal unsafe static SetFragmentShaderConstantATI glSetFragmentShaderConstantATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PNTrianglesiATI(int pname, Int32 param);
+ internal static PNTrianglesiATI glPNTrianglesiATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PNTrianglesfATI(int pname, Single param);
+ internal static PNTrianglesfATI glPNTrianglesfATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 NewObjectBufferATI(Int32 size, IntPtr pointer, int usage);
+ internal static NewObjectBufferATI glNewObjectBufferATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 IsObjectBufferATI(UInt32 buffer);
+ internal static IsObjectBufferATI glIsObjectBufferATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void UpdateObjectBufferATI(UInt32 buffer, UInt32 offset, Int32 size, IntPtr pointer, int preserve);
+ internal static UpdateObjectBufferATI glUpdateObjectBufferATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetObjectBufferfvATI(UInt32 buffer, int pname, [Out] Single* @params);
+ internal unsafe static GetObjectBufferfvATI glGetObjectBufferfvATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetObjectBufferivATI(UInt32 buffer, int pname, [Out] Int32* @params);
+ internal unsafe static GetObjectBufferivATI glGetObjectBufferivATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FreeObjectBufferATI(UInt32 buffer);
+ internal static FreeObjectBufferATI glFreeObjectBufferATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ArrayObjectATI(int array, Int32 size, int type, Int32 stride, UInt32 buffer, UInt32 offset);
+ internal static ArrayObjectATI glArrayObjectATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetArrayObjectfvATI(int array, int pname, [Out] Single* @params);
+ internal unsafe static GetArrayObjectfvATI glGetArrayObjectfvATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetArrayObjectivATI(int array, int pname, [Out] Int32* @params);
+ internal unsafe static GetArrayObjectivATI glGetArrayObjectivATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VariantArrayObjectATI(UInt32 id, int type, Int32 stride, UInt32 buffer, UInt32 offset);
+ internal static VariantArrayObjectATI glVariantArrayObjectATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetVariantArrayObjectfvATI(UInt32 id, int pname, [Out] Single* @params);
+ internal unsafe static GetVariantArrayObjectfvATI glGetVariantArrayObjectfvATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetVariantArrayObjectivATI(UInt32 id, int pname, [Out] Int32* @params);
+ internal unsafe static GetVariantArrayObjectivATI glGetVariantArrayObjectivATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BeginVertexShaderEXT();
+ internal static BeginVertexShaderEXT glBeginVertexShaderEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void EndVertexShaderEXT();
+ internal static EndVertexShaderEXT glEndVertexShaderEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BindVertexShaderEXT(UInt32 id);
+ internal static BindVertexShaderEXT glBindVertexShaderEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 GenVertexShadersEXT(UInt32 range);
+ internal static GenVertexShadersEXT glGenVertexShadersEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DeleteVertexShaderEXT(UInt32 id);
+ internal static DeleteVertexShaderEXT glDeleteVertexShaderEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ShaderOp1EXT(int op, UInt32 res, UInt32 arg1);
+ internal static ShaderOp1EXT glShaderOp1EXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ShaderOp2EXT(int op, UInt32 res, UInt32 arg1, UInt32 arg2);
+ internal static ShaderOp2EXT glShaderOp2EXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ShaderOp3EXT(int op, UInt32 res, UInt32 arg1, UInt32 arg2, UInt32 arg3);
+ internal static ShaderOp3EXT glShaderOp3EXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SwizzleEXT(UInt32 res, UInt32 @in, int outX, int outY, int outZ, int outW);
+ internal static SwizzleEXT glSwizzleEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WriteMaskEXT(UInt32 res, UInt32 @in, int outX, int outY, int outZ, int outW);
+ internal static WriteMaskEXT glWriteMaskEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void InsertComponentEXT(UInt32 res, UInt32 src, UInt32 num);
+ internal static InsertComponentEXT glInsertComponentEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ExtractComponentEXT(UInt32 res, UInt32 src, UInt32 num);
+ internal static ExtractComponentEXT glExtractComponentEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 GenSymbolsEXT(int datatype, int storagetype, int range, UInt32 components);
+ internal static GenSymbolsEXT glGenSymbolsEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SetInvariantEXT(UInt32 id, int type, IntPtr addr);
+ internal static SetInvariantEXT glSetInvariantEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SetLocalConstantEXT(UInt32 id, int type, IntPtr addr);
+ internal static SetLocalConstantEXT glSetLocalConstantEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VariantbvEXT(UInt32 id, SByte* addr);
+ internal unsafe static VariantbvEXT glVariantbvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VariantsvEXT(UInt32 id, Int16* addr);
+ internal unsafe static VariantsvEXT glVariantsvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VariantivEXT(UInt32 id, Int32* addr);
+ internal unsafe static VariantivEXT glVariantivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VariantfvEXT(UInt32 id, Single* addr);
+ internal unsafe static VariantfvEXT glVariantfvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VariantdvEXT(UInt32 id, Double* addr);
+ internal unsafe static VariantdvEXT glVariantdvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VariantubvEXT(UInt32 id, Byte* addr);
+ internal unsafe static VariantubvEXT glVariantubvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VariantusvEXT(UInt32 id, UInt16* addr);
+ internal unsafe static VariantusvEXT glVariantusvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VariantuivEXT(UInt32 id, UInt32* addr);
+ internal unsafe static VariantuivEXT glVariantuivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VariantPointerEXT(UInt32 id, int type, UInt32 stride, IntPtr addr);
+ internal static VariantPointerEXT glVariantPointerEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void EnableVariantClientStateEXT(UInt32 id);
+ internal static EnableVariantClientStateEXT glEnableVariantClientStateEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DisableVariantClientStateEXT(UInt32 id);
+ internal static DisableVariantClientStateEXT glDisableVariantClientStateEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 BindLightParameterEXT(int light, int value);
+ internal static BindLightParameterEXT glBindLightParameterEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 BindMaterialParameterEXT(int face, int value);
+ internal static BindMaterialParameterEXT glBindMaterialParameterEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 BindTexGenParameterEXT(int unit, int coord, int value);
+ internal static BindTexGenParameterEXT glBindTexGenParameterEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 BindTextureUnitParameterEXT(int unit, int value);
+ internal static BindTextureUnitParameterEXT glBindTextureUnitParameterEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 BindParameterEXT(int value);
+ internal static BindParameterEXT glBindParameterEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 IsVariantEnabledEXT(UInt32 id, int cap);
+ internal static IsVariantEnabledEXT glIsVariantEnabledEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetVariantBooleanvEXT(UInt32 id, int value, [Out] Int32* data);
+ internal unsafe static GetVariantBooleanvEXT glGetVariantBooleanvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetVariantIntegervEXT(UInt32 id, int value, [Out] Int32* data);
+ internal unsafe static GetVariantIntegervEXT glGetVariantIntegervEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetVariantFloatvEXT(UInt32 id, int value, [Out] Single* data);
+ internal unsafe static GetVariantFloatvEXT glGetVariantFloatvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GetVariantPointervEXT(UInt32 id, int value, [Out] IntPtr data);
+ internal static GetVariantPointervEXT glGetVariantPointervEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetInvariantBooleanvEXT(UInt32 id, int value, [Out] Int32* data);
+ internal unsafe static GetInvariantBooleanvEXT glGetInvariantBooleanvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetInvariantIntegervEXT(UInt32 id, int value, [Out] Int32* data);
+ internal unsafe static GetInvariantIntegervEXT glGetInvariantIntegervEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetInvariantFloatvEXT(UInt32 id, int value, [Out] Single* data);
+ internal unsafe static GetInvariantFloatvEXT glGetInvariantFloatvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetLocalConstantBooleanvEXT(UInt32 id, int value, [Out] Int32* data);
+ internal unsafe static GetLocalConstantBooleanvEXT glGetLocalConstantBooleanvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetLocalConstantIntegervEXT(UInt32 id, int value, [Out] Int32* data);
+ internal unsafe static GetLocalConstantIntegervEXT glGetLocalConstantIntegervEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetLocalConstantFloatvEXT(UInt32 id, int value, [Out] Single* data);
+ internal unsafe static GetLocalConstantFloatvEXT glGetLocalConstantFloatvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexStream1sATI(int stream, Int16 x);
+ internal static VertexStream1sATI glVertexStream1sATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexStream1svATI(int stream, Int16* coords);
+ internal unsafe static VertexStream1svATI glVertexStream1svATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexStream1iATI(int stream, Int32 x);
+ internal static VertexStream1iATI glVertexStream1iATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexStream1ivATI(int stream, Int32* coords);
+ internal unsafe static VertexStream1ivATI glVertexStream1ivATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexStream1fATI(int stream, Single x);
+ internal static VertexStream1fATI glVertexStream1fATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexStream1fvATI(int stream, Single* coords);
+ internal unsafe static VertexStream1fvATI glVertexStream1fvATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexStream1dATI(int stream, Double x);
+ internal static VertexStream1dATI glVertexStream1dATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexStream1dvATI(int stream, Double* coords);
+ internal unsafe static VertexStream1dvATI glVertexStream1dvATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexStream2sATI(int stream, Int16 x, Int16 y);
+ internal static VertexStream2sATI glVertexStream2sATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexStream2svATI(int stream, Int16* coords);
+ internal unsafe static VertexStream2svATI glVertexStream2svATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexStream2iATI(int stream, Int32 x, Int32 y);
+ internal static VertexStream2iATI glVertexStream2iATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexStream2ivATI(int stream, Int32* coords);
+ internal unsafe static VertexStream2ivATI glVertexStream2ivATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexStream2fATI(int stream, Single x, Single y);
+ internal static VertexStream2fATI glVertexStream2fATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexStream2fvATI(int stream, Single* coords);
+ internal unsafe static VertexStream2fvATI glVertexStream2fvATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexStream2dATI(int stream, Double x, Double y);
+ internal static VertexStream2dATI glVertexStream2dATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexStream2dvATI(int stream, Double* coords);
+ internal unsafe static VertexStream2dvATI glVertexStream2dvATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexStream3sATI(int stream, Int16 x, Int16 y, Int16 z);
+ internal static VertexStream3sATI glVertexStream3sATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexStream3svATI(int stream, Int16* coords);
+ internal unsafe static VertexStream3svATI glVertexStream3svATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexStream3iATI(int stream, Int32 x, Int32 y, Int32 z);
+ internal static VertexStream3iATI glVertexStream3iATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexStream3ivATI(int stream, Int32* coords);
+ internal unsafe static VertexStream3ivATI glVertexStream3ivATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexStream3fATI(int stream, Single x, Single y, Single z);
+ internal static VertexStream3fATI glVertexStream3fATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexStream3fvATI(int stream, Single* coords);
+ internal unsafe static VertexStream3fvATI glVertexStream3fvATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexStream3dATI(int stream, Double x, Double y, Double z);
+ internal static VertexStream3dATI glVertexStream3dATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexStream3dvATI(int stream, Double* coords);
+ internal unsafe static VertexStream3dvATI glVertexStream3dvATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexStream4sATI(int stream, Int16 x, Int16 y, Int16 z, Int16 w);
+ internal static VertexStream4sATI glVertexStream4sATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexStream4svATI(int stream, Int16* coords);
+ internal unsafe static VertexStream4svATI glVertexStream4svATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexStream4iATI(int stream, Int32 x, Int32 y, Int32 z, Int32 w);
+ internal static VertexStream4iATI glVertexStream4iATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexStream4ivATI(int stream, Int32* coords);
+ internal unsafe static VertexStream4ivATI glVertexStream4ivATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexStream4fATI(int stream, Single x, Single y, Single z, Single w);
+ internal static VertexStream4fATI glVertexStream4fATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexStream4fvATI(int stream, Single* coords);
+ internal unsafe static VertexStream4fvATI glVertexStream4fvATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexStream4dATI(int stream, Double x, Double y, Double z, Double w);
+ internal static VertexStream4dATI glVertexStream4dATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexStream4dvATI(int stream, Double* coords);
+ internal unsafe static VertexStream4dvATI glVertexStream4dvATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void NormalStream3bATI(int stream, SByte nx, SByte ny, SByte nz);
+ internal static NormalStream3bATI glNormalStream3bATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void NormalStream3bvATI(int stream, SByte* coords);
+ internal unsafe static NormalStream3bvATI glNormalStream3bvATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void NormalStream3sATI(int stream, Int16 nx, Int16 ny, Int16 nz);
+ internal static NormalStream3sATI glNormalStream3sATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void NormalStream3svATI(int stream, Int16* coords);
+ internal unsafe static NormalStream3svATI glNormalStream3svATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void NormalStream3iATI(int stream, Int32 nx, Int32 ny, Int32 nz);
+ internal static NormalStream3iATI glNormalStream3iATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void NormalStream3ivATI(int stream, Int32* coords);
+ internal unsafe static NormalStream3ivATI glNormalStream3ivATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void NormalStream3fATI(int stream, Single nx, Single ny, Single nz);
+ internal static NormalStream3fATI glNormalStream3fATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void NormalStream3fvATI(int stream, Single* coords);
+ internal unsafe static NormalStream3fvATI glNormalStream3fvATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void NormalStream3dATI(int stream, Double nx, Double ny, Double nz);
+ internal static NormalStream3dATI glNormalStream3dATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void NormalStream3dvATI(int stream, Double* coords);
+ internal unsafe static NormalStream3dvATI glNormalStream3dvATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ClientActiveVertexStreamATI(int stream);
+ internal static ClientActiveVertexStreamATI glClientActiveVertexStreamATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexBlendEnviATI(int pname, Int32 param);
+ internal static VertexBlendEnviATI glVertexBlendEnviATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexBlendEnvfATI(int pname, Single param);
+ internal static VertexBlendEnvfATI glVertexBlendEnvfATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ElementPointerATI(int type, IntPtr pointer);
+ internal static ElementPointerATI glElementPointerATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DrawElementArrayATI(int mode, Int32 count);
+ internal static DrawElementArrayATI glDrawElementArrayATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DrawRangeElementArrayATI(int mode, UInt32 start, UInt32 end, Int32 count);
+ internal static DrawRangeElementArrayATI glDrawRangeElementArrayATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DrawMeshArraysSUN(int mode, Int32 first, Int32 count, Int32 width);
+ internal static DrawMeshArraysSUN glDrawMeshArraysSUN;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GenOcclusionQueriesNV(Int32 n, [Out] UInt32* ids);
+ internal unsafe static GenOcclusionQueriesNV glGenOcclusionQueriesNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void DeleteOcclusionQueriesNV(Int32 n, UInt32* ids);
+ internal unsafe static DeleteOcclusionQueriesNV glDeleteOcclusionQueriesNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 IsOcclusionQueryNV(UInt32 id);
+ internal static IsOcclusionQueryNV glIsOcclusionQueryNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BeginOcclusionQueryNV(UInt32 id);
+ internal static BeginOcclusionQueryNV glBeginOcclusionQueryNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void EndOcclusionQueryNV();
+ internal static EndOcclusionQueryNV glEndOcclusionQueryNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetOcclusionQueryivNV(UInt32 id, int pname, [Out] Int32* @params);
+ internal unsafe static GetOcclusionQueryivNV glGetOcclusionQueryivNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetOcclusionQueryuivNV(UInt32 id, int pname, [Out] UInt32* @params);
+ internal unsafe static GetOcclusionQueryuivNV glGetOcclusionQueryuivNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PointParameteriNV(int pname, Int32 param);
+ internal static PointParameteriNV glPointParameteriNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void PointParameterivNV(int pname, Int32* @params);
+ internal unsafe static PointParameterivNV glPointParameterivNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ActiveStencilFaceEXT(int face);
+ internal static ActiveStencilFaceEXT glActiveStencilFaceEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ElementPointerAPPLE(int type, IntPtr pointer);
+ internal static ElementPointerAPPLE glElementPointerAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DrawElementArrayAPPLE(int mode, Int32 first, Int32 count);
+ internal static DrawElementArrayAPPLE glDrawElementArrayAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DrawRangeElementArrayAPPLE(int mode, UInt32 start, UInt32 end, Int32 first, Int32 count);
+ internal static DrawRangeElementArrayAPPLE glDrawRangeElementArrayAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiDrawElementArrayAPPLE(int mode, Int32* first, Int32* count, Int32 primcount);
+ internal unsafe static MultiDrawElementArrayAPPLE glMultiDrawElementArrayAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiDrawRangeElementArrayAPPLE(int mode, UInt32 start, UInt32 end, Int32* first, Int32* count, Int32 primcount);
+ internal unsafe static MultiDrawRangeElementArrayAPPLE glMultiDrawRangeElementArrayAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GenFencesAPPLE(Int32 n, [Out] UInt32* fences);
+ internal unsafe static GenFencesAPPLE glGenFencesAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void DeleteFencesAPPLE(Int32 n, UInt32* fences);
+ internal unsafe static DeleteFencesAPPLE glDeleteFencesAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SetFenceAPPLE(UInt32 fence);
+ internal static SetFenceAPPLE glSetFenceAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 IsFenceAPPLE(UInt32 fence);
+ internal static IsFenceAPPLE glIsFenceAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 TestFenceAPPLE(UInt32 fence);
+ internal static TestFenceAPPLE glTestFenceAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FinishFenceAPPLE(UInt32 fence);
+ internal static FinishFenceAPPLE glFinishFenceAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 TestObjectAPPLE(int @object, UInt32 name);
+ internal static TestObjectAPPLE glTestObjectAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FinishObjectAPPLE(int @object, Int32 name);
+ internal static FinishObjectAPPLE glFinishObjectAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BindVertexArrayAPPLE(UInt32 array);
+ internal static BindVertexArrayAPPLE glBindVertexArrayAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void DeleteVertexArraysAPPLE(Int32 n, UInt32* arrays);
+ internal unsafe static DeleteVertexArraysAPPLE glDeleteVertexArraysAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GenVertexArraysAPPLE(Int32 n, [Out] UInt32* arrays);
+ internal unsafe static GenVertexArraysAPPLE glGenVertexArraysAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 IsVertexArrayAPPLE(UInt32 array);
+ internal static IsVertexArrayAPPLE glIsVertexArrayAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexArrayRangeAPPLE(Int32 length, [Out] IntPtr pointer);
+ internal static VertexArrayRangeAPPLE glVertexArrayRangeAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FlushVertexArrayRangeAPPLE(Int32 length, [Out] IntPtr pointer);
+ internal static FlushVertexArrayRangeAPPLE glFlushVertexArrayRangeAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexArrayParameteriAPPLE(int pname, Int32 param);
+ internal static VertexArrayParameteriAPPLE glVertexArrayParameteriAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void DrawBuffersATI(Int32 n, int* bufs);
+ internal unsafe static DrawBuffersATI glDrawBuffersATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ProgramNamedParameter4fNV(UInt32 id, Int32 len, Byte* name, Single x, Single y, Single z, Single w);
+ internal unsafe static ProgramNamedParameter4fNV glProgramNamedParameter4fNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ProgramNamedParameter4dNV(UInt32 id, Int32 len, Byte* name, Double x, Double y, Double z, Double w);
+ internal unsafe static ProgramNamedParameter4dNV glProgramNamedParameter4dNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ProgramNamedParameter4fvNV(UInt32 id, Int32 len, Byte* name, Single* v);
+ internal unsafe static ProgramNamedParameter4fvNV glProgramNamedParameter4fvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ProgramNamedParameter4dvNV(UInt32 id, Int32 len, Byte* name, Double* v);
+ internal unsafe static ProgramNamedParameter4dvNV glProgramNamedParameter4dvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetProgramNamedParameterfvNV(UInt32 id, Int32 len, Byte* name, [Out] Single* @params);
+ internal unsafe static GetProgramNamedParameterfvNV glGetProgramNamedParameterfvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetProgramNamedParameterdvNV(UInt32 id, Int32 len, Byte* name, [Out] Double* @params);
+ internal unsafe static GetProgramNamedParameterdvNV glGetProgramNamedParameterdvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Vertex2hNV(UInt16 x, UInt16 y);
+ internal static Vertex2hNV glVertex2hNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Vertex2hvNV(UInt16* v);
+ internal unsafe static Vertex2hvNV glVertex2hvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Vertex3hNV(UInt16 x, UInt16 y, UInt16 z);
+ internal static Vertex3hNV glVertex3hNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Vertex3hvNV(UInt16* v);
+ internal unsafe static Vertex3hvNV glVertex3hvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Vertex4hNV(UInt16 x, UInt16 y, UInt16 z, UInt16 w);
+ internal static Vertex4hNV glVertex4hNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Vertex4hvNV(UInt16* v);
+ internal unsafe static Vertex4hvNV glVertex4hvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Normal3hNV(UInt16 nx, UInt16 ny, UInt16 nz);
+ internal static Normal3hNV glNormal3hNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Normal3hvNV(UInt16* v);
+ internal unsafe static Normal3hvNV glNormal3hvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Color3hNV(UInt16 red, UInt16 green, UInt16 blue);
+ internal static Color3hNV glColor3hNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Color3hvNV(UInt16* v);
+ internal unsafe static Color3hvNV glColor3hvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Color4hNV(UInt16 red, UInt16 green, UInt16 blue, UInt16 alpha);
+ internal static Color4hNV glColor4hNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Color4hvNV(UInt16* v);
+ internal unsafe static Color4hvNV glColor4hvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord1hNV(UInt16 s);
+ internal static TexCoord1hNV glTexCoord1hNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord1hvNV(UInt16* v);
+ internal unsafe static TexCoord1hvNV glTexCoord1hvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord2hNV(UInt16 s, UInt16 t);
+ internal static TexCoord2hNV glTexCoord2hNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord2hvNV(UInt16* v);
+ internal unsafe static TexCoord2hvNV glTexCoord2hvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord3hNV(UInt16 s, UInt16 t, UInt16 r);
+ internal static TexCoord3hNV glTexCoord3hNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord3hvNV(UInt16* v);
+ internal unsafe static TexCoord3hvNV glTexCoord3hvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord4hNV(UInt16 s, UInt16 t, UInt16 r, UInt16 q);
+ internal static TexCoord4hNV glTexCoord4hNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord4hvNV(UInt16* v);
+ internal unsafe static TexCoord4hvNV glTexCoord4hvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord1hNV(int target, UInt16 s);
+ internal static MultiTexCoord1hNV glMultiTexCoord1hNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord1hvNV(int target, UInt16* v);
+ internal unsafe static MultiTexCoord1hvNV glMultiTexCoord1hvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord2hNV(int target, UInt16 s, UInt16 t);
+ internal static MultiTexCoord2hNV glMultiTexCoord2hNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord2hvNV(int target, UInt16* v);
+ internal unsafe static MultiTexCoord2hvNV glMultiTexCoord2hvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord3hNV(int target, UInt16 s, UInt16 t, UInt16 r);
+ internal static MultiTexCoord3hNV glMultiTexCoord3hNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord3hvNV(int target, UInt16* v);
+ internal unsafe static MultiTexCoord3hvNV glMultiTexCoord3hvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord4hNV(int target, UInt16 s, UInt16 t, UInt16 r, UInt16 q);
+ internal static MultiTexCoord4hNV glMultiTexCoord4hNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord4hvNV(int target, UInt16* v);
+ internal unsafe static MultiTexCoord4hvNV glMultiTexCoord4hvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FogCoordhNV(UInt16 fog);
+ internal static FogCoordhNV glFogCoordhNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void FogCoordhvNV(UInt16* fog);
+ internal unsafe static FogCoordhvNV glFogCoordhvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SecondaryColor3hNV(UInt16 red, UInt16 green, UInt16 blue);
+ internal static SecondaryColor3hNV glSecondaryColor3hNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void SecondaryColor3hvNV(UInt16* v);
+ internal unsafe static SecondaryColor3hvNV glSecondaryColor3hvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexWeighthNV(UInt16 weight);
+ internal static VertexWeighthNV glVertexWeighthNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexWeighthvNV(UInt16* weight);
+ internal unsafe static VertexWeighthvNV glVertexWeighthvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib1hNV(UInt32 index, UInt16 x);
+ internal static VertexAttrib1hNV glVertexAttrib1hNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib1hvNV(UInt32 index, UInt16* v);
+ internal unsafe static VertexAttrib1hvNV glVertexAttrib1hvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib2hNV(UInt32 index, UInt16 x, UInt16 y);
+ internal static VertexAttrib2hNV glVertexAttrib2hNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib2hvNV(UInt32 index, UInt16* v);
+ internal unsafe static VertexAttrib2hvNV glVertexAttrib2hvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib3hNV(UInt32 index, UInt16 x, UInt16 y, UInt16 z);
+ internal static VertexAttrib3hNV glVertexAttrib3hNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib3hvNV(UInt32 index, UInt16* v);
+ internal unsafe static VertexAttrib3hvNV glVertexAttrib3hvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttrib4hNV(UInt32 index, UInt16 x, UInt16 y, UInt16 z, UInt16 w);
+ internal static VertexAttrib4hNV glVertexAttrib4hNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttrib4hvNV(UInt32 index, UInt16* v);
+ internal unsafe static VertexAttrib4hvNV glVertexAttrib4hvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttribs1hvNV(UInt32 index, Int32 n, UInt16* v);
+ internal unsafe static VertexAttribs1hvNV glVertexAttribs1hvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttribs2hvNV(UInt32 index, Int32 n, UInt16* v);
+ internal unsafe static VertexAttribs2hvNV glVertexAttribs2hvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttribs3hvNV(UInt32 index, Int32 n, UInt16* v);
+ internal unsafe static VertexAttribs3hvNV glVertexAttribs3hvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttribs4hvNV(UInt32 index, Int32 n, UInt16* v);
+ internal unsafe static VertexAttribs4hvNV glVertexAttribs4hvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PixelDataRangeNV(int target, Int32 length, [Out] IntPtr pointer);
+ internal static PixelDataRangeNV glPixelDataRangeNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FlushPixelDataRangeNV(int target);
+ internal static FlushPixelDataRangeNV glFlushPixelDataRangeNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PrimitiveRestartNV();
+ internal static PrimitiveRestartNV glPrimitiveRestartNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PrimitiveRestartIndexNV(UInt32 index);
+ internal static PrimitiveRestartIndexNV glPrimitiveRestartIndexNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate IntPtr MapObjectBufferATI(UInt32 buffer);
+ internal unsafe static MapObjectBufferATI glMapObjectBufferATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void UnmapObjectBufferATI(UInt32 buffer);
+ internal static UnmapObjectBufferATI glUnmapObjectBufferATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void StencilOpSeparateATI(int face, int sfail, int dpfail, int dppass);
+ internal static StencilOpSeparateATI glStencilOpSeparateATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void StencilFuncSeparateATI(int frontfunc, int backfunc, Int32 @ref, UInt32 mask);
+ internal static StencilFuncSeparateATI glStencilFuncSeparateATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttribArrayObjectATI(UInt32 index, Int32 size, int type, Int32 normalized, Int32 stride, UInt32 buffer, UInt32 offset);
+ internal static VertexAttribArrayObjectATI glVertexAttribArrayObjectATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetVertexAttribArrayObjectfvATI(UInt32 index, int pname, [Out] Single* @params);
+ internal unsafe static GetVertexAttribArrayObjectfvATI glGetVertexAttribArrayObjectfvATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetVertexAttribArrayObjectivATI(UInt32 index, int pname, [Out] Int32* @params);
+ internal unsafe static GetVertexAttribArrayObjectivATI glGetVertexAttribArrayObjectivATI;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DepthBoundsEXT(Double zmin, Double zmax);
+ internal static DepthBoundsEXT glDepthBoundsEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BlendEquationSeparateEXT(int modeRGB, int modeAlpha);
+ internal static BlendEquationSeparateEXT glBlendEquationSeparateEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 IsRenderbufferEXT(UInt32 renderbuffer);
+ internal static IsRenderbufferEXT glIsRenderbufferEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BindRenderbufferEXT(int target, UInt32 renderbuffer);
+ internal static BindRenderbufferEXT glBindRenderbufferEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void DeleteRenderbuffersEXT(Int32 n, UInt32* renderbuffers);
+ internal unsafe static DeleteRenderbuffersEXT glDeleteRenderbuffersEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GenRenderbuffersEXT(Int32 n, [Out] UInt32* renderbuffers);
+ internal unsafe static GenRenderbuffersEXT glGenRenderbuffersEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void RenderbufferStorageEXT(int target, int internalformat, Int32 width, Int32 height);
+ internal static RenderbufferStorageEXT glRenderbufferStorageEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetRenderbufferParameterivEXT(int target, int pname, [Out] Int32* @params);
+ internal unsafe static GetRenderbufferParameterivEXT glGetRenderbufferParameterivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 IsFramebufferEXT(UInt32 framebuffer);
+ internal static IsFramebufferEXT glIsFramebufferEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BindFramebufferEXT(int target, UInt32 framebuffer);
+ internal static BindFramebufferEXT glBindFramebufferEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void DeleteFramebuffersEXT(Int32 n, UInt32* framebuffers);
+ internal unsafe static DeleteFramebuffersEXT glDeleteFramebuffersEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GenFramebuffersEXT(Int32 n, [Out] UInt32* framebuffers);
+ internal unsafe static GenFramebuffersEXT glGenFramebuffersEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate int CheckFramebufferStatusEXT(int target);
+ internal static CheckFramebufferStatusEXT glCheckFramebufferStatusEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FramebufferTexture1DEXT(int target, int attachment, int textarget, UInt32 texture, Int32 level);
+ internal static FramebufferTexture1DEXT glFramebufferTexture1DEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FramebufferTexture2DEXT(int target, int attachment, int textarget, UInt32 texture, Int32 level);
+ internal static FramebufferTexture2DEXT glFramebufferTexture2DEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FramebufferTexture3DEXT(int target, int attachment, int textarget, UInt32 texture, Int32 level, Int32 zoffset);
+ internal static FramebufferTexture3DEXT glFramebufferTexture3DEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FramebufferRenderbufferEXT(int target, int attachment, int renderbuffertarget, UInt32 renderbuffer);
+ internal static FramebufferRenderbufferEXT glFramebufferRenderbufferEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetFramebufferAttachmentParameterivEXT(int target, int attachment, int pname, [Out] Int32* @params);
+ internal unsafe static GetFramebufferAttachmentParameterivEXT glGetFramebufferAttachmentParameterivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GenerateMipmapEXT(int target);
+ internal static GenerateMipmapEXT glGenerateMipmapEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void StringMarkerGREMEDY(Int32 len, IntPtr @string);
+ internal static StringMarkerGREMEDY glStringMarkerGREMEDY;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void StencilClearTagEXT(Int32 stencilTagBits, UInt32 stencilClearTag);
+ internal static StencilClearTagEXT glStencilClearTagEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BlitFramebufferEXT(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, int mask, int filter);
+ internal static BlitFramebufferEXT glBlitFramebufferEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void RenderbufferStorageMultisampleEXT(int target, Int32 samples, int internalformat, Int32 width, Int32 height);
+ internal static RenderbufferStorageMultisampleEXT glRenderbufferStorageMultisampleEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetQueryObjecti64vEXT(UInt32 id, int pname, [Out] Int64* @params);
+ internal unsafe static GetQueryObjecti64vEXT glGetQueryObjecti64vEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetQueryObjectui64vEXT(UInt32 id, int pname, [Out] UInt64* @params);
+ internal unsafe static GetQueryObjectui64vEXT glGetQueryObjectui64vEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ProgramEnvParameters4fvEXT(int target, UInt32 index, Int32 count, Single* @params);
+ internal unsafe static ProgramEnvParameters4fvEXT glProgramEnvParameters4fvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ProgramLocalParameters4fvEXT(int target, UInt32 index, Int32 count, Single* @params);
+ internal unsafe static ProgramLocalParameters4fvEXT glProgramLocalParameters4fvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BufferParameteriAPPLE(int target, int pname, Int32 param);
+ internal static BufferParameteriAPPLE glBufferParameteriAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FlushMappedBufferRangeAPPLE(int target, IntPtr offset, IntPtr size);
+ internal static FlushMappedBufferRangeAPPLE glFlushMappedBufferRangeAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ProgramLocalParameterI4iNV(int target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w);
+ internal static ProgramLocalParameterI4iNV glProgramLocalParameterI4iNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ProgramLocalParameterI4ivNV(int target, UInt32 index, Int32* @params);
+ internal unsafe static ProgramLocalParameterI4ivNV glProgramLocalParameterI4ivNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ProgramLocalParametersI4ivNV(int target, UInt32 index, Int32 count, Int32* @params);
+ internal unsafe static ProgramLocalParametersI4ivNV glProgramLocalParametersI4ivNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ProgramLocalParameterI4uiNV(int target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w);
+ internal static ProgramLocalParameterI4uiNV glProgramLocalParameterI4uiNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ProgramLocalParameterI4uivNV(int target, UInt32 index, UInt32* @params);
+ internal unsafe static ProgramLocalParameterI4uivNV glProgramLocalParameterI4uivNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ProgramLocalParametersI4uivNV(int target, UInt32 index, Int32 count, UInt32* @params);
+ internal unsafe static ProgramLocalParametersI4uivNV glProgramLocalParametersI4uivNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ProgramEnvParameterI4iNV(int target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w);
+ internal static ProgramEnvParameterI4iNV glProgramEnvParameterI4iNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ProgramEnvParameterI4ivNV(int target, UInt32 index, Int32* @params);
+ internal unsafe static ProgramEnvParameterI4ivNV glProgramEnvParameterI4ivNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ProgramEnvParametersI4ivNV(int target, UInt32 index, Int32 count, Int32* @params);
+ internal unsafe static ProgramEnvParametersI4ivNV glProgramEnvParametersI4ivNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ProgramEnvParameterI4uiNV(int target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w);
+ internal static ProgramEnvParameterI4uiNV glProgramEnvParameterI4uiNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ProgramEnvParameterI4uivNV(int target, UInt32 index, UInt32* @params);
+ internal unsafe static ProgramEnvParameterI4uivNV glProgramEnvParameterI4uivNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ProgramEnvParametersI4uivNV(int target, UInt32 index, Int32 count, UInt32* @params);
+ internal unsafe static ProgramEnvParametersI4uivNV glProgramEnvParametersI4uivNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetProgramLocalParameterIivNV(int target, UInt32 index, [Out] Int32* @params);
+ internal unsafe static GetProgramLocalParameterIivNV glGetProgramLocalParameterIivNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetProgramLocalParameterIuivNV(int target, UInt32 index, [Out] UInt32* @params);
+ internal unsafe static GetProgramLocalParameterIuivNV glGetProgramLocalParameterIuivNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetProgramEnvParameterIivNV(int target, UInt32 index, [Out] Int32* @params);
+ internal unsafe static GetProgramEnvParameterIivNV glGetProgramEnvParameterIivNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetProgramEnvParameterIuivNV(int target, UInt32 index, [Out] UInt32* @params);
+ internal unsafe static GetProgramEnvParameterIuivNV glGetProgramEnvParameterIuivNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ProgramVertexLimitNV(int target, Int32 limit);
+ internal static ProgramVertexLimitNV glProgramVertexLimitNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FramebufferTextureEXT(int target, int attachment, UInt32 texture, Int32 level);
+ internal static FramebufferTextureEXT glFramebufferTextureEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FramebufferTextureLayerEXT(int target, int attachment, UInt32 texture, Int32 level, Int32 layer);
+ internal static FramebufferTextureLayerEXT glFramebufferTextureLayerEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FramebufferTextureFaceEXT(int target, int attachment, UInt32 texture, Int32 level, int face);
+ internal static FramebufferTextureFaceEXT glFramebufferTextureFaceEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ProgramParameteriEXT(UInt32 program, int pname, Int32 value);
+ internal static ProgramParameteriEXT glProgramParameteriEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttribI1iEXT(UInt32 index, Int32 x);
+ internal static VertexAttribI1iEXT glVertexAttribI1iEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttribI2iEXT(UInt32 index, Int32 x, Int32 y);
+ internal static VertexAttribI2iEXT glVertexAttribI2iEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttribI3iEXT(UInt32 index, Int32 x, Int32 y, Int32 z);
+ internal static VertexAttribI3iEXT glVertexAttribI3iEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttribI4iEXT(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w);
+ internal static VertexAttribI4iEXT glVertexAttribI4iEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttribI1uiEXT(UInt32 index, UInt32 x);
+ internal static VertexAttribI1uiEXT glVertexAttribI1uiEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttribI2uiEXT(UInt32 index, UInt32 x, UInt32 y);
+ internal static VertexAttribI2uiEXT glVertexAttribI2uiEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttribI3uiEXT(UInt32 index, UInt32 x, UInt32 y, UInt32 z);
+ internal static VertexAttribI3uiEXT glVertexAttribI3uiEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttribI4uiEXT(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w);
+ internal static VertexAttribI4uiEXT glVertexAttribI4uiEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttribI1ivEXT(UInt32 index, Int32* v);
+ internal unsafe static VertexAttribI1ivEXT glVertexAttribI1ivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttribI2ivEXT(UInt32 index, Int32* v);
+ internal unsafe static VertexAttribI2ivEXT glVertexAttribI2ivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttribI3ivEXT(UInt32 index, Int32* v);
+ internal unsafe static VertexAttribI3ivEXT glVertexAttribI3ivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttribI4ivEXT(UInt32 index, Int32* v);
+ internal unsafe static VertexAttribI4ivEXT glVertexAttribI4ivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttribI1uivEXT(UInt32 index, UInt32* v);
+ internal unsafe static VertexAttribI1uivEXT glVertexAttribI1uivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttribI2uivEXT(UInt32 index, UInt32* v);
+ internal unsafe static VertexAttribI2uivEXT glVertexAttribI2uivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttribI3uivEXT(UInt32 index, UInt32* v);
+ internal unsafe static VertexAttribI3uivEXT glVertexAttribI3uivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttribI4uivEXT(UInt32 index, UInt32* v);
+ internal unsafe static VertexAttribI4uivEXT glVertexAttribI4uivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttribI4bvEXT(UInt32 index, SByte* v);
+ internal unsafe static VertexAttribI4bvEXT glVertexAttribI4bvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttribI4svEXT(UInt32 index, Int16* v);
+ internal unsafe static VertexAttribI4svEXT glVertexAttribI4svEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttribI4ubvEXT(UInt32 index, Byte* v);
+ internal unsafe static VertexAttribI4ubvEXT glVertexAttribI4ubvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void VertexAttribI4usvEXT(UInt32 index, UInt16* v);
+ internal unsafe static VertexAttribI4usvEXT glVertexAttribI4usvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexAttribIPointerEXT(UInt32 index, Int32 size, int type, Int32 stride, IntPtr pointer);
+ internal static VertexAttribIPointerEXT glVertexAttribIPointerEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetVertexAttribIivEXT(UInt32 index, int pname, [Out] Int32* @params);
+ internal unsafe static GetVertexAttribIivEXT glGetVertexAttribIivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetVertexAttribIuivEXT(UInt32 index, int pname, [Out] UInt32* @params);
+ internal unsafe static GetVertexAttribIuivEXT glGetVertexAttribIuivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetUniformuivEXT(UInt32 program, Int32 location, [Out] UInt32* @params);
+ internal unsafe static GetUniformuivEXT glGetUniformuivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BindFragDataLocationEXT(UInt32 program, UInt32 color, System.String name);
+ internal static BindFragDataLocationEXT glBindFragDataLocationEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 GetFragDataLocationEXT(UInt32 program, System.String name);
+ internal static GetFragDataLocationEXT glGetFragDataLocationEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Uniform1uiEXT(Int32 location, UInt32 v0);
+ internal static Uniform1uiEXT glUniform1uiEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Uniform2uiEXT(Int32 location, UInt32 v0, UInt32 v1);
+ internal static Uniform2uiEXT glUniform2uiEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Uniform3uiEXT(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2);
+ internal static Uniform3uiEXT glUniform3uiEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Uniform4uiEXT(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3);
+ internal static Uniform4uiEXT glUniform4uiEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Uniform1uivEXT(Int32 location, Int32 count, UInt32* value);
+ internal unsafe static Uniform1uivEXT glUniform1uivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Uniform2uivEXT(Int32 location, Int32 count, UInt32* value);
+ internal unsafe static Uniform2uivEXT glUniform2uivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Uniform3uivEXT(Int32 location, Int32 count, UInt32* value);
+ internal unsafe static Uniform3uivEXT glUniform3uivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Uniform4uivEXT(Int32 location, Int32 count, UInt32* value);
+ internal unsafe static Uniform4uivEXT glUniform4uivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DrawArraysInstancedEXT(int mode, Int32 start, Int32 count, Int32 primcount);
+ internal static DrawArraysInstancedEXT glDrawArraysInstancedEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DrawElementsInstancedEXT(int mode, Int32 count, int type, IntPtr indices, Int32 primcount);
+ internal static DrawElementsInstancedEXT glDrawElementsInstancedEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexBufferEXT(int target, int internalformat, UInt32 buffer);
+ internal static TexBufferEXT glTexBufferEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DepthRangedNV(Double zNear, Double zFar);
+ internal static DepthRangedNV glDepthRangedNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ClearDepthdNV(Double depth);
+ internal static ClearDepthdNV glClearDepthdNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DepthBoundsdNV(Double zmin, Double zmax);
+ internal static DepthBoundsdNV glDepthBoundsdNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void RenderbufferStorageMultisampleCoverageNV(int target, Int32 coverageSamples, Int32 colorSamples, int internalformat, Int32 width, Int32 height);
+ internal static RenderbufferStorageMultisampleCoverageNV glRenderbufferStorageMultisampleCoverageNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ProgramBufferParametersfvNV(int target, UInt32 buffer, UInt32 index, Int32 count, Single* @params);
+ internal unsafe static ProgramBufferParametersfvNV glProgramBufferParametersfvNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ProgramBufferParametersIivNV(int target, UInt32 buffer, UInt32 index, Int32 count, Int32* @params);
+ internal unsafe static ProgramBufferParametersIivNV glProgramBufferParametersIivNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ProgramBufferParametersIuivNV(int target, UInt32 buffer, UInt32 index, Int32 count, UInt32* @params);
+ internal unsafe static ProgramBufferParametersIuivNV glProgramBufferParametersIuivNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ColorMaskIndexedEXT(UInt32 index, Int32 r, Int32 g, Int32 b, Int32 a);
+ internal static ColorMaskIndexedEXT glColorMaskIndexedEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetBooleanIndexedvEXT(int target, UInt32 index, [Out] Int32* data);
+ internal unsafe static GetBooleanIndexedvEXT glGetBooleanIndexedvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetIntegerIndexedvEXT(int target, UInt32 index, [Out] Int32* data);
+ internal unsafe static GetIntegerIndexedvEXT glGetIntegerIndexedvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void EnableIndexedEXT(int target, UInt32 index);
+ internal static EnableIndexedEXT glEnableIndexedEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DisableIndexedEXT(int target, UInt32 index);
+ internal static DisableIndexedEXT glDisableIndexedEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 IsEnabledIndexedEXT(int target, UInt32 index);
+ internal static IsEnabledIndexedEXT glIsEnabledIndexedEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BeginTransformFeedbackNV(int primitiveMode);
+ internal static BeginTransformFeedbackNV glBeginTransformFeedbackNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void EndTransformFeedbackNV();
+ internal static EndTransformFeedbackNV glEndTransformFeedbackNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TransformFeedbackAttribsNV(UInt32 count, Int32* attribs, int bufferMode);
+ internal unsafe static TransformFeedbackAttribsNV glTransformFeedbackAttribsNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BindBufferRangeNV(int target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size);
+ internal static BindBufferRangeNV glBindBufferRangeNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BindBufferOffsetNV(int target, UInt32 index, UInt32 buffer, IntPtr offset);
+ internal static BindBufferOffsetNV glBindBufferOffsetNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BindBufferBaseNV(int target, UInt32 index, UInt32 buffer);
+ internal static BindBufferBaseNV glBindBufferBaseNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TransformFeedbackVaryingsNV(UInt32 program, Int32 count, Int32* locations, int bufferMode);
+ internal unsafe static TransformFeedbackVaryingsNV glTransformFeedbackVaryingsNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ActiveVaryingNV(UInt32 program, System.String name);
+ internal static ActiveVaryingNV glActiveVaryingNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 GetVaryingLocationNV(UInt32 program, System.String name);
+ internal static GetVaryingLocationNV glGetVaryingLocationNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] int* type, [Out] System.Text.StringBuilder name);
+ internal unsafe static GetActiveVaryingNV glGetActiveVaryingNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetTransformFeedbackVaryingNV(UInt32 program, UInt32 index, [Out] Int32* location);
+ internal unsafe static GetTransformFeedbackVaryingNV glGetTransformFeedbackVaryingNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void UniformBufferEXT(UInt32 program, Int32 location, UInt32 buffer);
+ internal static UniformBufferEXT glUniformBufferEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate Int32 GetUniformBufferSizeEXT(UInt32 program, Int32 location);
+ internal static GetUniformBufferSizeEXT glGetUniformBufferSizeEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate IntPtr GetUniformOffsetEXT(UInt32 program, Int32 location);
+ internal static GetUniformOffsetEXT glGetUniformOffsetEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexParameterIivEXT(int target, int pname, Int32* @params);
+ internal unsafe static TexParameterIivEXT glTexParameterIivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexParameterIuivEXT(int target, int pname, UInt32* @params);
+ internal unsafe static TexParameterIuivEXT glTexParameterIuivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetTexParameterIivEXT(int target, int pname, [Out] Int32* @params);
+ internal unsafe static GetTexParameterIivEXT glGetTexParameterIivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetTexParameterIuivEXT(int target, int pname, [Out] UInt32* @params);
+ internal unsafe static GetTexParameterIuivEXT glGetTexParameterIuivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ClearColorIiEXT(Int32 red, Int32 green, Int32 blue, Int32 alpha);
+ internal static ClearColorIiEXT glClearColorIiEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ClearColorIuiEXT(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha);
+ internal static ClearColorIuiEXT glClearColorIuiEXT;
+ }
+ }
+ #pragma warning restore 0649
+}
diff --git a/Source/Compatibility/Tao/OpenGl/GLEnums.cs b/Source/Compatibility/Tao/OpenGl/GLEnums.cs
new file mode 100644
index 00000000..081460be
--- /dev/null
+++ b/Source/Compatibility/Tao/OpenGl/GLEnums.cs
@@ -0,0 +1,3027 @@
+#region License
+//
+// The Open Toolkit Library License
+//
+// Copyright (c) 2006 - 2009 the Open Toolkit library.
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights to
+// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+// the Software, and to permit persons to whom the Software is furnished to do
+// so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in all
+// copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+// OTHER DEALINGS IN THE SOFTWARE.
+//
+#endregion
+
+namespace Tao.OpenGl
+{
+
+#pragma warning disable 3019
+#pragma warning disable 1591
+
+ public static partial class Gl
+ {
+ public const int GL_TEXTURE_BLUE_SIZE = ((int)0x805E);
+ public const int GL_MATRIX_INDEX_ARRAY_ARB = ((int)0x8844);
+ public const int GL_BLEND_DST_RGB = ((int)0x80C8);
+ public const int GL_DONT_CARE = ((int)0x1100);
+ public const int GL_OP_FRAC_EXT = ((int)0x8789);
+ public const int GL_SOURCE0_RGB = ((int)0x8580);
+ public const int GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = ((int)0x880E);
+ public const int GL_POLYGON_TOKEN = ((int)0x0703);
+ public const int GL_VARIABLE_C_NV = ((int)0x8525);
+ public const int GL_TRIANGLE_FAN = ((int)0x0006);
+ public const int GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI = ((int)0x87F1);
+ public const int GL_TEXTURE2 = ((int)0x84C2);
+ public const int GL_VERTEX_ARRAY_STRIDE = ((int)0x807C);
+ public const int GL_SWIZZLE_STRQ_ATI = ((int)0x897A);
+ public const int GL_ALPHA_MIN_SGIX = ((int)0x8320);
+ public const int GL_CULL_FACE = ((int)0x0B44);
+ public const int GL_FLOAT_MAT2 = ((int)0x8B5A);
+ public const int GL_MATRIX7_ARB = ((int)0x88C7);
+ public const int GL_POST_CONVOLUTION_GREEN_SCALE = ((int)0x801D);
+ public const int GL_UNSIGNED_INT_SAMPLER_1D_EXT = ((int)0x8DD1);
+ public const int GL_PIXEL_MAP_S_TO_S = ((int)0x0C71);
+ public const int GL_DOT3_RGBA_EXT = ((int)0x8741);
+ public const int GL_OP_FLOOR_EXT = ((int)0x878F);
+ public const int GL_LINE_WIDTH = ((int)0x0B21);
+ public const int GL_ATTRIB_ARRAY_POINTER_NV = ((int)0x8645);
+ public const int GL_SUBTRACT_ARB = ((int)0x84E7);
+ public const int GL_MAX_PROGRAM_RESULT_COMPONENTS_NV = ((int)0x8909);
+ public const int GL_BUFFER_MAPPED_ARB = ((int)0x88BC);
+ public const int GL_LOWER_LEFT = ((int)0x8CA1);
+ public const int GL_MODELVIEW10_ARB = ((int)0x872A);
+ public const int GL_POINT_SIZE_MAX_ARB = ((int)0x8127);
+ public const int GL_TEXTURE3 = ((int)0x84C3);
+ public const int GL_MAX_4D_TEXTURE_SIZE_SGIS = ((int)0x8138);
+ public const int GL_SPRITE_OBJECT_ALIGNED_SGIX = ((int)0x814D);
+ public const int GL_OP_LOG_BASE_2_EXT = ((int)0x8792);
+ public const int GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX = ((int)0x8178);
+ public const int GL_MATRIX3_ARB = ((int)0x88C3);
+ public const int GL_SRC2_RGB = ((int)GL_SOURCE2_RGB);
+ public const int GL_UPPER_LEFT = ((int)0x8CA2);
+ public const int GL_LINE_STRIP = ((int)0x0003);
+ public const int GL_SECONDARY_COLOR_NV = ((int)0x852D);
+ public const int GL_Y_EXT = ((int)0x87D6);
+ public const int GL_ARRAY_BUFFER_BINDING = ((int)0x8894);
+ public const int GL_MAX_PROGRAM_LOOP_DEPTH_NV = ((int)0x88F7);
+ public const int GL_EVAL_VERTEX_ATTRIB1_NV = ((int)0x86C7);
+ public const int GL_MODELVIEW27_ARB = ((int)0x873B);
+ public const int GL_SRGB8_ALPHA8_EXT = ((int)0x8C43);
+ public const int GL_CONSTANT_EXT = ((int)0x8576);
+ public const int GL_TEXTURE_CONSTANT_DATA_SUNX = ((int)0x81D6);
+ public const int GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP = ((int)0x8162);
+ public const int GL_TEXTURE0 = ((int)0x84C0);
+ public const int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT = ((int)0x8CD2);
+ public const int GL_REPLACEMENT_CODE_SUN = ((int)0x81D8);
+ public const int GL_STENCIL_INDEX = ((int)0x1901);
+ public const int GL_WRITE_ONLY = ((int)0x88B9);
+ public const int GL_DUAL_LUMINANCE_ALPHA4_SGIS = ((int)0x811C);
+ public const int GL_CLIP_NEAR_HINT_PGI = ((int)0x1A220);
+ public const int GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV = ((int)0x88F4);
+ public const int GL_UNSIGNED_SHORT_8_8_APPLE = ((int)0x85BA);
+ public const int GL_T2F_IUI_V3F_EXT = ((int)0x81B2);
+ public const int GL_INTERLACE_OML = ((int)0x8980);
+ public const int GL_DRAW_BUFFER2_ARB = ((int)0x8827);
+ public const int GL_REG_23_ATI = ((int)0x8938);
+ public const int GL_CLAMP_TO_EDGE_SGIS = ((int)0x812F);
+ public const int GL_POINT_SIZE_MIN_ARB = ((int)0x8126);
+ public const int GL_CURRENT_INDEX = ((int)0x0B01);
+ public const int GL_POST_CONVOLUTION_BLUE_BIAS_EXT = ((int)0x8022);
+ public const int GL_TEXTURE_WRAP_Q_SGIS = ((int)0x8137);
+ public const int GL_POINT_SIZE_MAX_EXT = ((int)0x8127);
+ public const int GL_MAP1_COLOR_4 = ((int)0x0D90);
+ public const int GL_STATIC_READ = ((int)0x88E5);
+ public const int GL_PASS_THROUGH_TOKEN = ((int)0x0700);
+ public const int GL_TEXTURE1 = ((int)0x84C1);
+ public const int GL_PERTURB_EXT = ((int)0x85AE);
+ public const int GL_DRAW_BUFFER0_ARB = ((int)0x8825);
+ public const int GL_ALPHA_TEST = ((int)0x0BC0);
+ public const int GL_STENCIL_FUNC = ((int)0x0B92);
+ public const int GL_DOT3_RGB_EXT = ((int)0x8740);
+ public const int GL_INDEX_ARRAY_TYPE_EXT = ((int)0x8085);
+ public const int GL_STENCIL_FAIL = ((int)0x0B94);
+ public const int GL_SCREEN_COORDINATES_REND = ((int)0x8490);
+ public const int GL_RGBA4 = ((int)0x8056);
+ public const int GL_MATRIX7_NV = ((int)0x8637);
+ public const int GL_POST_COLOR_MATRIX_RED_SCALE = ((int)0x80B4);
+ public const int GL_INDEX_ARRAY_TYPE = ((int)0x8085);
+ public const int GL_PIXEL_SUBSAMPLE_4242_SGIX = ((int)0x85A4);
+ public const int GL_STENCIL_CLEAR_TAG_VALUE_EXT = ((int)0x88F3);
+ public const int GL_TEXTURE_STACK_DEPTH = ((int)0x0BA5);
+ public const int GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT = ((int)0x845C);
+ public const int GL_SOURCE0_ALPHA = ((int)0x8588);
+ public const int GL_LUMINANCE12_ALPHA12 = ((int)0x8047);
+ public const int GL_MAP2_VERTEX_ATTRIB9_4_NV = ((int)0x8679);
+ public const int GL_DEPTH_COMPONENT24_ARB = ((int)0x81A6);
+ public const int GL_ACTIVE_UNIFORMS = ((int)0x8B86);
+ public const int GL_GREEN_BITS = ((int)0x0D53);
+ public const int GL_TEXTURE6 = ((int)0x84C6);
+ public const int GL_TEXTURE_LEQUAL_R_SGIX = ((int)0x819C);
+ public const int GL_ALPHA_TEST_REF = ((int)0x0BC2);
+ public const int GL_POST_CONVOLUTION_ALPHA_SCALE_EXT = ((int)0x801F);
+ public const int GL_SECONDARY_COLOR_ARRAY_LIST_IBM = ((int)103077);
+ public const int GL_STREAM_READ_ARB = ((int)0x88E1);
+ public const int GL_UNSIGNED_BYTE = ((int)0x1401);
+ public const int GL_X_EXT = ((int)0x87D5);
+ public const int GL_GREEN_BIAS = ((int)0x0D19);
+ public const int GL_UNSIGNED_SHORT_4_4_4_4 = ((int)0x8033);
+ public const int GL_ALLOW_DRAW_OBJ_HINT_PGI = ((int)0x1A20E);
+ public const int GL_MODELVIEW0_ARB = ((int)0x1700);
+ public const int GL_MODULATE_SUBTRACT_ATI = ((int)0x8746);
+ public const int GL_ARRAY_OBJECT_OFFSET_ATI = ((int)0x8767);
+ public const int GL_UNPACK_CMYK_HINT_EXT = ((int)0x800F);
+ public const int GL_EDGE_FLAG_ARRAY_EXT = ((int)0x8079);
+ public const int GL_POST_CONVOLUTION_BLUE_SCALE_EXT = ((int)0x801E);
+ public const int GL_LO_BIAS_NV = ((int)0x8715);
+ public const int GL_ALPHA_SCALE = ((int)0x0D1C);
+ public const int GL_VARIANT_ARRAY_TYPE_EXT = ((int)0x87E7);
+ public const int GL_VERTEX_PRECLIP_HINT_SGIX = ((int)0x83EF);
+ public const int GL_TEXTURE7 = ((int)0x84C7);
+ public const int GL_TEXTURE_WRAP_R_EXT = ((int)0x8072);
+ public const int GL_TEXTURE18_ARB = ((int)0x84D2);
+ public const int GL_SOURCE1_RGB_ARB = ((int)0x8581);
+ public const int GL_VARIABLE_E_NV = ((int)0x8527);
+ public const int GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB = ((int)0x8B87);
+ public const int GL_MAP1_VERTEX_ATTRIB15_4_NV = ((int)0x866F);
+ public const int GL_MAX_3D_TEXTURE_SIZE = ((int)0x8073);
+ public const int GL_PROGRAM_ADDRESS_REGISTERS_ARB = ((int)0x88B0);
+ public const int GL_QUAD_INTENSITY8_SGIS = ((int)0x8123);
+ public const int GL_CURRENT_WEIGHT_ARB = ((int)0x86A8);
+ public const int GL_OP_DOT4_EXT = ((int)0x8785);
+ public const int GL_TEXTURE_RESIDENT_EXT = ((int)0x8067);
+ public const int GL_ALPHA12 = ((int)0x803D);
+ public const int GL_INSTRUMENT_MEASUREMENTS_SGIX = ((int)0x8181);
+ public const int GL_EQUAL = ((int)0x0202);
+ public const int GL_MAP2_INDEX = ((int)0x0DB1);
+ public const int GL_SOURCE1_ALPHA = ((int)0x8589);
+ public const int GL_PIXEL_PACK_BUFFER_BINDING_EXT = ((int)0x88ED);
+ public const int GL_FRAGMENT_PROGRAM_BINDING_NV = ((int)0x8873);
+ public const int GL_OP_SUB_EXT = ((int)0x8796);
+ public const int GL_BUMP_ROT_MATRIX_SIZE_ATI = ((int)0x8776);
+ public const int GL_UNPACK_IMAGE_HEIGHT = ((int)0x806E);
+ public const int GL_RESAMPLE_DECIMATE_SGIX = ((int)0x8430);
+ public const int GL_COLOR_TABLE = ((int)0x80D0);
+ public const int GL_DEPTH = ((int)0x1801);
+ public const int GL_SHADER_CONSISTENT_NV = ((int)0x86DD);
+ public const int GL_UNSIGNED_BYTE_2_3_3_REV = ((int)0x8362);
+ public const int GL_OFFSET_HILO_TEXTURE_2D_NV = ((int)0x8854);
+ public const int GL_FLOAT_R16_NV = ((int)0x8884);
+ public const int GL_MATRIX1_ARB = ((int)0x88C1);
+ public const int GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX = ((int)0x817C);
+ public const int GL_VERTEX_ATTRIB_ARRAY_TYPE = ((int)0x8625);
+ public const int GL_FOG_COORDINATE_EXT = ((int)0x8451);
+ public const int GL_LINES_ADJACENCY_EXT = ((int)0x000A);
+ public const int GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX = ((int)0x8311);
+ public const int GL_TEXTURE_1D_ARRAY_EXT = ((int)0x8C18);
+ public const int GL_COMBINER_INPUT_NV = ((int)0x8542);
+ public const int GL_UNSIGNED_SHORT_8_8_MESA = ((int)0x85BA);
+ public const int GL_TEXTURE_LUMINANCE_SIZE_EXT = ((int)0x8060);
+ public const int GL_DRAW_BUFFER2_ATI = ((int)0x8827);
+ public const int GL_STENCIL_BACK_FAIL = ((int)0x8801);
+ public const int GL_RGB_S3TC = ((int)0x83A0);
+ public const int GL_TEXTURE5 = ((int)0x84C5);
+ public const int GL_FLOAT_VEC4_ARB = ((int)0x8B52);
+ public const int GL_VERTEX_ARRAY = ((int)0x8074);
+ public const int GL_FUNC_SUBTRACT = ((int)0x800A);
+ public const int GL_REPLACE_OLDEST_SUN = ((int)0x0003);
+ public const int GL_4X_BIT_ATI = ((int)0x00000002);
+ public const int GL_PER_STAGE_CONSTANTS_NV = ((int)0x8535);
+ public const int GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL = ((int)0x83F5);
+ public const int GL_RGBA16 = ((int)0x805B);
+ public const int GL_PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX = ((int)0x8187);
+ public const int GL_STORAGE_CACHED_APPLE = ((int)0x85BE);
+ public const int GL_PIXEL_TEX_GEN_Q_CEILING_SGIX = ((int)0x8184);
+ public const int GL_SRGB_ALPHA_EXT = ((int)0x8C42);
+ public const int GL_CONSTANT_COLOR0_NV = ((int)0x852A);
+ public const int GL_EVAL_VERTEX_ATTRIB0_NV = ((int)0x86C6);
+ public const int GL_COMBINE_ALPHA_ARB = ((int)0x8572);
+ public const int GL_MATRIX31_ARB = ((int)0x88DF);
+ public const int GL_LINE_STIPPLE_REPEAT = ((int)0x0B26);
+ public const int GL_ACTIVE_VERTEX_UNITS_ARB = ((int)0x86A5);
+ public const int GL_INDEX_SHIFT = ((int)0x0D12);
+ public const int GL_FOG_OFFSET_SGIX = ((int)0x8198);
+ public const int GL_GEOMETRY_VERTICES_OUT_EXT = ((int)0x8DDA);
+ public const int GL_DETAIL_TEXTURE_LEVEL_SGIS = ((int)0x809A);
+ public const int GL_SAMPLE_ALPHA_TO_ONE_EXT = ((int)0x809F);
+ public const int GL_TEXTURE13_ARB = ((int)0x84CD);
+ public const int GL_TEXTURE_3D = ((int)0x806F);
+ public const int GL_TEXTURE_2D = ((int)0x0DE1);
+ public const int GL_SIGNED_NEGATE_NV = ((int)0x853D);
+ public const int GL_DEPTH_CLAMP_NV = ((int)0x864F);
+ public const int GL_COLOR_TABLE_WIDTH_SGI = ((int)0x80D9);
+ public const int GL_RENDERBUFFER_EXT = ((int)0x8D41);
+ public const int GL_VERTEX_ATTRIB_ARRAY_STRIDE = ((int)0x8624);
+ public const int GL_TEXTURE14 = ((int)0x84CE);
+ public const int GL_TEXTURE17 = ((int)0x84D1);
+ public const int GL_TEXTURE16 = ((int)0x84D0);
+ public const int GL_TEXTURE11 = ((int)0x84CB);
+ public const int GL_TEXTURE10 = ((int)0x84CA);
+ public const int GL_R5_G6_B5_A8_ICC_SGIX = ((int)0x8467);
+ public const int GL_COMPRESSED_LUMINANCE_ALPHA_ARB = ((int)0x84EB);
+ public const int GL_RGBA16_EXT = ((int)0x805B);
+ public const int GL_MAX_MODELVIEW_STACK_DEPTH = ((int)0x0D36);
+ public const int GL_COLOR_ATTACHMENT4_EXT = ((int)0x8CE4);
+ public const int GL_TEXTURE19 = ((int)0x84D3);
+ public const int GL_TEXTURE18 = ((int)0x84D2);
+ public const int GL_PRIMITIVE_ID_NV = ((int)0x8C7C);
+ public const int GL_QUERY_RESULT = ((int)0x8866);
+ public const int GL_DRAW_BUFFER3_ARB = ((int)0x8828);
+ public const int GL_UNSIGNED_SHORT_5_6_5_REV = ((int)0x8364);
+ public const int GL_COMPRESSED_RGB_FXT1_3DFX = ((int)0x86B0);
+ public const int GL_OBJECT_POINT_SGIS = ((int)0x81F5);
+ public const int GL_TEXTURE_COLOR_WRITEMASK_SGIS = ((int)0x81EF);
+ public const int GL_COLOR_MATERIAL_PARAMETER = ((int)0x0B56);
+ public const int GL_FRAGMENT_PROGRAM_ARB = ((int)0x8804);
+ public const int GL_FOG_START = ((int)0x0B63);
+ public const int GL_COLOR_TABLE_FORMAT_SGI = ((int)0x80D8);
+ public const int GL_CLIP_PLANE3 = ((int)0x3003);
+ public const int GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT = ((int)0x8CD7);
+ public const int GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB = ((int)0x88AB);
+ public const int GL_ENABLE_BIT = ((int)0x00002000);
+ public const int GL_COMPRESSED_RGBA_S3TC_DXT5_EXT = ((int)0x83F3);
+ public const int GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV = ((int)0x88FD);
+ public const int GL_PIXEL_MAP_I_TO_I_SIZE = ((int)0x0CB0);
+ public const int GL_FLOAT_MAT3x2 = ((int)0x8B67);
+ public const int GL_DSDT_MAG_VIB_NV = ((int)0x86F7);
+ public const int GL_SECONDARY_COLOR_ARRAY_STRIDE = ((int)0x845C);
+ public const int GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_ATTRIBS_NV = ((int)0x8C8A);
+ public const int GL_SRGB8_ALPHA8 = ((int)0x8C43);
+ public const int GL_COMPRESSED_RGBA_FXT1_3DFX = ((int)0x86B1);
+ public const int GL_INFO_LOG_LENGTH = ((int)0x8B84);
+ public const int GL_VECTOR_EXT = ((int)0x87BF);
+ public const int GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT = ((int)0x8DD8);
+ public const int GL_FOG_COORD_SRC = ((int)GL_FOG_COORDINATE_SOURCE);
+ public const int GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT = ((int)0x8DD6);
+ public const int GL_MAD_ATI = ((int)0x8968);
+ public const int GL_REG_26_ATI = ((int)0x893B);
+ public const int GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX = ((int)0x840B);
+ public const int GL_VERTEX_ATTRIB_ARRAY_NORMALIZED = ((int)0x886A);
+ public const int GL_TEXTURE_MAG_SIZE_NV = ((int)0x871F);
+ public const int GL_DYNAMIC_READ_ARB = ((int)0x88E9);
+ public const int GL_OUTPUT_TEXTURE_COORD31_EXT = ((int)0x87BC);
+ public const int GL_DEPENDENT_GB_TEXTURE_2D_NV = ((int)0x86EA);
+ public const int GL_DRAW_BUFFER7_ARB = ((int)0x882C);
+ public const int GL_TEXTURE10_ARB = ((int)0x84CA);
+ public const int GL_PIXEL_MAP_G_TO_G = ((int)0x0C77);
+ public const int GL_VALIDATE_STATUS = ((int)0x8B83);
+ public const int GL_DOT3_RGBA_ARB = ((int)0x86AF);
+ public const int GL_PROXY_TEXTURE_CUBE_MAP = ((int)0x851B);
+ public const int GL_MAGNITUDE_BIAS_NV = ((int)0x8718);
+ public const int GL_ALPHA_MAX_SGIX = ((int)0x8321);
+ public const int GL_MATRIX19_ARB = ((int)0x88D3);
+ public const int GL_ONE_MINUS_CONSTANT_COLOR_EXT = ((int)0x8002);
+ public const int GL_DELETE_STATUS = ((int)0x8B80);
+ public const int GL_SHADER_OPERATION_NV = ((int)0x86DF);
+ public const int GL_R1UI_C4UB_V3F_SUN = ((int)0x85C5);
+ public const int GL_MAX_DRAW_BUFFERS_ARB = ((int)0x8824);
+ public const int GL_PROGRAM_TARGET_NV = ((int)0x8646);
+ public const int GL_NUM_INSTRUCTIONS_PER_PASS_ATI = ((int)0x8971);
+ public const int GL_STATIC_COPY = ((int)0x88E6);
+ public const int GL_SEPARABLE_2D = ((int)0x8012);
+ public const int GL_STENCIL_INDEX4_EXT = ((int)0x8D47);
+ public const int GL_OUTPUT_TEXTURE_COORD24_EXT = ((int)0x87B5);
+ public const int GL_BLUE_BIT_ATI = ((int)0x00000004);
+ public const int GL_BLEND_EQUATION_RGB = ((int)GL_BLEND_EQUATION);
+ public const int GL_COLOR_TABLE_RED_SIZE = ((int)0x80DA);
+ public const int GL_LINEAR = ((int)0x2601);
+ public const int GL_MAX_VIEWPORT_DIMS = ((int)0x0D3A);
+ public const int GL_BOOL = ((int)0x8B56);
+ public const int GL_PROXY_POST_CONVOLUTION_COLOR_TABLE = ((int)0x80D4);
+ public const int GL_MAX_ELEMENTS_VERTICES_EXT = ((int)0x80E8);
+ public const int GL_MAX_ASYNC_TEX_IMAGE_SGIX = ((int)0x835F);
+ public const int GL_DS_BIAS_NV = ((int)0x8716);
+ public const int GL_DETAIL_TEXTURE_2D_BINDING_SGIS = ((int)0x8096);
+ public const int GL_DEPENDENT_AR_TEXTURE_2D_NV = ((int)0x86E9);
+ public const int GL_FOG_COORDINATE_ARRAY_LIST_IBM = ((int)103076);
+ public const int GL_COLOR_ATTACHMENT0_EXT = ((int)0x8CE0);
+ public const int GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT = ((int)0x8336);
+ public const int GL_STENCIL_BACK_FUNC_ATI = ((int)0x8800);
+ public const int GL_ACCUM_GREEN_BITS = ((int)0x0D59);
+ public const int GL_ATTACHED_SHADERS = ((int)0x8B85);
+ public const int GL_VERTEX_ARRAY_EXT = ((int)0x8074);
+ public const int GL_INDEX_BITS = ((int)0x0D51);
+ public const int GL_SOURCE1_RGB = ((int)0x8581);
+ public const int GL_CURRENT_SECONDARY_COLOR = ((int)0x8459);
+ public const int GL_MAX_ELEMENTS_INDICES_EXT = ((int)0x80E9);
+ public const int GL_MIRROR_CLAMP_TO_BORDER_EXT = ((int)0x8912);
+ public const int GL_CONSTANT_COLOR1_NV = ((int)0x852B);
+ public const int GL_DUAL_LUMINANCE12_SGIS = ((int)0x8116);
+ public const int GL_MAX_CUBE_MAP_TEXTURE_SIZE = ((int)0x851C);
+ public const int GL_INTENSITY16I_EXT = ((int)0x8D8B);
+ public const int GL_BUFFER_USAGE_ARB = ((int)0x8765);
+ public const int GL_SAMPLE_BUFFERS = ((int)0x80A8);
+ public const int GL_EVAL_VERTEX_ATTRIB3_NV = ((int)0x86C9);
+ public const int GL_COMPRESSED_RGBA_S3TC_DXT1_EXT = ((int)0x83F1);
+ public const int GL_MATRIX29_ARB = ((int)0x88DD);
+ public const int GL_R11F_G11F_B10F_EXT = ((int)0x8C3A);
+ public const int GL_DRAW_BUFFER13 = ((int)0x8832);
+ public const int GL_DRAW_BUFFER12 = ((int)0x8831);
+ public const int GL_DRAW_BUFFER11 = ((int)0x8830);
+ public const int GL_DRAW_BUFFER10 = ((int)0x882F);
+ public const int GL_IUI_N3F_V3F_EXT = ((int)0x81B0);
+ public const int GL_CONSERVE_MEMORY_HINT_PGI = ((int)0x1A1FD);
+ public const int GL_DRAW_BUFFER15 = ((int)0x8834);
+ public const int GL_COLOR_MATRIX_STACK_DEPTH = ((int)0x80B2);
+ public const int GL_VIBRANCE_SCALE_NV = ((int)0x8713);
+ public const int GL_COMPRESSED_TEXTURE_FORMATS_ARB = ((int)0x86A3);
+ public const int GL_FORMAT_SUBSAMPLE_244_244_OML = ((int)0x8983);
+ public const int GL_UNPACK_SKIP_IMAGES_EXT = ((int)0x806D);
+ public const int GL_FLOAT_R32_NV = ((int)0x8885);
+ public const int GL_TEXTURE_COORD_ARRAY_EXT = ((int)0x8078);
+ public const int GL_SHADING_LANGUAGE_VERSION = ((int)0x8B8C);
+ public const int GL_SATURATE_BIT_ATI = ((int)0x00000040);
+ public const int GL_LIST_INDEX = ((int)0x0B33);
+ public const int GL_CONST_EYE_NV = ((int)0x86E5);
+ public const int GL_BLEND_SRC_ALPHA = ((int)0x80CB);
+ public const int GL_POINT_FADE_THRESHOLD_SIZE_EXT = ((int)0x8128);
+ public const int GL_TEXTURE_WRAP_R = ((int)0x8072);
+ public const int GL_OUTPUT_COLOR0_EXT = ((int)0x879B);
+ public const int GL_FUNC_REVERSE_SUBTRACT = ((int)0x800B);
+ public const int GL_INDEX_LOGIC_OP = ((int)0x0BF1);
+ public const int GL_BUFFER_ACCESS_ARB = ((int)0x88BB);
+ public const int GL_SHARED_TEXTURE_PALETTE_EXT = ((int)0x81FB);
+ public const int GL_TEXTURE_ALPHA_SIZE = ((int)0x805F);
+ public const int GL_ARRAY_OBJECT_BUFFER_ATI = ((int)0x8766);
+ public const int GL_TEXTURE_UNSIGNED_REMAP_MODE_NV = ((int)0x888F);
+ public const int GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX = ((int)0x8403);
+ public const int GL_1PASS_EXT = ((int)0x80A1);
+ public const int GL_CON_29_ATI = ((int)0x895E);
+ public const int GL_RGBA_SIGNED_COMPONENTS_EXT = ((int)0x8C3C);
+ public const int GL_CLAMP_FRAGMENT_COLOR_ARB = ((int)0x891B);
+ public const int GL_AMBIENT = ((int)0x1200);
+ public const int GL_TEXTURE_DEFORMATION_BIT_SGIX = ((int)0x00000001);
+ public const int GL_STACK_OVERFLOW = ((int)0x0503);
+ public const int GL_CLIP_PLANE2 = ((int)0x3002);
+ public const int GL_LOAD = ((int)0x0101);
+ public const int GL_BINORMAL_ARRAY_STRIDE_EXT = ((int)0x8441);
+ public const int GL_DSDT_NV = ((int)0x86F5);
+ public const int GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT = ((int)0x87D2);
+ public const int GL_SMOOTH_LINE_WIDTH_GRANULARITY = ((int)0x0B23);
+ public const int GL_COLOR_ARRAY_LIST_STRIDE_IBM = ((int)103082);
+ public const int GL_OBJECT_VALIDATE_STATUS_ARB = ((int)0x8B83);
+ public const int GL_GREEN_MIN_CLAMP_INGR = ((int)0x8561);
+ public const int GL_MAX_COLOR_ATTACHMENTS_EXT = ((int)0x8CDF);
+ public const int GL_SECONDARY_COLOR_ARRAY_TYPE = ((int)0x845B);
+ public const int GL_SOURCE0_ALPHA_ARB = ((int)0x8588);
+ public const int GL_MAP2_TEXTURE_COORD_1 = ((int)0x0DB3);
+ public const int GL_POINT = ((int)0x1B00);
+ public const int GL_REG_16_ATI = ((int)0x8931);
+ public const int GL_GENERIC_ATTRIB_NV = ((int)0x8C7D);
+ public const int GL_EYE_PLANE_ABSOLUTE_NV = ((int)0x855C);
+ public const int GL_STREAM_DRAW = ((int)0x88E0);
+ public const int GL_ASYNC_READ_PIXELS_SGIX = ((int)0x835E);
+ public const int GL_FRAMEZOOM_FACTOR_SGIX = ((int)0x818C);
+ public const int GL_SAMPLER_2D_SHADOW = ((int)0x8B62);
+ public const int GL_T2F_V3F = ((int)0x2A27);
+ public const int GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB = ((int)0x880C);
+ public const int GL_RGB32I_EXT = ((int)0x8D83);
+ public const int GL_WEIGHT_ARRAY_TYPE_ARB = ((int)0x86A9);
+ public const int GL_STATIC_READ_ARB = ((int)0x88E5);
+ public const int GL_VERTEX_ARRAY_RANGE_POINTER_NV = ((int)0x8521);
+ public const int GL_LINE_STIPPLE_PATTERN = ((int)0x0B25);
+ public const int GL_ARRAY_ELEMENT_LOCK_COUNT_EXT = ((int)0x81A9);
+ public const int GL_NUM_GENERAL_COMBINERS_NV = ((int)0x854E);
+ public const int GL_SAMPLE_BUFFERS_ARB = ((int)0x80A8);
+ public const int GL_PACK_IMAGE_HEIGHT_EXT = ((int)0x806C);
+ public const int GL_SPRITE_EYE_ALIGNED_SGIX = ((int)0x814E);
+ public const int GL_TEXTURE_APPLICATION_MODE_EXT = ((int)0x834F);
+ public const int GL_POINTS = ((int)0x0000);
+ public const int GL_ONE_EXT = ((int)0x87DE);
+ public const int GL_TEXTURE_BINDING_CUBE_MAP_EXT = ((int)0x8514);
+ public const int GL_TRANSFORM_BIT = ((int)0x00001000);
+ public const int GL_SRC1_ALPHA = ((int)GL_SOURCE1_ALPHA);
+ public const int GL_INVARIANT_VALUE_EXT = ((int)0x87EA);
+ public const int GL_FRAGMENT_NORMAL_EXT = ((int)0x834A);
+ public const int GL_4PASS_1_EXT = ((int)0x80A5);
+ public const int GL_LINEAR_MIPMAP_LINEAR = ((int)0x2703);
+ public const int GL_DEPTH_TEXTURE_MODE_ARB = ((int)0x884B);
+ public const int GL_SAMPLE_BUFFERS_3DFX = ((int)0x86B3);
+ public const int GL_OBJECT_DELETE_STATUS_ARB = ((int)0x8B80);
+ public const int GL_VERTEX_PROGRAM_ARB = ((int)0x8620);
+ public const int GL_RGBA12 = ((int)0x805A);
+ public const int GL_TEXTURE1_ARB = ((int)0x84C1);
+ public const int GL_W_EXT = ((int)0x87D8);
+ public const int GL_MODELVIEW3_ARB = ((int)0x8723);
+ public const int GL_EVAL_VERTEX_ATTRIB7_NV = ((int)0x86CD);
+ public const int GL_EDGE_FLAG_ARRAY_LIST_IBM = ((int)103075);
+ public const int GL_BUFFER_MAPPED = ((int)0x88BC);
+ public const int GL_DOMAIN = ((int)0x0A02);
+ public const int GL_FRAGMENT_DEPTH_EXT = ((int)0x8452);
+ public const int GL_LEQUAL = ((int)0x0203);
+ public const int GL_RENDERBUFFER_DEPTH_SIZE_EXT = ((int)0x8D54);
+ public const int GL_4PASS_2_EXT = ((int)0x80A6);
+ public const int GL_TEXTURE19_ARB = ((int)0x84D3);
+ public const int GL_FRONT_LEFT = ((int)0x0400);
+ public const int GL_COLOR4_BIT_PGI = ((int)0x00020000);
+ public const int GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB = ((int)0x8624);
+ public const int GL_SMOOTH_POINT_SIZE_GRANULARITY = ((int)0x0B13);
+ public const int GL_INTENSITY4 = ((int)0x804A);
+ public const int GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV = ((int)0x8520);
+ public const int GL_MAX_TEXTURE_BUFFER_SIZE_EXT = ((int)0x8C2B);
+ public const int GL_TRANSPOSE_CURRENT_MATRIX_ARB = ((int)0x88B7);
+ public const int GL_EVAL_VERTEX_ATTRIB13_NV = ((int)0x86D3);
+ public const int GL_OP_ROUND_EXT = ((int)0x8790);
+ public const int GL_VARIANT_ARRAY_EXT = ((int)0x87E8);
+ public const int GL_VIBRANCE_BIAS_NV = ((int)0x8719);
+ public const int GL_WRITE_ONLY_ARB = ((int)0x88B9);
+ public const int GL_REFERENCE_PLANE_EQUATION_SGIX = ((int)0x817E);
+ public const int GL_MAX_SPOT_EXPONENT_NV = ((int)0x8505);
+ public const int GL_POSITION = ((int)0x1203);
+ public const int GL_DOT_PRODUCT_DEPTH_REPLACE_NV = ((int)0x86ED);
+ public const int GL_TRANSPOSE_TEXTURE_MATRIX_ARB = ((int)0x84E5);
+ public const int GL_PROGRAM_STRING_ARB = ((int)0x8628);
+ public const int GL_EVAL_VERTEX_ATTRIB2_NV = ((int)0x86C8);
+ public const int GL_PN_TRIANGLES_ATI = ((int)0x87F0);
+ public const int GL_T4F_C4F_N3F_V4F = ((int)0x2A2D);
+ public const int GL_TEXTURE_BINDING_RECTANGLE_NV = ((int)0x84F6);
+ public const int GL_VERTEX_ARRAY_SIZE_EXT = ((int)0x807A);
+ public const int GL_CLIENT_PIXEL_STORE_BIT = ((int)0x00000001);
+ public const int GL_SCALE_BY_ONE_HALF_NV = ((int)0x8540);
+ public const int GL_IUI_V3F_EXT = ((int)0x81AE);
+ public const int GL_LUMINANCE16UI_EXT = ((int)0x8D7A);
+ public const int GL_VARIANT_VALUE_EXT = ((int)0x87E4);
+ public const int GL_SRC0_RGB = ((int)GL_SOURCE0_RGB);
+ public const int GL_POST_CONVOLUTION_GREEN_BIAS = ((int)0x8021);
+ public const int GL_POLYGON_STIPPLE = ((int)0x0B42);
+ public const int GL_INT_VEC3_ARB = ((int)0x8B54);
+ public const int GL_TEXTURE_COORD_ARRAY_POINTER_EXT = ((int)0x8092);
+ public const int GL_PIXEL_UNPACK_BUFFER_BINDING_ARB = ((int)0x88EF);
+ public const int GL_BUFFER_SIZE = ((int)0x8764);
+ public const int GL_MAX_TEXTURE_LOD_BIAS = ((int)0x84FD);
+ public const int GL_OFFSET_TEXTURE_MATRIX_NV = ((int)0x86E1);
+ public const int GL_ALPHA_FLOAT16_ATI = ((int)0x881C);
+ public const int GL_MATRIX14_ARB = ((int)0x88CE);
+ public const int GL_POST_COLOR_MATRIX_RED_SCALE_SGI = ((int)0x80B4);
+ public const int GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = ((int)0x88B2);
+ public const int GL_STATIC_ATI = ((int)0x8760);
+ public const int GL_ALPHA4_EXT = ((int)0x803B);
+ public const int GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB = ((int)0x8518);
+ public const int GL_INDEX_ARRAY_POINTER = ((int)0x8091);
+ public const int GL_TEXTURE_2D_STACK_MESAX = ((int)0x875A);
+ public const int GL_EDGE_FLAG_ARRAY_BUFFER_BINDING = ((int)0x889B);
+ public const int GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX = ((int)0x8312);
+ public const int GL_CND_ATI = ((int)0x896A);
+ public const int GL_FRAMEBUFFER_SRGB_CAPABLE_EXT = ((int)0x8DBA);
+ public const int GL_LIGHT_MODEL_TWO_SIDE = ((int)0x0B52);
+ public const int GL_TEXTURE_FLOAT_COMPONENTS_NV = ((int)0x888C);
+ public const int GL_NEGATIVE_W_EXT = ((int)0x87DC);
+ public const int GL_DRAW_BUFFER6_ATI = ((int)0x882B);
+ public const int GL_PIXEL_UNPACK_BUFFER_BINDING = ((int)0x88EF);
+ public const int GL_POINT_FADE_THRESHOLD_SIZE_SGIS = ((int)0x8128);
+ public const int GL_POINT_SPRITE_COORD_ORIGIN = ((int)0x8CA0);
+ public const int GL_LINE_TOKEN = ((int)0x0702);
+ public const int GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV = ((int)0x864E);
+ public const int GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT = ((int)0x850D);
+ public const int GL_OP_MADD_EXT = ((int)0x8788);
+ public const int GL_SIGNED_RGB8_NV = ((int)0x86FF);
+ public const int GL_SECONDARY_COLOR_ARRAY_SIZE = ((int)0x845A);
+ public const int GL_CLIP_PLANE5 = ((int)0x3005);
+ public const int GL_MAX_ELEMENTS_INDICES = ((int)0x80E9);
+ public const int GL_LINE_STRIP_ADJACENCY_EXT = ((int)0x000B);
+ public const int GL_422_REV_EXT = ((int)0x80CD);
+ public const int GL_INT_VEC4_ARB = ((int)0x8B55);
+ public const int GL_YCBCR_422_APPLE = ((int)0x85B9);
+ public const int GL_SIGNED_HILO16_NV = ((int)0x86FA);
+ public const int GL_TEXTURE_ENV = ((int)0x2300);
+ public const int GL_RGB9_E5_EXT = ((int)0x8C3D);
+ public const int GL_UNPACK_CONSTANT_DATA_SUNX = ((int)0x81D5);
+ public const int GL_TEXTURE_PRIORITY = ((int)0x8066);
+ public const int GL_CON_16_ATI = ((int)0x8951);
+ public const int GL_INDEX_WRITEMASK = ((int)0x0C21);
+ public const int GL_SAMPLES = ((int)0x80A9);
+ public const int GL_SIGNED_LUMINANCE8_NV = ((int)0x8702);
+ public const int GL_NORMAL_ARRAY_COUNT_EXT = ((int)0x8080);
+ public const int GL_DUAL_TEXTURE_SELECT_SGIS = ((int)0x8124);
+ public const int GL_DRAW_BUFFER9 = ((int)0x882E);
+ public const int GL_OPERAND1_ALPHA_EXT = ((int)0x8599);
+ public const int GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI = ((int)0x8835);
+ public const int GL_COMPARE_R_TO_TEXTURE = ((int)0x884E);
+ public const int GL_UNSIGNED_BYTE_3_3_2 = ((int)0x8032);
+ public const int GL_MAX_ASYNC_HISTOGRAM_SGIX = ((int)0x832D);
+ public const int GL_OPERAND0_RGB = ((int)0x8590);
+ public const int GL_COLOR_ARRAY_STRIDE = ((int)0x8083);
+ public const int GL_INTERLACE_SGIX = ((int)0x8094);
+ public const int GL_CONVOLUTION_FILTER_SCALE_EXT = ((int)0x8014);
+ public const int GL_REG_14_ATI = ((int)0x892F);
+ public const int GL_FLOAT_VEC4 = ((int)0x8B52);
+ public const int GL_SAMPLER_2D_RECT_SHADOW_ARB = ((int)0x8B64);
+ public const int GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT = ((int)0x8366);
+ public const int GL_PROGRAM_PARAMETERS_ARB = ((int)0x88A8);
+ public const int GL_ALWAYS_SOFT_HINT_PGI = ((int)0x1A20D);
+ public const int GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES = ((int)0x8B9B);
+ public const int GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB = ((int)0x8B4A);
+ public const int GL_DRAW_BUFFER8 = ((int)0x882D);
+ public const int GL_TEXTURE31_ARB = ((int)0x84DF);
+ public const int GL_SRGB_ALPHA = ((int)0x8C42);
+ public const int GL_INCR = ((int)0x1E02);
+ public const int GL_TEXTURE12_ARB = ((int)0x84CC);
+ public const int GL_DEPTH_ATTACHMENT_EXT = ((int)0x8D00);
+ public const int GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN = ((int)0x85C3);
+ public const int GL_CLAMP_TO_BORDER = ((int)0x812D);
+ public const int GL_T2F_IUI_N3F_V2F_EXT = ((int)0x81B3);
+ public const int GL_PIXEL_MAP_S_TO_S_SIZE = ((int)0x0CB1);
+ public const int GL_ORDER = ((int)0x0A01);
+ public const int GL_MODELVIEW_PROJECTION_NV = ((int)0x8629);
+ public const int GL_R1UI_T2F_C4F_N3F_V3F_SUN = ((int)0x85CB);
+ public const int GL_RESAMPLE_ZERO_FILL_OML = ((int)0x8987);
+ public const int GL_SAMPLES_PASSED = ((int)0x8914);
+ public const int GL_LUMINANCE6_ALPHA2 = ((int)0x8044);
+ public const int GL_POST_COLOR_MATRIX_ALPHA_SCALE = ((int)0x80B7);
+ public const int GL_FRAGMENT_COLOR_MATERIAL_SGIX = ((int)0x8401);
+ public const int GL_TRANSFORM_FEEDBACK_VARYINGS_NV = ((int)0x8C83);
+ public const int GL_PROGRAM_ATTRIB_COMPONENTS_NV = ((int)0x8906);
+ public const int GL_OBJECT_ACTIVE_ATTRIBUTES_ARB = ((int)0x8B89);
+ public const int GL_MULTISAMPLE_3DFX = ((int)0x86B2);
+ public const int GL_REG_4_ATI = ((int)0x8925);
+ public const int GL_DRAW_BUFFER7 = ((int)0x882C);
+ public const int GL_EDGE_FLAG = ((int)0x0B43);
+ public const int GL_NORMAL_ARRAY_BUFFER_BINDING = ((int)0x8897);
+ public const int GL_DEPTH24_STENCIL8_EXT = ((int)0x88F0);
+ public const int GL_MULTISAMPLE_FILTER_HINT_NV = ((int)0x8534);
+ public const int GL_REG_19_ATI = ((int)0x8934);
+ public const int GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV = ((int)0x8908);
+ public const int GL_TEXTURE_DEPTH_TYPE_ARB = ((int)0x8C16);
+ public const int GL_INVALID_VALUE = ((int)0x0501);
+ public const int GL_OPERAND1_RGB = ((int)0x8591);
+ public const int GL_TEXCOORD3_BIT_PGI = ((int)0x40000000);
+ public const int GL_LUMINANCE16_ALPHA16 = ((int)0x8048);
+ public const int GL_LUMINANCE_FLOAT32_ATI = ((int)0x8818);
+ public const int GL_VERTEX_PROGRAM_TWO_SIDE = ((int)0x8643);
+ public const int GL_OR = ((int)0x1507);
+ public const int GL_ALL_COMPLETED_NV = ((int)0x84F2);
+ public const int GL_REG_5_ATI = ((int)0x8926);
+ public const int GL_COLOR_ARRAY_BUFFER_BINDING = ((int)0x8898);
+ public const int GL_NEGATE_BIT_ATI = ((int)0x00000004);
+ public const int GL_DRAW_BUFFER6 = ((int)0x882B);
+ public const int GL_EVAL_VERTEX_ATTRIB5_NV = ((int)0x86CB);
+ public const int GL_NATIVE_GRAPHICS_HANDLE_PGI = ((int)0x1A202);
+ public const int GL_TEXTURE_BINDING_BUFFER_EXT = ((int)0x8C2C);
+ public const int GL_BUFFER_SERIALIZED_MODIFY_APPLE = ((int)0x8A12);
+ public const int GL_UNSIGNED_INT_2_10_10_10_REV_EXT = ((int)0x8368);
+ public const int GL_RGB5 = ((int)0x8050);
+ public const int GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT = ((int)0x8337);
+ public const int GL_COMBINER_MUX_SUM_NV = ((int)0x8547);
+ public const int GL_OUTPUT_TEXTURE_COORD8_EXT = ((int)0x87A5);
+ public const int GL_CURRENT_VERTEX_ATTRIB = ((int)0x8626);
+ public const int GL_TRANSPOSE_PROJECTION_MATRIX = ((int)0x84E4);
+ public const int GL_MAT_DIFFUSE_BIT_PGI = ((int)0x00400000);
+ public const int GL_DRAW_FRAMEBUFFER_BINDING_EXT = ((int)0x8CAA);
+ public const int GL_PACK_RESAMPLE_OML = ((int)0x8984);
+ public const int GL_ALPHA_MIN_CLAMP_INGR = ((int)0x8563);
+ public const int GL_DOUBLE_EXT = ((int)0x140A);
+ public const int GL_LIGHT_MODEL_COLOR_CONTROL_EXT = ((int)0x81F8);
+ public const int GL_FOG_COORDINATE_ARRAY_STRIDE_EXT = ((int)0x8455);
+ public const int GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM = ((int)103085);
+ public const int GL_NORMAL_ARRAY = ((int)0x8075);
+ public const int GL_SOURCE3_ALPHA_NV = ((int)0x858B);
+ public const int GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV = ((int)0x870D);
+ public const int GL_HISTOGRAM_LUMINANCE_SIZE = ((int)0x802C);
+ public const int GL_SIGNED_RGBA8_NV = ((int)0x86FC);
+ public const int GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV = ((int)0x8533);
+ public const int GL_UNPACK_SKIP_ROWS = ((int)0x0CF3);
+ public const int GL_POLYGON_OFFSET_FACTOR = ((int)0x8038);
+ public const int GL_HISTOGRAM_WIDTH_EXT = ((int)0x8026);
+ public const int GL_DEPTH_COMPONENT32F_NV = ((int)0x8DAB);
+ public const int GL_MAP_ATTRIB_U_ORDER_NV = ((int)0x86C3);
+ public const int GL_OUTPUT_TEXTURE_COORD15_EXT = ((int)0x87AC);
+ public const int GL_COLOR_TABLE_BLUE_SIZE = ((int)0x80DC);
+ public const int GL_INTENSITY32UI_EXT = ((int)0x8D73);
+ public const int GL_CON_4_ATI = ((int)0x8945);
+ public const int GL_CLAMP = ((int)0x2900);
+ public const int GL_4PASS_0_EXT = ((int)0x80A4);
+ public const int GL_POST_CONVOLUTION_ALPHA_SCALE = ((int)0x801F);
+ public const int GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS = ((int)0x809C);
+ public const int GL_TEXTURE_COMPONENTS = ((int)0x1003);
+ public const int GL_VERTEX4_BIT_PGI = ((int)0x00000008);
+ public const int GL_NORMAL_MAP_NV = ((int)0x8511);
+ public const int GL_INT_SAMPLER_1D_ARRAY_EXT = ((int)0x8DCE);
+ public const int GL_DRAW_BUFFER4 = ((int)0x8829);
+ public const int GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT = ((int)0x8510);
+ public const int GL_8X_BIT_ATI = ((int)0x00000004);
+ public const int GL_REG_24_ATI = ((int)0x8939);
+ public const int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT = ((int)0x8CD1);
+ public const int GL_DUAL_LUMINANCE16_SGIS = ((int)0x8117);
+ public const int GL_MODELVIEW30_ARB = ((int)0x873E);
+ public const int GL_TEXTURE_INTENSITY_SIZE = ((int)0x8061);
+ public const int GL_RGBA_S3TC = ((int)0x83A2);
+ public const int GL_INTENSITY_FLOAT32_ATI = ((int)0x8817);
+ public const int GL_BLEND_COLOR = ((int)0x8005);
+ public const int GL_COMPRESSED_LUMINANCE = ((int)0x84EA);
+ public const int GL_TABLE_TOO_LARGE = ((int)0x8031);
+ public const int GL_MAP2_VERTEX_ATTRIB8_4_NV = ((int)0x8678);
+ public const int GL_UNIFORM_BUFFER_EXT = ((int)0x8DEE);
+ public const int GL_FLOAT_MAT3_ARB = ((int)0x8B5B);
+ public const int GL_HALF_BIT_ATI = ((int)0x00000008);
+ public const int GL_LINEAR_MIPMAP_NEAREST = ((int)0x2701);
+ public const int GL_MAP1_GRID_SEGMENTS = ((int)0x0DD1);
+ public const int GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV = ((int)0x8DA0);
+ public const int GL_OBJECT_INFO_LOG_LENGTH_ARB = ((int)0x8B84);
+ public const int GL_PIXEL_CUBIC_WEIGHT_EXT = ((int)0x8333);
+ public const int GL_COMBINER0_NV = ((int)0x8550);
+ public const int GL_COMBINER1_NV = ((int)0x8551);
+ public const int GL_DRAW_BUFFER3 = ((int)0x8828);
+ public const int GL_MODELVIEW11_ARB = ((int)0x872B);
+ public const int GL_CURRENT_PROGRAM = ((int)0x8B8D);
+ public const int GL_COMPRESSED_RGBA = ((int)0x84EE);
+ public const int GL_PREVIOUS_TEXTURE_INPUT_NV = ((int)0x86E4);
+ public const int GL_TEXTURE_CUBE_MAP = ((int)0x8513);
+ public const int GL_MATRIX2_ARB = ((int)0x88C2);
+ public const int GL_TEXTURE4_ARB = ((int)0x84C4);
+ public const int GL_INDEX_ARRAY_LIST_STRIDE_IBM = ((int)103083);
+ public const int GL_UNSIGNED_SHORT_1_5_5_5_REV = ((int)0x8366);
+ public const int GL_GEQUAL = ((int)0x0206);
+ public const int GL_MULT = ((int)0x0103);
+ public const int GL_RED_BIAS = ((int)0x0D15);
+ public const int GL_INTENSITY8 = ((int)0x804B);
+ public const int GL_REG_1_ATI = ((int)0x8922);
+ public const int GL_INT = ((int)0x1404);
+ public const int GL_TEXTURE28_ARB = ((int)0x84DC);
+ public const int GL_INDEX_ARRAY_STRIDE_EXT = ((int)0x8086);
+ public const int GL_HISTOGRAM_ALPHA_SIZE = ((int)0x802B);
+ public const int GL_PACK_LSB_FIRST = ((int)0x0D01);
+ public const int GL_COLOR_ARRAY_POINTER = ((int)0x8090);
+ public const int GL_MAX_ELEMENTS_VERTICES = ((int)0x80E8);
+ public const int GL_COMBINER_CD_OUTPUT_NV = ((int)0x854B);
+ public const int GL_UNPACK_SKIP_VOLUMES_SGIS = ((int)0x8132);
+ public const int GL_DYNAMIC_DRAW = ((int)0x88E8);
+ public const int GL_INSTRUMENT_BUFFER_POINTER_SGIX = ((int)0x8180);
+ public const int GL_2PASS_0_SGIS = ((int)0x80A2);
+ public const int GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE = ((int)0x851E);
+ public const int GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB = ((int)0x88B6);
+ public const int GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB = ((int)0x8515);
+ public const int GL_OUTPUT_TEXTURE_COORD4_EXT = ((int)0x87A1);
+ public const int GL_LUMINANCE_FLOAT16_ATI = ((int)0x881E);
+ public const int GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT = ((int)0x8CD9);
+ public const int GL_FOG_COORD = ((int)GL_FOG_COORDINATE);
+ public const int GL_REG_6_ATI = ((int)0x8927);
+ public const int GL_EDGE_FLAG_ARRAY_POINTER_EXT = ((int)0x8093);
+ public const int GL_SLUMINANCE8_ALPHA8 = ((int)0x8C45);
+ public const int GL_TABLE_TOO_LARGE_EXT = ((int)0x8031);
+ public const int GL_MULTISAMPLE_BIT_ARB = ((int)0x20000000);
+ public const int GL_RED_INTEGER_EXT = ((int)0x8D94);
+ public const int GL_POLYGON = ((int)0x0009);
+ public const int GL_TEXTURE_WRAP_T = ((int)0x2803);
+ public const int GL_TEXTURE_LOD_BIAS = ((int)0x8501);
+ public const int GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = ((int)0x880A);
+ public const int GL_POST_CONVOLUTION_RED_BIAS = ((int)0x8020);
+ public const int GL_OBJECT_COMPILE_STATUS_ARB = ((int)0x8B81);
+ public const int GL_SIGNED_ALPHA_NV = ((int)0x8705);
+ public const int GL_PROXY_TEXTURE_3D_EXT = ((int)0x8070);
+ public const int GL_LINEAR_ATTENUATION = ((int)0x1208);
+ public const int GL_OUTPUT_TEXTURE_COORD3_EXT = ((int)0x87A0);
+ public const int GL_VERTEX_SHADER_BINDING_EXT = ((int)0x8781);
+ public const int GL_FLOAT_RG16_NV = ((int)0x8886);
+ public const int GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI = ((int)0x00200000);
+ public const int GL_BLEND_DST_RGB_EXT = ((int)0x80C8);
+ public const int GL_COLOR_INDEX12_EXT = ((int)0x80E6);
+ public const int GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = ((int)0x8809);
+ public const int GL_VERTEX_ARRAY_RANGE_NV = ((int)0x851D);
+ public const int GL_FUNC_SUBTRACT_EXT = ((int)0x800A);
+ public const int GL_LOGIC_OP = ((int)0x0BF1);
+ public const int GL_BLUE_MIN_CLAMP_INGR = ((int)0x8562);
+ public const int GL_CURRENT_RASTER_SECONDARY_COLOR = ((int)0x845F);
+ public const int GL_TEXTURE_COMPARE_SGIX = ((int)0x819A);
+ public const int GL_EVAL_VERTEX_ATTRIB14_NV = ((int)0x86D4);
+ public const int GL_MODELVIEW2_ARB = ((int)0x8722);
+ public const int GL_OUTPUT_TEXTURE_COORD6_EXT = ((int)0x87A3);
+ public const int GL_MAX_PROGRAM_MATRICES_ARB = ((int)0x862F);
+ public const int GL_ELEMENT_ARRAY_BUFFER_ARB = ((int)0x8893);
+ public const int GL_DRAW_BUFFER11_ARB = ((int)0x8830);
+ public const int GL_RGB32F_ARB = ((int)0x8815);
+ public const int GL_RGB10_EXT = ((int)0x8052);
+ public const int GL_TEXTURE_POST_SPECULAR_HP = ((int)0x8168);
+ public const int GL_ALIASED_POINT_SIZE_RANGE = ((int)0x846D);
+ public const int GL_TEXTURE_CUBE_MAP_NEGATIVE_X = ((int)0x8516);
+ public const int GL_OUTPUT_TEXTURE_COORD25_EXT = ((int)0x87B6);
+ public const int GL_DS_SCALE_NV = ((int)0x8710);
+ public const int GL_TEXTURE_ALPHA_SIZE_EXT = ((int)0x805F);
+ public const int GL_POINT_SPRITE_ARB = ((int)0x8861);
+ public const int GL_STENCIL_TEST = ((int)0x0B90);
+ public const int GL_SAMPLER_2D_SHADOW_ARB = ((int)0x8B62);
+ public const int GL_POST_TEXTURE_FILTER_SCALE_SGIX = ((int)0x817A);
+ public const int GL_FLOAT_VEC3 = ((int)0x8B51);
+ public const int GL_NEGATIVE_Z_EXT = ((int)0x87DB);
+ public const int GL_DUDV_ATI = ((int)0x8779);
+ public const int GL_OUTPUT_TEXTURE_COORD5_EXT = ((int)0x87A2);
+ public const int GL_OP_MUL_EXT = ((int)0x8786);
+ public const int GL_MODELVIEW13_ARB = ((int)0x872D);
+ public const int GL_PN_TRIANGLES_NORMAL_MODE_ATI = ((int)0x87F3);
+ public const int GL_FOG_COORDINATE_ARRAY_STRIDE = ((int)0x8455);
+ public const int GL_DRAW_BUFFER10_ARB = ((int)0x882F);
+ public const int GL_MATRIX4_NV = ((int)0x8634);
+ public const int GL_SAMPLE_COVERAGE_VALUE = ((int)0x80AA);
+ public const int GL_READ_PIXEL_DATA_RANGE_NV = ((int)0x8879);
+ public const int GL_FOG_COORDINATE_ARRAY = ((int)0x8457);
+ public const int GL_VERTEX_STATE_PROGRAM_NV = ((int)0x8621);
+ public const int GL_MATRIX5_NV = ((int)0x8635);
+ public const int GL_LESS = ((int)0x0201);
+ public const int GL_TEXTURE5_ARB = ((int)0x84C5);
+ public const int GL_TRANSFORM_FEEDBACK_BUFFER_NV = ((int)0x8C8E);
+ public const int GL_POLYGON_OFFSET_FACTOR_EXT = ((int)0x8038);
+ public const int GL_MAX_BINDABLE_UNIFORM_SIZE_EXT = ((int)0x8DED);
+ public const int GL_PREFER_DOUBLEBUFFER_HINT_PGI = ((int)0x1A1F8);
+ public const int GL_SAMPLES_SGIS = ((int)0x80A9);
+ public const int GL_DRAW_BUFFER13_ARB = ((int)0x8832);
+ public const int GL_MODELVIEW14_ARB = ((int)0x872E);
+ public const int GL_REG_2_ATI = ((int)0x8923);
+ public const int GL_FASTEST = ((int)0x1101);
+ public const int GL_MAX_ARRAY_TEXTURE_LAYERS_EXT = ((int)0x88FF);
+ public const int GL_RGB16_EXT = ((int)0x8054);
+ public const int GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB = ((int)0x8841);
+ public const int GL_BUFFER_SIZE_ARB = ((int)0x8764);
+ public const int GL_IMPLEMENTATION_COLOR_READ_TYPE_OES = ((int)0x8B9A);
+ public const int GL_CON_27_ATI = ((int)0x895C);
+ public const int GL_TRANSFORM_FEEDBACK_BUFFER_START_NV = ((int)0x8C84);
+ public const int GL_UNPACK_RESAMPLE_SGIX = ((int)0x842D);
+ public const int GL_CONVOLUTION_FILTER_SCALE = ((int)0x8014);
+ public const int GL_FRAMEZOOM_SGIX = ((int)0x818B);
+ public const int GL_MATRIX9_ARB = ((int)0x88C9);
+ public const int GL_DRAW_BUFFER12_ARB = ((int)0x8831);
+ public const int GL_COMPRESSED_LUMINANCE_ALPHA = ((int)0x84EB);
+ public const int GL_CLIENT_VERTEX_ARRAY_BIT = ((int)0x00000002);
+ public const int GL_MAX_LIST_NESTING = ((int)0x0B31);
+ public const int GL_NORMAL_MAP = ((int)0x8511);
+ public const int GL_VERTEX_ATTRIB_ARRAY8_NV = ((int)0x8658);
+ public const int GL_FEEDBACK_BUFFER_POINTER = ((int)0x0DF0);
+ public const int GL_CONSTANT_BORDER_HP = ((int)0x8151);
+ public const int GL_COLOR_TABLE_GREEN_SIZE = ((int)0x80DB);
+ public const int GL_DEPTH_COMPONENT16_SGIX = ((int)0x81A5);
+ public const int GL_MAX_VERTEX_SHADER_LOCALS_EXT = ((int)0x87C9);
+ public const int GL_STENCIL_BACK_PASS_DEPTH_PASS = ((int)0x8803);
+ public const int GL_TEXTURE14_ARB = ((int)0x84CE);
+ public const int GL_MAX_PROGRAM_TEMPORARIES_ARB = ((int)0x88A5);
+ public const int GL_IDENTITY_NV = ((int)0x862A);
+ public const int GL_INTENSITY16 = ((int)0x804D);
+ public const int GL_TRANSFORM_HINT_APPLE = ((int)0x85B1);
+ public const int GL_CONSTANT_ATTENUATION = ((int)0x1207);
+ public const int GL_DUAL_INTENSITY4_SGIS = ((int)0x8118);
+ public const int GL_FIXED_ONLY_ARB = ((int)0x891D);
+ public const int GL_TEXTURE_DEFORMATION_SGIX = ((int)0x8195);
+ public const int GL_REG_8_ATI = ((int)0x8929);
+ public const int GL_DRAW_BUFFER15_ARB = ((int)0x8834);
+ public const int GL_BLEND_DST_ALPHA_EXT = ((int)0x80CA);
+ public const int GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING = ((int)0x889D);
+ public const int GL_MATRIX30_ARB = ((int)0x88DE);
+ public const int GL_MATRIX25_ARB = ((int)0x88D9);
+ public const int GL_DRAW_PIXELS_APPLE = ((int)0x8A0A);
+ public const int GL_STENCIL = ((int)0x1802);
+ public const int GL_SPRITE_AXIAL_SGIX = ((int)0x814C);
+ public const int GL_RGBA16F_ARB = ((int)0x881A);
+ public const int GL_DRAW_BUFFER12_ATI = ((int)0x8831);
+ public const int GL_MAX_PROGRAM_LOOP_COUNT_NV = ((int)0x88F8);
+ public const int GL_COLOR_ARRAY_SIZE = ((int)0x8081);
+ public const int GL_PROGRAM_ERROR_POSITION_ARB = ((int)0x864B);
+ public const int GL_BGRA_EXT = ((int)0x80E1);
+ public const int GL_REG_9_ATI = ((int)0x892A);
+ public const int GL_DRAW_BUFFER14_ARB = ((int)0x8833);
+ public const int GL_OUTPUT_TEXTURE_COORD1_EXT = ((int)0x879E);
+ public const int GL_CURRENT_RASTER_DISTANCE = ((int)0x0B09);
+ public const int GL_INVERT = ((int)0x150A);
+ public const int GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI = ((int)0x80D4);
+ public const int GL_MINMAX = ((int)0x802E);
+ public const int GL_INDEX_MATERIAL_PARAMETER_EXT = ((int)0x81B9);
+ public const int GL_INT_SAMPLER_CUBE_EXT = ((int)0x8DCC);
+ public const int GL_REPLICATE_BORDER = ((int)0x8153);
+ public const int GL_GREEN = ((int)0x1904);
+ public const int GL_MIRROR_CLAMP_ATI = ((int)0x8742);
+ public const int GL_VERTEX_ARRAY_RANGE_VALID_NV = ((int)0x851F);
+ public const int GL_FUNC_REVERSE_SUBTRACT_EXT = ((int)0x800B);
+ public const int GL_SAMPLE_ALPHA_TO_ONE_ARB = ((int)0x809F);
+ public const int GL_STREAM_COPY_ARB = ((int)0x88E2);
+ public const int GL_COMBINE_ALPHA_EXT = ((int)0x8572);
+ public const int GL_MODELVIEW16_ARB = ((int)0x8730);
+ public const int GL_EQUIV = ((int)0x1509);
+ public const int GL_COLOR_SUM_CLAMP_NV = ((int)0x854F);
+ public const int GL_VARIANT_EXT = ((int)0x87C1);
+ public const int GL_GREEN_MAX_CLAMP_INGR = ((int)0x8565);
+ public const int GL_HILO_NV = ((int)0x86F4);
+ public const int GL_TEXTURE_RED_SIZE = ((int)0x805C);
+ public const int GL_NEGATIVE_Y_EXT = ((int)0x87DA);
+ public const int GL_RGB12_EXT = ((int)0x8053);
+ public const int GL_MULTISAMPLE_BIT = ((int)0x20000000);
+ public const int GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB = ((int)0x851C);
+ public const int GL_DRAW_BUFFER15_ATI = ((int)0x8834);
+ public const int GL_PIXEL_MAP_B_TO_B = ((int)0x0C78);
+ public const int GL_VERTEX_SHADER_OPTIMIZED_EXT = ((int)0x87D4);
+ public const int GL_POLYGON_OFFSET_POINT = ((int)0x2A01);
+ public const int GL_DYNAMIC_COPY_ARB = ((int)0x88EA);
+ public const int GL_INTERPOLATE_ARB = ((int)0x8575);
+ public const int GL_COMPRESSED_RED_RGTC1_EXT = ((int)0x8DBB);
+ public const int GL_PIXEL_MODE_BIT = ((int)0x00000020);
+ public const int GL_DRAW_BUFFER5_ARB = ((int)0x882A);
+ public const int GL_GENERATE_MIPMAP_SGIS = ((int)0x8191);
+ public const int GL_STENCIL_BACK_FUNC = ((int)0x8800);
+ public const int GL_MAGNITUDE_SCALE_NV = ((int)0x8712);
+ public const int GL_COMPRESSED_ALPHA = ((int)0x84E9);
+ public const int GL_CON_8_ATI = ((int)0x8949);
+ public const int GL_PROGRAM_LENGTH_ARB = ((int)0x8627);
+ public const int GL_DSDT8_NV = ((int)0x8709);
+ public const int GL_OPERAND2_ALPHA_ARB = ((int)0x859A);
+ public const int GL_PIXEL_COUNT_AVAILABLE_NV = ((int)0x8867);
+ public const int GL_DRAW_BUFFER14_ATI = ((int)0x8833);
+ public const int GL_MATERIAL_SIDE_HINT_PGI = ((int)0x1A22C);
+ public const int GL_ALPHA_FLOAT32_ATI = ((int)0x8816);
+ public const int GL_TRIANGLE_STRIP_ADJACENCY_EXT = ((int)0x000D);
+ public const int GL_MIRROR_CLAMP_TO_EDGE_EXT = ((int)0x8743);
+ public const int GL_DYNAMIC_ATI = ((int)0x8761);
+ public const int GL_UNSIGNED_INT_8_8_8_8_EXT = ((int)0x8035);
+ public const int GL_PIXEL_GROUP_COLOR_SGIS = ((int)0x8356);
+ public const int GL_MODULATE_SIGNED_ADD_ATI = ((int)0x8745);
+ public const int GL_COMPRESSED_RGBA_ARB = ((int)0x84EE);
+ public const int GL_POST_CONVOLUTION_ALPHA_BIAS_EXT = ((int)0x8023);
+ public const int GL_OPERAND0_RGB_EXT = ((int)0x8590);
+ public const int GL_TEXTURE_RED_TYPE_ARB = ((int)0x8C10);
+ public const int GL_DT_SCALE_NV = ((int)0x8711);
+ public const int GL_FOG = ((int)0x0B60);
+ public const int GL_MAX_VERTEX_ATTRIBS_ARB = ((int)0x8869);
+ public const int GL_EXP = ((int)0x0800);
+ public const int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT = ((int)0x8CD3);
+ public const int GL_TEXTURE_COMPRESSED_ARB = ((int)0x86A1);
+ public const int GL_E_TIMES_F_NV = ((int)0x8531);
+ public const int GL_DT_BIAS_NV = ((int)0x8717);
+ public const int GL_CURRENT_OCCLUSION_QUERY_ID_NV = ((int)0x8865);
+ public const int GL_WEIGHT_ARRAY_STRIDE_ARB = ((int)0x86AA);
+ public const int GL_MAP2_VERTEX_ATTRIB6_4_NV = ((int)0x8676);
+ public const int GL_BLEND_COLOR_EXT = ((int)0x8005);
+ public const int GL_TEXTURE_RECTANGLE_ARB = ((int)0x84F5);
+ public const int GL_ALPHA32UI_EXT = ((int)0x8D72);
+ public const int GL_MAP2_VERTEX_ATTRIB3_4_NV = ((int)0x8673);
+ public const int GL_DRAW_BUFFER4_ARB = ((int)0x8829);
+ public const int GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = ((int)0x8808);
+ public const int GL_CURRENT_RASTER_POSITION_VALID = ((int)0x0B08);
+ public const int GL_GEOMETRY_DEFORMATION_BIT_SGIX = ((int)0x00000002);
+ public const int GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI = ((int)0x1A203);
+ public const int GL_DSDT8_MAG8_INTENSITY8_NV = ((int)0x870B);
+ public const int GL_SOURCE1_RGB_EXT = ((int)0x8581);
+ public const int GL_POINT_SPRITE = ((int)0x8861);
+ public const int GL_ELEMENT_ARRAY_TYPE_APPLE = ((int)0x8769);
+ public const int GL_COLOR_TABLE_INTENSITY_SIZE_SGI = ((int)0x80DF);
+ public const int GL_COLOR_SUM = ((int)0x8458);
+ public const int GL_TEXTURE_LOD_BIAS_EXT = ((int)0x8501);
+ public const int GL_FRAGMENT_SHADER_DERIVATIVE_HINT = ((int)0x8B8B);
+ public const int GL_OBJECT_DISTANCE_TO_POINT_SGIS = ((int)0x81F1);
+ public const int GL_COMPRESSED_SLUMINANCE = ((int)0x8C4A);
+ public const int GL_UNPACK_SWAP_BYTES = ((int)0x0CF0);
+ public const int GL_MODELVIEW20_ARB = ((int)0x8734);
+ public const int GL_COPY = ((int)0x1503);
+ public const int GL_SAMPLE_ALPHA_TO_ONE = ((int)0x809F);
+ public const int GL_OP_RECIP_EXT = ((int)0x8794);
+ public const int GL_ONE_MINUS_DST_COLOR = ((int)0x0307);
+ public const int GL_MAP2_TEXTURE_COORD_3 = ((int)0x0DB5);
+ public const int GL_PIXEL_MAG_FILTER_EXT = ((int)0x8331);
+ public const int GL_BLEND = ((int)0x0BE2);
+ public const int GL_SHININESS = ((int)0x1601);
+ public const int GL_TEXTURE = ((int)0x1702);
+ public const int GL_EYE_DISTANCE_TO_LINE_SGIS = ((int)0x81F2);
+ public const int GL_INTENSITY16F_ARB = ((int)0x881D);
+ public const int GL_TEXTURE_MATERIAL_FACE_EXT = ((int)0x8351);
+ public const int GL_TEXTURE_INTENSITY_TYPE_ARB = ((int)0x8C15);
+ public const int GL_MATRIX1_NV = ((int)0x8631);
+ public const int GL_COLOR_TABLE_SGI = ((int)0x80D0);
+ public const int GL_DEPENDENT_HILO_TEXTURE_2D_NV = ((int)0x8858);
+ public const int GL_MAX_VARYING_FLOATS_ARB = ((int)0x8B4B);
+ public const int GL_TEXTURE_FILTER_CONTROL_EXT = ((int)0x8500);
+ public const int GL_CON_26_ATI = ((int)0x895B);
+ public const int GL_MINMAX_SINK_EXT = ((int)0x8030);
+ public const int GL_LIGHT5 = ((int)0x4005);
+ public const int GL_RGBA12_EXT = ((int)0x805A);
+ public const int GL_UNSIGNED_NORMALIZED_ARB = ((int)0x8C17);
+ public const int GL_ALLOW_DRAW_FRG_HINT_PGI = ((int)0x1A210);
+ public const int GL_MAP2_TEXTURE_COORD_2 = ((int)0x0DB4);
+ public const int GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB = ((int)0x88A7);
+ public const int GL_OPERAND1_ALPHA = ((int)0x8599);
+ public const int GL_IUI_V2F_EXT = ((int)0x81AD);
+ public const int GL_MAX_PROGRAM_INSTRUCTIONS_ARB = ((int)0x88A1);
+ public const int GL_BLEND_EQUATION = ((int)0x8009);
+ public const int GL_RGBA16I_EXT = ((int)0x8D88);
+ public const int GL_BGR = ((int)0x80E0);
+ public const int GL_TEXTURE0_ARB = ((int)0x84C0);
+ public const int GL_RESCALE_NORMAL = ((int)0x803A);
+ public const int GL_ELEMENT_ARRAY_BUFFER_BINDING = ((int)0x8895);
+ public const int GL_PROGRAM_STRING_NV = ((int)0x8628);
+ public const int GL_MIRROR_CLAMP_EXT = ((int)0x8742);
+ public const int GL_CON_13_ATI = ((int)0x894E);
+ public const int GL_ASYNC_TEX_IMAGE_SGIX = ((int)0x835C);
+ public const int GL_CONSTANT = ((int)0x8576);
+ public const int GL_VARIANT_ARRAY_STRIDE_EXT = ((int)0x87E6);
+ public const int GL_NUM_PASSES_ATI = ((int)0x8970);
+ public const int GL_MAP2_VERTEX_ATTRIB15_4_NV = ((int)0x867F);
+ public const int GL_MATRIX12_ARB = ((int)0x88CC);
+ public const int GL_CMYKA_EXT = ((int)0x800D);
+ public const int GL_SEPARATE_SPECULAR_COLOR = ((int)0x81FA);
+ public const int GL_BLUE_INTEGER_EXT = ((int)0x8D96);
+ public const int GL_INTENSITY8I_EXT = ((int)0x8D91);
+ public const int GL_SIGNED_IDENTITY_NV = ((int)0x853C);
+ public const int GL_MAP2_VERTEX_ATTRIB0_4_NV = ((int)0x8670);
+ public const int GL_LUMINANCE16F_ARB = ((int)0x881E);
+ public const int GL_MAP2_NORMAL = ((int)0x0DB2);
+ public const int GL_LIGHT_MODEL_AMBIENT = ((int)0x0B53);
+ public const int GL_RGB5_A1 = ((int)0x8057);
+ public const int GL_OFFSET_TEXTURE_2D_SCALE_NV = ((int)GL_OFFSET_TEXTURE_SCALE_NV);
+ public const int GL_COLOR_INDEX4_EXT = ((int)0x80E4);
+ public const int GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB = ((int)0x8B49);
+ public const int GL_WRAP_BORDER_SUN = ((int)0x81D4);
+ public const int GL_MATRIX2_NV = ((int)0x8632);
+ public const int GL_SAMPLES_PASSED_ARB = ((int)0x8914);
+ public const int GL_RGB16 = ((int)0x8054);
+ public const int GL_HISTOGRAM_BLUE_SIZE_EXT = ((int)0x802A);
+ public const int GL_RGB10 = ((int)0x8052);
+ public const int GL_RGB12 = ((int)0x8053);
+ public const int GL_INTERPOLATE = ((int)0x8575);
+ public const int GL_MIN_EXT = ((int)0x8007);
+ public const int GL_RGBA2 = ((int)0x8055);
+ public const int GL_DUAL_INTENSITY8_SGIS = ((int)0x8119);
+ public const int GL_TEXTURE_FILTER4_SIZE_SGIS = ((int)0x8147);
+ public const int GL_RGBA8 = ((int)0x8058);
+ public const int GL_SIGNED_RGB_UNSIGNED_ALPHA_NV = ((int)0x870C);
+ public const int GL_DYNAMIC_READ = ((int)0x88E9);
+ public const int GL_INT_VEC2 = ((int)0x8B53);
+ public const int GL_COMPRESSED_RGBA_S3TC_DXT3_EXT = ((int)0x83F2);
+ public const int GL_SOURCE0_RGB_ARB = ((int)0x8580);
+ public const int GL_SOURCE2_ALPHA = ((int)0x858A);
+ public const int GL_TEXTURE_GREEN_SIZE = ((int)0x805D);
+ public const int GL_SAMPLE_MASK_VALUE_SGIS = ((int)0x80AA);
+ public const int GL_INTENSITY4_EXT = ((int)0x804A);
+ public const int GL_MODELVIEW22_ARB = ((int)0x8736);
+ public const int GL_COMPRESSED_LUMINANCE_ARB = ((int)0x84EA);
+ public const int GL_OP_INDEX_EXT = ((int)0x8782);
+ public const int GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV = ((int)0x86F3);
+ public const int GL_LINEAR_DETAIL_COLOR_SGIS = ((int)0x8099);
+ public const int GL_MATRIX23_ARB = ((int)0x88D7);
+ public const int GL_TEXTURE_BINDING_3D = ((int)0x806A);
+ public const int GL_TEXTURE_BINDING_2D = ((int)0x8069);
+ public const int GL_TEXTURE_BINDING_1D = ((int)0x8068);
+ public const int GL_NORMAL_ARRAY_TYPE_EXT = ((int)0x807E);
+ public const int GL_COLOR_ARRAY_SIZE_EXT = ((int)0x8081);
+ public const int GL_VARIABLE_F_NV = ((int)0x8528);
+ public const int GL_REPLACE_EXT = ((int)0x8062);
+ public const int GL_MODULATE = ((int)0x2100);
+ public const int GL_COLOR_MATRIX_SGI = ((int)0x80B1);
+ public const int GL_PIXEL_TILE_WIDTH_SGIX = ((int)0x8140);
+ public const int GL_MAX_PROGRAM_ENV_PARAMETERS_ARB = ((int)0x88B5);
+ public const int GL_BYTE = ((int)0x1400);
+ public const int GL_QUAD_MESH_SUN = ((int)0x8614);
+ public const int GL_422_AVERAGE_EXT = ((int)0x80CE);
+ public const int GL_ALPHA_MAX_CLAMP_INGR = ((int)0x8567);
+ public const int GL_CULL_FACE_MODE = ((int)0x0B45);
+ public const int GL_DOT4_ATI = ((int)0x8967);
+ public const int GL_INDEX_ARRAY_EXT = ((int)0x8077);
+ public const int GL_SAMPLE_COVERAGE_VALUE_ARB = ((int)0x80AA);
+ public const int GL_SOURCE2_RGB_EXT = ((int)0x8582);
+ public const int GL_POINT_DISTANCE_ATTENUATION = ((int)0x8129);
+ public const int GL_ELEMENT_ARRAY_BUFFER = ((int)0x8893);
+ public const int GL_ARRAY_ELEMENT_LOCK_FIRST_EXT = ((int)0x81A8);
+ public const int GL_OUTPUT_TEXTURE_COORD26_EXT = ((int)0x87B7);
+ public const int GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV = ((int)0x8852);
+ public const int GL_R5_G6_B5_ICC_SGIX = ((int)0x8466);
+ public const int GL_GENERATE_MIPMAP_HINT_SGIS = ((int)0x8192);
+ public const int GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT = ((int)0x8DE4);
+ public const int GL_HISTOGRAM_LUMINANCE_SIZE_EXT = ((int)0x802C);
+ public const int GL_ALL_ATTRIB_BITS = unchecked((int)0xFFFFFFFF);
+ public const int GL_YCRCB_444_SGIX = ((int)0x81BC);
+ public const int GL_RGBA_MODE = ((int)0x0C31);
+ public const int GL_RED_SCALE = ((int)0x0D14);
+ public const int GL_SAMPLE_BUFFERS_SGIS = ((int)0x80A8);
+ public const int GL_LIST_MODE = ((int)0x0B30);
+ public const int GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP = ((int)0x8163);
+ public const int GL_OBJECT_LINEAR = ((int)0x2401);
+ public const int GL_CON_19_ATI = ((int)0x8954);
+ public const int GL_LIGHT7 = ((int)0x4007);
+ public const int GL_ALPHA16_ICC_SGIX = ((int)0x8468);
+ public const int GL_STENCIL_PASS_DEPTH_PASS = ((int)0x0B96);
+ public const int GL_OUTPUT_TEXTURE_COORD16_EXT = ((int)0x87AD);
+ public const int GL_MAX_PROJECTION_STACK_DEPTH = ((int)0x0D38);
+ public const int GL_SAMPLE_COVERAGE_INVERT = ((int)0x80AB);
+ public const int GL_CURRENT_RASTER_POSITION = ((int)0x0B07);
+ public const int GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT = ((int)0x850E);
+ public const int GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT = ((int)0x8D56);
+ public const int GL_MAP1_VERTEX_ATTRIB2_4_NV = ((int)0x8662);
+ public const int GL_COLOR_TABLE_BIAS = ((int)0x80D7);
+ public const int GL_IGNORE_BORDER_HP = ((int)0x8150);
+ public const int GL_VERTEX_ARRAY_BUFFER_BINDING_ARB = ((int)0x8896);
+ public const int GL_NOOP = ((int)0x1505);
+ public const int GL_SCISSOR_TEST = ((int)0x0C11);
+ public const int GL_RGBA = ((int)0x1908);
+ public const int GL_RGB8_EXT = ((int)0x8051);
+ public const int GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB = ((int)0x8516);
+ public const int GL_SAMPLER_3D = ((int)0x8B5F);
+ public const int GL_SAMPLER_2D = ((int)0x8B5E);
+ public const int GL_YCRCBA_SGIX = ((int)0x8319);
+ public const int GL_STENCIL_BUFFER_BIT = ((int)0x00000400);
+ public const int GL_BUFFER_USAGE = ((int)0x8765);
+ public const int GL_PROXY_TEXTURE_RECTANGLE_ARB = ((int)0x84F7);
+ public const int GL_BUFFER_MAP_POINTER_ARB = ((int)0x88BD);
+ public const int GL_SINGLE_COLOR_EXT = ((int)0x81F9);
+ public const int GL_SIGNED_LUMINANCE8_ALPHA8_NV = ((int)0x8704);
+ public const int GL_LUMINANCE4_ALPHA4 = ((int)0x8043);
+ public const int GL_VERTEX_STREAM0_ATI = ((int)0x876C);
+ public const int GL_NORMAL_MAP_ARB = ((int)0x8511);
+ public const int GL_RGB_SCALE_ARB = ((int)0x8573);
+ public const int GL_T2F_C3F_V3F = ((int)0x2A2A);
+ public const int GL_BITMAP_TOKEN = ((int)0x0704);
+ public const int GL_ASYNC_HISTOGRAM_SGIX = ((int)0x832C);
+ public const int GL_COLOR_ARRAY_TYPE_EXT = ((int)0x8082);
+ public const int GL_BINORMAL_ARRAY_TYPE_EXT = ((int)0x8440);
+ public const int GL_MODELVIEW9_ARB = ((int)0x8729);
+ public const int GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS = ((int)0x8354);
+ public const int GL_VERTEX_ARRAY_RANGE_LENGTH_NV = ((int)0x851E);
+ public const int GL_MULTISAMPLE_SGIS = ((int)0x809D);
+ public const int GL_UNSIGNED_INT_10_10_10_2_EXT = ((int)0x8036);
+ public const int GL_UNSIGNED_INT = ((int)0x1405);
+ public const int GL_INDEX_TEST_EXT = ((int)0x81B5);
+ public const int GL_ONE_MINUS_SRC_COLOR = ((int)0x0301);
+ public const int GL_MAX_TEXTURE_STACK_DEPTH = ((int)0x0D39);
+ public const int GL_PROGRAM_ERROR_POSITION_NV = ((int)0x864B);
+ public const int GL_INTENSITY = ((int)0x8049);
+ public const int GL_MODELVIEW12_ARB = ((int)0x872C);
+ public const int GL_VERTEX_CONSISTENT_HINT_PGI = ((int)0x1A22B);
+ public const int GL_COMBINE_EXT = ((int)0x8570);
+ public const int GL_MAP1_VERTEX_4 = ((int)0x0D98);
+ public const int GL_UNSIGNED_INT_24_8_NV = ((int)0x84FA);
+ public const int GL_OBJECT_SUBTYPE_ARB = ((int)0x8B4F);
+ public const int GL_OUTPUT_TEXTURE_COORD23_EXT = ((int)0x87B4);
+ public const int GL_MAP1_VERTEX_3 = ((int)0x0D97);
+ public const int GL_RETURN = ((int)0x0102);
+ public const int GL_TANGENT_ARRAY_EXT = ((int)0x8439);
+ public const int GL_FLOAT_MAT3x4 = ((int)0x8B68);
+ public const int GL_DEPENDENT_RGB_TEXTURE_3D_NV = ((int)0x8859);
+ public const int GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS = ((int)0x80B0);
+ public const int GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV = ((int)0x8C85);
+ public const int GL_INDEX_MODE = ((int)0x0C30);
+ public const int GL_OUTPUT_TEXTURE_COORD12_EXT = ((int)0x87A9);
+ public const int GL_INTENSITY16_ICC_SGIX = ((int)0x846A);
+ public const int GL_REG_28_ATI = ((int)0x893D);
+ public const int GL_POINT_SMOOTH_HINT = ((int)0x0C51);
+ public const int GL_COLOR_ARRAY_EXT = ((int)0x8076);
+ public const int GL_CLIP_PLANE4 = ((int)0x3004);
+ public const int GL_HALF_FLOAT_NV = ((int)0x140B);
+ public const int GL_TEXTURE_COMPRESSED = ((int)0x86A1);
+ public const int GL_LINE = ((int)0x1B01);
+ public const int GL_BINORMAL_ARRAY_EXT = ((int)0x843A);
+ public const int GL_PROGRAM_LENGTH_NV = ((int)0x8627);
+ public const int GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB = ((int)0x88AF);
+ public const int GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT = ((int)0x8518);
+ public const int GL_TRACK_MATRIX_TRANSFORM_NV = ((int)0x8649);
+ public const int GL_SELECTION_BUFFER_POINTER = ((int)0x0DF3);
+ public const int GL_DRAW_FRAMEBUFFER_EXT = ((int)0x8CA9);
+ public const int GL_OUTPUT_TEXTURE_COORD13_EXT = ((int)0x87AA);
+ public const int GL_TEXTURE_INDEX_SIZE_EXT = ((int)0x80ED);
+ public const int GL_MAP2_VERTEX_ATTRIB2_4_NV = ((int)0x8672);
+ public const int GL_POST_CONVOLUTION_RED_SCALE_EXT = ((int)0x801C);
+ public const int GL_RECLAIM_MEMORY_HINT_PGI = ((int)0x1A1FE);
+ public const int GL_RENDERBUFFER_WIDTH_EXT = ((int)0x8D42);
+ public const int GL_DEPTH_BIAS = ((int)0x0D1F);
+ public const int GL_FOG_COORDINATE_ARRAY_POINTER = ((int)0x8456);
+ public const int GL_VERTEX_SHADER = ((int)0x8B31);
+ public const int GL_VARIABLE_D_NV = ((int)0x8526);
+ public const int GL_AUX_BUFFERS = ((int)0x0C00);
+ public const int GL_TANGENT_ARRAY_POINTER_EXT = ((int)0x8442);
+ public const int GL_CON_12_ATI = ((int)0x894D);
+ public const int GL_MODELVIEW1_EXT = ((int)0x850A);
+ public const int GL_HISTOGRAM_GREEN_SIZE_EXT = ((int)0x8029);
+ public const int GL_T2F_N3F_V3F = ((int)0x2A2B);
+ public const int GL_ZOOM_Y = ((int)0x0D17);
+ public const int GL_FOG_COORD_ARRAY_STRIDE = ((int)GL_FOG_COORDINATE_ARRAY_STRIDE);
+ public const int GL_MAX_PROGRAM_CALL_DEPTH_NV = ((int)0x88F5);
+ public const int GL_TEXTURE_MAX_CLAMP_S_SGIX = ((int)0x8369);
+ public const int GL_COLOR = ((int)0x1800);
+ public const int GL_TEXTURE_PRIORITY_EXT = ((int)0x8066);
+ public const int GL_INCR_WRAP_EXT = ((int)0x8507);
+ public const int GL_LUMINANCE16 = ((int)0x8042);
+ public const int GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB = ((int)0x8B4D);
+ public const int GL_CONVOLUTION_BORDER_MODE = ((int)0x8013);
+ public const int GL_LUMINANCE_ALPHA16UI_EXT = ((int)0x8D7B);
+ public const int GL_FLOAT_MAT4x2 = ((int)0x8B69);
+ public const int GL_TEXTURE30_ARB = ((int)0x84DE);
+ public const int GL_TEXTURE_MATERIAL_PARAMETER_EXT = ((int)0x8352);
+ public const int GL_BUMP_TARGET_ATI = ((int)0x877C);
+ public const int GL_FRAGMENT_SHADER_ARB = ((int)0x8B30);
+ public const int GL_LIGHT1 = ((int)0x4001);
+ public const int GL_POST_CONVOLUTION_GREEN_BIAS_EXT = ((int)0x8021);
+ public const int GL_UNPACK_IMAGE_HEIGHT_EXT = ((int)0x806E);
+ public const int GL_FRAGMENT_SHADER = ((int)0x8B30);
+ public const int GL_POLYGON_STIPPLE_BIT = ((int)0x00000010);
+ public const int GL_TEXTURE_CUBE_MAP_EXT = ((int)0x8513);
+ public const int GL_DRAW_BUFFER2 = ((int)0x8827);
+ public const int GL_STREAM_DRAW_ARB = ((int)0x88E0);
+ public const int GL_DEPTH_STENCIL_TO_BGRA_NV = ((int)0x886F);
+ public const int GL_UNPACK_SUBSAMPLE_RATE_SGIX = ((int)0x85A1);
+ public const int GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV = ((int)0x8C8F);
+ public const int GL_TEXCOORD2_BIT_PGI = ((int)0x20000000);
+ public const int GL_MAX_VARYING_COMPONENTS_EXT = ((int)0x8B4B);
+ public const int GL_MATRIX_INDEX_ARRAY_STRIDE_ARB = ((int)0x8848);
+ public const int GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV = ((int)0x8853);
+ public const int GL_OUTPUT_TEXTURE_COORD27_EXT = ((int)0x87B8);
+ public const int GL_CLIP_VOLUME_CLIPPING_HINT_EXT = ((int)0x80F0);
+ public const int GL_DECAL = ((int)0x2101);
+ public const int GL_CONVOLUTION_1D = ((int)0x8010);
+ public const int GL_CONVOLUTION_2D = ((int)0x8011);
+ public const int GL_UNSIGNED_SHORT_5_5_5_1 = ((int)0x8034);
+ public const int GL_PRIMARY_COLOR = ((int)0x8577);
+ public const int GL_LUMINANCE_ALPHA8UI_EXT = ((int)0x8D81);
+ public const int GL_CONVOLUTION_WIDTH_EXT = ((int)0x8018);
+ public const int GL_MAP_TESSELLATION_NV = ((int)0x86C2);
+ public const int GL_EVAL_VERTEX_ATTRIB10_NV = ((int)0x86D0);
+ public const int GL_COLOR_ARRAY_LIST_IBM = ((int)103072);
+ public const int GL_MAT_SPECULAR_BIT_PGI = ((int)0x04000000);
+ public const int GL_LIGHT_MODEL_LOCAL_VIEWER = ((int)0x0B51);
+ public const int GL_DRAW_BUFFER1 = ((int)0x8826);
+ public const int GL_DEPTH_BITS = ((int)0x0D56);
+ public const int GL_OPERAND0_ALPHA_EXT = ((int)0x8598);
+ public const int GL_PIXEL_UNPACK_BUFFER_ARB = ((int)0x88EC);
+ public const int GL_HINT_BIT = ((int)0x00008000);
+ public const int GL_ONE_MINUS_SRC_ALPHA = ((int)0x0303);
+ public const int GL_NORMAL_ARRAY_TYPE = ((int)0x807E);
+ public const int GL_PRIMITIVE_RESTART_INDEX_NV = ((int)0x8559);
+ public const int GL_EVAL_2D_NV = ((int)0x86C0);
+ public const int GL_VIEWPORT_BIT = ((int)0x00000800);
+ public const int GL_OUTPUT_TEXTURE_COORD17_EXT = ((int)0x87AE);
+ public const int GL_PIXEL_PACK_BUFFER_ARB = ((int)0x88EB);
+ public const int GL_SRGB8 = ((int)0x8C41);
+ public const int GL_LOCAL_EXT = ((int)0x87C4);
+ public const int GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB = ((int)0x889B);
+ public const int GL_REFLECTION_MAP = ((int)0x8512);
+ public const int GL_EVAL_VERTEX_ATTRIB4_NV = ((int)0x86CA);
+ public const int GL_MATRIX26_ARB = ((int)0x88DA);
+ public const int GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM = ((int)103086);
+ public const int GL_FOG_COORD_ARRAY_TYPE = ((int)GL_FOG_COORDINATE_ARRAY_TYPE);
+ public const int GL_ONE_MINUS_CONSTANT_COLOR = ((int)0x8002);
+ public const int GL_NORMAL_ARRAY_LIST_STRIDE_IBM = ((int)103081);
+ public const int GL_DRAW_BUFFER8_ARB = ((int)0x882D);
+ public const int GL_CON_22_ATI = ((int)0x8957);
+ public const int GL_DRAW_BUFFER0 = ((int)0x8825);
+ public const int GL_MAP2_VERTEX_ATTRIB13_4_NV = ((int)0x867D);
+ public const int GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV = ((int)0x8DA3);
+ public const int GL_TRANSFORM_FEEDBACK_RECORD_NV = ((int)0x8C86);
+ public const int GL_2PASS_1_SGIS = ((int)0x80A3);
+ public const int GL_BACK = ((int)0x0405);
+ public const int GL_PACK_RESAMPLE_SGIX = ((int)0x842C);
+ public const int GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT = ((int)0x8DE1);
+ public const int GL_CURRENT_FOG_COORDINATE = ((int)0x8453);
+ public const int GL_FOG_SCALE_SGIX = ((int)0x81FC);
+ public const int GL_BLEND_SRC_RGB = ((int)0x80C9);
+ public const int GL_CURRENT_TANGENT_EXT = ((int)0x843B);
+ public const int GL_PROGRAM_TEX_INSTRUCTIONS_ARB = ((int)0x8806);
+ public const int GL_MODELVIEW31_ARB = ((int)0x873F);
+ public const int GL_TEXTURE_3D_BINDING_EXT = ((int)0x806A);
+ public const int GL_RGBA4_EXT = ((int)0x8056);
+ public const int GL_GREEN_SCALE = ((int)0x0D18);
+ public const int GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB = ((int)0x8B8B);
+ public const int GL_POINT_SIZE_MIN_EXT = ((int)0x8126);
+ public const int GL_CON_18_ATI = ((int)0x8953);
+ public const int GL_ALPHA32I_EXT = ((int)0x8D84);
+ public const int GL_LINE_BIT = ((int)0x00000004);
+ public const int GL_SAMPLE_ALPHA_TO_COVERAGE_ARB = ((int)0x809E);
+ public const int GL_DEPTH_TEST = ((int)0x0B71);
+ public const int GL_HISTOGRAM_FORMAT = ((int)0x8027);
+ public const int GL_FLOAT_VEC3_ARB = ((int)0x8B51);
+ public const int GL_COORD_REPLACE = ((int)0x8862);
+ public const int GL_STENCIL_REF = ((int)0x0B97);
+ public const int GL_TEXTURE_COORD_ARRAY_STRIDE_EXT = ((int)0x808A);
+ public const int GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI = ((int)0x80B5);
+ public const int GL_RGBA32UI_EXT = ((int)0x8D70);
+ public const int GL_STEREO = ((int)0x0C33);
+ public const int GL_DOT3_ATI = ((int)0x8966);
+ public const int GL_REG_18_ATI = ((int)0x8933);
+ public const int GL_LIGHT2 = ((int)0x4002);
+ public const int GL_UNSIGNED_BYTE_3_3_2_EXT = ((int)0x8032);
+ public const int GL_SRC2_ALPHA = ((int)GL_SOURCE2_ALPHA);
+ public const int GL_MODELVIEW1_MATRIX_EXT = ((int)0x8506);
+ public const int GL_LUMINANCE32UI_EXT = ((int)0x8D74);
+ public const int GL_ALPHA12_EXT = ((int)0x803D);
+ public const int GL_TEXTURE15 = ((int)0x84CF);
+ public const int GL_LUMINANCE = ((int)0x1909);
+ public const int GL_MAP2_VERTEX_ATTRIB7_4_NV = ((int)0x8677);
+ public const int GL_COLOR_SUM_EXT = ((int)0x8458);
+ public const int GL_ADD = ((int)0x0104);
+ public const int GL_TEXTURE13 = ((int)0x84CD);
+ public const int GL_TEXTURE12 = ((int)0x84CC);
+ public const int GL_FOG_COORDINATE_ARRAY_EXT = ((int)0x8457);
+ public const int GL_COMPRESSED_RGB = ((int)0x84ED);
+ public const int GL_TRANSPOSE_NV = ((int)0x862C);
+ public const int GL_RENDERBUFFER_RED_SIZE_EXT = ((int)0x8D50);
+ public const int GL_TANGENT_ARRAY_STRIDE_EXT = ((int)0x843F);
+ public const int GL_SECONDARY_COLOR_ARRAY_POINTER = ((int)0x845D);
+ public const int GL_LIGHT3 = ((int)0x4003);
+ public const int GL_CULL_VERTEX_EXT = ((int)0x81AA);
+ public const int GL_SOURCE2_RGB_ARB = ((int)0x8582);
+ public const int GL_FRAGMENT_LIGHT7_SGIX = ((int)0x8413);
+ public const int GL_VERTEX_ARRAY_TYPE_EXT = ((int)0x807B);
+ public const int GL_TEXTURE_LOD_BIAS_T_SGIX = ((int)0x818F);
+ public const int GL_MAP2_VERTEX_ATTRIB11_4_NV = ((int)0x867B);
+ public const int GL_TRANSPOSE_MODELVIEW_MATRIX = ((int)0x84E3);
+ public const int GL_PROXY_HISTOGRAM = ((int)0x8025);
+ public const int GL_DSDT_MAG_INTENSITY_NV = ((int)0x86DC);
+ public const int GL_COPY_PIXEL_TOKEN = ((int)0x0706);
+ public const int GL_POINT_SPRITE_NV = ((int)0x8861);
+ public const int GL_IMAGE_TRANSLATE_Y_HP = ((int)0x8158);
+ public const int GL_PROGRAM_BINDING_ARB = ((int)0x8677);
+ public const int GL_LUMINANCE_ALPHA_ICC_SGIX = ((int)0x8465);
+ public const int GL_CON_15_ATI = ((int)0x8950);
+ public const int GL_REDUCE = ((int)0x8016);
+ public const int GL_RESAMPLE_ZERO_FILL_SGIX = ((int)0x842F);
+ public const int GL_SPRITE_MODE_SGIX = ((int)0x8149);
+ public const int GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV = ((int)0x8855);
+ public const int GL_INTENSITY_EXT = ((int)0x8049);
+ public const int GL_RGB16UI_EXT = ((int)0x8D77);
+ public const int GL_INTENSITY12 = ((int)0x804C);
+ public const int GL_COMPRESSED_TEXTURE_FORMATS = ((int)0x86A3);
+ public const int GL_ALLOW_DRAW_WIN_HINT_PGI = ((int)0x1A20F);
+ public const int GL_MAX_EXT = ((int)0x8008);
+ public const int GL_MAX_VERTEX_STREAMS_ATI = ((int)0x876B);
+ public const int GL_HI_BIAS_NV = ((int)0x8714);
+ public const int GL_POLYGON_OFFSET_LINE = ((int)0x2A02);
+ public const int GL_LUMINANCE_ALPHA32F_ARB = ((int)0x8819);
+ public const int GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT = ((int)0x851A);
+ public const int GL_READ_BUFFER = ((int)0x0C02);
+ public const int GL_PIXEL_MAP_A_TO_A_SIZE = ((int)0x0CB9);
+ public const int GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV = ((int)0x8C7F);
+ public const int GL_BITMAP = ((int)0x1A00);
+ public const int GL_UNSIGNED_SHORT_5_6_5 = ((int)0x8363);
+ public const int GL_LUMINANCE8_ALPHA8_EXT = ((int)0x8045);
+ public const int GL_CURRENT_MATRIX_NV = ((int)0x8641);
+ public const int GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI = ((int)0x80BB);
+ public const int GL_CONVOLUTION_FILTER_BIAS = ((int)0x8015);
+ public const int GL_4PASS_3_EXT = ((int)0x80A7);
+ public const int GL_COMBINE_RGB = ((int)0x8571);
+ public const int GL_OPERAND3_ALPHA_NV = ((int)0x859B);
+ public const int GL_SOURCE1_ALPHA_EXT = ((int)0x8589);
+ public const int GL_ALPHA_TEST_FUNC = ((int)0x0BC1);
+ public const int GL_FLOAT_RGB32_NV = ((int)0x8889);
+ public const int GL_BLEND_DST = ((int)0x0BE0);
+ public const int GL_READ_ONLY_ARB = ((int)0x88B8);
+ public const int GL_MODELVIEW18_ARB = ((int)0x8732);
+ public const int GL_LIGHT_MODEL_COLOR_CONTROL = ((int)0x81F8);
+ public const int GL_MAP2_VERTEX_ATTRIB12_4_NV = ((int)0x867C);
+ public const int GL_DEPTH_SCALE = ((int)0x0D1E);
+ public const int GL_TEXTURE_BASE_LEVEL = ((int)0x813C);
+ public const int GL_BLEND_EQUATION_RGB_EXT = ((int)GL_BLEND_EQUATION);
+ public const int GL_CLAMP_TO_BORDER_ARB = ((int)0x812D);
+ public const int GL_MATRIX_MODE = ((int)0x0BA0);
+ public const int GL_MAX_RATIONAL_EVAL_ORDER_NV = ((int)0x86D7);
+ public const int GL_TEXTURE_RESIDENT = ((int)0x8067);
+ public const int GL_MAX_DRAW_BUFFERS_ATI = ((int)0x8824);
+ public const int GL_PIXEL_TILE_GRID_DEPTH_SGIX = ((int)0x8144);
+ public const int GL_CURRENT_VERTEX_EXT = ((int)0x87E2);
+ public const int GL_SRGB = ((int)0x8C40);
+ public const int GL_MODELVIEW15_ARB = ((int)0x872F);
+ public const int GL_VERTEX_ATTRIB_ARRAY7_NV = ((int)0x8657);
+ public const int GL_FOG_COORDINATE_SOURCE = ((int)0x8450);
+ public const int GL_COMPRESSED_LUMINANCE_LATC1_EXT = ((int)0x8C70);
+ public const int GL_FOUR = ((int)4);
+ public const int GL_LUMINANCE4_EXT = ((int)0x803F);
+ public const int GL_COLOR_INDEX16_EXT = ((int)0x80E7);
+ public const int GL_COLOR_TABLE_BIAS_SGI = ((int)0x80D7);
+ public const int GL_AUX3 = ((int)0x040C);
+ public const int GL_BUMP_NUM_TEX_UNITS_ATI = ((int)0x8777);
+ public const int GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX = ((int)0x8402);
+ public const int GL_RGBA8I_EXT = ((int)0x8D8E);
+ public const int GL_OUTPUT_FOG_EXT = ((int)0x87BD);
+ public const int GL_GENERATE_MIPMAP = ((int)0x8191);
+ public const int GL_INVERTED_SCREEN_W_REND = ((int)0x8491);
+ public const int GL_CON_25_ATI = ((int)0x895A);
+ public const int GL_PIXEL_TEXTURE_SGIS = ((int)0x8353);
+ public const int GL_UNSIGNED_INT_8_8_8_8_REV_EXT = ((int)0x8367);
+ public const int GL_RGBA8UI_EXT = ((int)0x8D7C);
+ public const int GL_TEXTURE21 = ((int)0x84D5);
+ public const int GL_TANGENT_ARRAY_TYPE_EXT = ((int)0x843E);
+ public const int GL_SECONDARY_COLOR_ARRAY_TYPE_EXT = ((int)0x845B);
+ public const int GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI = ((int)0x8802);
+ public const int GL_INVALID_FRAMEBUFFER_OPERATION_EXT = ((int)0x0506);
+ public const int GL_RASTER_POSITION_UNCLIPPED_IBM = ((int)0x19262);
+ public const int GL_AUX2 = ((int)0x040B);
+ public const int GL_NOTEQUAL = ((int)0x0205);
+ public const int GL_POST_CONVOLUTION_BLUE_SCALE = ((int)0x801E);
+ public const int GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT = ((int)0x8DE0);
+ public const int GL_MATRIX_INDEX_ARRAY_TYPE_ARB = ((int)0x8847);
+ public const int GL_ATTRIB_ARRAY_TYPE_NV = ((int)0x8625);
+ public const int GL_COLOR_ARRAY_TYPE = ((int)0x8082);
+ public const int GL_XOR = ((int)0x1506);
+ public const int GL_TEXTURE_ENV_COLOR = ((int)0x2201);
+ public const int GL_ZERO_EXT = ((int)0x87DD);
+ public const int GL_POST_COLOR_MATRIX_RED_BIAS_SGI = ((int)0x80B8);
+ public const int GL_TEXTURE_COORD_ARRAY_TYPE_EXT = ((int)0x8089);
+ public const int GL_BACK_LEFT = ((int)0x0402);
+ public const int GL_VERTEX_ATTRIB_ARRAY0_NV = ((int)0x8650);
+ public const int GL_COLOR_MATERIAL = ((int)0x0B57);
+ public const int GL_POLYGON_OFFSET_BIAS_EXT = ((int)0x8039);
+ public const int GL_TEXTURE_COMPARE_FUNC = ((int)0x884D);
+ public const int GL_MAT_EMISSION_BIT_PGI = ((int)0x00800000);
+ public const int GL_DRAW_BUFFER5 = ((int)0x882A);
+ public const int GL_DRAW_BUFFER6_ARB = ((int)0x882B);
+ public const int GL_DEPTH_BUFFER_BIT = ((int)0x00000100);
+ public const int GL_NOR = ((int)0x1508);
+ public const int GL_MAP1_VERTEX_ATTRIB14_4_NV = ((int)0x866E);
+ public const int GL_DSDT8_MAG8_NV = ((int)0x870A);
+ public const int GL_AUX1 = ((int)0x040A);
+ public const int GL_MAX_TRACK_MATRICES_NV = ((int)0x862F);
+ public const int GL_QUERY_RESULT_ARB = ((int)0x8866);
+ public const int GL_OPERAND0_ALPHA = ((int)0x8598);
+ public const int GL_FOG_SCALE_VALUE_SGIX = ((int)0x81FD);
+ public const int GL_TEXTURE_MAX_LEVEL = ((int)0x813D);
+ public const int GL_LINE_WIDTH_GRANULARITY = ((int)0x0B23);
+ public const int GL_MODELVIEW7_ARB = ((int)0x8727);
+ public const int GL_LINE_STIPPLE = ((int)0x0B24);
+ public const int GL_PROGRAM_ERROR_STRING_ARB = ((int)0x8874);
+ public const int GL_T4F_V4F = ((int)0x2A28);
+ public const int GL_CONVOLUTION_HINT_SGIX = ((int)0x8316);
+ public const int GL_CURRENT_RASTER_INDEX = ((int)0x0B05);
+ public const int GL_ALPHA16UI_EXT = ((int)0x8D78);
+ public const int GL_TEXTURE_BIT = ((int)0x00040000);
+ public const int GL_VERTEX_WEIGHTING_EXT = ((int)0x8509);
+ public const int GL_SAMPLER_2D_ARRAY_SHADOW_EXT = ((int)0x8DC4);
+ public const int GL_RGB2_EXT = ((int)0x804E);
+ public const int GL_BLUE_BITS = ((int)0x0D54);
+ public const int GL_GEOMETRY_INPUT_TYPE_EXT = ((int)0x8DDB);
+ public const int GL_ABGR_EXT = ((int)0x8000);
+ public const int GL_RED_MAX_CLAMP_INGR = ((int)0x8564);
+ public const int GL_UNPACK_ROW_LENGTH = ((int)0x0CF2);
+ public const int GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = ((int)0x8B4C);
+ public const int GL_MAX_PROGRAM_TEXEL_OFFSET_NV = ((int)0x8905);
+ public const int GL_AUX0 = ((int)0x0409);
+ public const int GL_FOG_DENSITY = ((int)0x0B62);
+ public const int GL_INTENSITY16_EXT = ((int)0x804D);
+ public const int GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI = ((int)0x87F5);
+ public const int GL_POST_COLOR_MATRIX_BLUE_SCALE = ((int)0x80B6);
+ public const int GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT = ((int)0x87CE);
+ public const int GL_CONVOLUTION_BORDER_MODE_EXT = ((int)0x8013);
+ public const int GL_DUAL_ALPHA4_SGIS = ((int)0x8110);
+ public const int GL_MATRIX_INDEX_ARRAY_POINTER_ARB = ((int)0x8849);
+ public const int GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX = ((int)0x8189);
+ public const int GL_CLAMP_TO_BORDER_SGIS = ((int)0x812D);
+ public const int GL_SAMPLE_MASK_INVERT_EXT = ((int)0x80AB);
+ public const int GL_TEXT_FRAGMENT_SHADER_ATI = ((int)0x8200);
+ public const int GL_MODELVIEW17_ARB = ((int)0x8731);
+ public const int GL_CMYK_EXT = ((int)0x800C);
+ public const int GL_RGBA2_EXT = ((int)0x8055);
+ public const int GL_MODELVIEW0_EXT = ((int)GL_MODELVIEW);
+ public const int GL_PERSPECTIVE_CORRECTION_HINT = ((int)0x0C50);
+ public const int GL_UNPACK_CLIENT_STORAGE_APPLE = ((int)0x85B2);
+ public const int GL_SPARE0_PLUS_SECONDARY_COLOR_NV = ((int)0x8532);
+ public const int GL_LINEAR_SHARPEN_COLOR_SGIS = ((int)0x80AF);
+ public const int GL_COPY_INVERTED = ((int)0x150C);
+ public const int GL_PROGRAM_NATIVE_TEMPORARIES_ARB = ((int)0x88A6);
+ public const int GL_FRAGMENT_LIGHT5_SGIX = ((int)0x8411);
+ public const int GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV = ((int)0x8DA4);
+ public const int GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT = ((int)0x884E);
+ public const int GL_COMPRESSED_SRGB = ((int)0x8C48);
+ public const int GL_PROXY_TEXTURE_2D_EXT = ((int)0x8064);
+ public const int GL_TEXTURE_1D = ((int)0x0DE0);
+ public const int GL_PACK_INVERT_MESA = ((int)0x8758);
+ public const int GL_COMPRESSED_RED_GREEN_RGTC2_EXT = ((int)0x8DBD);
+ public const int GL_UNPACK_SKIP_PIXELS = ((int)0x0CF4);
+ public const int GL_VERTEX_PRECLIP_SGIX = ((int)0x83EE);
+ public const int GL_UNPACK_IMAGE_DEPTH_SGIS = ((int)0x8133);
+ public const int GL_EDGE_FLAG_ARRAY = ((int)0x8079);
+ public const int GL_FRAGMENT_SHADER_ATI = ((int)0x8920);
+ public const int GL_EVAL_VERTEX_ATTRIB6_NV = ((int)0x86CC);
+ public const int GL_SELECTION_BUFFER_SIZE = ((int)0x0DF4);
+ public const int GL_TEXTURE_COORD_ARRAY_SIZE_EXT = ((int)0x8088);
+ public const int GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI = ((int)0x87F6);
+ public const int GL_BUMP_TEX_UNITS_ATI = ((int)0x8778);
+ public const int GL_MAX_ACTIVE_LIGHTS_SGIX = ((int)0x8405);
+ public const int GL_DEPTH_TEXTURE_MODE = ((int)0x884B);
+ public const int GL_FULL_STIPPLE_HINT_PGI = ((int)0x1A219);
+ public const int GL_POINT_SIZE_GRANULARITY = ((int)0x0B13);
+ public const int GL_CONSTANT_ALPHA = ((int)0x8003);
+ public const int GL_LUMINANCE16I_EXT = ((int)0x8D8C);
+ public const int GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB = ((int)0x889D);
+ public const int GL_QUAD_ALPHA4_SGIS = ((int)0x811E);
+ public const int GL_CURRENT_RASTER_NORMAL_SGIX = ((int)0x8406);
+ public const int GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI = ((int)0x80D5);
+ public const int GL_MAX_EVAL_ORDER = ((int)0x0D30);
+ public const int GL_UNIFORM_BUFFER_BINDING_EXT = ((int)0x8DEF);
+ public const int GL_RGBA8_EXT = ((int)0x8058);
+ public const int GL_INDEX_BIT_PGI = ((int)0x00080000);
+ public const int GL_SHADER_OBJECT_ARB = ((int)0x8B48);
+ public const int GL_VARIANT_ARRAY_POINTER_EXT = ((int)0x87E9);
+ public const int GL_TEXTURE_CLIPMAP_FRAME_SGIX = ((int)0x8172);
+ public const int GL_STENCIL_BACK_FAIL_ATI = ((int)0x8801);
+ public const int GL_MAX_ASYNC_READ_PIXELS_SGIX = ((int)0x8361);
+ public const int GL_TEXTURE25 = ((int)0x84D9);
+ public const int GL_MIRRORED_REPEAT_IBM = ((int)0x8370);
+ public const int GL_LUMINANCE16_ALPHA16_EXT = ((int)0x8048);
+ public const int GL_TEXTURE26 = ((int)0x84DA);
+ public const int GL_TEXTURE_MULTI_BUFFER_HINT_SGIX = ((int)0x812E);
+ public const int GL_ALPHA8I_EXT = ((int)0x8D90);
+ public const int GL_TEXTURE22 = ((int)0x84D6);
+ public const int GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX = ((int)0x8175);
+ public const int GL_OP_NEGATE_EXT = ((int)0x8783);
+ public const int GL_NORMAL_ARRAY_STRIDE_EXT = ((int)0x807F);
+ public const int GL_CURRENT_BINORMAL_EXT = ((int)0x843C);
+ public const int GL_TEXTURE29 = ((int)0x84DD);
+ public const int GL_SAMPLE_COVERAGE_INVERT_ARB = ((int)0x80AB);
+ public const int GL_PIXEL_TEX_GEN_SGIX = ((int)0x8139);
+ public const int GL_SCALE_BY_FOUR_NV = ((int)0x853F);
+ public const int GL_PIXEL_MAP_R_TO_R = ((int)0x0C76);
+ public const int GL_VERTEX_ARRAY_LIST_IBM = ((int)103070);
+ public const int GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT = ((int)0x8517);
+ public const int GL_RESAMPLE_REPLICATE_SGIX = ((int)0x842E);
+ public const int GL_ALIASED_LINE_WIDTH_RANGE = ((int)0x846E);
+ public const int GL_FRAGMENT_LIGHT3_SGIX = ((int)0x840F);
+ public const int GL_TEXTURE_COMPARE_MODE_ARB = ((int)0x884C);
+ public const int GL_TEXTURE7_ARB = ((int)0x84C7);
+ public const int GL_CON_14_ATI = ((int)0x894F);
+ public const int GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN = ((int)0x85C2);
+ public const int GL_TEXTURE22_ARB = ((int)0x84D6);
+ public const int GL_SAMPLER_CUBE_SHADOW_EXT = ((int)0x8DC5);
+ public const int GL_QUADS = ((int)0x0007);
+ public const int GL_TEXTURE_BLUE_SIZE_EXT = ((int)0x805E);
+ public const int GL_OUT_OF_MEMORY = ((int)0x0505);
+ public const int GL_MAT_SHININESS_BIT_PGI = ((int)0x02000000);
+ public const int GL_MAP1_VERTEX_ATTRIB9_4_NV = ((int)0x8669);
+ public const int GL_VIEWPORT = ((int)0x0BA2);
+ public const int GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX = ((int)0x813E);
+ public const int GL_MODELVIEW25_ARB = ((int)0x8739);
+ public const int GL_OBJECT_PLANE = ((int)0x2501);
+ public const int GL_FOG_COORDINATE_SOURCE_EXT = ((int)0x8450);
+ public const int GL_MODELVIEW28_ARB = ((int)0x873C);
+ public const int GL_ALPHA8UI_EXT = ((int)0x8D7E);
+ public const int GL_TEXTURE_CUBE_MAP_POSITIVE_Z = ((int)0x8519);
+ public const int GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV = ((int)0x8C8B);
+ public const int GL_2_BYTES = ((int)0x1407);
+ public const int GL_READ_FRAMEBUFFER_BINDING_EXT = ((int)GL_FRAMEBUFFER_BINDING_EXT);
+ public const int GL_IMAGE_ROTATE_ORIGIN_Y_HP = ((int)0x815B);
+ public const int GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT = ((int)0x850F);
+ public const int GL_INDEX_ARRAY_BUFFER_BINDING = ((int)0x8899);
+ public const int GL_OPERAND2_ALPHA = ((int)0x859A);
+ public const int GL_REFERENCE_PLANE_SGIX = ((int)0x817D);
+ public const int GL_POINT_SIZE_RANGE = ((int)0x0B12);
+ public const int GL_STACK_UNDERFLOW = ((int)0x0504);
+ public const int GL_BOOL_VEC3_ARB = ((int)0x8B58);
+ public const int GL_SIGNED_RGB_NV = ((int)0x86FE);
+ public const int GL_CLEAR = ((int)0x1500);
+ public const int GL_TEXTURE9_ARB = ((int)0x84C9);
+ public const int GL_OPERAND1_RGB_EXT = ((int)0x8591);
+ public const int GL_TEXTURE_COMPRESSED_IMAGE_SIZE = ((int)0x86A0);
+ public const int GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV = ((int)0x864D);
+ public const int GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV = ((int)0x887A);
+ public const int GL_AND_INVERTED = ((int)0x1504);
+ public const int GL_CONSTANT_ALPHA_EXT = ((int)0x8003);
+ public const int GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT = ((int)0x8DDD);
+ public const int GL_BLEND_EQUATION_ALPHA_EXT = ((int)0x883D);
+ public const int GL_PIXEL_MAP_A_TO_A = ((int)0x0C79);
+ public const int GL_RGB10_A2_EXT = ((int)0x8059);
+ public const int GL_CURRENT_PALETTE_MATRIX_ARB = ((int)0x8843);
+ public const int GL_TEXCOORD1_BIT_PGI = ((int)0x10000000);
+ public const int GL_LUMINANCE_ALPHA8I_EXT = ((int)0x8D93);
+ public const int GL_MODELVIEW19_ARB = ((int)0x8733);
+ public const int GL_T2F_IUI_N3F_V3F_EXT = ((int)0x81B4);
+ public const int GL_SEPARATE_ATTRIBS_NV = ((int)0x8C8D);
+ public const int GL_INT_SAMPLER_2D_EXT = ((int)0x8DCA);
+ public const int GL_EYE_RADIAL_NV = ((int)0x855B);
+ public const int GL_RGB5_EXT = ((int)0x8050);
+ public const int GL_ACTIVE_ATTRIBUTES = ((int)0x8B89);
+ public const int GL_PIXEL_TEX_GEN_MODE_SGIX = ((int)0x832B);
+ public const int GL_UNSIGNED_SHORT_4_4_4_4_REV = ((int)0x8365);
+ public const int GL_OFFSET_TEXTURE_2D_MATRIX_NV = ((int)GL_OFFSET_TEXTURE_MATRIX_NV);
+ public const int GL_COORD_REPLACE_NV = ((int)0x8862);
+ public const int GL_COLOR_ATTACHMENT11_EXT = ((int)0x8CEB);
+ public const int GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING = ((int)0x889C);
+ public const int GL_LINEAR_DETAIL_SGIS = ((int)0x8097);
+ public const int GL_AVERAGE_HP = ((int)0x8160);
+ public const int GL_TEXTURE_LOD_BIAS_S_SGIX = ((int)0x818E);
+ public const int GL_TRIANGLE_MESH_SUN = ((int)0x8615);
+ public const int GL_CLIP_DISTANCE_NV = ((int)0x8C7A);
+ public const int GL_4PASS_0_SGIS = ((int)0x80A4);
+ public const int GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT = ((int)0x87C5);
+ public const int GL_TEXTURE4 = ((int)0x84C4);
+ public const int GL_ELEMENT_ARRAY_POINTER_ATI = ((int)0x876A);
+ public const int GL_MAX_DEFORMATION_ORDER_SGIX = ((int)0x8197);
+ public const int GL_FILTER4_SGIS = ((int)0x8146);
+ public const int GL_INT_SAMPLER_1D_EXT = ((int)0x8DC9);
+ public const int GL_TEXTURE8_ARB = ((int)0x84C8);
+ public const int GL_FEEDBACK_BUFFER_SIZE = ((int)0x0DF1);
+ public const int GL_CURRENT_SECONDARY_COLOR_EXT = ((int)0x8459);
+ public const int GL_ACCUM_BLUE_BITS = ((int)0x0D5A);
+ public const int GL_STRICT_DEPTHFUNC_HINT_PGI = ((int)0x1A216);
+ public const int GL_ACCUM_ALPHA_BITS = ((int)0x0D5B);
+ public const int GL_LERP_ATI = ((int)0x8969);
+ public const int GL_EVAL_VERTEX_ATTRIB9_NV = ((int)0x86CF);
+ public const int GL_PROXY_TEXTURE_1D_EXT = ((int)0x8063);
+ public const int GL_CLIENT_ATTRIB_STACK_DEPTH = ((int)0x0BB1);
+ public const int GL_CURRENT_MATRIX_STACK_DEPTH_NV = ((int)0x8640);
+ public const int GL_DUAL_INTENSITY12_SGIS = ((int)0x811A);
+ public const int GL_IMAGE_TRANSFORM_2D_HP = ((int)0x8161);
+ public const int GL_TEXTURE_WIDTH = ((int)0x1000);
+ public const int GL_INT_VEC4 = ((int)0x8B55);
+ public const int GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV = ((int)0x8DA5);
+ public const int GL_MAP1_BINORMAL_EXT = ((int)0x8446);
+ public const int GL_MIRROR_CLAMP_TO_EDGE_ATI = ((int)0x8743);
+ public const int GL_LUMINANCE_ALPHA = ((int)0x190A);
+ public const int GL_AND = ((int)0x1501);
+ public const int GL_FLOAT_MAT4 = ((int)0x8B5C);
+ public const int GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = ((int)0x851A);
+ public const int GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB = ((int)0x8519);
+ public const int GL_MODELVIEW23_ARB = ((int)0x8737);
+ public const int GL_TRIANGLE_LIST_SUN = ((int)0x81D7);
+ public const int GL_PASS_THROUGH_NV = ((int)0x86E6);
+ public const int GL_UNSIGNED_SHORT_5_6_5_REV_EXT = ((int)0x8364);
+ public const int GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI = ((int)0x8803);
+ public const int GL_OP_POWER_EXT = ((int)0x8793);
+ public const int GL_DRAW_BUFFER1_ATI = ((int)0x8826);
+ public const int GL_RESAMPLE_REPLICATE_OML = ((int)0x8986);
+ public const int GL_UNPACK_ALIGNMENT = ((int)0x0CF5);
+ public const int GL_TEXTURE_BINDING_CUBE_MAP = ((int)0x8514);
+ public const int GL_INT_SAMPLER_3D_EXT = ((int)0x8DCB);
+ public const int GL_PROGRAM_NATIVE_PARAMETERS_ARB = ((int)0x88AA);
+ public const int GL_TEXTURE_DEPTH_EXT = ((int)0x8071);
+ public const int GL_INT_VEC3 = ((int)0x8B54);
+ public const int GL_MATRIX3_NV = ((int)0x8633);
+ public const int GL_PROXY_TEXTURE_1D_STACK_MESAX = ((int)0x875B);
+ public const int GL_MAX_SAMPLES_EXT = ((int)0x8D57);
+ public const int GL_COMBINE4_NV = ((int)0x8503);
+ public const int GL_EYE_POINT_SGIS = ((int)0x81F4);
+ public const int GL_MODELVIEW = ((int)0x1700);
+ public const int GL_TEXTURE_COMPRESSION_HINT_ARB = ((int)0x84EF);
+ public const int GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = ((int)0x8810);
+ public const int GL_MODELVIEW24_ARB = ((int)0x8738);
+ public const int GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB = ((int)0x889F);
+ public const int GL_VERTEX_ATTRIB_ARRAY9_NV = ((int)0x8659);
+ public const int GL_VERTEX_ATTRIB_ARRAY_POINTER = ((int)0x8645);
+ public const int GL_CLIP_FAR_HINT_PGI = ((int)0x1A221);
+ public const int GL_DUAL_ALPHA8_SGIS = ((int)0x8111);
+ public const int GL_PIXEL_MAP_I_TO_G_SIZE = ((int)0x0CB3);
+ public const int GL_FUNC_ADD_EXT = ((int)0x8006);
+ public const int GL_QUAD_INTENSITY4_SGIS = ((int)0x8122);
+ public const int GL_MATRIX27_ARB = ((int)0x88DB);
+ public const int GL_LINE_RESET_TOKEN = ((int)0x0707);
+ public const int GL_FOG_INDEX = ((int)0x0B61);
+ public const int GL_MODELVIEW0_STACK_DEPTH_EXT = ((int)GL_MODELVIEW_STACK_DEPTH);
+ public const int GL_RENDERBUFFER_COVERAGE_SAMPLES_NV = ((int)0x8CAB);
+ public const int GL_VERTEX_ATTRIB_ARRAY14_NV = ((int)0x865E);
+ public const int GL_SRGB8_EXT = ((int)0x8C41);
+ public const int GL_PIXEL_SUBSAMPLE_4444_SGIX = ((int)0x85A2);
+ public const int GL_VERTEX_ATTRIB_ARRAY13_NV = ((int)0x865D);
+ public const int GL_VERTEX_ATTRIB_ARRAY10_NV = ((int)0x865A);
+ public const int GL_LINE_LOOP = ((int)0x0002);
+ public const int GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT = ((int)0x8DD5);
+ public const int GL_VERTEX_ATTRIB_ARRAY5_NV = ((int)0x8655);
+ public const int GL_REPLACEMENT_CODE_ARRAY_SUN = ((int)0x85C0);
+ public const int GL_OPERAND1_ALPHA_ARB = ((int)0x8599);
+ public const int GL_PROGRAM_TEX_INDIRECTIONS_ARB = ((int)0x8807);
+ public const int GL_FLOAT_MAT2_ARB = ((int)0x8B5A);
+ public const int GL_ASYNC_MARKER_SGIX = ((int)0x8329);
+ public const int GL_4_BYTES = ((int)0x1409);
+ public const int GL_SPARE0_NV = ((int)0x852E);
+ public const int GL_UNSIGNED_INT_VEC2_EXT = ((int)0x8DC6);
+ public const int GL_RGBA_FLOAT_MODE_ARB = ((int)0x8820);
+ public const int GL_TEXTURE_COMPARE_FUNC_ARB = ((int)0x884D);
+ public const int GL_TEXTURE_INTERNAL_FORMAT = ((int)0x1003);
+ public const int GL_MAP1_VERTEX_ATTRIB4_4_NV = ((int)0x8664);
+ public const int GL_NICEST = ((int)0x1102);
+ public const int GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV = ((int)0x862E);
+ public const int GL_MAX_FRAMEZOOM_FACTOR_SGIX = ((int)0x818D);
+ public const int GL_IMAGE_MAG_FILTER_HP = ((int)0x815C);
+ public const int GL_COMBINER_SUM_OUTPUT_NV = ((int)0x854C);
+ public const int GL_R1UI_T2F_V3F_SUN = ((int)0x85C9);
+ public const int GL_FOG_COORDINATE_ARRAY_POINTER_EXT = ((int)0x8456);
+ public const int GL_RGB_FLOAT32_ATI = ((int)0x8815);
+ public const int GL_CURRENT_RASTER_TEXTURE_COORDS = ((int)0x0B06);
+ public const int GL_MAX_TEXTURE_IMAGE_UNITS_NV = ((int)0x8872);
+ public const int GL_ASYNC_DRAW_PIXELS_SGIX = ((int)0x835D);
+ public const int GL_EMISSION = ((int)0x1600);
+ public const int GL_COLOR_ATTACHMENT3_EXT = ((int)0x8CE3);
+ public const int GL_TEXTURE_LIGHT_EXT = ((int)0x8350);
+ public const int GL_VERTEX_ATTRIB_ARRAY15_NV = ((int)0x865F);
+ public const int GL_PROGRAM_INSTRUCTIONS_ARB = ((int)0x88A0);
+ public const int GL_LUMINANCE_ALPHA16F_ARB = ((int)0x881F);
+ public const int GL_OP_SET_GE_EXT = ((int)0x878C);
+ public const int GL_VERTEX_ATTRIB_ARRAY11_NV = ((int)0x865B);
+ public const int GL_TEXTURE_2D_BINDING_EXT = ((int)0x8069);
+ public const int GL_RENDERBUFFER_COLOR_SAMPLES_NV = ((int)0x8E10);
+ public const int GL_MAX_FRAGMENT_UNIFORM_COMPONENTS = ((int)0x8B49);
+ public const int GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV = ((int)0x885D);
+ public const int GL_OBJECT_BUFFER_USAGE_ATI = ((int)0x8765);
+ public const int GL_TEXCOORD4_BIT_PGI = unchecked((int)0x80000000);
+ public const int GL_REFLECTION_MAP_ARB = ((int)0x8512);
+ public const int GL_LUMINANCE_ALPHA32I_EXT = ((int)0x8D87);
+ public const int GL_TRACK_MATRIX_NV = ((int)0x8648);
+ public const int GL_MATRIX10_ARB = ((int)0x88CA);
+ public const int GL_GLOBAL_ALPHA_FACTOR_SUN = ((int)0x81DA);
+ public const int GL_RGBA16UI_EXT = ((int)0x8D76);
+ public const int GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS = ((int)0x8355);
+ public const int GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT = ((int)0x8C4F);
+ public const int GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT = ((int)0x8519);
+ public const int GL_OUTPUT_TEXTURE_COORD7_EXT = ((int)0x87A4);
+ public const int GL_COLOR_ARRAY_BUFFER_BINDING_ARB = ((int)0x8898);
+ public const int GL_MODELVIEW1_STACK_DEPTH_EXT = ((int)0x8502);
+ public const int GL_MAP1_GRID_DOMAIN = ((int)0x0DD0);
+ public const int GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB = ((int)0x8895);
+ public const int GL_ALPHA_BITS = ((int)0x0D55);
+ public const int GL_PIXEL_TILE_GRID_WIDTH_SGIX = ((int)0x8142);
+ public const int GL_LUMINANCE16_EXT = ((int)0x8042);
+ public const int GL_COMPILE_AND_EXECUTE = ((int)0x1301);
+ public const int GL_YCRCB_422_SGIX = ((int)0x81BB);
+ public const int GL_TEXTURE_CLIPMAP_CENTER_SGIX = ((int)0x8171);
+ public const int GL_SAMPLER_1D_ARRAY_SHADOW_EXT = ((int)0x8DC3);
+ public const int GL_MATRIX0_ARB = ((int)0x88C0);
+ public const int GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX = ((int)0x8186);
+ public const int GL_RGB8 = ((int)0x8051);
+ public const int GL_PACK_SKIP_IMAGES_EXT = ((int)0x806B);
+ public const int GL_FORCE_BLUE_TO_ONE_NV = ((int)0x8860);
+ public const int GL_VERTEX_PROGRAM_POINT_SIZE_ARB = ((int)0x8642);
+ public const int GL_PACK_SKIP_PIXELS = ((int)0x0D04);
+ public const int GL_VERTEX_ARRAY_RANGE_APPLE = ((int)0x851D);
+ public const int GL_ALPHA_BIAS = ((int)0x0D1D);
+ public const int GL_MODELVIEW26_ARB = ((int)0x873A);
+ public const int GL_GENERATE_MIPMAP_HINT = ((int)0x8192);
+ public const int GL_EYE_DISTANCE_TO_POINT_SGIS = ((int)0x81F0);
+ public const int GL_MAX_VERTEX_VARYING_COMPONENTS_EXT = ((int)0x8DDE);
+ public const int GL_TEXTURE_CLIPMAP_OFFSET_SGIX = ((int)0x8173);
+ public const int GL_EXTENSIONS = ((int)0x1F03);
+ public const int GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV = ((int)0x887C);
+ public const int GL_OFFSET_TEXTURE_2D_BIAS_NV = ((int)GL_OFFSET_TEXTURE_BIAS_NV);
+ public const int GL_PROGRAM_NATIVE_ATTRIBS_ARB = ((int)0x88AE);
+ public const int GL_PREVIOUS_EXT = ((int)0x8578);
+ public const int GL_DEPTH_BOUNDS_TEST_EXT = ((int)0x8890);
+ public const int GL_BOOL_VEC4_ARB = ((int)0x8B59);
+ public const int GL_DEPTH32F_STENCIL8_NV = ((int)0x8DAC);
+ public const int GL_TEXTURE_BINDING_1D_ARRAY_EXT = ((int)0x8C1C);
+ public const int GL_VERTEX_WEIGHT_ARRAY_EXT = ((int)0x850C);
+ public const int GL_TEXTURE_COORD_NV = ((int)0x8C79);
+ public const int GL_VERTEX_ATTRIB_ARRAY12_NV = ((int)0x865C);
+ public const int GL_OBJECT_ACTIVE_UNIFORMS_ARB = ((int)0x8B86);
+ public const int GL_COLOR_TABLE_LUMINANCE_SIZE = ((int)0x80DE);
+ public const int GL_RGBA_INTEGER_EXT = ((int)0x8D99);
+ public const int GL_MAX_TEXTURE_UNITS = ((int)0x84E2);
+ public const int GL_MIRRORED_REPEAT_ARB = ((int)0x8370);
+ public const int GL_PACK_IMAGE_HEIGHT = ((int)0x806C);
+ public const int GL_SHADER_SOURCE_LENGTH = ((int)0x8B88);
+ public const int GL_MAX_SHININESS_NV = ((int)0x8504);
+ public const int GL_OUTPUT_TEXTURE_COORD9_EXT = ((int)0x87A6);
+ public const int GL_NEAREST_MIPMAP_NEAREST = ((int)0x2700);
+ public const int GL_TEXTURE_BUFFER_EXT = ((int)0x8C2A);
+ public const int GL_HISTOGRAM_RED_SIZE = ((int)0x8028);
+ public const int GL_MATRIX0_NV = ((int)0x8630);
+ public const int GL_SLUMINANCE8_ALPHA8_EXT = ((int)0x8C45);
+ public const int GL_TEXTURE_LOD_BIAS_R_SGIX = ((int)0x8190);
+ public const int GL_ONE_MINUS_CONSTANT_ALPHA_EXT = ((int)0x8004);
+ public const int GL_R1UI_N3F_V3F_SUN = ((int)0x85C7);
+ public const int GL_SIGNED_HILO_NV = ((int)0x86F9);
+ public const int GL_SRC0_ALPHA = ((int)GL_SOURCE0_ALPHA);
+ public const int GL_POST_TEXTURE_FILTER_BIAS_SGIX = ((int)0x8179);
+ public const int GL_COLOR_MATERIAL_FACE = ((int)0x0B55);
+ public const int GL_INTENSITY32F_ARB = ((int)0x8817);
+ public const int GL_OCCLUSION_TEST_HP = ((int)0x8165);
+ public const int GL_VERTEX_ATTRIB_ARRAY_ENABLED = ((int)0x8622);
+ public const int GL_RGBA_FLOAT32_ATI = ((int)0x8814);
+ public const int GL_LINEAR_CLIPMAP_LINEAR_SGIX = ((int)0x8170);
+ public const int GL_LUMINANCE_ALPHA32UI_EXT = ((int)0x8D75);
+ public const int GL_TEXTURE_COMPARE_OPERATOR_SGIX = ((int)0x819B);
+ public const int GL_RGBA_INTEGER_MODE_EXT = ((int)0x8D9E);
+ public const int GL_ALPHA16F_ARB = ((int)0x881C);
+ public const int GL_OBJECT_LINK_STATUS_ARB = ((int)0x8B82);
+ public const int GL_MAP2_VERTEX_ATTRIB14_4_NV = ((int)0x867E);
+ public const int GL_MAX_ATTRIB_STACK_DEPTH = ((int)0x0D35);
+ public const int GL_MULTISAMPLE_EXT = ((int)0x809D);
+ public const int GL_PROXY_TEXTURE_2D_STACK_MESAX = ((int)0x875C);
+ public const int GL_SPECULAR = ((int)0x1202);
+ public const int GL_PARALLEL_ARRAYS_INTEL = ((int)0x83F4);
+ public const int GL_OUTPUT_COLOR1_EXT = ((int)0x879C);
+ public const int GL_BGRA_INTEGER_EXT = ((int)0x8D9B);
+ public const int GL_VERTEX_ARRAY_POINTER = ((int)0x808E);
+ public const int GL_SAMPLES_3DFX = ((int)0x86B4);
+ public const int GL_LINE_SMOOTH = ((int)0x0B20);
+ public const int GL_LINE_SMOOTH_HINT = ((int)0x0C52);
+ public const int GL_CONVOLUTION_HEIGHT_EXT = ((int)0x8019);
+ public const int GL_EYE_LINEAR = ((int)0x2400);
+ public const int GL_TEXTURE_CUBE_MAP_POSITIVE_X = ((int)0x8515);
+ public const int GL_RED_MIN_CLAMP_INGR = ((int)0x8560);
+ public const int GL_MAP1_TANGENT_EXT = ((int)0x8444);
+ public const int GL_MATRIX16_ARB = ((int)0x88D0);
+ public const int GL_QUAD_ALPHA8_SGIS = ((int)0x811F);
+ public const int GL_MINMAX_EXT = ((int)0x802E);
+ public const int GL_MAX_PROGRAM_GENERIC_RESULTS_NV = ((int)0x8DA6);
+ public const int GL_FRAGMENT_MATERIAL_EXT = ((int)0x8349);
+ public const int GL_DRAW_BUFFER9_ATI = ((int)0x882E);
+ public const int GL_READ_PIXEL_DATA_RANGE_LENGTH_NV = ((int)0x887B);
+ public const int GL_MAX_FRAGMENT_LIGHTS_SGIX = ((int)0x8404);
+ public const int GL_TEXTURE_DT_SIZE_NV = ((int)0x871E);
+ public const int GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI = ((int)0x87F7);
+ public const int GL_POST_CONVOLUTION_COLOR_TABLE_SGI = ((int)0x80D1);
+ public const int GL_TEXTURE_CUBE_MAP_ARB = ((int)0x8513);
+ public const int GL_VERTEX_PROGRAM_TWO_SIDE_ARB = ((int)0x8643);
+ public const int GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT = ((int)0x8DE3);
+ public const int GL_COMPRESSED_ALPHA_ARB = ((int)0x84E9);
+ public const int GL_REPEAT = ((int)0x2901);
+ public const int GL_CONVOLUTION_FORMAT_EXT = ((int)0x8017);
+ public const int GL_DRAW_BUFFER5_ATI = ((int)0x882A);
+ public const int GL_HISTOGRAM_WIDTH = ((int)0x8026);
+ public const int GL_TEXTURE29_ARB = ((int)0x84DD);
+ public const int GL_MULTISAMPLE = ((int)0x809D);
+ public const int GL_POINT_SIZE_MIN = ((int)0x8126);
+ public const int GL_OUTPUT_TEXTURE_COORD30_EXT = ((int)0x87BB);
+ public const int GL_IR_INSTRUMENT1_SGIX = ((int)0x817F);
+ public const int GL_DRAW_BUFFER10_ATI = ((int)0x882F);
+ public const int GL_DEPTH_STENCIL_NV = ((int)0x84F9);
+ public const int GL_TEXTURE3_ARB = ((int)0x84C3);
+ public const int GL_FRAMEBUFFER_UNSUPPORTED_EXT = ((int)0x8CDD);
+ public const int GL_SET = ((int)0x150F);
+ public const int GL_COMPRESSED_SLUMINANCE_EXT = ((int)0x8C4A);
+ public const int GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT = ((int)0x851C);
+ public const int GL_R3_G3_B2 = ((int)0x2A10);
+ public const int GL_NORMAL_ARRAY_EXT = ((int)0x8075);
+ public const int GL_HISTOGRAM_EXT = ((int)0x8024);
+ public const int GL_CURRENT_MATRIX_ARB = ((int)0x8641);
+ public const int GL_COMPILE = ((int)0x1300);
+ public const int GL_DOT_PRODUCT_NV = ((int)0x86EC);
+ public const int GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV = ((int)0x8C88);
+ public const int GL_POINT_SIZE_MIN_SGIS = ((int)0x8126);
+ public const int GL_SHADING_LANGUAGE_VERSION_ARB = ((int)0x8B8C);
+ public const int GL_SELECT = ((int)0x1C02);
+ public const int GL_READ_FRAMEBUFFER_EXT = ((int)0x8CA8);
+ public const int GL_CUBIC_EXT = ((int)0x8334);
+ public const int GL_COMBINER7_NV = ((int)0x8557);
+ public const int GL_COMBINER4_NV = ((int)0x8554);
+ public const int GL_COLOR_ARRAY_STRIDE_EXT = ((int)0x8083);
+ public const int GL_SOURCE0_RGB_EXT = ((int)0x8580);
+ public const int GL_OBJECT_LINE_SGIS = ((int)0x81F7);
+ public const int GL_CONSTANT_BORDER = ((int)0x8151);
+ public const int GL_FRONT_RIGHT = ((int)0x0401);
+ public const int GL_POST_CONVOLUTION_BLUE_BIAS = ((int)0x8022);
+ public const int GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT = ((int)0x8C73);
+ public const int GL_MODELVIEW_MATRIX = ((int)0x0BA6);
+ public const int GL_IMAGE_ROTATE_ORIGIN_X_HP = ((int)0x815A);
+ public const int GL_CW = ((int)0x0900);
+ public const int GL_OUTPUT_TEXTURE_COORD0_EXT = ((int)0x879D);
+ public const int GL_STENCIL_VALUE_MASK = ((int)0x0B93);
+ public const int GL_SRC_ALPHA = ((int)0x0302);
+ public const int GL_DUAL_LUMINANCE4_SGIS = ((int)0x8114);
+ public const int GL_ALPHA_ICC_SGIX = ((int)0x8462);
+ public const int GL_UNPACK_SKIP_IMAGES = ((int)0x806D);
+ public const int GL_TEXTURE_PRE_SPECULAR_HP = ((int)0x8169);
+ public const int GL_LIGHT_ENV_MODE_SGIX = ((int)0x8407);
+ public const int GL_HALF_FLOAT_ARB = ((int)0x140B);
+ public const int GL_FRAGMENT_PROGRAM_NV = ((int)0x8870);
+ public const int GL_FRAMEBUFFER_COMPLETE_EXT = ((int)0x8CD5);
+ public const int GL_OFFSET_TEXTURE_SCALE_NV = ((int)0x86E2);
+ public const int GL_RGB5_A1_EXT = ((int)0x8057);
+ public const int GL_CURRENT_VERTEX_WEIGHT_EXT = ((int)0x850B);
+ public const int GL_C4UB_V3F = ((int)0x2A23);
+ public const int GL_REG_27_ATI = ((int)0x893C);
+ public const int GL_TRIANGLES = ((int)0x0004);
+ public const int GL_BLUE_MAX_CLAMP_INGR = ((int)0x8566);
+ public const int GL_CUBIC_HP = ((int)0x815F);
+ public const int GL_PROGRAM_PARAMETER_NV = ((int)0x8644);
+ public const int GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT = ((int)0x8516);
+ public const int GL_DUAL_ALPHA12_SGIS = ((int)0x8112);
+ public const int GL_INDEX_TEST_FUNC_EXT = ((int)0x81B6);
+ public const int GL_EIGHTH_BIT_ATI = ((int)0x00000020);
+ public const int GL_RGB_SCALE_EXT = ((int)0x8573);
+ public const int GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT = ((int)0x87CD);
+ public const int GL_TEXTURE_4D_BINDING_SGIS = ((int)0x814F);
+ public const int GL_PROXY_TEXTURE_COLOR_TABLE_SGI = ((int)0x80BD);
+ public const int GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT = ((int)0x8C29);
+ public const int GL_HISTOGRAM_FORMAT_EXT = ((int)0x8027);
+ public const int GL_LUMINANCE8UI_EXT = ((int)0x8D80);
+ public const int GL_CURRENT_QUERY = ((int)0x8865);
+ public const int GL_VERTEX_ARRAY_POINTER_EXT = ((int)0x808E);
+ public const int GL_R1UI_C4F_N3F_V3F_SUN = ((int)0x85C8);
+ public const int GL_QUAD_LUMINANCE4_SGIS = ((int)0x8120);
+ public const int GL_PIXEL_PACK_BUFFER_BINDING_ARB = ((int)0x88ED);
+ public const int GL_ELEMENT_ARRAY_TYPE_ATI = ((int)0x8769);
+ public const int GL_FOG_COORD_ARRAY_POINTER = ((int)GL_FOG_COORDINATE_ARRAY_POINTER);
+ public const int GL_PRIMARY_COLOR_EXT = ((int)0x8577);
+ public const int GL_CULL_VERTEX_IBM = ((int)103050);
+ public const int GL_OCCLUSION_TEST_RESULT_HP = ((int)0x8166);
+ public const int GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT = ((int)0x8C2D);
+ public const int GL_CURRENT_MATRIX_INDEX_ARB = ((int)0x8845);
+ public const int GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV = ((int)0x8E11);
+ public const int GL_ONE_MINUS_DST_ALPHA = ((int)0x0305);
+ public const int GL_VERTEX_ARRAY_RANGE_POINTER_APPLE = ((int)0x8521);
+ public const int GL_NEGATIVE_X_EXT = ((int)0x87D9);
+ public const int GL_CLIENT_ALL_ATTRIB_BITS = unchecked((int)0xFFFFFFFF);
+ public const int GL_COMBINE_ALPHA = ((int)0x8572);
+ public const int GL_INCR_WRAP = ((int)0x8507);
+ public const int GL_SAMPLER_2D_ARRAY_EXT = ((int)0x8DC1);
+ public const int GL_PIXEL_UNPACK_BUFFER_EXT = ((int)0x88EC);
+ public const int GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB = ((int)0x8B8A);
+ public const int GL_SHADER_TYPE = ((int)0x8B4F);
+ public const int GL_VERTEX_ATTRIB_ARRAY_SIZE = ((int)0x8623);
+ public const int GL_MUL_ATI = ((int)0x8964);
+ public const int GL_GREEN_BIT_ATI = ((int)0x00000002);
+ public const int GL_PIXEL_MAP_I_TO_B_SIZE = ((int)0x0CB4);
+ public const int GL_LUMINANCE_ICC_SGIX = ((int)0x8463);
+ public const int GL_REPLACE_MIDDLE_SUN = ((int)0x0002);
+ public const int GL_TEXTURE_CUBE_MAP_POSITIVE_Y = ((int)0x8517);
+ public const int GL_FALSE = ((int)0);
+ public const int GL_OFFSET_TEXTURE_RECTANGLE_NV = ((int)0x864C);
+ public const int GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI = ((int)0x80B6);
+ public const int GL_PACK_SKIP_ROWS = ((int)0x0D03);
+ public const int GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = ((int)0x889F);
+ public const int GL_BLEND_SRC_RGB_EXT = ((int)0x80C9);
+ public const int GL_PREVIOUS_ARB = ((int)0x8578);
+ public const int GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE = ((int)0x80D5);
+ public const int GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE = ((int)0x85B0);
+ public const int GL_LUMINANCE_ALPHA_FLOAT16_ATI = ((int)0x881F);
+ public const int GL_MATRIX_INDEX_ARRAY_SIZE_ARB = ((int)0x8846);
+ public const int GL_NUM_LOOPBACK_COMPONENTS_ATI = ((int)0x8974);
+ public const int GL_ALLOW_DRAW_MEM_HINT_PGI = ((int)0x1A211);
+ public const int GL_POST_COLOR_MATRIX_GREEN_SCALE = ((int)0x80B5);
+ public const int GL_TEXTURE_GEN_MODE = ((int)0x2500);
+ public const int GL_CONVOLUTION_FILTER_BIAS_EXT = ((int)0x8015);
+ public const int GL_PIXEL_PACK_BUFFER_BINDING = ((int)0x88ED);
+ public const int GL_RASTERIZER_DISCARD_NV = ((int)0x8C89);
+ public const int GL_COLOR_INDEXES = ((int)0x1603);
+ public const int GL_POST_COLOR_MATRIX_RED_BIAS = ((int)0x80B8);
+ public const int GL_PIXEL_UNPACK_BUFFER = ((int)0x88EC);
+ public const int GL_SAMPLER_2D_RECT_ARB = ((int)0x8B63);
+ public const int GL_LUMINANCE8_ALPHA8 = ((int)0x8045);
+ public const int GL_PIXEL_MAP_I_TO_R = ((int)0x0C72);
+ public const int GL_COLOR_CLEAR_VALUE = ((int)0x0C22);
+ public const int GL_BOOL_VEC2_ARB = ((int)0x8B57);
+ public const int GL_RGB16I_EXT = ((int)0x8D89);
+ public const int GL_LUMINANCE4 = ((int)0x803F);
+ public const int GL_T2F_C4UB_V3F = ((int)0x2A29);
+ public const int GL_SAMPLER_1D = ((int)0x8B5D);
+ public const int GL_INDEX_ARRAY_LIST_IBM = ((int)103073);
+ public const int GL_FRAGMENT_LIGHT2_SGIX = ((int)0x840E);
+ public const int GL_V2F = ((int)0x2A20);
+ public const int GL_LUMINANCE32F_ARB = ((int)0x8818);
+ public const int GL_ACCUM_BUFFER_BIT = ((int)0x00000200);
+ public const int GL_DSDT_MAG_NV = ((int)0x86F6);
+ public const int GL_TEXTURE_BORDER = ((int)0x1005);
+ public const int GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT = ((int)0x84FF);
+ public const int GL_SPARE1_NV = ((int)0x852F);
+ public const int GL_OP_DOT3_EXT = ((int)0x8784);
+ public const int GL_MAX_RECTANGLE_TEXTURE_SIZE_NV = ((int)0x84F8);
+ public const int GL_RENDERBUFFER_BINDING_EXT = ((int)0x8CA7);
+ public const int GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT = ((int)0x8CDA);
+ public const int GL_OBJECT_BUFFER_SIZE_ATI = ((int)0x8764);
+ public const int GL_UNSIGNED_SHORT_8_8_REV_MESA = ((int)0x85BB);
+ public const int GL_POLYGON_BIT = ((int)0x00000008);
+ public const int GL_TEXTURE_4D_SGIS = ((int)0x8134);
+ public const int GL_TEXTURE_3D_EXT = ((int)0x806F);
+ public const int GL_TEXTURE_COMPARE_MODE = ((int)0x884C);
+ public const int GL_PN_TRIANGLES_POINT_MODE_ATI = ((int)0x87F2);
+ public const int GL_OP_ADD_EXT = ((int)0x8787);
+ public const int GL_MAX_TEXTURE_COORDS_ARB = ((int)0x8871);
+ public const int GL_TEXTURE_COORD_ARRAY_POINTER = ((int)0x8092);
+ public const int GL_TEXTURE_HEIGHT = ((int)0x1001);
+ public const int GL_TEXTURE_BINDING_RECTANGLE_ARB = ((int)0x84F6);
+ public const int GL_ALPHA4 = ((int)0x803B);
+ public const int GL_NAME_STACK_DEPTH = ((int)0x0D70);
+ public const int GL_STENCIL_BACK_PASS_DEPTH_FAIL = ((int)0x8802);
+ public const int GL_TEXTURE_WRAP_S = ((int)0x2802);
+ public const int GL_DOUBLE = ((int)0x140A);
+ public const int GL_RGB_ICC_SGIX = ((int)0x8460);
+ public const int GL_QUAD_LUMINANCE8_SGIS = ((int)0x8121);
+ public const int GL_TEXTURE_ENV_MODE = ((int)0x2200);
+ public const int GL_MAX_PROGRAM_PARAMETERS_ARB = ((int)0x88A9);
+ public const int GL_DOT3_RGBA = ((int)0x86AF);
+ public const int GL_UNSIGNED_INT_24_8_EXT = ((int)0x84FA);
+ public const int GL_VERTEX_ARRAY_STRIDE_EXT = ((int)0x807C);
+ public const int GL_LUMINANCE12_ALPHA12_EXT = ((int)0x8047);
+ public const int GL_CURRENT_NORMAL = ((int)0x0B02);
+ public const int GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT = ((int)0x8CDC);
+ public const int GL_TEXTURE30 = ((int)0x84DE);
+ public const int GL_DRAW_BUFFER3_ATI = ((int)0x8828);
+ public const int GL_COLOR_INDEX8_EXT = ((int)0x80E5);
+ public const int GL_SAMPLE_PATTERN_EXT = ((int)0x80AC);
+ public const int GL_DU8DV8_ATI = ((int)0x877A);
+ public const int GL_UNSIGNED_INT_S8_S8_8_8_NV = ((int)0x86DA);
+ public const int GL_C4UB_V2F = ((int)0x2A22);
+ public const int GL_COMPARE_R_TO_TEXTURE_ARB = ((int)0x884E);
+ public const int GL_VERTEX_SHADER_INVARIANTS_EXT = ((int)0x87D1);
+ public const int GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB = ((int)0x8622);
+ public const int GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL = ((int)0x83F6);
+ public const int GL_CLAMP_TO_EDGE = ((int)0x812F);
+ public const int GL_POLYGON_SMOOTH = ((int)0x0B41);
+ public const int GL_EYE_PLANE = ((int)0x2502);
+ public const int GL_IMAGE_TRANSLATE_X_HP = ((int)0x8157);
+ public const int GL_DYNAMIC_COPY = ((int)0x88EA);
+ public const int GL_MIN_PROGRAM_TEXEL_OFFSET_NV = ((int)0x8904);
+ public const int GL_MAX_NAME_STACK_DEPTH = ((int)0x0D37);
+ public const int GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN = ((int)0x85C1);
+ public const int GL_TEXTURE_HI_SIZE_NV = ((int)0x871B);
+ public const int GL_SWIZZLE_STQ_DQ_ATI = ((int)0x8979);
+ public const int GL_SPOT_DIRECTION = ((int)0x1204);
+ public const int GL_TEXTURE_DS_SIZE_NV = ((int)0x871D);
+ public const int GL_REFLECTION_MAP_EXT = ((int)0x8512);
+ public const int GL_CON_7_ATI = ((int)0x8948);
+ public const int GL_OBJECT_TYPE_ARB = ((int)0x8B4E);
+ public const int GL_DITHER = ((int)0x0BD0);
+ public const int GL_VERTEX_PROGRAM_NV = ((int)0x8620);
+ public const int GL_MAP1_VERTEX_ATTRIB11_4_NV = ((int)0x866B);
+ public const int GL_FLOAT_R_NV = ((int)0x8880);
+ public const int GL_PRIMITIVES_GENERATED_NV = ((int)0x8C87);
+ public const int GL_TRANSFORM_FEEDBACK_ATTRIBS_NV = ((int)0x8C7E);
+ public const int GL_RGB32UI_EXT = ((int)0x8D71);
+ public const int GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX = ((int)0x8408);
+ public const int GL_SIGNED_ALPHA8_NV = ((int)0x8706);
+ public const int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT = ((int)0x8CD4);
+ public const int GL_BGR_EXT = ((int)0x80E0);
+ public const int GL_MAP1_VERTEX_ATTRIB3_4_NV = ((int)0x8663);
+ public const int GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB = ((int)0x8645);
+ public const int GL_FORMAT_SUBSAMPLE_24_24_OML = ((int)0x8982);
+ public const int GL_RENDERBUFFER_BLUE_SIZE_EXT = ((int)0x8D52);
+ public const int GL_DRAW_BUFFER0_ATI = ((int)0x8825);
+ public const int GL_DETAIL_TEXTURE_2D_SGIS = ((int)0x8095);
+ public const int GL_SHADE_MODEL = ((int)0x0B54);
+ public const int GL_MAX_PIXEL_MAP_TABLE = ((int)0x0D34);
+ public const int GL_NORMAL_BIT_PGI = ((int)0x08000000);
+ public const int GL_OPERAND2_RGB_EXT = ((int)0x8592);
+ public const int GL_STREAM_READ = ((int)0x88E1);
+ public const int GL_PROXY_TEXTURE_1D = ((int)0x8063);
+ public const int GL_DST_ALPHA = ((int)0x0304);
+ public const int GL_COLOR_ALPHA_PAIRING_ATI = ((int)0x8975);
+ public const int GL_BLUE_SCALE = ((int)0x0D1A);
+ public const int GL_LUMINANCE_INTEGER_EXT = ((int)0x8D9C);
+ public const int GL_SWIZZLE_STRQ_DQ_ATI = ((int)0x897B);
+ public const int GL_COMPRESSED_RGB_S3TC_DXT1_EXT = ((int)0x83F0);
+ public const int GL_POINT_SIZE_MAX_SGIS = ((int)0x8127);
+ public const int GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT = ((int)0x8365);
+ public const int GL_ACTIVE_TEXTURE = ((int)0x84E0);
+ public const int GL_MAX_GENERAL_COMBINERS_NV = ((int)0x854D);
+ public const int GL_DISTANCE_ATTENUATION_EXT = ((int)0x8129);
+ public const int GL_MAX_TEXTURE_UNITS_ARB = ((int)0x84E2);
+ public const int GL_MAX_TEXTURE_IMAGE_UNITS_ARB = ((int)0x8872);
+ public const int GL_LINES = ((int)0x0001);
+ public const int GL_PIXEL_MAP_I_TO_I = ((int)0x0C70);
+ public const int GL_R1UI_V3F_SUN = ((int)0x85C4);
+ public const int GL_CON_5_ATI = ((int)0x8946);
+ public const int GL_MAP2_GRID_DOMAIN = ((int)0x0DD2);
+ public const int GL_PROXY_COLOR_TABLE = ((int)0x80D3);
+ public const int GL_TEXTURE_1D_BINDING_EXT = ((int)0x8068);
+ public const int GL_ELEMENT_ARRAY_POINTER_APPLE = ((int)0x876A);
+ public const int GL_PIXEL_TILE_HEIGHT_SGIX = ((int)0x8141);
+ public const int GL_DISCARD_NV = ((int)0x8530);
+ public const int GL_OUTPUT_VERTEX_EXT = ((int)0x879A);
+ public const int GL_TRANSPOSE_COLOR_MATRIX = ((int)0x84E6);
+ public const int GL_SCISSOR_BIT = ((int)0x00080000);
+ public const int GL_FOG_HINT = ((int)0x0C54);
+ public const int GL_STRICT_SCISSOR_HINT_PGI = ((int)0x1A218);
+ public const int GL_COLOR_TABLE_INTENSITY_SIZE = ((int)0x80DF);
+ public const int GL_T2F_C4F_N3F_V3F = ((int)0x2A2C);
+ public const int GL_DRAW_BUFFER9_ARB = ((int)0x882E);
+ public const int GL_SCALAR_EXT = ((int)0x87BE);
+ public const int GL_NUM_INSTRUCTIONS_TOTAL_ATI = ((int)0x8972);
+ public const int GL_TEXTURE27 = ((int)0x84DB);
+ public const int GL_VERTEX_ARRAY_COUNT_EXT = ((int)0x807D);
+ public const int GL_OPERAND3_RGB_NV = ((int)0x8593);
+ public const int GL_NORMAL_ARRAY_LIST_IBM = ((int)103071);
+ public const int GL_TEXTURE23 = ((int)0x84D7);
+ public const int GL_EDGEFLAG_BIT_PGI = ((int)0x00040000);
+ public const int GL_QUERY_COUNTER_BITS_ARB = ((int)0x8864);
+ public const int GL_LOCAL_CONSTANT_VALUE_EXT = ((int)0x87EC);
+ public const int GL_OP_MIN_EXT = ((int)0x878B);
+ public const int GL_SOURCE3_RGB_NV = ((int)0x8583);
+ public const int GL_CON_0_ATI = ((int)0x8941);
+ public const int GL_WEIGHT_ARRAY_ARB = ((int)0x86AD);
+ public const int GL_BOOL_VEC4 = ((int)0x8B59);
+ public const int GL_MAX_TEXTURE_SIZE = ((int)0x0D33);
+ public const int GL_EVAL_VERTEX_ATTRIB8_NV = ((int)0x86CE);
+ public const int GL_BOOL_VEC3 = ((int)0x8B58);
+ public const int GL_OBJECT_SHADER_SOURCE_LENGTH_ARB = ((int)0x8B88);
+ public const int GL_INT_SAMPLER_2D_RECT_EXT = ((int)0x8DCD);
+ public const int GL_SPRITE_AXIS_SGIX = ((int)0x814A);
+ public const int GL_OP_MOV_EXT = ((int)0x8799);
+ public const int GL_RGBA_ICC_SGIX = ((int)0x8461);
+ public const int GL_QUERY_RESULT_AVAILABLE_ARB = ((int)0x8867);
+ public const int GL_LUMINANCE12_EXT = ((int)0x8041);
+ public const int GL_DRAW_BUFFER = ((int)0x0C01);
+ public const int GL_EMBOSS_MAP_NV = ((int)0x855F);
+ public const int GL_ADD_ATI = ((int)0x8963);
+ public const int GL_IMAGE_SCALE_Y_HP = ((int)0x8156);
+ public const int GL_IMAGE_SCALE_X_HP = ((int)0x8155);
+ public const int GL_EVAL_VERTEX_ATTRIB12_NV = ((int)0x86D2);
+ public const int GL_BGR_INTEGER_EXT = ((int)0x8D9A);
+ public const int GL_COLOR_ATTACHMENT5_EXT = ((int)0x8CE5);
+ public const int GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB = ((int)0x880D);
+ public const int GL_ALPHA8_EXT = ((int)0x803C);
+ public const int GL_NEAREST = ((int)0x2600);
+ public const int GL_PROGRAM_FORMAT_ARB = ((int)0x8876);
+ public const int GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB = ((int)0x88A2);
+ public const int GL_DEPTH_FUNC = ((int)0x0B74);
+ public const int GL_DOT_PRODUCT_TEXTURE_3D_NV = ((int)0x86EF);
+ public const int GL_NORMAL_ARRAY_POINTER_EXT = ((int)0x808F);
+ public const int GL_REG_12_ATI = ((int)0x892D);
+ public const int GL_NORMALIZE = ((int)0x0BA1);
+ public const int GL_FOG_COORDINATE = ((int)0x8451);
+ public const int GL_SLICE_ACCUM_SUN = ((int)0x85CC);
+ public const int GL_TEXTURE_MAX_LEVEL_SGIS = ((int)0x813D);
+ public const int GL_COLOR_TABLE_WIDTH = ((int)0x80D9);
+ public const int GL_FOG_MODE = ((int)0x0B65);
+ public const int GL_EVAL_BIT = ((int)0x00010000);
+ public const int GL_RGBA32F_ARB = ((int)0x8814);
+ public const int GL_3_BYTES = ((int)0x1408);
+ public const int GL_POST_CONVOLUTION_RED_BIAS_EXT = ((int)0x8020);
+ public const int GL_ATTRIB_STACK_DEPTH = ((int)0x0BB0);
+ public const int GL_TEXTURE_BINDING_CUBE_MAP_ARB = ((int)0x8514);
+ public const int GL_CON_6_ATI = ((int)0x8947);
+ public const int GL_TEXTURE_LIGHTING_MODE_HP = ((int)0x8167);
+ public const int GL_UNSIGNED_INT_10F_11F_11F_REV_EXT = ((int)0x8C3B);
+ public const int GL_QUADRATIC_ATTENUATION = ((int)0x1209);
+ public const int GL_ADD_SIGNED_EXT = ((int)0x8574);
+ public const int GL_LUMINANCE16_ALPHA8_ICC_SGIX = ((int)0x846B);
+ public const int GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV = ((int)0x885A);
+ public const int GL_4PASS_1_SGIS = ((int)0x80A5);
+ public const int GL_GREATER = ((int)0x0204);
+ public const int GL_MAX = ((int)0x8008);
+ public const int GL_OP_MAX_EXT = ((int)0x878A);
+ public const int GL_RENDERER = ((int)0x1F01);
+ public const int GL_VERTEX_ARRAY_TYPE = ((int)0x807B);
+ public const int GL_MULTISAMPLE_BIT_EXT = ((int)0x20000000);
+ public const int GL_FLOAT_RGB_NV = ((int)0x8882);
+ public const int GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB = ((int)0x88A3);
+ public const int GL_TEXTURE_BORDER_VALUES_NV = ((int)0x871A);
+ public const int GL_INDEX_TEST_REF_EXT = ((int)0x81B7);
+ public const int GL_CON_1_ATI = ((int)0x8942);
+ public const int GL_MAP2_VERTEX_ATTRIB4_4_NV = ((int)0x8674);
+ public const int GL_VERTEX_STREAM4_ATI = ((int)0x8770);
+ public const int GL_POINT_SMOOTH = ((int)0x0B10);
+ public const int GL_PRIMARY_COLOR_NV = ((int)0x852C);
+ public const int GL_SUBPIXEL_BITS = ((int)0x0D50);
+ public const int GL_REPLACE = ((int)0x1E01);
+ public const int GL_CONSTANT_COLOR = ((int)0x8001);
+ public const int GL_LINEAR_CLIPMAP_NEAREST_SGIX = ((int)0x844F);
+ public const int GL_EDGE_FLAG_ARRAY_COUNT_EXT = ((int)0x808D);
+ public const int GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB = ((int)0x86A2);
+ public const int GL_VERTEX_ARRAY_SIZE = ((int)0x807A);
+ public const int GL_BUFFER_ACCESS = ((int)0x88BB);
+ public const int GL_EVAL_VERTEX_ATTRIB11_NV = ((int)0x86D1);
+ public const int GL_BLUE = ((int)0x1905);
+ public const int GL_INDEX_ARRAY_BUFFER_BINDING_ARB = ((int)0x8899);
+ public const int GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI = ((int)0x80D2);
+ public const int GL_BACK_SECONDARY_COLOR_NV = ((int)0x8C78);
+ public const int GL_CURRENT_ATTRIB_NV = ((int)0x8626);
+ public const int GL_PROXY_TEXTURE_4D_SGIS = ((int)0x8135);
+ public const int GL_COLOR_TABLE_LUMINANCE_SIZE_SGI = ((int)0x80DE);
+ public const int GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX = ((int)0x8174);
+ public const int GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV = ((int)0x8850);
+ public const int GL_OR_INVERTED = ((int)0x150D);
+ public const int GL_MATRIX17_ARB = ((int)0x88D1);
+ public const int GL_MAX_TEXTURE_LOD_BIAS_EXT = ((int)0x84FD);
+ public const int GL_PROXY_TEXTURE_CUBE_MAP_EXT = ((int)0x851B);
+ public const int GL_MAP1_VERTEX_ATTRIB1_4_NV = ((int)0x8661);
+ public const int GL_VERTEX_PROGRAM_TWO_SIDE_NV = ((int)0x8643);
+ public const int GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT = ((int)0x8DBE);
+ public const int GL_UNSIGNED_INT_8_8_8_8_REV = ((int)0x8367);
+ public const int GL_INVARIANT_EXT = ((int)0x87C2);
+ public const int GL_MAX_CLIPMAP_DEPTH_SGIX = ((int)0x8177);
+ public const int GL_CURRENT_FOG_COORDINATE_EXT = ((int)0x8453);
+ public const int GL_COLOR_ATTACHMENT1_EXT = ((int)0x8CE1);
+ public const int GL_LUMINANCE6_ALPHA2_EXT = ((int)0x8044);
+ public const int GL_OR_REVERSE = ((int)0x150B);
+ public const int GL_COLOR_INDEX2_EXT = ((int)0x80E3);
+ public const int GL_MIN = ((int)0x8007);
+ public const int GL_PIXEL_SUBSAMPLE_2424_SGIX = ((int)0x85A3);
+ public const int GL_CONVOLUTION_BORDER_COLOR_HP = ((int)0x8154);
+ public const int GL_ALPHA16 = ((int)0x803E);
+ public const int GL_BLUE_BIAS = ((int)0x0D1B);
+ public const int GL_TEXTURE_COORD_ARRAY = ((int)0x8078);
+ public const int GL_MATRIX20_ARB = ((int)0x88D4);
+ public const int GL_SEPARATE_SPECULAR_COLOR_EXT = ((int)0x81FA);
+ public const int GL_MAP2_BINORMAL_EXT = ((int)0x8447);
+ public const int GL_PROJECTION = ((int)0x1701);
+ public const int GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB = ((int)0x8623);
+ public const int GL_SHADOW_ATTENUATION_EXT = ((int)0x834E);
+ public const int GL_COLOR_TABLE_ALPHA_SIZE = ((int)0x80DD);
+ public const int GL_FRAGMENT_LIGHT1_SGIX = ((int)0x840D);
+ public const int GL_COMPRESSED_RGB_ARB = ((int)0x84ED);
+ public const int GL_HISTOGRAM = ((int)0x8024);
+ public const int GL_VARIABLE_B_NV = ((int)0x8524);
+ public const int GL_ALPHA8 = ((int)0x803C);
+ public const int GL_NEAREST_CLIPMAP_NEAREST_SGIX = ((int)0x844D);
+ public const int GL_TEXTURE_INTENSITY_SIZE_EXT = ((int)0x8061);
+ public const int GL_COLOR_ATTACHMENT6_EXT = ((int)0x8CE6);
+ public const int GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT = ((int)0x87CA);
+ public const int GL_BOOL_VEC2 = ((int)0x8B57);
+ public const int GL_COMPRESSED_SRGB_S3TC_DXT1_EXT = ((int)0x8C4C);
+ public const int GL_DEPTH_COMPONENT16_ARB = ((int)0x81A5);
+ public const int GL_OPERAND1_RGB_ARB = ((int)0x8591);
+ public const int GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT = ((int)0x8DE2);
+ public const int GL_TEXTURE_LO_SIZE_NV = ((int)0x871C);
+ public const int GL_COLOR_TABLE_GREEN_SIZE_SGI = ((int)0x80DB);
+ public const int GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV = ((int)0x8856);
+ public const int GL_CONVOLUTION_WIDTH = ((int)0x8018);
+ public const int GL_OUTPUT_TEXTURE_COORD21_EXT = ((int)0x87B2);
+ public const int GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM = ((int)103084);
+ public const int GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI = ((int)0x80BA);
+ public const int GL_DOT_PRODUCT_TEXTURE_2D_NV = ((int)0x86EE);
+ public const int GL_DOT3_RGB = ((int)0x86AE);
+ public const int GL_COLOR_ATTACHMENT7_EXT = ((int)0x8CE7);
+ public const int GL_REG_22_ATI = ((int)0x8937);
+ public const int GL_VERTEX_ATTRIB_ARRAY4_NV = ((int)0x8654);
+ public const int GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV = ((int)0x8851);
+ public const int GL_POST_CONVOLUTION_COLOR_TABLE = ((int)0x80D1);
+ public const int GL_INDEX_ARRAY_STRIDE = ((int)0x8086);
+ public const int GL_LUMINANCE12_ALPHA4 = ((int)0x8046);
+ public const int GL_STENCIL_WRITEMASK = ((int)0x0B98);
+ public const int GL_OP_CLAMP_EXT = ((int)0x878E);
+ public const int GL_SUB_ATI = ((int)0x8965);
+ public const int GL_FOG_COLOR = ((int)0x0B66);
+ public const int GL_BACK_RIGHT = ((int)0x0403);
+ public const int GL_LIST_PRIORITY_SGIX = ((int)0x8182);
+ public const int GL_TEXTURE_MAG_FILTER = ((int)0x2800);
+ public const int GL_PIXEL_MAP_I_TO_A_SIZE = ((int)0x0CB5);
+ public const int GL_MAX_CONVOLUTION_HEIGHT_EXT = ((int)0x801B);
+ public const int GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT = ((int)0x8DDF);
+ public const int GL_OUTPUT_TEXTURE_COORD11_EXT = ((int)0x87A8);
+ public const int GL_PROGRAM_OBJECT_ARB = ((int)0x8B40);
+ public const int GL_CLAMP_READ_COLOR_ARB = ((int)0x891C);
+ public const int GL_MAX_PROGRAM_ATTRIBS_ARB = ((int)0x88AD);
+ public const int GL_R1UI_T2F_N3F_V3F_SUN = ((int)0x85CA);
+ public const int GL_2X_BIT_ATI = ((int)0x00000001);
+ public const int GL_TRIANGLE_STRIP = ((int)0x0005);
+ public const int GL_DUAL_LUMINANCE8_SGIS = ((int)0x8115);
+ public const int GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX = ((int)0x818A);
+ public const int GL_POLYGON_OFFSET_EXT = ((int)0x8037);
+ public const int GL_CONVOLUTION_HEIGHT = ((int)0x8019);
+ public const int GL_ONE = ((int)1);
+ public const int GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX = ((int)0x817B);
+ public const int GL_PACK_SKIP_VOLUMES_SGIS = ((int)0x8130);
+ public const int GL_VERTEX_SHADER_LOCALS_EXT = ((int)0x87D3);
+ public const int GL_MAX_CONVOLUTION_WIDTH_EXT = ((int)0x801A);
+ public const int GL_INVARIANT_DATATYPE_EXT = ((int)0x87EB);
+ public const int GL_STENCIL_BACK_VALUE_MASK = ((int)0x8CA4);
+ public const int GL_TEXTURE_DEPTH = ((int)0x8071);
+ public const int GL_BOOL_ARB = ((int)0x8B56);
+ public const int GL_PIXEL_PACK_BUFFER = ((int)0x88EB);
+ public const int GL_SMOOTH = ((int)0x1D01);
+ public const int GL_WEIGHT_ARRAY_POINTER_ARB = ((int)0x86AC);
+ public const int GL_SCISSOR_BOX = ((int)0x0C10);
+ public const int GL_GREEN_INTEGER_EXT = ((int)0x8D95);
+ public const int GL_RESAMPLE_DECIMATE_OML = ((int)0x8989);
+ public const int GL_TEXTURE_GEN_S = ((int)0x0C60);
+ public const int GL_TEXTURE_GEN_R = ((int)0x0C62);
+ public const int GL_TEXTURE_GEN_Q = ((int)0x0C63);
+ public const int GL_UNSIGNED_INT_10_10_10_2 = ((int)0x8036);
+ public const int GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT = ((int)0x8DA8);
+ public const int GL_TEXTURE_GEN_T = ((int)0x0C61);
+ public const int GL_COLOR_INDEX1_EXT = ((int)0x80E2);
+ public const int GL_EMBOSS_LIGHT_NV = ((int)0x855D);
+ public const int GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI = ((int)0x87F4);
+ public const int GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB = ((int)0x889C);
+ public const int GL_ACTIVE_ATTRIBUTE_MAX_LENGTH = ((int)0x8B8A);
+ public const int GL_DEPTH_COMPONENT32_SGIX = ((int)0x81A7);
+ public const int GL_RGBA32I_EXT = ((int)0x8D82);
+ public const int GL_CULL_VERTEX_EYE_POSITION_EXT = ((int)0x81AB);
+ public const int GL_FLOAT_VEC2_ARB = ((int)0x8B50);
+ public const int GL_RGB_FLOAT16_ATI = ((int)0x881B);
+ public const int GL_V3F = ((int)0x2A21);
+ public const int GL_FOG_COORDINATE_ARRAY_TYPE = ((int)0x8454);
+ public const int GL_RED_BITS = ((int)0x0D52);
+ public const int GL_POINT_SPRITE_R_MODE_NV = ((int)0x8863);
+ public const int GL_NORMALIZED_RANGE_EXT = ((int)0x87E0);
+ public const int GL_READ_WRITE_ARB = ((int)0x88BA);
+ public const int GL_REGISTER_COMBINERS_NV = ((int)0x8522);
+ public const int GL_RESTART_SUN = ((int)0x0001);
+ public const int GL_COLOR_ATTACHMENT2_EXT = ((int)0x8CE2);
+ public const int GL_STENCIL_INDEX16_EXT = ((int)0x8D49);
+ public const int GL_R = ((int)0x2002);
+ public const int GL_REG_15_ATI = ((int)0x8930);
+ public const int GL_OUTPUT_TEXTURE_COORD14_EXT = ((int)0x87AB);
+ public const int GL_PROGRAM_RESULT_COMPONENTS_NV = ((int)0x8907);
+ public const int GL_TEXTURE_2D_STACK_BINDING_MESAX = ((int)0x875E);
+ public const int GL_PROXY_TEXTURE_1D_ARRAY_EXT = ((int)0x8C19);
+ public const int GL_VERTEX_BLEND_ARB = ((int)0x86A7);
+ public const int GL_OUTPUT_TEXTURE_COORD29_EXT = ((int)0x87BA);
+ public const int GL_LIST_BIT = ((int)0x00020000);
+ public const int GL_VERTEX_ARRAY_LIST_STRIDE_IBM = ((int)103080);
+ public const int GL_BLEND_DST_ALPHA = ((int)0x80CA);
+ public const int GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB = ((int)0x889A);
+ public const int GL_CON_28_ATI = ((int)0x895D);
+ public const int GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB = ((int)0x886A);
+ public const int GL_COMBINE_ARB = ((int)0x8570);
+ public const int GL_FRONT_FACE = ((int)0x0B46);
+ public const int GL_TEXTURE_COMPRESSION_HINT = ((int)0x84EF);
+ public const int GL_INDEX_OFFSET = ((int)0x0D13);
+ public const int GL_CON_17_ATI = ((int)0x8952);
+ public const int GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT = ((int)0x87CB);
+ public const int GL_DRAW_BUFFER7_ATI = ((int)0x882C);
+ public const int GL_BGRA = ((int)0x80E1);
+ public const int GL_TEXTURE_ALPHA_TYPE_ARB = ((int)0x8C13);
+ public const int GL_INDEX_CLEAR_VALUE = ((int)0x0C20);
+ public const int GL_TEXTURE_FILTER_CONTROL = ((int)0x8500);
+ public const int GL_VERTEX_PROGRAM_POINT_SIZE = ((int)0x8642);
+ public const int GL_VERTEX_SHADER_VARIANTS_EXT = ((int)0x87D0);
+ public const int GL_LINEAR_DETAIL_ALPHA_SGIS = ((int)0x8098);
+ public const int GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT = ((int)0x8CD6);
+ public const int GL_OUTPUT_TEXTURE_COORD19_EXT = ((int)0x87B0);
+ public const int GL_RENDER_MODE = ((int)0x0C40);
+ public const int GL_FEEDBACK = ((int)0x1C01);
+ public const int GL_OPERAND0_ALPHA_ARB = ((int)0x8598);
+ public const int GL_HISTOGRAM_GREEN_SIZE = ((int)0x8029);
+ public const int GL_PACK_SUBSAMPLE_RATE_SGIX = ((int)0x85A0);
+ public const int GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI = ((int)0x87F8);
+ public const int GL_PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX = ((int)0x8188);
+ public const int GL_SRC1_RGB = ((int)GL_SOURCE1_RGB);
+ public const int GL_SCALEBIAS_HINT_SGIX = ((int)0x8322);
+ public const int GL_QUAD_TEXTURE_SELECT_SGIS = ((int)0x8125);
+ public const int GL_MAX_TEXTURE_COORDS_NV = ((int)0x8871);
+ public const int GL_TEXTURE_COORD_ARRAY_TYPE = ((int)0x8089);
+ public const int GL_VERTEX_STREAM7_ATI = ((int)0x8773);
+ public const int GL_PIXEL_MAP_I_TO_R_SIZE = ((int)0x0CB2);
+ public const int GL_QUAD_STRIP = ((int)0x0008);
+ public const int GL_NORMAL_ARRAY_POINTER = ((int)0x808F);
+ public const int GL_MAX_COLOR_MATRIX_STACK_DEPTH = ((int)0x80B3);
+ public const int GL_HISTOGRAM_SINK_EXT = ((int)0x802D);
+ public const int GL_SHORT = ((int)0x1402);
+ public const int GL_ATTENUATION_EXT = ((int)0x834D);
+ public const int GL_TEXTURE_BUFFER_FORMAT_EXT = ((int)0x8C2E);
+ public const int GL_SEPARABLE_2D_EXT = ((int)0x8012);
+ public const int GL_SECONDARY_COLOR_ARRAY = ((int)0x845E);
+ public const int GL_DISCARD_ATI = ((int)0x8763);
+ public const int GL_GEOMETRY_OUTPUT_TYPE_EXT = ((int)0x8DDC);
+ public const int GL_3D_COLOR = ((int)0x0602);
+ public const int GL_VERTEX_STREAM3_ATI = ((int)0x876F);
+ public const int GL_COLOR_ATTACHMENT8_EXT = ((int)0x8CE8);
+ public const int GL_FLOAT_VEC2 = ((int)0x8B50);
+ public const int GL_MAP2_GRID_SEGMENTS = ((int)0x0DD3);
+ public const int GL_CALLIGRAPHIC_FRAGMENT_SGIX = ((int)0x8183);
+ public const int GL_TEXTURE_MAX_CLAMP_T_SGIX = ((int)0x836A);
+ public const int GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV = ((int)0x8868);
+ public const int GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX = ((int)0x840A);
+ public const int GL_MAT_AMBIENT_BIT_PGI = ((int)0x00100000);
+ public const int GL_FLOAT_RGBA32_NV = ((int)0x888B);
+ public const int GL_IMAGE_ROTATE_ANGLE_HP = ((int)0x8159);
+ public const int GL_MULTISAMPLE_COVERAGE_MODES_NV = ((int)0x8E12);
+ public const int GL_CURRENT_TEXTURE_COORDS = ((int)0x0B03);
+ public const int GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB = ((int)0x862E);
+ public const int GL_DISTANCE_ATTENUATION_SGIS = ((int)0x8129);
+ public const int GL_MULTISAMPLE_BIT_3DFX = ((int)0x20000000);
+ public const int GL_COMBINER_SCALE_NV = ((int)0x8548);
+ public const int GL_SAMPLER_BUFFER_EXT = ((int)0x8DC2);
+ public const int GL_AND_REVERSE = ((int)0x1502);
+ public const int GL_ACTIVE_VARYINGS_NV = ((int)0x8C81);
+ public const int GL_UNSIGNED_SHORT_8_8_REV_APPLE = ((int)0x85BB);
+ public const int GL_TRIANGLES_ADJACENCY_EXT = ((int)0x000C);
+ public const int GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT = ((int)0x8C72);
+ public const int GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV = ((int)0x86F0);
+ public const int GL_PIXEL_TRANSFORM_2D_MATRIX_EXT = ((int)0x8338);
+ public const int GL_SAMPLE_ALPHA_TO_COVERAGE = ((int)0x809E);
+ public const int GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV = ((int)0x8DA2);
+ public const int GL_LIGHTING = ((int)0x0B50);
+ public const int GL_RGB_INTEGER_EXT = ((int)0x8D98);
+ public const int GL_VERTEX_ATTRIB_ARRAY1_NV = ((int)0x8651);
+ public const int GL_FENCE_APPLE = ((int)0x8A0B);
+ public const int GL_LUMINANCE32I_EXT = ((int)0x8D86);
+ public const int GL_REG_0_ATI = ((int)0x8921);
+ public const int GL_COMPRESSED_INTENSITY_ARB = ((int)0x84EC);
+ public const int GL_ONE_MINUS_CONSTANT_ALPHA = ((int)0x8004);
+ public const int GL_SAMPLE_MASK_INVERT_SGIS = ((int)0x80AB);
+ public const int GL_TEXTURE_COORD_ARRAY_LIST_IBM = ((int)103074);
+ public const int GL_VERTEX_DATA_HINT_PGI = ((int)0x1A22A);
+ public const int GL_GEOMETRY_PROGRAM_NV = ((int)0x8C26);
+ public const int GL_RGB4_S3TC = ((int)0x83A1);
+ public const int GL_MAX_PROGRAM_IF_DEPTH_NV = ((int)0x88F6);
+ public const int GL_REG_25_ATI = ((int)0x893A);
+ public const int GL_TEXTURE_TOO_LARGE_EXT = ((int)0x8065);
+ public const int GL_QUERY_COUNTER_BITS = ((int)0x8864);
+ public const int GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL = ((int)0x83F7);
+ public const int GL_INVALID_OPERATION = ((int)0x0502);
+ public const int GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI = ((int)0x80B3);
+ public const int GL_TEXTURE27_ARB = ((int)0x84DB);
+ public const int GL_UNSIGNED_INT_VEC4_EXT = ((int)0x8DC8);
+ public const int GL_PROGRAM_ATTRIBS_ARB = ((int)0x88AC);
+ public const int GL_STREAM_COPY = ((int)0x88E2);
+ public const int GL_RGB = ((int)0x1907);
+ public const int GL_INTENSITY16UI_EXT = ((int)0x8D79);
+ public const int GL_RENDER = ((int)0x1C00);
+ public const int GL_MAP1_VERTEX_ATTRIB10_4_NV = ((int)0x866A);
+ public const int GL_CLIENT_ACTIVE_TEXTURE = ((int)0x84E1);
+ public const int GL_MAP_STENCIL = ((int)0x0D11);
+ public const int GL_TEXTURE_CLIPMAP_DEPTH_SGIX = ((int)0x8176);
+ public const int GL_SOURCE0_ALPHA_EXT = ((int)0x8588);
+ public const int GL_RGBA_FLOAT16_ATI = ((int)0x881A);
+ public const int GL_POST_COLOR_MATRIX_GREEN_BIAS = ((int)0x80B9);
+ public const int GL_TWO = ((int)2);
+ public const int GL_DEPTH_COMPONENT32_ARB = ((int)0x81A7);
+ public const int GL_CULL_FRAGMENT_NV = ((int)0x86E7);
+ public const int GL_NORMAL_MAP_EXT = ((int)0x8511);
+ public const int GL_MAP1_INDEX = ((int)0x0D91);
+ public const int GL_DUAL_INTENSITY16_SGIS = ((int)0x811B);
+ public const int GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT = ((int)0x8515);
+ public const int GL_R1UI_C3F_V3F_SUN = ((int)0x85C6);
+ public const int GL_TEXTURE_4DSIZE_SGIS = ((int)0x8136);
+ public const int GL_UNSIGNED_BYTE_2_3_3_REV_EXT = ((int)0x8362);
+ public const int GL_TEXTURE26_ARB = ((int)0x84DA);
+ public const int GL_MODELVIEW1_ARB = ((int)0x850A);
+ public const int GL_EDGE_FLAG_ARRAY_STRIDE = ((int)0x808C);
+ public const int GL_Q = ((int)0x2003);
+ public const int GL_LUMINANCE16_ICC_SGIX = ((int)0x8469);
+ public const int GL_S = ((int)0x2000);
+ public const int GL_T = ((int)0x2001);
+ public const int GL_MAX_VARYING_FLOATS = ((int)0x8B4B);
+ public const int GL_COLOR_TABLE_ALPHA_SIZE_SGI = ((int)0x80DD);
+ public const int GL_BLEND_SRC_ALPHA_EXT = ((int)0x80CB);
+ public const int GL_CURRENT_MATRIX_STACK_DEPTH_ARB = ((int)0x8640);
+ public const int GL_NEAREST_CLIPMAP_LINEAR_SGIX = ((int)0x844E);
+ public const int GL_DUAL_ALPHA16_SGIS = ((int)0x8113);
+ public const int GL_SHADOW_AMBIENT_SGIX = ((int)0x80BF);
+ public const int GL_FLOAT_RGBA16_NV = ((int)0x888A);
+ public const int GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI = ((int)0x80B9);
+ public const int GL_UNSIGNED_SHORT_5_5_5_1_EXT = ((int)0x8034);
+ public const int GL_TRANSPOSE_MODELVIEW_MATRIX_ARB = ((int)0x84E3);
+ public const int GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING = ((int)0x889A);
+ public const int GL_POLYGON_SMOOTH_HINT = ((int)0x0C53);
+ public const int GL_TEXTURE25_ARB = ((int)0x84D9);
+ public const int GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = ((int)0x880F);
+ public const int GL_SLUMINANCE8 = ((int)0x8C47);
+ public const int GL_MODELVIEW29_ARB = ((int)0x873D);
+ public const int GL_ZERO = ((int)0);
+ public const int GL_REG_7_ATI = ((int)0x8928);
+ public const int GL_COMP_BIT_ATI = ((int)0x00000002);
+ public const int GL_PIXEL_UNPACK_BUFFER_BINDING_EXT = ((int)0x88EF);
+ public const int GL_SAMPLER_1D_SHADOW_ARB = ((int)0x8B61);
+ public const int GL_COLOR_ATTACHMENT9_EXT = ((int)0x8CE9);
+ public const int GL_MAP2_TANGENT_EXT = ((int)0x8445);
+ public const int GL_NONE = ((int)0);
+ public const int GL_UNPACK_LSB_FIRST = ((int)0x0CF1);
+ public const int GL_COMPRESSED_SRGB_ALPHA = ((int)0x8C49);
+ public const int GL_SAMPLER_3D_ARB = ((int)0x8B5F);
+ public const int GL_MATRIX_EXT = ((int)0x87C0);
+ public const int GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV = ((int)0x86F1);
+ public const int GL_PROGRAM_FORMAT_ASCII_ARB = ((int)0x8875);
+ public const int GL_UNSIGNED_SHORT = ((int)0x1403);
+ public const int GL_COLOR_MATRIX_STACK_DEPTH_SGI = ((int)0x80B2);
+ public const int GL_TEXTURE24_ARB = ((int)0x84D8);
+ public const int GL_CON_3_ATI = ((int)0x8944);
+ public const int GL_FUNC_ADD = ((int)0x8006);
+ public const int GL_POLYGON_OFFSET_UNITS = ((int)0x2A00);
+ public const int GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT = ((int)0x87CC);
+ public const int GL_MINMAX_SINK = ((int)0x8030);
+ public const int GL_NORMAL_ARRAY_BUFFER_BINDING_ARB = ((int)0x8897);
+ public const int GL_WIDE_LINE_HINT_PGI = ((int)0x1A222);
+ public const int GL_ELEMENT_ARRAY_APPLE = ((int)0x8768);
+ public const int GL_REG_10_ATI = ((int)0x892B);
+ public const int GL_TEXTURE_DEPTH_SIZE = ((int)0x884A);
+ public const int GL_DRAW_BUFFER4_ATI = ((int)0x8829);
+ public const int GL_BIAS_BIT_ATI = ((int)0x00000008);
+ public const int GL_VERTEX_PROGRAM_BINDING_NV = ((int)0x864A);
+ public const int GL_MODELVIEW8_ARB = ((int)0x8728);
+ public const int GL_CON_31_ATI = ((int)0x8960);
+ public const int GL_SAMPLER_2D_ARB = ((int)0x8B5E);
+ public const int GL_STENCIL_BACK_REF = ((int)0x8CA3);
+ public const int GL_MINMAX_FORMAT_EXT = ((int)0x802F);
+ public const int GL_DEPTH_COMPONENT24 = ((int)0x81A6);
+ public const int GL_COLOR_TABLE_SCALE_SGI = ((int)0x80D6);
+ public const int GL_4PASS_2_SGIS = ((int)0x80A6);
+ public const int GL_MAP1_VERTEX_ATTRIB12_4_NV = ((int)0x866C);
+ public const int GL_DUAL_LUMINANCE_ALPHA8_SGIS = ((int)0x811D);
+ public const int GL_MAX_CLIP_PLANES = ((int)0x0D32);
+ public const int GL_TEXTURE23_ARB = ((int)0x84D7);
+ public const int GL_RESAMPLE_AVERAGE_OML = ((int)0x8988);
+ public const int GL_INTENSITY_ICC_SGIX = ((int)0x8464);
+ public const int GL_VENDOR = ((int)0x1F00);
+ public const int GL_TIME_ELAPSED_EXT = ((int)0x88BF);
+ public const int GL_NAND = ((int)0x150E);
+ public const int GL_UNSIGNED_IDENTITY_NV = ((int)0x8536);
+ public const int GL_ACCUM = ((int)0x0100);
+ public const int GL_MAX_3D_TEXTURE_SIZE_EXT = ((int)0x8073);
+ public const int GL_DEPTH_COMPONENT32 = ((int)0x81A7);
+ public const int GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV = ((int)0x86F2);
+ public const int GL_ALWAYS_FAST_HINT_PGI = ((int)0x1A20C);
+ public const int GL_GEOMETRY_DEFORMATION_SGIX = ((int)0x8194);
+ public const int GL_OP_MULTIPLY_MATRIX_EXT = ((int)0x8798);
+ public const int GL_TEXTURE8 = ((int)0x84C8);
+ public const int GL_UNSIGNED_INT_VEC3_EXT = ((int)0x8DC7);
+ public const int GL_STORAGE_SHARED_APPLE = ((int)0x85BF);
+ public const int GL_SLUMINANCE_ALPHA = ((int)0x8C44);
+ public const int GL_CON_11_ATI = ((int)0x894C);
+ public const int GL_PHONG_WIN = ((int)0x80EA);
+ public const int GL_UNSIGNED_INVERT_NV = ((int)0x8537);
+ public const int GL_COLOR_TABLE_SCALE = ((int)0x80D6);
+ public const int GL_KEEP = ((int)0x1E00);
+ public const int GL_ADD_SIGNED = ((int)0x8574);
+ public const int GL_MULTISAMPLE_ARB = ((int)0x809D);
+ public const int GL_COMBINER_AB_OUTPUT_NV = ((int)0x854A);
+ public const int GL_REG_3_ATI = ((int)0x8924);
+ public const int GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB = ((int)0x889E);
+ public const int GL_FOG_FACTOR_TO_ALPHA_SGIX = ((int)0x836F);
+ public const int GL_INVALID_ENUM = ((int)0x0500);
+ public const int GL_IMAGE_MIN_FILTER_HP = ((int)0x815D);
+ public const int GL_INTERLEAVED_ATTRIBS_NV = ((int)0x8C8C);
+ public const int GL_TEXTURE21_ARB = ((int)0x84D5);
+ public const int GL_STATIC_COPY_ARB = ((int)0x88E6);
+ public const int GL_SMOOTH_LINE_WIDTH_RANGE = ((int)0x0B22);
+ public const int GL_TEXTURE9 = ((int)0x84C9);
+ public const int GL_FENCE_STATUS_NV = ((int)0x84F3);
+ public const int GL_RENDERBUFFER_STENCIL_SIZE_EXT = ((int)0x8D55);
+ public const int GL_OBJECT_DISTANCE_TO_LINE_SGIS = ((int)0x81F3);
+ public const int GL_COMBINER_COMPONENT_USAGE_NV = ((int)0x8544);
+ public const int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT = ((int)0x8CD4);
+ public const int GL_VERTEX_ARRAY_STORAGE_HINT_APPLE = ((int)0x851F);
+ public const int GL_CULL_VERTEX_OBJECT_POSITION_EXT = ((int)0x81AC);
+ public const int GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB = ((int)0x88B1);
+ public const int GL_MAP2_TEXTURE_COORD_4 = ((int)0x0DB6);
+ public const int GL_DRAW_BUFFER1_ARB = ((int)0x8826);
+ public const int GL_FEEDBACK_BUFFER_TYPE = ((int)0x0DF2);
+ public const int GL_INDEX_MATERIAL_FACE_EXT = ((int)0x81BA);
+ public const int GL_COMBINE = ((int)0x8570);
+ public const int GL_READ_WRITE = ((int)0x88BA);
+ public const int GL_DEPTH_COMPONENT16 = ((int)0x81A5);
+ public const int GL_TEXTURE20_ARB = ((int)0x84D4);
+ public const int GL_COLOR_ATTACHMENT14_EXT = ((int)0x8CEE);
+ public const int GL_RGB4_EXT = ((int)0x804F);
+ public const int GL_FOG_FUNC_SGIS = ((int)0x812A);
+ public const int GL_MAP1_TEXTURE_COORD_4 = ((int)0x0D96);
+ public const int GL_UNSIGNED_INT_5_9_9_9_REV_EXT = ((int)0x8C3E);
+ public const int GL_MATRIX28_ARB = ((int)0x88DC);
+ public const int GL_LUMINANCE12_ALPHA4_EXT = ((int)0x8046);
+ public const int GL_PACK_ALIGNMENT = ((int)0x0D05);
+ public const int GL_MODELVIEW21_ARB = ((int)0x8735);
+ public const int GL_LEFT = ((int)0x0406);
+ public const int GL_SOURCE2_ALPHA_ARB = ((int)0x858A);
+ public const int GL_MAP2_VERTEX_ATTRIB10_4_NV = ((int)0x867A);
+ public const int GL_PROXY_TEXTURE_RECTANGLE_NV = ((int)0x84F7);
+ public const int GL_TEXTURE_MAX_LOD_SGIS = ((int)0x813B);
+ public const int GL_PROJECTION_STACK_DEPTH = ((int)0x0BA4);
+ public const int GL_RENDERBUFFER_HEIGHT_EXT = ((int)0x8D43);
+ public const int GL_RENDERBUFFER_GREEN_SIZE_EXT = ((int)0x8D51);
+ public const int GL_MAX_TEXTURE_IMAGE_UNITS = ((int)0x8872);
+ public const int GL_MATRIX24_ARB = ((int)0x88D8);
+ public const int GL_CONVOLUTION_BORDER_COLOR = ((int)0x8154);
+ public const int GL_TEXTURE_BINDING_2D_ARRAY_EXT = ((int)0x8C1D);
+ public const int GL_RENDERBUFFER_SAMPLES_EXT = ((int)0x8CAB);
+ public const int GL_COMBINER6_NV = ((int)0x8556);
+ public const int GL_LINEAR_SHARPEN_SGIS = ((int)0x80AD);
+ public const int GL_LIGHT4 = ((int)0x4004);
+ public const int GL_COMBINER5_NV = ((int)0x8555);
+ public const int GL_COMBINER2_NV = ((int)0x8552);
+ public const int GL_COMBINER3_NV = ((int)0x8553);
+ public const int GL_EDGE_FLAG_ARRAY_STRIDE_EXT = ((int)0x808C);
+ public const int GL_CON_2_ATI = ((int)0x8943);
+ public const int GL_BLEND_EQUATION_EXT = ((int)0x8009);
+ public const int GL_VERTEX_PROGRAM_POINT_SIZE_NV = ((int)0x8642);
+ public const int GL_STATIC_DRAW = ((int)0x88E4);
+ public const int GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI = ((int)0x8973);
+ public const int GL_MAX_VERTEX_UNITS_ARB = ((int)0x86A4);
+ public const int GL_MAP1_VERTEX_ATTRIB5_4_NV = ((int)0x8665);
+ public const int GL_CON_21_ATI = ((int)0x8956);
+ public const int GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB = ((int)0x851A);
+ public const int GL_4PASS_3_SGIS = ((int)0x80A7);
+ public const int GL_MATRIX5_ARB = ((int)0x88C5);
+ public const int GL_STATIC_DRAW_ARB = ((int)0x88E4);
+ public const int GL_PIXEL_COUNT_NV = ((int)0x8866);
+ public const int GL_TEXTURE_COLOR_TABLE_SGI = ((int)0x80BC);
+ public const int GL_MATRIX4_ARB = ((int)0x88C4);
+ public const int GL_MAP2_VERTEX_ATTRIB1_4_NV = ((int)0x8671);
+ public const int GL_INDEX_ARRAY_POINTER_EXT = ((int)0x8091);
+ public const int GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT = ((int)0x87C8);
+ public const int GL_VERTEX_STREAM1_ATI = ((int)0x876D);
+ public const int GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT = ((int)0x8DA9);
+ public const int GL_CULL_MODES_NV = ((int)0x86E0);
+ public const int GL_COMBINER_MAPPING_NV = ((int)0x8543);
+ public const int GL_MAP1_TEXTURE_COORD_2 = ((int)0x0D94);
+ public const int GL_TEXTURE_SHARED_SIZE_EXT = ((int)0x8C3F);
+ public const int GL_DEPTH_RANGE = ((int)0x0B70);
+ public const int GL_EXP2 = ((int)0x0801);
+ public const int GL_COLOR_TABLE_FORMAT = ((int)0x80D8);
+ public const int GL_DEPTH_STENCIL_EXT = ((int)0x84F9);
+ public const int GL_WRITE_PIXEL_DATA_RANGE_NV = ((int)0x8878);
+ public const int GL_PIXEL_TILE_CACHE_INCREMENT_SGIX = ((int)0x813F);
+ public const int GL_UNSIGNED_SHORT_5_6_5_EXT = ((int)0x8363);
+ public const int GL_PROJECTION_MATRIX = ((int)0x0BA7);
+ public const int GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX = ((int)0x8409);
+ public const int GL_MINMAX_FORMAT = ((int)0x802F);
+ public const int GL_MAP_COLOR = ((int)0x0D10);
+ public const int GL_VERTEX_STREAM6_ATI = ((int)0x8772);
+ public const int GL_CLIP_PLANE1 = ((int)0x3001);
+ public const int GL_SAMPLER_1D_ARB = ((int)0x8B5D);
+ public const int GL_OPERAND2_ALPHA_EXT = ((int)0x859A);
+ public const int GL_POINT_SIZE_MAX = ((int)0x8127);
+ public const int GL_SAMPLE_ALPHA_TO_MASK_EXT = ((int)0x809E);
+ public const int GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV = ((int)0x8C80);
+ public const int GL_STENCIL_BACK_WRITEMASK = ((int)0x8CA5);
+ public const int GL_SLUMINANCE = ((int)0x8C46);
+ public const int GL_MAP1_TEXTURE_COORD_3 = ((int)0x0D95);
+ public const int GL_POLYGON_MODE = ((int)0x0B40);
+ public const int GL_PRESERVE_ATI = ((int)0x8762);
+ public const int GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB = ((int)0x84F8);
+ public const int GL_INTERLACE_READ_OML = ((int)0x8981);
+ public const int GL_SAMPLE_MASK_VALUE_EXT = ((int)0x80AA);
+ public const int GL_LUMINANCE8 = ((int)0x8040);
+ public const int GL_UNPACK_RESAMPLE_OML = ((int)0x8985);
+ public const int GL_SUBTRACT = ((int)0x84E7);
+ public const int GL_LOCAL_CONSTANT_DATATYPE_EXT = ((int)0x87ED);
+ public const int GL_FLOAT_MAT3 = ((int)0x8B5B);
+ public const int GL_CONSTANT_COLOR_EXT = ((int)0x8001);
+ public const int GL_UNSIGNED_INT_8_8_S8_S8_REV_NV = ((int)0x86DB);
+ public const int GL_TEXTURE_SHADER_NV = ((int)0x86DE);
+ public const int GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM = ((int)103087);
+ public const int GL_TYPE_RGBA_FLOAT_ATI = ((int)0x8820);
+ public const int GL_FLOAT_MAT2x3 = ((int)0x8B65);
+ public const int GL_TEXTURE_COORD_ARRAY_COUNT_EXT = ((int)0x808B);
+ public const int GL_VERTEX_STREAM2_ATI = ((int)0x876E);
+ public const int GL_PREVIOUS = ((int)0x8578);
+ public const int GL_FRAGMENT_COLOR_EXT = ((int)0x834C);
+ public const int GL_OFFSET_TEXTURE_BIAS_NV = ((int)0x86E3);
+ public const int GL_MATRIX6_NV = ((int)0x8636);
+ public const int GL_PRIMITIVE_RESTART_NV = ((int)0x8558);
+ public const int GL_OPERAND2_RGB = ((int)0x8592);
+ public const int GL_INTENSITY8_EXT = ((int)0x804B);
+ public const int GL_DOT3_RGB_ARB = ((int)0x86AE);
+ public const int GL_PROGRAM_POINT_SIZE_EXT = ((int)0x8642);
+ public const int GL_1PASS_SGIS = ((int)0x80A1);
+ public const int GL_LIGHTING_BIT = ((int)0x00000040);
+ public const int GL_SAMPLE_COVERAGE = ((int)0x80A0);
+ public const int GL_ALPHA = ((int)0x1906);
+ public const int GL_4D_COLOR_TEXTURE = ((int)0x0604);
+ public const int GL_N3F_V3F = ((int)0x2A25);
+ public const int GL_MAX_CONVOLUTION_HEIGHT = ((int)0x801B);
+ public const int GL_C4F_N3F_V3F = ((int)0x2A26);
+ public const int GL_RGB_SCALE = ((int)0x8573);
+ public const int GL_FRONT_AND_BACK = ((int)0x0408);
+ public const int GL_LUMINANCE4_ALPHA4_EXT = ((int)0x8043);
+ public const int GL_PROXY_HISTOGRAM_EXT = ((int)0x8025);
+ public const int GL_RESCALE_NORMAL_EXT = ((int)0x803A);
+ public const int GL_FOG_BIT = ((int)0x00000080);
+ public const int GL_CON_30_ATI = ((int)0x895F);
+ public const int GL_QUERY_RESULT_AVAILABLE = ((int)0x8867);
+ public const int GL_FRAGMENT_LIGHT6_SGIX = ((int)0x8412);
+ public const int GL_MAP1_TEXTURE_COORD_1 = ((int)0x0D93);
+ public const int GL_FOG_OFFSET_VALUE_SGIX = ((int)0x8199);
+ public const int GL_SAMPLE_MASK_EXT = ((int)0x80A0);
+ public const int GL_MODELVIEW6_ARB = ((int)0x8726);
+ public const int GL_LOGIC_OP_MODE = ((int)0x0BF0);
+ public const int GL_MAP1_VERTEX_ATTRIB7_4_NV = ((int)0x8667);
+ public const int GL_ALWAYS = ((int)0x0207);
+ public const int GL_GLOBAL_ALPHA_SUN = ((int)0x81D9);
+ public const int GL_PROXY_COLOR_TABLE_SGI = ((int)0x80D3);
+ public const int GL_CURRENT_FOG_COORD = ((int)GL_CURRENT_FOG_COORDINATE);
+ public const int GL_WEIGHT_SUM_UNITY_ARB = ((int)0x86A6);
+ public const int GL_FULL_RANGE_EXT = ((int)0x87E1);
+ public const int GL_PRIMARY_COLOR_ARB = ((int)0x8577);
+ public const int GL_MAX_VERTEX_ATTRIBS = ((int)0x8869);
+ public const int GL_DOT_PRODUCT_PASS_THROUGH_NV = ((int)0x885B);
+ public const int GL_RGB10_A2 = ((int)0x8059);
+ public const int GL_OPERAND0_RGB_ARB = ((int)0x8590);
+ public const int GL_ACTIVE_STENCIL_FACE_EXT = ((int)0x8911);
+ public const int GL_UNSIGNED_INT_2_10_10_10_REV = ((int)0x8368);
+ public const int GL_LIGHT6 = ((int)0x4006);
+ public const int GL_COMBINER_BIAS_NV = ((int)0x8549);
+ public const int GL_MAT_COLOR_INDEXES_BIT_PGI = ((int)0x01000000);
+ public const int GL_DEPTH_PASS_INSTRUMENT_SGIX = ((int)0x8310);
+ public const int GL_TEXTURE6_ARB = ((int)0x84C6);
+ public const int GL_CON_9_ATI = ((int)0x894A);
+ public const int GL_TEXTURE_MIN_LOD_SGIS = ((int)0x813A);
+ public const int GL_WEIGHT_ARRAY_SIZE_ARB = ((int)0x86AB);
+ public const int GL_PACK_ROW_LENGTH = ((int)0x0D02);
+ public const int GL_CND0_ATI = ((int)0x896B);
+ public const int GL_TEXTURE_1D_STACK_BINDING_MESAX = ((int)0x875D);
+ public const int GL_TEXTURE_1D_STACK_MESAX = ((int)0x8759);
+ public const int GL_VERTEX_STREAM5_ATI = ((int)0x8771);
+ public const int GL_STENCIL_TEST_TWO_SIDE_EXT = ((int)0x8910);
+ public const int GL_FLOAT_RG32_NV = ((int)0x8887);
+ public const int GL_INTERPOLATE_EXT = ((int)0x8575);
+ public const int GL_CON_10_ATI = ((int)0x894B);
+ public const int GL_SPOT_EXPONENT = ((int)0x1205);
+ public const int GL_POST_CONVOLUTION_GREEN_SCALE_EXT = ((int)0x801D);
+ public const int GL_COLOR_INDEX = ((int)0x1900);
+ public const int GL_SLUMINANCE8_EXT = ((int)0x8C47);
+ public const int GL_FLOAT_MAT4_ARB = ((int)0x8B5C);
+ public const int GL_PIXEL_MAP_I_TO_G = ((int)0x0C73);
+ public const int GL_YCBCR_MESA = ((int)0x8757);
+ public const int GL_RENDERBUFFER_INTERNAL_FORMAT_EXT = ((int)0x8D44);
+ public const int GL_RGB8UI_EXT = ((int)0x8D7D);
+ public const int GL_PIXEL_MAP_G_TO_G_SIZE = ((int)0x0CB7);
+ public const int GL_SECONDARY_INTERPOLATOR_ATI = ((int)0x896D);
+ public const int GL_COLOR3_BIT_PGI = ((int)0x00010000);
+ public const int GL_MAX_FOG_FUNC_POINTS_SGIS = ((int)0x812C);
+ public const int GL_SINGLE_COLOR = ((int)0x81F9);
+ public const int GL_QUARTER_BIT_ATI = ((int)0x00000010);
+ public const int GL_TRUE = ((int)1);
+ public const int GL_ACCUM_CLEAR_VALUE = ((int)0x0B80);
+ public const int GL_HISTOGRAM_SINK = ((int)0x802D);
+ public const int GL_PIXEL_MIN_FILTER_EXT = ((int)0x8332);
+ public const int GL_MVP_MATRIX_EXT = ((int)0x87E3);
+ public const int GL_NO_ERROR = ((int)0);
+ public const int GL_PACK_SKIP_IMAGES = ((int)0x806B);
+ public const int GL_CURRENT_QUERY_ARB = ((int)0x8865);
+ public const int GL_BIAS_BY_NEGATIVE_ONE_HALF_NV = ((int)0x8541);
+ public const int GL_IUI_N3F_V2F_EXT = ((int)0x81AF);
+ public const int GL_TEXTURE_COORD_ARRAY_SIZE = ((int)0x8088);
+ public const int GL_POST_COLOR_MATRIX_COLOR_TABLE = ((int)0x80D2);
+ public const int GL_COLOR_ATTACHMENT12_EXT = ((int)0x8CEC);
+ public const int GL_FOG_COORD_ARRAY_BUFFER_BINDING = ((int)GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING);
+ public const int GL_DOUBLEBUFFER = ((int)0x0C32);
+ public const int GL_SPRITE_TRANSLATION_SGIX = ((int)0x814B);
+ public const int GL_FOG_DISTANCE_MODE_NV = ((int)0x855A);
+ public const int GL_INDEX_MATERIAL_EXT = ((int)0x81B8);
+ public const int GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV = ((int)0x86D9);
+ public const int GL_INT_VEC2_ARB = ((int)0x8B53);
+ public const int GL_MODELVIEW5_ARB = ((int)0x8725);
+ public const int GL_INVERSE_NV = ((int)0x862B);
+ public const int GL_CLIP_PLANE0 = ((int)0x3000);
+ public const int GL_LUMINANCE_ALPHA_INTEGER_EXT = ((int)0x8D9D);
+ public const int GL_TEXTURE_STENCIL_SIZE_EXT = ((int)0x88F1);
+ public const int GL_POINT_DISTANCE_ATTENUATION_ARB = ((int)0x8129);
+ public const int GL_ADD_SIGNED_ARB = ((int)0x8574);
+ public const int GL_ALPHA_INTEGER_EXT = ((int)0x8D97);
+ public const int GL_2D = ((int)0x0600);
+ public const int GL_3D = ((int)0x0601);
+ public const int GL_DRAW_BUFFER8_ATI = ((int)0x882D);
+ public const int GL_PIXEL_TEX_GEN_Q_ROUND_SGIX = ((int)0x8185);
+ public const int GL_EXPAND_NORMAL_NV = ((int)0x8538);
+ public const int GL_PIXEL_MAP_I_TO_A = ((int)0x0C75);
+ public const int GL_SIGNED_INTENSITY_NV = ((int)0x8707);
+ public const int GL_FLOAT_MAT2x4 = ((int)0x8B66);
+ public const int GL_STENCIL_TAG_BITS_EXT = ((int)0x88F2);
+ public const int GL_TEXTURE_MIN_FILTER = ((int)0x2801);
+ public const int GL_TEXTURE_GREEN_TYPE_ARB = ((int)0x8C11);
+ public const int GL_ARRAY_BUFFER = ((int)0x8892);
+ public const int GL_C3F_V3F = ((int)0x2A24);
+ public const int GL_VARIABLE_G_NV = ((int)0x8529);
+ public const int GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB = ((int)0x8625);
+ public const int GL_PROGRAM_TEMPORARIES_ARB = ((int)0x88A4);
+ public const int GL_422_REV_AVERAGE_EXT = ((int)0x80CF);
+ public const int GL_MAX_PROGRAM_OUTPUT_VERTICES_NV = ((int)0x8C27);
+ public const int GL_COLOR_TABLE_RED_SIZE_SGI = ((int)0x80DA);
+ public const int GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS = ((int)0x8B4D);
+ public const int GL_EVAL_TRIANGULAR_2D_NV = ((int)0x86C1);
+ public const int GL_STRICT_LIGHTING_HINT_PGI = ((int)0x1A217);
+ public const int GL_INTENSITY12_EXT = ((int)0x804C);
+ public const int GL_CON_20_ATI = ((int)0x8955);
+ public const int GL_MAX_ASYNC_DRAW_PIXELS_SGIX = ((int)0x8360);
+ public const int GL_BUMP_ROT_MATRIX_ATI = ((int)0x8775);
+ public const int GL_POST_COLOR_MATRIX_ALPHA_BIAS = ((int)0x80BB);
+ public const int GL_2PASS_1_EXT = ((int)0x80A3);
+ public const int GL_DEPTH_WRITEMASK = ((int)0x0B72);
+ public const int GL_COEFF = ((int)0x0A00);
+ public const int GL_TEXTURE24 = ((int)0x84D8);
+ public const int GL_RED = ((int)0x1903);
+ public const int GL_MAX_PALETTE_MATRICES_ARB = ((int)0x8842);
+ public const int GL_TEXTURE_RED_SIZE_EXT = ((int)0x805C);
+ public const int GL_TEXTURE20 = ((int)0x84D4);
+ public const int GL_UNSIGNED_INT_8_8_8_8 = ((int)0x8035);
+ public const int GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI = ((int)0x80B7);
+ public const int GL_Z_EXT = ((int)0x87D7);
+ public const int GL_BLEND_EQUATION_ALPHA = ((int)0x883D);
+ public const int GL_SECONDARY_COLOR_ARRAY_EXT = ((int)0x845E);
+ public const int GL_TEXTURE28 = ((int)0x84DC);
+ public const int GL_DECR_WRAP = ((int)0x8508);
+ public const int GL_ZOOM_X = ((int)0x0D16);
+ public const int GL_FLOAT_RG_NV = ((int)0x8881);
+ public const int GL_STENCIL_CLEAR_VALUE = ((int)0x0B91);
+ public const int GL_DRAW_BUFFER14 = ((int)0x8833);
+ public const int GL_BINORMAL_ARRAY_POINTER_EXT = ((int)0x8443);
+ public const int GL_TEXTURE_MAX_ANISOTROPY_EXT = ((int)0x84FE);
+ public const int GL_IMAGE_CUBIC_WEIGHT_HP = ((int)0x815E);
+ public const int GL_NATIVE_GRAPHICS_END_HINT_PGI = ((int)0x1A204);
+ public const int GL_OPERAND2_RGB_ARB = ((int)0x8592);
+ public const int GL_COMBINE_RGB_ARB = ((int)0x8571);
+ public const int GL_CURRENT_COLOR = ((int)0x0B00);
+ public const int GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT = ((int)0x8DD7);
+ public const int GL_SRC_COLOR = ((int)0x0300);
+ public const int GL_LIGHT0 = ((int)0x4000);
+ public const int GL_TEXTURE31 = ((int)0x84DF);
+ public const int GL_STENCIL_ATTACHMENT_EXT = ((int)0x8D20);
+ public const int GL_LUMINANCE12 = ((int)0x8041);
+ public const int GL_MAX_VERTEX_SHADER_VARIANTS_EXT = ((int)0x87C6);
+ public const int GL_MAP2_VERTEX_4 = ((int)0x0DB8);
+ public const int GL_SIGNED_HILO8_NV = ((int)0x885F);
+ public const int GL_3D_COLOR_TEXTURE = ((int)0x0603);
+ public const int GL_NORMAL_ARRAY_STRIDE = ((int)0x807F);
+ public const int GL_OBJECT_ATTACHED_OBJECTS_ARB = ((int)0x8B85);
+ public const int GL_MAP2_VERTEX_3 = ((int)0x0DB7);
+ public const int GL_PIXEL_MAP_B_TO_B_SIZE = ((int)0x0CB8);
+ public const int GL_MATRIX21_ARB = ((int)0x88D5);
+ public const int GL_PROXY_TEXTURE_3D = ((int)0x8070);
+ public const int GL_TEXTURE_GREEN_SIZE_EXT = ((int)0x805D);
+ public const int GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB = ((int)0x88B4);
+ public const int GL_SPRITE_SGIX = ((int)0x8148);
+ public const int GL_VERTEX_ATTRIB_ARRAY2_NV = ((int)0x8652);
+ public const int GL_PIXEL_MAP_I_TO_B = ((int)0x0C74);
+ public const int GL_INT_SAMPLER_BUFFER_EXT = ((int)0x8DD0);
+ public const int GL_PACK_IMAGE_DEPTH_SGIS = ((int)0x8131);
+ public const int GL_ACTIVE_TEXTURE_ARB = ((int)0x84E0);
+ public const int GL_VERTEX_ARRAY_BINDING_APPLE = ((int)0x85B5);
+ public const int GL_NUM_COMPRESSED_TEXTURE_FORMATS = ((int)0x86A2);
+ public const int GL_MAX_CLIENT_ATTRIB_STACK_DEPTH = ((int)0x0D3B);
+ public const int GL_ACTIVE_VARYING_MAX_LENGTH_NV = ((int)0x8C82);
+ public const int GL_PROXY_TEXTURE_2D_ARRAY_EXT = ((int)0x8C1B);
+ public const int GL_MATRIX8_ARB = ((int)0x88C8);
+ public const int GL_FRAMEBUFFER_SRGB_EXT = ((int)0x8DB9);
+ public const int GL_MATRIX18_ARB = ((int)0x88D2);
+ public const int GL_FRAGMENT_LIGHT4_SGIX = ((int)0x8410);
+ public const int GL_ARRAY_BUFFER_BINDING_ARB = ((int)0x8894);
+ public const int GL_ELEMENT_ARRAY_ATI = ((int)0x8768);
+ public const int GL_FOG_SPECULAR_TEXTURE_WIN = ((int)0x80EC);
+ public const int GL_REDUCE_EXT = ((int)0x8016);
+ public const int GL_SIGNED_RGBA_NV = ((int)0x86FB);
+ public const int GL_MAX_VERTEX_UNIFORM_COMPONENTS = ((int)0x8B4A);
+ public const int GL_LO_SCALE_NV = ((int)0x870F);
+ public const int GL_FRAMEBUFFER_BINDING_EXT = ((int)0x8CA6);
+ public const int GL_DEFORMATIONS_MASK_SGIX = ((int)0x8196);
+ public const int GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB = ((int)0x8517);
+ public const int GL_HISTOGRAM_RED_SIZE_EXT = ((int)0x8028);
+ public const int GL_MAX_CONVOLUTION_WIDTH = ((int)0x801A);
+ public const int GL_TEXTURE_BASE_LEVEL_SGIS = ((int)0x813C);
+ public const int GL_POLYGON_OFFSET_FILL = ((int)0x8037);
+ public const int GL_LUMINANCE_ALPHA16I_EXT = ((int)0x8D8D);
+ public const int GL_FRONT = ((int)0x0404);
+ public const int GL_LINEAR_SHARPEN_ALPHA_SGIS = ((int)0x80AE);
+ public const int GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT = ((int)0x8DA7);
+ public const int GL_MATRIX11_ARB = ((int)0x88CB);
+ public const int GL_MAX_MAP_TESSELLATION_NV = ((int)0x86D6);
+ public const int GL_DRAW_BUFFER11_ATI = ((int)0x8830);
+ public const int GL_CCW = ((int)0x0901);
+ public const int GL_2PASS_0_EXT = ((int)0x80A2);
+ public const int GL_INVERSE_TRANSPOSE_NV = ((int)0x862D);
+ public const int GL_BACK_NORMALS_HINT_PGI = ((int)0x1A223);
+ public const int GL_FLOAT_RGBA_MODE_NV = ((int)0x888E);
+ public const int GL_COLOR_ARRAY_POINTER_EXT = ((int)0x8090);
+ public const int GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV = ((int)0x8DAD);
+ public const int GL_T2F_IUI_V2F_EXT = ((int)0x81B1);
+ public const int GL_MAP1_VERTEX_ATTRIB13_4_NV = ((int)0x866D);
+ public const int GL_MATRIX13_ARB = ((int)0x88CD);
+ public const int GL_VERTEX_ARRAY_BUFFER_BINDING = ((int)0x8896);
+ public const int GL_SAMPLE_ALPHA_TO_MASK_SGIS = ((int)0x809E);
+ public const int GL_COMBINE_RGB_EXT = ((int)0x8571);
+ public const int GL_HILO8_NV = ((int)0x885E);
+ public const int GL_PIXEL_TILE_GRID_HEIGHT_SGIX = ((int)0x8143);
+ public const int GL_PIXEL_TILE_CACHE_SIZE_SGIX = ((int)0x8145);
+ public const int GL_SCALE_BY_TWO_NV = ((int)0x853E);
+ public const int GL_PIXEL_TRANSFORM_2D_EXT = ((int)0x8330);
+ public const int GL_COMPILE_STATUS = ((int)0x8B81);
+ public const int GL_CONSTANT_ARB = ((int)0x8576);
+ public const int GL_LIST_BASE = ((int)0x0B32);
+ public const int GL_EMBOSS_CONSTANT_NV = ((int)0x855E);
+ public const int GL_SECONDARY_COLOR_ARRAY_POINTER_EXT = ((int)0x845D);
+ public const int GL_DYNAMIC_DRAW_ARB = ((int)0x88E8);
+ public const int GL_CURRENT_BIT = ((int)0x00000001);
+ public const int GL_TEXTURE_MIN_LOD = ((int)0x813A);
+ public const int GL_MAP1_VERTEX_ATTRIB6_4_NV = ((int)0x8666);
+ public const int GL_VERSION = ((int)0x1F02);
+ public const int GL_FILL = ((int)0x1B02);
+ public const int GL_REG_17_ATI = ((int)0x8932);
+ public const int GL_MAP2_COLOR_4 = ((int)0x0DB0);
+ public const int GL_SWIZZLE_STQ_ATI = ((int)0x8977);
+ public const int GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT = ((int)0x8CDB);
+ public const int GL_DRAW_BUFFER13_ATI = ((int)0x8832);
+ public const int GL_TEXTURE_LUMINANCE_TYPE_ARB = ((int)0x8C14);
+ public const int GL_COMPRESSED_SRGB_ALPHA_EXT = ((int)0x8C49);
+ public const int GL_UNSIGNED_INT_SAMPLER_3D_EXT = ((int)0x8DD3);
+ public const int GL_BUFFER_FLUSHING_UNMAP_APPLE = ((int)0x8A13);
+ public const int GL_VERTEX_ATTRIB_ARRAY3_NV = ((int)0x8653);
+ public const int GL_STENCIL_PASS_DEPTH_FAIL = ((int)0x0B95);
+ public const int GL_422_EXT = ((int)0x80CC);
+ public const int GL_FOG_COORD_ARRAY = ((int)GL_FOG_COORDINATE_ARRAY);
+ public const int GL_AUTO_NORMAL = ((int)0x0D80);
+ public const int GL_TEXTURE_ENV_BIAS_SGIX = ((int)0x80BE);
+ public const int GL_SAMPLER_1D_SHADOW = ((int)0x8B61);
+ public const int GL_PIXEL_MAP_R_TO_R_SIZE = ((int)0x0CB6);
+ public const int GL_DEPTH_BOUNDS_EXT = ((int)0x8891);
+ public const int GL_LUMINANCE_ALPHA_FLOAT32_ATI = ((int)0x8819);
+ public const int GL_SIGNED_LUMINANCE_NV = ((int)0x8701);
+ public const int GL_COLOR_LOGIC_OP = ((int)0x0BF2);
+ public const int GL_SAMPLE_PATTERN_SGIS = ((int)0x80AC);
+ public const int GL_PIXEL_COUNTER_BITS_NV = ((int)0x8864);
+ public const int GL_READ_PIXEL_DATA_RANGE_POINTER_NV = ((int)0x887D);
+ public const int GL_HISTOGRAM_BLUE_SIZE = ((int)0x802A);
+ public const int GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB = ((int)0x8B4C);
+ public const int GL_STENCIL_INDEX8_EXT = ((int)0x8D48);
+ public const int GL_BLEND_SRC = ((int)0x0BE1);
+ public const int GL_SECONDARY_COLOR_ARRAY_SIZE_EXT = ((int)0x845A);
+ public const int GL_MODELVIEW0_MATRIX_EXT = ((int)GL_MODELVIEW_MATRIX);
+ public const int GL_MODELVIEW4_ARB = ((int)0x8724);
+ public const int GL_DECR_WRAP_EXT = ((int)0x8508);
+ public const int GL_FRAMEBUFFER_EXT = ((int)0x8D40);
+ public const int GL_NUM_FRAGMENT_REGISTERS_ATI = ((int)0x896E);
+ public const int GL_POINT_FADE_THRESHOLD_SIZE = ((int)0x8128);
+ public const int GL_VARIABLE_A_NV = ((int)0x8523);
+ public const int GL_DECR = ((int)0x1E03);
+ public const int GL_CURRENT_RASTER_COLOR = ((int)0x0B04);
+ public const int GL_TEXTURE_RECTANGLE_NV = ((int)0x84F5);
+ public const int GL_MIRRORED_REPEAT = ((int)0x8370);
+ public const int GL_OUTPUT_TEXTURE_COORD20_EXT = ((int)0x87B1);
+ public const int GL_SWIZZLE_STR_DR_ATI = ((int)0x8978);
+ public const int GL_TEXTURE_MATRIX = ((int)0x0BA8);
+ public const int GL_COMPRESSED_SLUMINANCE_ALPHA = ((int)0x8C4B);
+ public const int GL_ATTRIB_ARRAY_STRIDE_NV = ((int)0x8624);
+ public const int GL_TEXTURE_MAX_CLAMP_R_SGIX = ((int)0x836B);
+ public const int GL_RIGHT = ((int)0x0407);
+ public const int GL_STENCIL_BITS = ((int)0x0D57);
+ public const int GL_HILO16_NV = ((int)0x86F8);
+ public const int GL_POINT_BIT = ((int)0x00000002);
+ public const int GL_INTERLACE_READ_INGR = ((int)0x8568);
+ public const int GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB = ((int)0x880B);
+ public const int GL_COLOR_TABLE_BLUE_SIZE_SGI = ((int)0x80DC);
+ public const int GL_LUMINANCE8I_EXT = ((int)0x8D92);
+ public const int GL_FRAGMENT_DEPTH = ((int)0x8452);
+ public const int GL_PROXY_TEXTURE_2D = ((int)0x8064);
+ public const int GL_PACK_SWAP_BYTES = ((int)0x0D00);
+ public const int GL_ACCUM_RED_BITS = ((int)0x0D58);
+ public const int GL_RGBA4_S3TC = ((int)0x83A3);
+ public const int GL_CON_24_ATI = ((int)0x8959);
+ public const int GL_POST_COLOR_MATRIX_BLUE_BIAS = ((int)0x80BA);
+ public const int GL_OUTPUT_TEXTURE_COORD10_EXT = ((int)0x87A7);
+ public const int GL_SIGNED_INTENSITY8_NV = ((int)0x8708);
+ public const int GL_EDGE_FLAG_ARRAY_POINTER = ((int)0x8093);
+ public const int GL_FOG_COORDINATE_ARRAY_TYPE_EXT = ((int)0x8454);
+ public const int GL_TEXTURE_COMPARE_FAIL_VALUE_ARB = ((int)0x80BF);
+ public const int GL_DEPTH_COMPONENT = ((int)0x1902);
+ public const int GL_READ_ONLY = ((int)0x88B8);
+ public const int GL_MAX_VERTEX_HINT_PGI = ((int)0x1A22D);
+ public const int GL_YCRCB_SGIX = ((int)0x8318);
+ public const int GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL = ((int)0x83F8);
+ public const int GL_OUTPUT_TEXTURE_COORD28_EXT = ((int)0x87B9);
+ public const int GL_PROXY_TEXTURE_CUBE_MAP_ARB = ((int)0x851B);
+ public const int GL_SRGB_EXT = ((int)0x8C40);
+ public const int GL_TEXTURE17_ARB = ((int)0x84D1);
+ public const int GL_REG_29_ATI = ((int)0x893E);
+ public const int GL_RGB16F_ARB = ((int)0x881B);
+ public const int GL_SIGNED_LUMINANCE_ALPHA_NV = ((int)0x8703);
+ public const int GL_POINT_TOKEN = ((int)0x0701);
+ public const int GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = ((int)0x88B3);
+ public const int GL_MAX_TEXTURE_COORDS = ((int)0x8871);
+ public const int GL_FLOAT = ((int)0x1406);
+ public const int GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV = ((int)0x8C28);
+ public const int GL_PIXEL_PACK_BUFFER_EXT = ((int)0x88EB);
+ public const int GL_GEOMETRY_SHADER_EXT = ((int)0x8DD9);
+ public const int GL_MAP1_VERTEX_ATTRIB8_4_NV = ((int)0x8668);
+ public const int GL_EVAL_FRACTIONAL_TESSELLATION_NV = ((int)0x86C5);
+ public const int GL_OP_CROSS_PRODUCT_EXT = ((int)0x8797);
+ public const int GL_MAX_LIGHTS = ((int)0x0D31);
+ public const int GL_SAMPLE_BUFFERS_EXT = ((int)0x80A8);
+ public const int GL_REG_11_ATI = ((int)0x892C);
+ public const int GL_DOT_PRODUCT_TEXTURE_1D_NV = ((int)0x885C);
+ public const int GL_OUTPUT_TEXTURE_COORD18_EXT = ((int)0x87AF);
+ public const int GL_MAX_RENDERBUFFER_SIZE_EXT = ((int)0x84E8);
+ public const int GL_COLOR_MATRIX = ((int)0x80B1);
+ public const int GL_FLOAT_MAT4x3 = ((int)0x8B6A);
+ public const int GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV = ((int)0x8857);
+ public const int GL_DIFFUSE = ((int)0x1201);
+ public const int GL_POINT_SIZE = ((int)0x0B11);
+ public const int GL_TEXTURE16_ARB = ((int)0x84D0);
+ public const int GL_OFFSET_TEXTURE_2D_NV = ((int)0x86E8);
+ public const int GL_PROGRAM_ERROR_STRING_NV = ((int)0x8874);
+ public const int GL_COLOR_ATTACHMENT10_EXT = ((int)0x8CEA);
+ public const int GL_TEXTURE_COORD_ARRAY_STRIDE = ((int)0x808A);
+ public const int GL_EVAL_VERTEX_ATTRIB15_NV = ((int)0x86D5);
+ public const int GL_FLAT = ((int)0x1D00);
+ public const int GL_CLIENT_ACTIVE_TEXTURE_ARB = ((int)0x84E1);
+ public const int GL_BUFFER_MAP_POINTER = ((int)0x88BD);
+ public const int GL_OP_SET_LT_EXT = ((int)0x878D);
+ public const int GL_SAMPLES_ARB = ((int)0x80A9);
+ public const int GL_AVERAGE_EXT = ((int)0x8335);
+ public const int GL_SMOOTH_POINT_SIZE_RANGE = ((int)0x0B12);
+ public const int GL_CLAMP_VERTEX_COLOR_ARB = ((int)0x891A);
+ public const int GL_HALF_BIAS_NEGATE_NV = ((int)0x853B);
+ public const int GL_CON_23_ATI = ((int)0x8958);
+ public const int GL_SAMPLER_CUBE_ARB = ((int)0x8B60);
+ public const int GL_TEXTURE_NORMAL_EXT = ((int)0x85AF);
+ public const int GL_FRAGMENT_LIGHTING_SGIX = ((int)0x8400);
+ public const int GL_REFLECTION_MAP_NV = ((int)0x8512);
+ public const int GL_TEXTURE15_ARB = ((int)0x84CF);
+ public const int GL_MAP1_VERTEX_ATTRIB0_4_NV = ((int)0x8660);
+ public const int GL_TEXTURE_GEQUAL_R_SGIX = ((int)0x819D);
+ public const int GL_NEGATIVE_ONE_EXT = ((int)0x87DF);
+ public const int GL_DST_COLOR = ((int)0x0306);
+ public const int GL_ALPHA16I_EXT = ((int)0x8D8A);
+ public const int GL_TEXTURE2_ARB = ((int)0x84C2);
+ public const int GL_BACK_PRIMARY_COLOR_NV = ((int)0x8C77);
+ public const int GL_MATRIX15_ARB = ((int)0x88CF);
+ public const int GL_MODULATE_ADD_ATI = ((int)0x8744);
+ public const int GL_PROGRAM_RESIDENT_NV = ((int)0x8647);
+ public const int GL_VERTEX_SHADER_ARB = ((int)0x8B31);
+ public const int GL_SOURCE1_ALPHA_ARB = ((int)0x8589);
+ public const int GL_DEPTH_CLEAR_VALUE = ((int)0x0B73);
+ public const int GL_COMBINER_CD_DOT_PRODUCT_NV = ((int)0x8546);
+ public const int GL_COMPRESSED_SRGB_EXT = ((int)0x8C48);
+ public const int GL_OUTPUT_TEXTURE_COORD2_EXT = ((int)0x879F);
+ public const int GL_FENCE_CONDITION_NV = ((int)0x84F4);
+ public const int GL_PROGRAM_ALU_INSTRUCTIONS_ARB = ((int)0x8805);
+ public const int GL_SPHERE_MAP = ((int)0x2402);
+ public const int GL_PHONG_HINT_WIN = ((int)0x80EB);
+ public const int GL_TEXTURE_LUMINANCE_SIZE = ((int)0x8060);
+ public const int GL_TEXTURE_MAX_LOD = ((int)0x813B);
+ public const int GL_INDEX_ARRAY = ((int)0x8077);
+ public const int GL_EYE_LINE_SGIS = ((int)0x81F6);
+ public const int GL_MATRIX22_ARB = ((int)0x88D6);
+ public const int GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT = ((int)0x8C4E);
+ public const int GL_COLOR_SUM_ARB = ((int)0x8458);
+ public const int GL_NUM_FRAGMENT_CONSTANTS_ATI = ((int)0x896F);
+ public const int GL_COLOR_ATTACHMENT13_EXT = ((int)0x8CED);
+ public const int GL_DEPTH_BUFFER_FLOAT_MODE_NV = ((int)0x8DAF);
+ public const int GL_REG_20_ATI = ((int)0x8935);
+ public const int GL_COLOR_ATTACHMENT15_EXT = ((int)0x8CEF);
+ public const int GL_ARRAY_BUFFER_ARB = ((int)0x8892);
+ public const int GL_VERTEX_SOURCE_ATI = ((int)0x8774);
+ public const int GL_MAX_DRAW_BUFFERS = ((int)0x8824);
+ public const int GL_SOURCE2_RGB = ((int)0x8582);
+ public const int GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT = ((int)0x8C4D);
+ public const int GL_FLOAT_RGB16_NV = ((int)0x8888);
+ public const int GL_CURRENT_VERTEX_ATTRIB_ARB = ((int)0x8626);
+ public const int GL_DEPTH_STENCIL_TO_RGBA_NV = ((int)0x886E);
+ public const int GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB = ((int)0x86A0);
+ public const int GL_INDEX_ARRAY_COUNT_EXT = ((int)0x8087);
+ public const int GL_SPOT_CUTOFF = ((int)0x1206);
+ public const int GL_VERTEX23_BIT_PGI = ((int)0x00000004);
+ public const int GL_COORD_REPLACE_ARB = ((int)0x8862);
+ public const int GL_RENDERBUFFER_ALPHA_SIZE_EXT = ((int)0x8D53);
+ public const int GL_SWIZZLE_STR_ATI = ((int)0x8976);
+ public const int GL_CONVOLUTION_1D_EXT = ((int)0x8010);
+ public const int GL_LINE_WIDTH_RANGE = ((int)0x0B22);
+ public const int GL_SLUMINANCE_EXT = ((int)0x8C46);
+ public const int GL_FOG_END = ((int)0x0B64);
+ public const int GL_RGB4 = ((int)0x804F);
+ public const int GL_VERTEX_ID_NV = ((int)0x8C7B);
+ public const int GL_NEAREST_MIPMAP_LINEAR = ((int)0x2702);
+ public const int GL_COMPRESSED_INTENSITY = ((int)0x84EC);
+ public const int GL_REG_30_ATI = ((int)0x893F);
+ public const int GL_VERTEX_SHADER_INSTRUCTIONS_EXT = ((int)0x87CF);
+ public const int GL_CONVOLUTION_2D_EXT = ((int)0x8011);
+ public const int GL_REPLICATE_BORDER_HP = ((int)0x8153);
+ public const int GL_OP_RECIP_SQRT_EXT = ((int)0x8795);
+ public const int GL_FRAGMENT_LIGHT0_SGIX = ((int)0x840C);
+ public const int GL_VERTEX_SHADER_EXT = ((int)0x8780);
+ public const int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT = ((int)0x8CD0);
+ public const int GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV = ((int)0x8DA1);
+ public const int GL_DEPTH_COMPONENT24_SGIX = ((int)0x81A6);
+ public const int GL_HALF_BIAS_NORMAL_NV = ((int)0x853A);
+ public const int GL_SLUMINANCE_ALPHA_EXT = ((int)0x8C44);
+ public const int GL_SRC_ALPHA_SATURATE = ((int)0x0308);
+ public const int GL_DETAIL_TEXTURE_MODE_SGIS = ((int)0x809B);
+ public const int GL_POST_CONVOLUTION_ALPHA_BIAS = ((int)0x8023);
+ public const int GL_RED_BIT_ATI = ((int)0x00000001);
+ public const int GL_FOG_FUNC_POINTS_SGIS = ((int)0x812B);
+ public const int GL_NEVER = ((int)0x0200);
+ public const int GL_TEXTURE_BLUE_TYPE_ARB = ((int)0x8C12);
+ public const int GL_MOV_ATI = ((int)0x8961);
+ public const int GL_MATRIX_PALETTE_ARB = ((int)0x8840);
+ public const int GL_MATRIX6_ARB = ((int)0x88C6);
+ public const int GL_SAMPLE_ALPHA_TO_ONE_SGIS = ((int)0x809F);
+ public const int GL_SOURCE2_ALPHA_EXT = ((int)0x858A);
+ public const int GL_ALPHA16_EXT = ((int)0x803E);
+ public const int GL_OP_EXP_BASE_2_EXT = ((int)0x8791);
+ public const int GL_REG_21_ATI = ((int)0x8936);
+ public const int GL_STENCIL_INDEX1_EXT = ((int)0x8D46);
+ public const int GL_TEXTURE11_ARB = ((int)0x84CB);
+ public const int GL_COMBINER_AB_DOT_PRODUCT_NV = ((int)0x8545);
+ public const int GL_HI_SCALE_NV = ((int)0x870E);
+ public const int GL_BUMP_ENVMAP_ATI = ((int)0x877B);
+ public const int GL_RGB8I_EXT = ((int)0x8D8F);
+ public const int GL_LINK_STATUS = ((int)0x8B82);
+ public const int GL_SAMPLE_COVERAGE_ARB = ((int)0x80A0);
+ public const int GL_CONVOLUTION_FORMAT = ((int)0x8017);
+ public const int GL_COLOR_ARRAY = ((int)0x8076);
+ public const int GL_THREE = ((int)3);
+ public const int GL_HISTOGRAM_ALPHA_SIZE_EXT = ((int)0x802B);
+ public const int GL_PACK_CMYK_HINT_EXT = ((int)0x800E);
+ public const int GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT = ((int)0x8C71);
+ public const int GL_OUTPUT_TEXTURE_COORD22_EXT = ((int)0x87B3);
+ public const int GL_UNSIGNED_INT_SAMPLER_2D_EXT = ((int)0x8DD2);
+ public const int GL_POST_CONVOLUTION_RED_SCALE = ((int)0x801C);
+ public const int GL_UNSIGNED_SHORT_4_4_4_4_EXT = ((int)0x8033);
+ public const int GL_LUMINANCE8_EXT = ((int)0x8040);
+ public const int GL_COLOR_WRITEMASK = ((int)0x0C23);
+ public const int GL_REG_13_ATI = ((int)0x892E);
+ public const int GL_INTENSITY32I_EXT = ((int)0x8D85);
+ public const int GL_REG_31_ATI = ((int)0x8940);
+ public const int GL_TRANSPOSE_TEXTURE_MATRIX = ((int)0x84E5);
+ public const int GL_EXPAND_NEGATE_NV = ((int)0x8539);
+ public const int GL_MAX_VERTEX_SHADER_INVARIANTS_EXT = ((int)0x87C7);
+ public const int GL_TEXTURE_BORDER_COLOR = ((int)0x1004);
+ public const int GL_WEIGHT_ARRAY_BUFFER_BINDING = ((int)0x889E);
+ public const int GL_COLOR_ARRAY_COUNT_EXT = ((int)0x8084);
+ public const int GL_COMPRESSED_SLUMINANCE_ALPHA_EXT = ((int)0x8C4B);
+ public const int GL_SAMPLE_MASK_SGIS = ((int)0x80A0);
+ public const int GL_DRAW_PIXEL_TOKEN = ((int)0x0705);
+ public const int GL_MAP2_VERTEX_ATTRIB5_4_NV = ((int)0x8675);
+ public const int GL_AMBIENT_AND_DIFFUSE = ((int)0x1602);
+ public const int GL_DOT2_ADD_ATI = ((int)0x896C);
+ public const int GL_ACTIVE_UNIFORM_MAX_LENGTH = ((int)0x8B87);
+ public const int GL_TRANSPOSE_PROJECTION_MATRIX_ARB = ((int)0x84E4);
+ public const int GL_SAMPLES_EXT = ((int)0x80A9);
+ public const int GL_LOCAL_CONSTANT_EXT = ((int)0x87C3);
+ public const int GL_COMPRESSED_SIGNED_RED_RGTC1_EXT = ((int)0x8DBC);
+ public const int GL_TEXTURE_2D_ARRAY_EXT = ((int)0x8C1A);
+ public const int GL_MAP1_NORMAL = ((int)0x0D92);
+ public const int GL_SAMPLER_1D_ARRAY_EXT = ((int)0x8DC0);
+ public const int GL_FLOAT_RGBA_NV = ((int)0x8883);
+ public const int GL_INTENSITY8UI_EXT = ((int)0x8D7F);
+ public const int GL_FLOAT_CLEAR_COLOR_VALUE_NV = ((int)0x888D);
+ public const int GL_TRANSPOSE_COLOR_MATRIX_ARB = ((int)0x84E6);
+ public const int GL_VERTEX_ATTRIB_ARRAY6_NV = ((int)0x8656);
+ public const int GL_SAMPLER_CUBE = ((int)0x8B60);
+ public const int GL_COLOR_BUFFER_BIT = ((int)0x00004000);
+ public const int GL_MODELVIEW_STACK_DEPTH = ((int)0x0BA3);
+ public const int GL_POINT_FADE_THRESHOLD_SIZE_ARB = ((int)0x8128);
+ public const int GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = ((int)0x8518);
+ public const int GL_ATTRIB_ARRAY_SIZE_NV = ((int)0x8623);
+ public const int GL_UNSIGNED_INT_SAMPLER_CUBE_EXT = ((int)0x8DD4);
+ public const int GL_ALPHA32F_ARB = ((int)0x8816);
+ public const int GL_MAP_ATTRIB_V_ORDER_NV = ((int)0x86C4);
+ public const int GL_VARIANT_DATATYPE_EXT = ((int)0x87E5);
+ public const int GL_INT_SAMPLER_2D_ARRAY_EXT = ((int)0x8DCF);
+ public const int GL_TEXTURE_DEPTH_SIZE_ARB = ((int)0x884A);
+ public const int GL_INTENSITY_FLOAT16_ATI = ((int)0x881D);
+ }
+}
diff --git a/Source/Compatibility/Tao/OpenGl/Gl.cs b/Source/Compatibility/Tao/OpenGl/Gl.cs
new file mode 100644
index 00000000..43055f12
--- /dev/null
+++ b/Source/Compatibility/Tao/OpenGl/Gl.cs
@@ -0,0 +1,65842 @@
+#region License
+//
+// The Open Toolkit Library License
+//
+// Copyright (c) 2006 - 2009 the Open Toolkit library.
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights to
+// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+// the Software, and to permit persons to whom the Software is furnished to do
+// so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in all
+// copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+// OTHER DEALINGS IN THE SOFTWARE.
+//
+#endregion
+
+namespace Tao.OpenGl
+{
+ using System;
+ using System.Runtime.InteropServices;
+
+#pragma warning disable 3019
+#pragma warning disable 1591
+
+ public static partial class Gl
+ {
+ [System.CLSCompliant(false)]
+ public static
+ void glNewList(UInt32 list, int mode)
+ {
+ Delegates.glNewList((UInt32)list, (int)mode);
+ }
+
+ public static
+ void glNewList(Int32 list, int mode)
+ {
+ Delegates.glNewList((UInt32)list, (int)mode);
+ }
+
+ public static
+ void glEndList()
+ {
+ Delegates.glEndList();
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glCallList(UInt32 list)
+ {
+ Delegates.glCallList((UInt32)list);
+ }
+
+ public static
+ void glCallList(Int32 list)
+ {
+ Delegates.glCallList((UInt32)list);
+ }
+
+ public static
+ void glCallLists(Int32 n, int type, IntPtr lists)
+ {
+ unsafe
+ {
+ Delegates.glCallLists((Int32)n, (int)type, (IntPtr)lists);
+ }
+ }
+
+ public static
+ void glCallLists(Int32 n, int type, [In, Out] object lists)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle lists_ptr = System.Runtime.InteropServices.GCHandle.Alloc(lists, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glCallLists((Int32)n, (int)type, (IntPtr)lists_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ lists_ptr.Free();
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteLists(UInt32 list, Int32 range)
+ {
+ Delegates.glDeleteLists((UInt32)list, (Int32)range);
+ }
+
+ public static
+ void glDeleteLists(Int32 list, Int32 range)
+ {
+ Delegates.glDeleteLists((UInt32)list, (Int32)range);
+ }
+
+ public static
+ Int32 glGenLists(Int32 range)
+ {
+ return Delegates.glGenLists((Int32)range);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glListBase(UInt32 @base)
+ {
+ Delegates.glListBase((UInt32)@base);
+ }
+
+ public static
+ void glListBase(Int32 @base)
+ {
+ Delegates.glListBase((UInt32)@base);
+ }
+
+ public static
+ void glBegin(int mode)
+ {
+ Delegates.glBegin((int)mode);
+ }
+
+ public static
+ void glBitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, IntPtr bitmap)
+ {
+ unsafe
+ {
+ Delegates.glBitmap((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (Byte*)bitmap);
+ }
+ }
+
+ public static
+ void glBitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte[] bitmap)
+ {
+ unsafe
+ {
+ fixed (Byte* bitmap_ptr = bitmap)
+ {
+ Delegates.glBitmap((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (Byte*)bitmap_ptr);
+ }
+ }
+ }
+
+ public static
+ void glBitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, ref Byte bitmap)
+ {
+ unsafe
+ {
+ fixed (Byte* bitmap_ptr = &bitmap)
+ {
+ Delegates.glBitmap((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (Byte*)bitmap_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glColor3b(SByte red, SByte green, SByte blue)
+ {
+ Delegates.glColor3b((SByte)red, (SByte)green, (SByte)blue);
+ }
+
+ public static
+ void glColor3b(Byte red, Byte green, Byte blue)
+ {
+ Delegates.glColor3b((SByte)red, (SByte)green, (SByte)blue);
+ }
+
+ public static
+ void glColor3bv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glColor3bv((SByte*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glColor3bv(SByte[] v)
+ {
+ unsafe
+ {
+ fixed (SByte* v_ptr = v)
+ {
+ Delegates.glColor3bv((SByte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor3bv(Byte[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = v)
+ {
+ Delegates.glColor3bv((SByte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glColor3bv(ref SByte v)
+ {
+ unsafe
+ {
+ fixed (SByte* v_ptr = &v)
+ {
+ Delegates.glColor3bv((SByte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor3bv(ref Byte v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = &v)
+ {
+ Delegates.glColor3bv((SByte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor3d(Double red, Double green, Double blue)
+ {
+ Delegates.glColor3d((Double)red, (Double)green, (Double)blue);
+ }
+
+ public static
+ void glColor3dv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glColor3dv((Double*)v);
+ }
+ }
+
+ public static
+ void glColor3dv(Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glColor3dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor3dv(ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glColor3dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor3f(Single red, Single green, Single blue)
+ {
+ Delegates.glColor3f((Single)red, (Single)green, (Single)blue);
+ }
+
+ public static
+ void glColor3fv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glColor3fv((Single*)v);
+ }
+ }
+
+ public static
+ void glColor3fv(Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glColor3fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor3fv(ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glColor3fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor3i(Int32 red, Int32 green, Int32 blue)
+ {
+ Delegates.glColor3i((Int32)red, (Int32)green, (Int32)blue);
+ }
+
+ public static
+ void glColor3iv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glColor3iv((Int32*)v);
+ }
+ }
+
+ public static
+ void glColor3iv(Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glColor3iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor3iv(ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glColor3iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor3s(Int16 red, Int16 green, Int16 blue)
+ {
+ Delegates.glColor3s((Int16)red, (Int16)green, (Int16)blue);
+ }
+
+ public static
+ void glColor3sv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glColor3sv((Int16*)v);
+ }
+ }
+
+ public static
+ void glColor3sv(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glColor3sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor3sv(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glColor3sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor3ub(Byte red, Byte green, Byte blue)
+ {
+ Delegates.glColor3ub((Byte)red, (Byte)green, (Byte)blue);
+ }
+
+ public static
+ void glColor3ubv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glColor3ubv((Byte*)v);
+ }
+ }
+
+ public static
+ void glColor3ubv(Byte[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = v)
+ {
+ Delegates.glColor3ubv((Byte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor3ubv(ref Byte v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = &v)
+ {
+ Delegates.glColor3ubv((Byte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glColor3ui(UInt32 red, UInt32 green, UInt32 blue)
+ {
+ Delegates.glColor3ui((UInt32)red, (UInt32)green, (UInt32)blue);
+ }
+
+ public static
+ void glColor3ui(Int32 red, Int32 green, Int32 blue)
+ {
+ Delegates.glColor3ui((UInt32)red, (UInt32)green, (UInt32)blue);
+ }
+
+ public static
+ void glColor3uiv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glColor3uiv((UInt32*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glColor3uiv(UInt32[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* v_ptr = v)
+ {
+ Delegates.glColor3uiv((UInt32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor3uiv(Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glColor3uiv((UInt32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glColor3uiv(ref UInt32 v)
+ {
+ unsafe
+ {
+ fixed (UInt32* v_ptr = &v)
+ {
+ Delegates.glColor3uiv((UInt32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor3uiv(ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glColor3uiv((UInt32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glColor3us(UInt16 red, UInt16 green, UInt16 blue)
+ {
+ Delegates.glColor3us((UInt16)red, (UInt16)green, (UInt16)blue);
+ }
+
+ public static
+ void glColor3us(Int16 red, Int16 green, Int16 blue)
+ {
+ Delegates.glColor3us((UInt16)red, (UInt16)green, (UInt16)blue);
+ }
+
+ public static
+ void glColor3usv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glColor3usv((UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glColor3usv(UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glColor3usv((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor3usv(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glColor3usv((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glColor3usv(ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glColor3usv((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor3usv(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glColor3usv((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glColor4b(SByte red, SByte green, SByte blue, SByte alpha)
+ {
+ Delegates.glColor4b((SByte)red, (SByte)green, (SByte)blue, (SByte)alpha);
+ }
+
+ public static
+ void glColor4b(Byte red, Byte green, Byte blue, Byte alpha)
+ {
+ Delegates.glColor4b((SByte)red, (SByte)green, (SByte)blue, (SByte)alpha);
+ }
+
+ public static
+ void glColor4bv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glColor4bv((SByte*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glColor4bv(SByte[] v)
+ {
+ unsafe
+ {
+ fixed (SByte* v_ptr = v)
+ {
+ Delegates.glColor4bv((SByte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4bv(Byte[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = v)
+ {
+ Delegates.glColor4bv((SByte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glColor4bv(ref SByte v)
+ {
+ unsafe
+ {
+ fixed (SByte* v_ptr = &v)
+ {
+ Delegates.glColor4bv((SByte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4bv(ref Byte v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = &v)
+ {
+ Delegates.glColor4bv((SByte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4d(Double red, Double green, Double blue, Double alpha)
+ {
+ Delegates.glColor4d((Double)red, (Double)green, (Double)blue, (Double)alpha);
+ }
+
+ public static
+ void glColor4dv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glColor4dv((Double*)v);
+ }
+ }
+
+ public static
+ void glColor4dv(Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glColor4dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4dv(ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glColor4dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4f(Single red, Single green, Single blue, Single alpha)
+ {
+ Delegates.glColor4f((Single)red, (Single)green, (Single)blue, (Single)alpha);
+ }
+
+ public static
+ void glColor4fv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glColor4fv((Single*)v);
+ }
+ }
+
+ public static
+ void glColor4fv(Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glColor4fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4fv(ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glColor4fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4i(Int32 red, Int32 green, Int32 blue, Int32 alpha)
+ {
+ Delegates.glColor4i((Int32)red, (Int32)green, (Int32)blue, (Int32)alpha);
+ }
+
+ public static
+ void glColor4iv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glColor4iv((Int32*)v);
+ }
+ }
+
+ public static
+ void glColor4iv(Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glColor4iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4iv(ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glColor4iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4s(Int16 red, Int16 green, Int16 blue, Int16 alpha)
+ {
+ Delegates.glColor4s((Int16)red, (Int16)green, (Int16)blue, (Int16)alpha);
+ }
+
+ public static
+ void glColor4sv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glColor4sv((Int16*)v);
+ }
+ }
+
+ public static
+ void glColor4sv(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glColor4sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4sv(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glColor4sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4ub(Byte red, Byte green, Byte blue, Byte alpha)
+ {
+ Delegates.glColor4ub((Byte)red, (Byte)green, (Byte)blue, (Byte)alpha);
+ }
+
+ public static
+ void glColor4ubv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glColor4ubv((Byte*)v);
+ }
+ }
+
+ public static
+ void glColor4ubv(Byte[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = v)
+ {
+ Delegates.glColor4ubv((Byte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4ubv(ref Byte v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = &v)
+ {
+ Delegates.glColor4ubv((Byte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glColor4ui(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha)
+ {
+ Delegates.glColor4ui((UInt32)red, (UInt32)green, (UInt32)blue, (UInt32)alpha);
+ }
+
+ public static
+ void glColor4ui(Int32 red, Int32 green, Int32 blue, Int32 alpha)
+ {
+ Delegates.glColor4ui((UInt32)red, (UInt32)green, (UInt32)blue, (UInt32)alpha);
+ }
+
+ public static
+ void glColor4uiv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glColor4uiv((UInt32*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glColor4uiv(UInt32[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* v_ptr = v)
+ {
+ Delegates.glColor4uiv((UInt32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4uiv(Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glColor4uiv((UInt32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glColor4uiv(ref UInt32 v)
+ {
+ unsafe
+ {
+ fixed (UInt32* v_ptr = &v)
+ {
+ Delegates.glColor4uiv((UInt32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4uiv(ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glColor4uiv((UInt32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glColor4us(UInt16 red, UInt16 green, UInt16 blue, UInt16 alpha)
+ {
+ Delegates.glColor4us((UInt16)red, (UInt16)green, (UInt16)blue, (UInt16)alpha);
+ }
+
+ public static
+ void glColor4us(Int16 red, Int16 green, Int16 blue, Int16 alpha)
+ {
+ Delegates.glColor4us((UInt16)red, (UInt16)green, (UInt16)blue, (UInt16)alpha);
+ }
+
+ public static
+ void glColor4usv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glColor4usv((UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glColor4usv(UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glColor4usv((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4usv(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glColor4usv((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glColor4usv(ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glColor4usv((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4usv(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glColor4usv((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glEdgeFlag(Int32 flag)
+ {
+ Delegates.glEdgeFlag((Int32)flag);
+ }
+
+ public static
+ void glEdgeFlagv(IntPtr flag)
+ {
+ unsafe
+ {
+ Delegates.glEdgeFlagv((Int32*)flag);
+ }
+ }
+
+ public static
+ void glEdgeFlagv(Int32[] flag)
+ {
+ unsafe
+ {
+ fixed (Int32* flag_ptr = flag)
+ {
+ Delegates.glEdgeFlagv((Int32*)flag_ptr);
+ }
+ }
+ }
+
+ public static
+ void glEdgeFlagv(ref Int32 flag)
+ {
+ unsafe
+ {
+ fixed (Int32* flag_ptr = &flag)
+ {
+ Delegates.glEdgeFlagv((Int32*)flag_ptr);
+ }
+ }
+ }
+
+ public static
+ void glEnd()
+ {
+ Delegates.glEnd();
+ }
+
+ public static
+ void glIndexd(Double c)
+ {
+ Delegates.glIndexd((Double)c);
+ }
+
+ public static
+ void glIndexdv(IntPtr c)
+ {
+ unsafe
+ {
+ Delegates.glIndexdv((Double*)c);
+ }
+ }
+
+ public static
+ void glIndexdv(Double[] c)
+ {
+ unsafe
+ {
+ fixed (Double* c_ptr = c)
+ {
+ Delegates.glIndexdv((Double*)c_ptr);
+ }
+ }
+ }
+
+ public static
+ void glIndexdv(ref Double c)
+ {
+ unsafe
+ {
+ fixed (Double* c_ptr = &c)
+ {
+ Delegates.glIndexdv((Double*)c_ptr);
+ }
+ }
+ }
+
+ public static
+ void glIndexf(Single c)
+ {
+ Delegates.glIndexf((Single)c);
+ }
+
+ public static
+ void glIndexfv(IntPtr c)
+ {
+ unsafe
+ {
+ Delegates.glIndexfv((Single*)c);
+ }
+ }
+
+ public static
+ void glIndexfv(Single[] c)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glIndexfv((Single*)c_ptr);
+ }
+ }
+ }
+
+ public static
+ void glIndexfv(ref Single c)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glIndexfv((Single*)c_ptr);
+ }
+ }
+ }
+
+ public static
+ void glIndexi(Int32 c)
+ {
+ Delegates.glIndexi((Int32)c);
+ }
+
+ public static
+ void glIndexiv(IntPtr c)
+ {
+ unsafe
+ {
+ Delegates.glIndexiv((Int32*)c);
+ }
+ }
+
+ public static
+ void glIndexiv(Int32[] c)
+ {
+ unsafe
+ {
+ fixed (Int32* c_ptr = c)
+ {
+ Delegates.glIndexiv((Int32*)c_ptr);
+ }
+ }
+ }
+
+ public static
+ void glIndexiv(ref Int32 c)
+ {
+ unsafe
+ {
+ fixed (Int32* c_ptr = &c)
+ {
+ Delegates.glIndexiv((Int32*)c_ptr);
+ }
+ }
+ }
+
+ public static
+ void glIndexs(Int16 c)
+ {
+ Delegates.glIndexs((Int16)c);
+ }
+
+ public static
+ void glIndexsv(IntPtr c)
+ {
+ unsafe
+ {
+ Delegates.glIndexsv((Int16*)c);
+ }
+ }
+
+ public static
+ void glIndexsv(Int16[] c)
+ {
+ unsafe
+ {
+ fixed (Int16* c_ptr = c)
+ {
+ Delegates.glIndexsv((Int16*)c_ptr);
+ }
+ }
+ }
+
+ public static
+ void glIndexsv(ref Int16 c)
+ {
+ unsafe
+ {
+ fixed (Int16* c_ptr = &c)
+ {
+ Delegates.glIndexsv((Int16*)c_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glNormal3b(SByte nx, SByte ny, SByte nz)
+ {
+ Delegates.glNormal3b((SByte)nx, (SByte)ny, (SByte)nz);
+ }
+
+ public static
+ void glNormal3b(Byte nx, Byte ny, Byte nz)
+ {
+ Delegates.glNormal3b((SByte)nx, (SByte)ny, (SByte)nz);
+ }
+
+ public static
+ void glNormal3bv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glNormal3bv((SByte*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glNormal3bv(SByte[] v)
+ {
+ unsafe
+ {
+ fixed (SByte* v_ptr = v)
+ {
+ Delegates.glNormal3bv((SByte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glNormal3bv(Byte[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = v)
+ {
+ Delegates.glNormal3bv((SByte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glNormal3bv(ref SByte v)
+ {
+ unsafe
+ {
+ fixed (SByte* v_ptr = &v)
+ {
+ Delegates.glNormal3bv((SByte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glNormal3bv(ref Byte v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = &v)
+ {
+ Delegates.glNormal3bv((SByte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glNormal3d(Double nx, Double ny, Double nz)
+ {
+ Delegates.glNormal3d((Double)nx, (Double)ny, (Double)nz);
+ }
+
+ public static
+ void glNormal3dv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glNormal3dv((Double*)v);
+ }
+ }
+
+ public static
+ void glNormal3dv(Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glNormal3dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glNormal3dv(ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glNormal3dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glNormal3f(Single nx, Single ny, Single nz)
+ {
+ Delegates.glNormal3f((Single)nx, (Single)ny, (Single)nz);
+ }
+
+ public static
+ void glNormal3fv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glNormal3fv((Single*)v);
+ }
+ }
+
+ public static
+ void glNormal3fv(Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glNormal3fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glNormal3fv(ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glNormal3fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glNormal3i(Int32 nx, Int32 ny, Int32 nz)
+ {
+ Delegates.glNormal3i((Int32)nx, (Int32)ny, (Int32)nz);
+ }
+
+ public static
+ void glNormal3iv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glNormal3iv((Int32*)v);
+ }
+ }
+
+ public static
+ void glNormal3iv(Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glNormal3iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glNormal3iv(ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glNormal3iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glNormal3s(Int16 nx, Int16 ny, Int16 nz)
+ {
+ Delegates.glNormal3s((Int16)nx, (Int16)ny, (Int16)nz);
+ }
+
+ public static
+ void glNormal3sv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glNormal3sv((Int16*)v);
+ }
+ }
+
+ public static
+ void glNormal3sv(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glNormal3sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glNormal3sv(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glNormal3sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRasterPos2d(Double x, Double y)
+ {
+ Delegates.glRasterPos2d((Double)x, (Double)y);
+ }
+
+ public static
+ void glRasterPos2dv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glRasterPos2dv((Double*)v);
+ }
+ }
+
+ public static
+ void glRasterPos2dv(Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glRasterPos2dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRasterPos2dv(ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glRasterPos2dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRasterPos2f(Single x, Single y)
+ {
+ Delegates.glRasterPos2f((Single)x, (Single)y);
+ }
+
+ public static
+ void glRasterPos2fv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glRasterPos2fv((Single*)v);
+ }
+ }
+
+ public static
+ void glRasterPos2fv(Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glRasterPos2fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRasterPos2fv(ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glRasterPos2fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRasterPos2i(Int32 x, Int32 y)
+ {
+ Delegates.glRasterPos2i((Int32)x, (Int32)y);
+ }
+
+ public static
+ void glRasterPos2iv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glRasterPos2iv((Int32*)v);
+ }
+ }
+
+ public static
+ void glRasterPos2iv(Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glRasterPos2iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRasterPos2iv(ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glRasterPos2iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRasterPos2s(Int16 x, Int16 y)
+ {
+ Delegates.glRasterPos2s((Int16)x, (Int16)y);
+ }
+
+ public static
+ void glRasterPos2sv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glRasterPos2sv((Int16*)v);
+ }
+ }
+
+ public static
+ void glRasterPos2sv(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glRasterPos2sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRasterPos2sv(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glRasterPos2sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRasterPos3d(Double x, Double y, Double z)
+ {
+ Delegates.glRasterPos3d((Double)x, (Double)y, (Double)z);
+ }
+
+ public static
+ void glRasterPos3dv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glRasterPos3dv((Double*)v);
+ }
+ }
+
+ public static
+ void glRasterPos3dv(Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glRasterPos3dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRasterPos3dv(ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glRasterPos3dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRasterPos3f(Single x, Single y, Single z)
+ {
+ Delegates.glRasterPos3f((Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glRasterPos3fv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glRasterPos3fv((Single*)v);
+ }
+ }
+
+ public static
+ void glRasterPos3fv(Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glRasterPos3fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRasterPos3fv(ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glRasterPos3fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRasterPos3i(Int32 x, Int32 y, Int32 z)
+ {
+ Delegates.glRasterPos3i((Int32)x, (Int32)y, (Int32)z);
+ }
+
+ public static
+ void glRasterPos3iv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glRasterPos3iv((Int32*)v);
+ }
+ }
+
+ public static
+ void glRasterPos3iv(Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glRasterPos3iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRasterPos3iv(ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glRasterPos3iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRasterPos3s(Int16 x, Int16 y, Int16 z)
+ {
+ Delegates.glRasterPos3s((Int16)x, (Int16)y, (Int16)z);
+ }
+
+ public static
+ void glRasterPos3sv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glRasterPos3sv((Int16*)v);
+ }
+ }
+
+ public static
+ void glRasterPos3sv(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glRasterPos3sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRasterPos3sv(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glRasterPos3sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRasterPos4d(Double x, Double y, Double z, Double w)
+ {
+ Delegates.glRasterPos4d((Double)x, (Double)y, (Double)z, (Double)w);
+ }
+
+ public static
+ void glRasterPos4dv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glRasterPos4dv((Double*)v);
+ }
+ }
+
+ public static
+ void glRasterPos4dv(Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glRasterPos4dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRasterPos4dv(ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glRasterPos4dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRasterPos4f(Single x, Single y, Single z, Single w)
+ {
+ Delegates.glRasterPos4f((Single)x, (Single)y, (Single)z, (Single)w);
+ }
+
+ public static
+ void glRasterPos4fv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glRasterPos4fv((Single*)v);
+ }
+ }
+
+ public static
+ void glRasterPos4fv(Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glRasterPos4fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRasterPos4fv(ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glRasterPos4fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRasterPos4i(Int32 x, Int32 y, Int32 z, Int32 w)
+ {
+ Delegates.glRasterPos4i((Int32)x, (Int32)y, (Int32)z, (Int32)w);
+ }
+
+ public static
+ void glRasterPos4iv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glRasterPos4iv((Int32*)v);
+ }
+ }
+
+ public static
+ void glRasterPos4iv(Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glRasterPos4iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRasterPos4iv(ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glRasterPos4iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRasterPos4s(Int16 x, Int16 y, Int16 z, Int16 w)
+ {
+ Delegates.glRasterPos4s((Int16)x, (Int16)y, (Int16)z, (Int16)w);
+ }
+
+ public static
+ void glRasterPos4sv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glRasterPos4sv((Int16*)v);
+ }
+ }
+
+ public static
+ void glRasterPos4sv(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glRasterPos4sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRasterPos4sv(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glRasterPos4sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRectd(Double x1, Double y1, Double x2, Double y2)
+ {
+ Delegates.glRectd((Double)x1, (Double)y1, (Double)x2, (Double)y2);
+ }
+
+ public static
+ void glRectdv(IntPtr v1, IntPtr v2)
+ {
+ unsafe
+ {
+ Delegates.glRectdv((Double*)v1, (Double*)v2);
+ }
+ }
+
+ public static
+ void glRectdv(IntPtr v1, Double[] v2)
+ {
+ unsafe
+ {
+ fixed (Double* v2_ptr = v2)
+ {
+ Delegates.glRectdv((Double*)v1, (Double*)v2_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRectdv(IntPtr v1, ref Double v2)
+ {
+ unsafe
+ {
+ fixed (Double* v2_ptr = &v2)
+ {
+ Delegates.glRectdv((Double*)v1, (Double*)v2_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRectdv(Double[] v1, IntPtr v2)
+ {
+ unsafe
+ {
+ fixed (Double* v1_ptr = v1)
+ {
+ Delegates.glRectdv((Double*)v1_ptr, (Double*)v2);
+ }
+ }
+ }
+
+ public static
+ void glRectdv(Double[] v1, Double[] v2)
+ {
+ unsafe
+ {
+ fixed (Double* v1_ptr = v1)
+ fixed (Double* v2_ptr = v2)
+ {
+ Delegates.glRectdv((Double*)v1_ptr, (Double*)v2_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRectdv(Double[] v1, ref Double v2)
+ {
+ unsafe
+ {
+ fixed (Double* v1_ptr = v1)
+ fixed (Double* v2_ptr = &v2)
+ {
+ Delegates.glRectdv((Double*)v1_ptr, (Double*)v2_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRectdv(ref Double v1, IntPtr v2)
+ {
+ unsafe
+ {
+ fixed (Double* v1_ptr = &v1)
+ {
+ Delegates.glRectdv((Double*)v1_ptr, (Double*)v2);
+ }
+ }
+ }
+
+ public static
+ void glRectdv(ref Double v1, Double[] v2)
+ {
+ unsafe
+ {
+ fixed (Double* v1_ptr = &v1)
+ fixed (Double* v2_ptr = v2)
+ {
+ Delegates.glRectdv((Double*)v1_ptr, (Double*)v2_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRectdv(ref Double v1, ref Double v2)
+ {
+ unsafe
+ {
+ fixed (Double* v1_ptr = &v1)
+ fixed (Double* v2_ptr = &v2)
+ {
+ Delegates.glRectdv((Double*)v1_ptr, (Double*)v2_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRectf(Single x1, Single y1, Single x2, Single y2)
+ {
+ Delegates.glRectf((Single)x1, (Single)y1, (Single)x2, (Single)y2);
+ }
+
+ public static
+ void glRectfv(IntPtr v1, IntPtr v2)
+ {
+ unsafe
+ {
+ Delegates.glRectfv((Single*)v1, (Single*)v2);
+ }
+ }
+
+ public static
+ void glRectfv(IntPtr v1, Single[] v2)
+ {
+ unsafe
+ {
+ fixed (Single* v2_ptr = v2)
+ {
+ Delegates.glRectfv((Single*)v1, (Single*)v2_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRectfv(IntPtr v1, ref Single v2)
+ {
+ unsafe
+ {
+ fixed (Single* v2_ptr = &v2)
+ {
+ Delegates.glRectfv((Single*)v1, (Single*)v2_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRectfv(Single[] v1, IntPtr v2)
+ {
+ unsafe
+ {
+ fixed (Single* v1_ptr = v1)
+ {
+ Delegates.glRectfv((Single*)v1_ptr, (Single*)v2);
+ }
+ }
+ }
+
+ public static
+ void glRectfv(Single[] v1, Single[] v2)
+ {
+ unsafe
+ {
+ fixed (Single* v1_ptr = v1)
+ fixed (Single* v2_ptr = v2)
+ {
+ Delegates.glRectfv((Single*)v1_ptr, (Single*)v2_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRectfv(Single[] v1, ref Single v2)
+ {
+ unsafe
+ {
+ fixed (Single* v1_ptr = v1)
+ fixed (Single* v2_ptr = &v2)
+ {
+ Delegates.glRectfv((Single*)v1_ptr, (Single*)v2_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRectfv(ref Single v1, IntPtr v2)
+ {
+ unsafe
+ {
+ fixed (Single* v1_ptr = &v1)
+ {
+ Delegates.glRectfv((Single*)v1_ptr, (Single*)v2);
+ }
+ }
+ }
+
+ public static
+ void glRectfv(ref Single v1, Single[] v2)
+ {
+ unsafe
+ {
+ fixed (Single* v1_ptr = &v1)
+ fixed (Single* v2_ptr = v2)
+ {
+ Delegates.glRectfv((Single*)v1_ptr, (Single*)v2_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRectfv(ref Single v1, ref Single v2)
+ {
+ unsafe
+ {
+ fixed (Single* v1_ptr = &v1)
+ fixed (Single* v2_ptr = &v2)
+ {
+ Delegates.glRectfv((Single*)v1_ptr, (Single*)v2_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRecti(Int32 x1, Int32 y1, Int32 x2, Int32 y2)
+ {
+ Delegates.glRecti((Int32)x1, (Int32)y1, (Int32)x2, (Int32)y2);
+ }
+
+ public static
+ void glRectiv(IntPtr v1, IntPtr v2)
+ {
+ unsafe
+ {
+ Delegates.glRectiv((Int32*)v1, (Int32*)v2);
+ }
+ }
+
+ public static
+ void glRectiv(IntPtr v1, Int32[] v2)
+ {
+ unsafe
+ {
+ fixed (Int32* v2_ptr = v2)
+ {
+ Delegates.glRectiv((Int32*)v1, (Int32*)v2_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRectiv(IntPtr v1, ref Int32 v2)
+ {
+ unsafe
+ {
+ fixed (Int32* v2_ptr = &v2)
+ {
+ Delegates.glRectiv((Int32*)v1, (Int32*)v2_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRectiv(Int32[] v1, IntPtr v2)
+ {
+ unsafe
+ {
+ fixed (Int32* v1_ptr = v1)
+ {
+ Delegates.glRectiv((Int32*)v1_ptr, (Int32*)v2);
+ }
+ }
+ }
+
+ public static
+ void glRectiv(Int32[] v1, Int32[] v2)
+ {
+ unsafe
+ {
+ fixed (Int32* v1_ptr = v1)
+ fixed (Int32* v2_ptr = v2)
+ {
+ Delegates.glRectiv((Int32*)v1_ptr, (Int32*)v2_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRectiv(Int32[] v1, ref Int32 v2)
+ {
+ unsafe
+ {
+ fixed (Int32* v1_ptr = v1)
+ fixed (Int32* v2_ptr = &v2)
+ {
+ Delegates.glRectiv((Int32*)v1_ptr, (Int32*)v2_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRectiv(ref Int32 v1, IntPtr v2)
+ {
+ unsafe
+ {
+ fixed (Int32* v1_ptr = &v1)
+ {
+ Delegates.glRectiv((Int32*)v1_ptr, (Int32*)v2);
+ }
+ }
+ }
+
+ public static
+ void glRectiv(ref Int32 v1, Int32[] v2)
+ {
+ unsafe
+ {
+ fixed (Int32* v1_ptr = &v1)
+ fixed (Int32* v2_ptr = v2)
+ {
+ Delegates.glRectiv((Int32*)v1_ptr, (Int32*)v2_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRectiv(ref Int32 v1, ref Int32 v2)
+ {
+ unsafe
+ {
+ fixed (Int32* v1_ptr = &v1)
+ fixed (Int32* v2_ptr = &v2)
+ {
+ Delegates.glRectiv((Int32*)v1_ptr, (Int32*)v2_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRects(Int16 x1, Int16 y1, Int16 x2, Int16 y2)
+ {
+ Delegates.glRects((Int16)x1, (Int16)y1, (Int16)x2, (Int16)y2);
+ }
+
+ public static
+ void glRectsv(IntPtr v1, IntPtr v2)
+ {
+ unsafe
+ {
+ Delegates.glRectsv((Int16*)v1, (Int16*)v2);
+ }
+ }
+
+ public static
+ void glRectsv(IntPtr v1, Int16[] v2)
+ {
+ unsafe
+ {
+ fixed (Int16* v2_ptr = v2)
+ {
+ Delegates.glRectsv((Int16*)v1, (Int16*)v2_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRectsv(IntPtr v1, ref Int16 v2)
+ {
+ unsafe
+ {
+ fixed (Int16* v2_ptr = &v2)
+ {
+ Delegates.glRectsv((Int16*)v1, (Int16*)v2_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRectsv(Int16[] v1, IntPtr v2)
+ {
+ unsafe
+ {
+ fixed (Int16* v1_ptr = v1)
+ {
+ Delegates.glRectsv((Int16*)v1_ptr, (Int16*)v2);
+ }
+ }
+ }
+
+ public static
+ void glRectsv(Int16[] v1, Int16[] v2)
+ {
+ unsafe
+ {
+ fixed (Int16* v1_ptr = v1)
+ fixed (Int16* v2_ptr = v2)
+ {
+ Delegates.glRectsv((Int16*)v1_ptr, (Int16*)v2_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRectsv(Int16[] v1, ref Int16 v2)
+ {
+ unsafe
+ {
+ fixed (Int16* v1_ptr = v1)
+ fixed (Int16* v2_ptr = &v2)
+ {
+ Delegates.glRectsv((Int16*)v1_ptr, (Int16*)v2_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRectsv(ref Int16 v1, IntPtr v2)
+ {
+ unsafe
+ {
+ fixed (Int16* v1_ptr = &v1)
+ {
+ Delegates.glRectsv((Int16*)v1_ptr, (Int16*)v2);
+ }
+ }
+ }
+
+ public static
+ void glRectsv(ref Int16 v1, Int16[] v2)
+ {
+ unsafe
+ {
+ fixed (Int16* v1_ptr = &v1)
+ fixed (Int16* v2_ptr = v2)
+ {
+ Delegates.glRectsv((Int16*)v1_ptr, (Int16*)v2_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRectsv(ref Int16 v1, ref Int16 v2)
+ {
+ unsafe
+ {
+ fixed (Int16* v1_ptr = &v1)
+ fixed (Int16* v2_ptr = &v2)
+ {
+ Delegates.glRectsv((Int16*)v1_ptr, (Int16*)v2_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord1d(Double s)
+ {
+ Delegates.glTexCoord1d((Double)s);
+ }
+
+ public static
+ void glTexCoord1dv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTexCoord1dv((Double*)v);
+ }
+ }
+
+ public static
+ void glTexCoord1dv(Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glTexCoord1dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord1dv(ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glTexCoord1dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord1f(Single s)
+ {
+ Delegates.glTexCoord1f((Single)s);
+ }
+
+ public static
+ void glTexCoord1fv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTexCoord1fv((Single*)v);
+ }
+ }
+
+ public static
+ void glTexCoord1fv(Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord1fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord1fv(ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord1fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord1i(Int32 s)
+ {
+ Delegates.glTexCoord1i((Int32)s);
+ }
+
+ public static
+ void glTexCoord1iv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTexCoord1iv((Int32*)v);
+ }
+ }
+
+ public static
+ void glTexCoord1iv(Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glTexCoord1iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord1iv(ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glTexCoord1iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord1s(Int16 s)
+ {
+ Delegates.glTexCoord1s((Int16)s);
+ }
+
+ public static
+ void glTexCoord1sv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTexCoord1sv((Int16*)v);
+ }
+ }
+
+ public static
+ void glTexCoord1sv(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glTexCoord1sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord1sv(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glTexCoord1sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2d(Double s, Double t)
+ {
+ Delegates.glTexCoord2d((Double)s, (Double)t);
+ }
+
+ public static
+ void glTexCoord2dv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTexCoord2dv((Double*)v);
+ }
+ }
+
+ public static
+ void glTexCoord2dv(Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glTexCoord2dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2dv(ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glTexCoord2dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2f(Single s, Single t)
+ {
+ Delegates.glTexCoord2f((Single)s, (Single)t);
+ }
+
+ public static
+ void glTexCoord2fv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTexCoord2fv((Single*)v);
+ }
+ }
+
+ public static
+ void glTexCoord2fv(Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fv(ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2i(Int32 s, Int32 t)
+ {
+ Delegates.glTexCoord2i((Int32)s, (Int32)t);
+ }
+
+ public static
+ void glTexCoord2iv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTexCoord2iv((Int32*)v);
+ }
+ }
+
+ public static
+ void glTexCoord2iv(Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glTexCoord2iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2iv(ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glTexCoord2iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2s(Int16 s, Int16 t)
+ {
+ Delegates.glTexCoord2s((Int16)s, (Int16)t);
+ }
+
+ public static
+ void glTexCoord2sv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTexCoord2sv((Int16*)v);
+ }
+ }
+
+ public static
+ void glTexCoord2sv(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glTexCoord2sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2sv(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glTexCoord2sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord3d(Double s, Double t, Double r)
+ {
+ Delegates.glTexCoord3d((Double)s, (Double)t, (Double)r);
+ }
+
+ public static
+ void glTexCoord3dv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTexCoord3dv((Double*)v);
+ }
+ }
+
+ public static
+ void glTexCoord3dv(Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glTexCoord3dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord3dv(ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glTexCoord3dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord3f(Single s, Single t, Single r)
+ {
+ Delegates.glTexCoord3f((Single)s, (Single)t, (Single)r);
+ }
+
+ public static
+ void glTexCoord3fv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTexCoord3fv((Single*)v);
+ }
+ }
+
+ public static
+ void glTexCoord3fv(Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord3fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord3fv(ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord3fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord3i(Int32 s, Int32 t, Int32 r)
+ {
+ Delegates.glTexCoord3i((Int32)s, (Int32)t, (Int32)r);
+ }
+
+ public static
+ void glTexCoord3iv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTexCoord3iv((Int32*)v);
+ }
+ }
+
+ public static
+ void glTexCoord3iv(Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glTexCoord3iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord3iv(ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glTexCoord3iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord3s(Int16 s, Int16 t, Int16 r)
+ {
+ Delegates.glTexCoord3s((Int16)s, (Int16)t, (Int16)r);
+ }
+
+ public static
+ void glTexCoord3sv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTexCoord3sv((Int16*)v);
+ }
+ }
+
+ public static
+ void glTexCoord3sv(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glTexCoord3sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord3sv(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glTexCoord3sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4d(Double s, Double t, Double r, Double q)
+ {
+ Delegates.glTexCoord4d((Double)s, (Double)t, (Double)r, (Double)q);
+ }
+
+ public static
+ void glTexCoord4dv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTexCoord4dv((Double*)v);
+ }
+ }
+
+ public static
+ void glTexCoord4dv(Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glTexCoord4dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4dv(ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glTexCoord4dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4f(Single s, Single t, Single r, Single q)
+ {
+ Delegates.glTexCoord4f((Single)s, (Single)t, (Single)r, (Single)q);
+ }
+
+ public static
+ void glTexCoord4fv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTexCoord4fv((Single*)v);
+ }
+ }
+
+ public static
+ void glTexCoord4fv(Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord4fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fv(ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord4fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4i(Int32 s, Int32 t, Int32 r, Int32 q)
+ {
+ Delegates.glTexCoord4i((Int32)s, (Int32)t, (Int32)r, (Int32)q);
+ }
+
+ public static
+ void glTexCoord4iv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTexCoord4iv((Int32*)v);
+ }
+ }
+
+ public static
+ void glTexCoord4iv(Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glTexCoord4iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4iv(ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glTexCoord4iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4s(Int16 s, Int16 t, Int16 r, Int16 q)
+ {
+ Delegates.glTexCoord4s((Int16)s, (Int16)t, (Int16)r, (Int16)q);
+ }
+
+ public static
+ void glTexCoord4sv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTexCoord4sv((Int16*)v);
+ }
+ }
+
+ public static
+ void glTexCoord4sv(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glTexCoord4sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4sv(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glTexCoord4sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertex2d(Double x, Double y)
+ {
+ Delegates.glVertex2d((Double)x, (Double)y);
+ }
+
+ public static
+ void glVertex2dv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertex2dv((Double*)v);
+ }
+ }
+
+ public static
+ void glVertex2dv(Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertex2dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertex2dv(ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertex2dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertex2f(Single x, Single y)
+ {
+ Delegates.glVertex2f((Single)x, (Single)y);
+ }
+
+ public static
+ void glVertex2fv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertex2fv((Single*)v);
+ }
+ }
+
+ public static
+ void glVertex2fv(Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertex2fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertex2fv(ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertex2fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertex2i(Int32 x, Int32 y)
+ {
+ Delegates.glVertex2i((Int32)x, (Int32)y);
+ }
+
+ public static
+ void glVertex2iv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertex2iv((Int32*)v);
+ }
+ }
+
+ public static
+ void glVertex2iv(Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glVertex2iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertex2iv(ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glVertex2iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertex2s(Int16 x, Int16 y)
+ {
+ Delegates.glVertex2s((Int16)x, (Int16)y);
+ }
+
+ public static
+ void glVertex2sv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertex2sv((Int16*)v);
+ }
+ }
+
+ public static
+ void glVertex2sv(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertex2sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertex2sv(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertex2sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertex3d(Double x, Double y, Double z)
+ {
+ Delegates.glVertex3d((Double)x, (Double)y, (Double)z);
+ }
+
+ public static
+ void glVertex3dv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertex3dv((Double*)v);
+ }
+ }
+
+ public static
+ void glVertex3dv(Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertex3dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertex3dv(ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertex3dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertex3f(Single x, Single y, Single z)
+ {
+ Delegates.glVertex3f((Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glVertex3fv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertex3fv((Single*)v);
+ }
+ }
+
+ public static
+ void glVertex3fv(Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertex3fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertex3fv(ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertex3fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertex3i(Int32 x, Int32 y, Int32 z)
+ {
+ Delegates.glVertex3i((Int32)x, (Int32)y, (Int32)z);
+ }
+
+ public static
+ void glVertex3iv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertex3iv((Int32*)v);
+ }
+ }
+
+ public static
+ void glVertex3iv(Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glVertex3iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertex3iv(ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glVertex3iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertex3s(Int16 x, Int16 y, Int16 z)
+ {
+ Delegates.glVertex3s((Int16)x, (Int16)y, (Int16)z);
+ }
+
+ public static
+ void glVertex3sv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertex3sv((Int16*)v);
+ }
+ }
+
+ public static
+ void glVertex3sv(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertex3sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertex3sv(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertex3sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertex4d(Double x, Double y, Double z, Double w)
+ {
+ Delegates.glVertex4d((Double)x, (Double)y, (Double)z, (Double)w);
+ }
+
+ public static
+ void glVertex4dv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertex4dv((Double*)v);
+ }
+ }
+
+ public static
+ void glVertex4dv(Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertex4dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertex4dv(ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertex4dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertex4f(Single x, Single y, Single z, Single w)
+ {
+ Delegates.glVertex4f((Single)x, (Single)y, (Single)z, (Single)w);
+ }
+
+ public static
+ void glVertex4fv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertex4fv((Single*)v);
+ }
+ }
+
+ public static
+ void glVertex4fv(Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertex4fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertex4fv(ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertex4fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertex4i(Int32 x, Int32 y, Int32 z, Int32 w)
+ {
+ Delegates.glVertex4i((Int32)x, (Int32)y, (Int32)z, (Int32)w);
+ }
+
+ public static
+ void glVertex4iv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertex4iv((Int32*)v);
+ }
+ }
+
+ public static
+ void glVertex4iv(Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glVertex4iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertex4iv(ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glVertex4iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertex4s(Int16 x, Int16 y, Int16 z, Int16 w)
+ {
+ Delegates.glVertex4s((Int16)x, (Int16)y, (Int16)z, (Int16)w);
+ }
+
+ public static
+ void glVertex4sv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertex4sv((Int16*)v);
+ }
+ }
+
+ public static
+ void glVertex4sv(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertex4sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertex4sv(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertex4sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glClipPlane(int plane, IntPtr equation)
+ {
+ unsafe
+ {
+ Delegates.glClipPlane((int)plane, (Double*)equation);
+ }
+ }
+
+ public static
+ void glClipPlane(int plane, Double[] equation)
+ {
+ unsafe
+ {
+ fixed (Double* equation_ptr = equation)
+ {
+ Delegates.glClipPlane((int)plane, (Double*)equation_ptr);
+ }
+ }
+ }
+
+ public static
+ void glClipPlane(int plane, ref Double equation)
+ {
+ unsafe
+ {
+ fixed (Double* equation_ptr = &equation)
+ {
+ Delegates.glClipPlane((int)plane, (Double*)equation_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColorMaterial(int face, int mode)
+ {
+ Delegates.glColorMaterial((int)face, (int)mode);
+ }
+
+ public static
+ void glCullFace(int mode)
+ {
+ Delegates.glCullFace((int)mode);
+ }
+
+ public static
+ void glFogf(int pname, Single param)
+ {
+ Delegates.glFogf((int)pname, (Single)param);
+ }
+
+ public static
+ void glFogfv(int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glFogfv((int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glFogfv(int pname, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glFogfv((int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glFogfv(int pname, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glFogfv((int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glFogi(int pname, Int32 param)
+ {
+ Delegates.glFogi((int)pname, (Int32)param);
+ }
+
+ public static
+ void glFogiv(int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glFogiv((int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glFogiv(int pname, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glFogiv((int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glFogiv(int pname, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glFogiv((int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glFrontFace(int mode)
+ {
+ Delegates.glFrontFace((int)mode);
+ }
+
+ public static
+ void glHint(int target, int mode)
+ {
+ Delegates.glHint((int)target, (int)mode);
+ }
+
+ public static
+ void glLightf(int light, int pname, Single param)
+ {
+ Delegates.glLightf((int)light, (int)pname, (Single)param);
+ }
+
+ public static
+ void glLightfv(int light, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glLightfv((int)light, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glLightfv(int light, int pname, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glLightfv((int)light, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glLightfv(int light, int pname, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glLightfv((int)light, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glLighti(int light, int pname, Int32 param)
+ {
+ Delegates.glLighti((int)light, (int)pname, (Int32)param);
+ }
+
+ public static
+ void glLightiv(int light, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glLightiv((int)light, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glLightiv(int light, int pname, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glLightiv((int)light, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glLightiv(int light, int pname, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glLightiv((int)light, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glLightModelf(int pname, Single param)
+ {
+ Delegates.glLightModelf((int)pname, (Single)param);
+ }
+
+ public static
+ void glLightModelfv(int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glLightModelfv((int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glLightModelfv(int pname, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glLightModelfv((int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glLightModelfv(int pname, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glLightModelfv((int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glLightModeli(int pname, Int32 param)
+ {
+ Delegates.glLightModeli((int)pname, (Int32)param);
+ }
+
+ public static
+ void glLightModeliv(int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glLightModeliv((int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glLightModeliv(int pname, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glLightModeliv((int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glLightModeliv(int pname, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glLightModeliv((int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glLineStipple(Int32 factor, UInt16 pattern)
+ {
+ unsafe
+ {
+ Delegates.glLineStipple((Int32)factor, (UInt16)pattern);
+ }
+ }
+
+ public static
+ void glLineStipple(Int32 factor, Int16 pattern)
+ {
+ unsafe
+ {
+ Delegates.glLineStipple((Int32)factor, (UInt16)pattern);
+ }
+ }
+
+ public static
+ void glLineWidth(Single width)
+ {
+ Delegates.glLineWidth((Single)width);
+ }
+
+ public static
+ void glMaterialf(int face, int pname, Single param)
+ {
+ Delegates.glMaterialf((int)face, (int)pname, (Single)param);
+ }
+
+ public static
+ void glMaterialfv(int face, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glMaterialfv((int)face, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glMaterialfv(int face, int pname, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glMaterialfv((int)face, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMaterialfv(int face, int pname, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glMaterialfv((int)face, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMateriali(int face, int pname, Int32 param)
+ {
+ Delegates.glMateriali((int)face, (int)pname, (Int32)param);
+ }
+
+ public static
+ void glMaterialiv(int face, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glMaterialiv((int)face, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glMaterialiv(int face, int pname, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glMaterialiv((int)face, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMaterialiv(int face, int pname, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glMaterialiv((int)face, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPointSize(Single size)
+ {
+ Delegates.glPointSize((Single)size);
+ }
+
+ public static
+ void glPolygonMode(int face, int mode)
+ {
+ Delegates.glPolygonMode((int)face, (int)mode);
+ }
+
+ public static
+ void glPolygonStipple(IntPtr mask)
+ {
+ unsafe
+ {
+ Delegates.glPolygonStipple((Byte*)mask);
+ }
+ }
+
+ public static
+ void glPolygonStipple(Byte[] mask)
+ {
+ unsafe
+ {
+ fixed (Byte* mask_ptr = mask)
+ {
+ Delegates.glPolygonStipple((Byte*)mask_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPolygonStipple(ref Byte mask)
+ {
+ unsafe
+ {
+ fixed (Byte* mask_ptr = &mask)
+ {
+ Delegates.glPolygonStipple((Byte*)mask_ptr);
+ }
+ }
+ }
+
+ public static
+ void glScissor(Int32 x, Int32 y, Int32 width, Int32 height)
+ {
+ Delegates.glScissor((Int32)x, (Int32)y, (Int32)width, (Int32)height);
+ }
+
+ public static
+ void glShadeModel(int mode)
+ {
+ Delegates.glShadeModel((int)mode);
+ }
+
+ public static
+ void glTexParameterf(int target, int pname, Single param)
+ {
+ Delegates.glTexParameterf((int)target, (int)pname, (Single)param);
+ }
+
+ public static
+ void glTexParameterfv(int target, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glTexParameterfv((int)target, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glTexParameterfv(int target, int pname, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glTexParameterfv((int)target, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexParameterfv(int target, int pname, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glTexParameterfv((int)target, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexParameteri(int target, int pname, Int32 param)
+ {
+ Delegates.glTexParameteri((int)target, (int)pname, (Int32)param);
+ }
+
+ public static
+ void glTexParameteriv(int target, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glTexParameteriv((int)target, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glTexParameteriv(int target, int pname, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glTexParameteriv((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexParameteriv(int target, int pname, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glTexParameteriv((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexImage1D(int target, Int32 level, int internalformat, Int32 width, Int32 border, int format, int type, IntPtr pixels)
+ {
+ unsafe
+ {
+ Delegates.glTexImage1D((int)target, (Int32)level, (int)internalformat, (Int32)width, (Int32)border, (int)format, (int)type, (IntPtr)pixels);
+ }
+ }
+
+ public static
+ void glTexImage1D(int target, Int32 level, int internalformat, Int32 width, Int32 border, int format, int type, [In, Out] object pixels)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glTexImage1D((int)target, (Int32)level, (int)internalformat, (Int32)width, (Int32)border, (int)format, (int)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pixels_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glTexImage2D(int target, Int32 level, int internalformat, Int32 width, Int32 height, Int32 border, int format, int type, IntPtr pixels)
+ {
+ unsafe
+ {
+ Delegates.glTexImage2D((int)target, (Int32)level, (int)internalformat, (Int32)width, (Int32)height, (Int32)border, (int)format, (int)type, (IntPtr)pixels);
+ }
+ }
+
+ public static
+ void glTexImage2D(int target, Int32 level, int internalformat, Int32 width, Int32 height, Int32 border, int format, int type, [In, Out] object pixels)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glTexImage2D((int)target, (Int32)level, (int)internalformat, (Int32)width, (Int32)height, (Int32)border, (int)format, (int)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pixels_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glTexEnvf(int target, int pname, Single param)
+ {
+ Delegates.glTexEnvf((int)target, (int)pname, (Single)param);
+ }
+
+ public static
+ void glTexEnvfv(int target, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glTexEnvfv((int)target, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glTexEnvfv(int target, int pname, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glTexEnvfv((int)target, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexEnvfv(int target, int pname, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glTexEnvfv((int)target, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexEnvi(int target, int pname, Int32 param)
+ {
+ Delegates.glTexEnvi((int)target, (int)pname, (Int32)param);
+ }
+
+ public static
+ void glTexEnviv(int target, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glTexEnviv((int)target, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glTexEnviv(int target, int pname, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glTexEnviv((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexEnviv(int target, int pname, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glTexEnviv((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexGend(int coord, int pname, Double param)
+ {
+ Delegates.glTexGend((int)coord, (int)pname, (Double)param);
+ }
+
+ public static
+ void glTexGendv(int coord, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glTexGendv((int)coord, (int)pname, (Double*)@params);
+ }
+ }
+
+ public static
+ void glTexGendv(int coord, int pname, Double[] @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = @params)
+ {
+ Delegates.glTexGendv((int)coord, (int)pname, (Double*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexGendv(int coord, int pname, ref Double @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = &@params)
+ {
+ Delegates.glTexGendv((int)coord, (int)pname, (Double*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexGenf(int coord, int pname, Single param)
+ {
+ Delegates.glTexGenf((int)coord, (int)pname, (Single)param);
+ }
+
+ public static
+ void glTexGenfv(int coord, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glTexGenfv((int)coord, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glTexGenfv(int coord, int pname, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glTexGenfv((int)coord, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexGenfv(int coord, int pname, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glTexGenfv((int)coord, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexGeni(int coord, int pname, Int32 param)
+ {
+ Delegates.glTexGeni((int)coord, (int)pname, (Int32)param);
+ }
+
+ public static
+ void glTexGeniv(int coord, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glTexGeniv((int)coord, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glTexGeniv(int coord, int pname, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glTexGeniv((int)coord, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexGeniv(int coord, int pname, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glTexGeniv((int)coord, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glFeedbackBuffer(Int32 size, int type, [Out] IntPtr buffer)
+ {
+ unsafe
+ {
+ Delegates.glFeedbackBuffer((Int32)size, (int)type, (Single*)buffer);
+ }
+ }
+
+ public static
+ void glFeedbackBuffer(Int32 size, int type, [Out] Single[] buffer)
+ {
+ unsafe
+ {
+ fixed (Single* buffer_ptr = buffer)
+ {
+ Delegates.glFeedbackBuffer((Int32)size, (int)type, (Single*)buffer_ptr);
+ }
+ }
+ }
+
+ public static
+ void glFeedbackBuffer(Int32 size, int type, [Out] out Single buffer)
+ {
+ unsafe
+ {
+ fixed (Single* buffer_ptr = &buffer)
+ {
+ Delegates.glFeedbackBuffer((Int32)size, (int)type, (Single*)buffer_ptr);
+ buffer = *buffer_ptr;
+ }
+ }
+ }
+
+ public static
+ void glSelectBuffer(Int32 size, [Out] IntPtr buffer)
+ {
+ unsafe
+ {
+ Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSelectBuffer(Int32 size, [Out] UInt32[] buffer)
+ {
+ unsafe
+ {
+ fixed (UInt32* buffer_ptr = buffer)
+ {
+ Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSelectBuffer(Int32 size, [Out] Int32[] buffer)
+ {
+ unsafe
+ {
+ fixed (Int32* buffer_ptr = buffer)
+ {
+ Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSelectBuffer(Int32 size, [Out] out UInt32 buffer)
+ {
+ unsafe
+ {
+ fixed (UInt32* buffer_ptr = &buffer)
+ {
+ Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr);
+ buffer = *buffer_ptr;
+ }
+ }
+ }
+
+ public static
+ void glSelectBuffer(Int32 size, [Out] out Int32 buffer)
+ {
+ unsafe
+ {
+ fixed (Int32* buffer_ptr = &buffer)
+ {
+ Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr);
+ buffer = *buffer_ptr;
+ }
+ }
+ }
+
+ public static
+ Int32 glRenderMode(int mode)
+ {
+ return Delegates.glRenderMode((int)mode);
+ }
+
+ public static
+ void glInitNames()
+ {
+ Delegates.glInitNames();
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glLoadName(UInt32 name)
+ {
+ Delegates.glLoadName((UInt32)name);
+ }
+
+ public static
+ void glLoadName(Int32 name)
+ {
+ Delegates.glLoadName((UInt32)name);
+ }
+
+ public static
+ void glPassThrough(Single token)
+ {
+ Delegates.glPassThrough((Single)token);
+ }
+
+ public static
+ void glPopName()
+ {
+ Delegates.glPopName();
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glPushName(UInt32 name)
+ {
+ Delegates.glPushName((UInt32)name);
+ }
+
+ public static
+ void glPushName(Int32 name)
+ {
+ Delegates.glPushName((UInt32)name);
+ }
+
+ public static
+ void glDrawBuffer(int mode)
+ {
+ Delegates.glDrawBuffer((int)mode);
+ }
+
+ public static
+ void glClear(int mask)
+ {
+ Delegates.glClear((int)mask);
+ }
+
+ public static
+ void glClearAccum(Single red, Single green, Single blue, Single alpha)
+ {
+ Delegates.glClearAccum((Single)red, (Single)green, (Single)blue, (Single)alpha);
+ }
+
+ public static
+ void glClearIndex(Single c)
+ {
+ Delegates.glClearIndex((Single)c);
+ }
+
+ public static
+ void glClearColor(Single red, Single green, Single blue, Single alpha)
+ {
+ Delegates.glClearColor((Single)red, (Single)green, (Single)blue, (Single)alpha);
+ }
+
+ public static
+ void glClearStencil(Int32 s)
+ {
+ Delegates.glClearStencil((Int32)s);
+ }
+
+ public static
+ void glClearDepth(Double depth)
+ {
+ Delegates.glClearDepth((Double)depth);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glStencilMask(UInt32 mask)
+ {
+ Delegates.glStencilMask((UInt32)mask);
+ }
+
+ public static
+ void glStencilMask(Int32 mask)
+ {
+ Delegates.glStencilMask((UInt32)mask);
+ }
+
+ public static
+ void glColorMask(Int32 red, Int32 green, Int32 blue, Int32 alpha)
+ {
+ Delegates.glColorMask((Int32)red, (Int32)green, (Int32)blue, (Int32)alpha);
+ }
+
+ public static
+ void glDepthMask(Int32 flag)
+ {
+ Delegates.glDepthMask((Int32)flag);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glIndexMask(UInt32 mask)
+ {
+ Delegates.glIndexMask((UInt32)mask);
+ }
+
+ public static
+ void glIndexMask(Int32 mask)
+ {
+ Delegates.glIndexMask((UInt32)mask);
+ }
+
+ public static
+ void glAccum(int op, Single value)
+ {
+ Delegates.glAccum((int)op, (Single)value);
+ }
+
+ public static
+ void glDisable(int cap)
+ {
+ Delegates.glDisable((int)cap);
+ }
+
+ public static
+ void glEnable(int cap)
+ {
+ Delegates.glEnable((int)cap);
+ }
+
+ public static
+ void glFinish()
+ {
+ Delegates.glFinish();
+ }
+
+ public static
+ void glFlush()
+ {
+ Delegates.glFlush();
+ }
+
+ public static
+ void glPopAttrib()
+ {
+ Delegates.glPopAttrib();
+ }
+
+ public static
+ void glPushAttrib(int mask)
+ {
+ Delegates.glPushAttrib((int)mask);
+ }
+
+ public static
+ void glMap1d(int target, Double u1, Double u2, Int32 stride, Int32 order, IntPtr points)
+ {
+ unsafe
+ {
+ Delegates.glMap1d((int)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points);
+ }
+ }
+
+ public static
+ void glMap1d(int target, Double u1, Double u2, Int32 stride, Int32 order, Double[] points)
+ {
+ unsafe
+ {
+ fixed (Double* points_ptr = points)
+ {
+ Delegates.glMap1d((int)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMap1d(int target, Double u1, Double u2, Int32 stride, Int32 order, ref Double points)
+ {
+ unsafe
+ {
+ fixed (Double* points_ptr = &points)
+ {
+ Delegates.glMap1d((int)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMap1f(int target, Single u1, Single u2, Int32 stride, Int32 order, IntPtr points)
+ {
+ unsafe
+ {
+ Delegates.glMap1f((int)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points);
+ }
+ }
+
+ public static
+ void glMap1f(int target, Single u1, Single u2, Int32 stride, Int32 order, Single[] points)
+ {
+ unsafe
+ {
+ fixed (Single* points_ptr = points)
+ {
+ Delegates.glMap1f((int)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMap1f(int target, Single u1, Single u2, Int32 stride, Int32 order, ref Single points)
+ {
+ unsafe
+ {
+ fixed (Single* points_ptr = &points)
+ {
+ Delegates.glMap1f((int)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMap2d(int target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, IntPtr points)
+ {
+ unsafe
+ {
+ Delegates.glMap2d((int)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points);
+ }
+ }
+
+ public static
+ void glMap2d(int target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double[] points)
+ {
+ unsafe
+ {
+ fixed (Double* points_ptr = points)
+ {
+ Delegates.glMap2d((int)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMap2d(int target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, ref Double points)
+ {
+ unsafe
+ {
+ fixed (Double* points_ptr = &points)
+ {
+ Delegates.glMap2d((int)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMap2f(int target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, IntPtr points)
+ {
+ unsafe
+ {
+ Delegates.glMap2f((int)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points);
+ }
+ }
+
+ public static
+ void glMap2f(int target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single[] points)
+ {
+ unsafe
+ {
+ fixed (Single* points_ptr = points)
+ {
+ Delegates.glMap2f((int)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMap2f(int target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, ref Single points)
+ {
+ unsafe
+ {
+ fixed (Single* points_ptr = &points)
+ {
+ Delegates.glMap2f((int)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMapGrid1d(Int32 un, Double u1, Double u2)
+ {
+ Delegates.glMapGrid1d((Int32)un, (Double)u1, (Double)u2);
+ }
+
+ public static
+ void glMapGrid1f(Int32 un, Single u1, Single u2)
+ {
+ Delegates.glMapGrid1f((Int32)un, (Single)u1, (Single)u2);
+ }
+
+ public static
+ void glMapGrid2d(Int32 un, Double u1, Double u2, Int32 vn, Double v1, Double v2)
+ {
+ Delegates.glMapGrid2d((Int32)un, (Double)u1, (Double)u2, (Int32)vn, (Double)v1, (Double)v2);
+ }
+
+ public static
+ void glMapGrid2f(Int32 un, Single u1, Single u2, Int32 vn, Single v1, Single v2)
+ {
+ Delegates.glMapGrid2f((Int32)un, (Single)u1, (Single)u2, (Int32)vn, (Single)v1, (Single)v2);
+ }
+
+ public static
+ void glEvalCoord1d(Double u)
+ {
+ Delegates.glEvalCoord1d((Double)u);
+ }
+
+ public static
+ void glEvalCoord1dv(IntPtr u)
+ {
+ unsafe
+ {
+ Delegates.glEvalCoord1dv((Double*)u);
+ }
+ }
+
+ public static
+ void glEvalCoord1dv(Double[] u)
+ {
+ unsafe
+ {
+ fixed (Double* u_ptr = u)
+ {
+ Delegates.glEvalCoord1dv((Double*)u_ptr);
+ }
+ }
+ }
+
+ public static
+ void glEvalCoord1dv(ref Double u)
+ {
+ unsafe
+ {
+ fixed (Double* u_ptr = &u)
+ {
+ Delegates.glEvalCoord1dv((Double*)u_ptr);
+ }
+ }
+ }
+
+ public static
+ void glEvalCoord1f(Single u)
+ {
+ Delegates.glEvalCoord1f((Single)u);
+ }
+
+ public static
+ void glEvalCoord1fv(IntPtr u)
+ {
+ unsafe
+ {
+ Delegates.glEvalCoord1fv((Single*)u);
+ }
+ }
+
+ public static
+ void glEvalCoord1fv(Single[] u)
+ {
+ unsafe
+ {
+ fixed (Single* u_ptr = u)
+ {
+ Delegates.glEvalCoord1fv((Single*)u_ptr);
+ }
+ }
+ }
+
+ public static
+ void glEvalCoord1fv(ref Single u)
+ {
+ unsafe
+ {
+ fixed (Single* u_ptr = &u)
+ {
+ Delegates.glEvalCoord1fv((Single*)u_ptr);
+ }
+ }
+ }
+
+ public static
+ void glEvalCoord2d(Double u, Double v)
+ {
+ Delegates.glEvalCoord2d((Double)u, (Double)v);
+ }
+
+ public static
+ void glEvalCoord2dv(IntPtr u)
+ {
+ unsafe
+ {
+ Delegates.glEvalCoord2dv((Double*)u);
+ }
+ }
+
+ public static
+ void glEvalCoord2dv(Double[] u)
+ {
+ unsafe
+ {
+ fixed (Double* u_ptr = u)
+ {
+ Delegates.glEvalCoord2dv((Double*)u_ptr);
+ }
+ }
+ }
+
+ public static
+ void glEvalCoord2dv(ref Double u)
+ {
+ unsafe
+ {
+ fixed (Double* u_ptr = &u)
+ {
+ Delegates.glEvalCoord2dv((Double*)u_ptr);
+ }
+ }
+ }
+
+ public static
+ void glEvalCoord2f(Single u, Single v)
+ {
+ Delegates.glEvalCoord2f((Single)u, (Single)v);
+ }
+
+ public static
+ void glEvalCoord2fv(IntPtr u)
+ {
+ unsafe
+ {
+ Delegates.glEvalCoord2fv((Single*)u);
+ }
+ }
+
+ public static
+ void glEvalCoord2fv(Single[] u)
+ {
+ unsafe
+ {
+ fixed (Single* u_ptr = u)
+ {
+ Delegates.glEvalCoord2fv((Single*)u_ptr);
+ }
+ }
+ }
+
+ public static
+ void glEvalCoord2fv(ref Single u)
+ {
+ unsafe
+ {
+ fixed (Single* u_ptr = &u)
+ {
+ Delegates.glEvalCoord2fv((Single*)u_ptr);
+ }
+ }
+ }
+
+ public static
+ void glEvalMesh1(int mode, Int32 i1, Int32 i2)
+ {
+ Delegates.glEvalMesh1((int)mode, (Int32)i1, (Int32)i2);
+ }
+
+ public static
+ void glEvalPoint1(Int32 i)
+ {
+ Delegates.glEvalPoint1((Int32)i);
+ }
+
+ public static
+ void glEvalMesh2(int mode, Int32 i1, Int32 i2, Int32 j1, Int32 j2)
+ {
+ Delegates.glEvalMesh2((int)mode, (Int32)i1, (Int32)i2, (Int32)j1, (Int32)j2);
+ }
+
+ public static
+ void glEvalPoint2(Int32 i, Int32 j)
+ {
+ Delegates.glEvalPoint2((Int32)i, (Int32)j);
+ }
+
+ public static
+ void glAlphaFunc(int func, Single @ref)
+ {
+ Delegates.glAlphaFunc((int)func, (Single)@ref);
+ }
+
+ public static
+ void glBlendFunc(int sfactor, int dfactor)
+ {
+ Delegates.glBlendFunc((int)sfactor, (int)dfactor);
+ }
+
+ public static
+ void glLogicOp(int opcode)
+ {
+ Delegates.glLogicOp((int)opcode);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glStencilFunc(int func, Int32 @ref, UInt32 mask)
+ {
+ Delegates.glStencilFunc((int)func, (Int32)@ref, (UInt32)mask);
+ }
+
+ public static
+ void glStencilFunc(int func, Int32 @ref, Int32 mask)
+ {
+ Delegates.glStencilFunc((int)func, (Int32)@ref, (UInt32)mask);
+ }
+
+ public static
+ void glStencilOp(int fail, int zfail, int zpass)
+ {
+ Delegates.glStencilOp((int)fail, (int)zfail, (int)zpass);
+ }
+
+ public static
+ void glDepthFunc(int func)
+ {
+ Delegates.glDepthFunc((int)func);
+ }
+
+ public static
+ void glPixelZoom(Single xfactor, Single yfactor)
+ {
+ Delegates.glPixelZoom((Single)xfactor, (Single)yfactor);
+ }
+
+ public static
+ void glPixelTransferf(int pname, Single param)
+ {
+ Delegates.glPixelTransferf((int)pname, (Single)param);
+ }
+
+ public static
+ void glPixelTransferi(int pname, Int32 param)
+ {
+ Delegates.glPixelTransferi((int)pname, (Int32)param);
+ }
+
+ public static
+ void glPixelStoref(int pname, Single param)
+ {
+ Delegates.glPixelStoref((int)pname, (Single)param);
+ }
+
+ public static
+ void glPixelStorei(int pname, Int32 param)
+ {
+ Delegates.glPixelStorei((int)pname, (Int32)param);
+ }
+
+ public static
+ void glPixelMapfv(int map, Int32 mapsize, IntPtr values)
+ {
+ unsafe
+ {
+ Delegates.glPixelMapfv((int)map, (Int32)mapsize, (Single*)values);
+ }
+ }
+
+ public static
+ void glPixelMapfv(int map, Int32 mapsize, Single[] values)
+ {
+ unsafe
+ {
+ fixed (Single* values_ptr = values)
+ {
+ Delegates.glPixelMapfv((int)map, (Int32)mapsize, (Single*)values_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPixelMapfv(int map, Int32 mapsize, ref Single values)
+ {
+ unsafe
+ {
+ fixed (Single* values_ptr = &values)
+ {
+ Delegates.glPixelMapfv((int)map, (Int32)mapsize, (Single*)values_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPixelMapuiv(int map, Int32 mapsize, IntPtr values)
+ {
+ unsafe
+ {
+ Delegates.glPixelMapuiv((int)map, (Int32)mapsize, (UInt32*)values);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glPixelMapuiv(int map, Int32 mapsize, UInt32[] values)
+ {
+ unsafe
+ {
+ fixed (UInt32* values_ptr = values)
+ {
+ Delegates.glPixelMapuiv((int)map, (Int32)mapsize, (UInt32*)values_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPixelMapuiv(int map, Int32 mapsize, Int32[] values)
+ {
+ unsafe
+ {
+ fixed (Int32* values_ptr = values)
+ {
+ Delegates.glPixelMapuiv((int)map, (Int32)mapsize, (UInt32*)values_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glPixelMapuiv(int map, Int32 mapsize, ref UInt32 values)
+ {
+ unsafe
+ {
+ fixed (UInt32* values_ptr = &values)
+ {
+ Delegates.glPixelMapuiv((int)map, (Int32)mapsize, (UInt32*)values_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPixelMapuiv(int map, Int32 mapsize, ref Int32 values)
+ {
+ unsafe
+ {
+ fixed (Int32* values_ptr = &values)
+ {
+ Delegates.glPixelMapuiv((int)map, (Int32)mapsize, (UInt32*)values_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPixelMapusv(int map, Int32 mapsize, IntPtr values)
+ {
+ unsafe
+ {
+ Delegates.glPixelMapusv((int)map, (Int32)mapsize, (UInt16*)values);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glPixelMapusv(int map, Int32 mapsize, UInt16[] values)
+ {
+ unsafe
+ {
+ fixed (UInt16* values_ptr = values)
+ {
+ Delegates.glPixelMapusv((int)map, (Int32)mapsize, (UInt16*)values_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPixelMapusv(int map, Int32 mapsize, Int16[] values)
+ {
+ unsafe
+ {
+ fixed (Int16* values_ptr = values)
+ {
+ Delegates.glPixelMapusv((int)map, (Int32)mapsize, (UInt16*)values_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glPixelMapusv(int map, Int32 mapsize, ref UInt16 values)
+ {
+ unsafe
+ {
+ fixed (UInt16* values_ptr = &values)
+ {
+ Delegates.glPixelMapusv((int)map, (Int32)mapsize, (UInt16*)values_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPixelMapusv(int map, Int32 mapsize, ref Int16 values)
+ {
+ unsafe
+ {
+ fixed (Int16* values_ptr = &values)
+ {
+ Delegates.glPixelMapusv((int)map, (Int32)mapsize, (UInt16*)values_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReadBuffer(int mode)
+ {
+ Delegates.glReadBuffer((int)mode);
+ }
+
+ public static
+ void glCopyPixels(Int32 x, Int32 y, Int32 width, Int32 height, int type)
+ {
+ Delegates.glCopyPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (int)type);
+ }
+
+ public static
+ void glReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, int format, int type, [Out] IntPtr pixels)
+ {
+ unsafe
+ {
+ Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (int)format, (int)type, (IntPtr)pixels);
+ }
+ }
+
+ public static
+ void glReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, int format, int type, [In, Out] object pixels)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (int)format, (int)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pixels_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glDrawPixels(Int32 width, Int32 height, int format, int type, IntPtr pixels)
+ {
+ unsafe
+ {
+ Delegates.glDrawPixels((Int32)width, (Int32)height, (int)format, (int)type, (IntPtr)pixels);
+ }
+ }
+
+ public static
+ void glDrawPixels(Int32 width, Int32 height, int format, int type, [In, Out] object pixels)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glDrawPixels((Int32)width, (Int32)height, (int)format, (int)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pixels_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetBooleanv(int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetBooleanv((int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetBooleanv(int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetBooleanv((int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetBooleanv(int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetBooleanv((int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetClipPlane(int plane, [Out] IntPtr equation)
+ {
+ unsafe
+ {
+ Delegates.glGetClipPlane((int)plane, (Double*)equation);
+ }
+ }
+
+ public static
+ void glGetClipPlane(int plane, [Out] Double[] equation)
+ {
+ unsafe
+ {
+ fixed (Double* equation_ptr = equation)
+ {
+ Delegates.glGetClipPlane((int)plane, (Double*)equation_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetClipPlane(int plane, [Out] out Double equation)
+ {
+ unsafe
+ {
+ fixed (Double* equation_ptr = &equation)
+ {
+ Delegates.glGetClipPlane((int)plane, (Double*)equation_ptr);
+ equation = *equation_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetDoublev(int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetDoublev((int)pname, (Double*)@params);
+ }
+ }
+
+ public static
+ void glGetDoublev(int pname, [Out] Double[] @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = @params)
+ {
+ Delegates.glGetDoublev((int)pname, (Double*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetDoublev(int pname, [Out] out Double @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = &@params)
+ {
+ Delegates.glGetDoublev((int)pname, (Double*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ int glGetError()
+ {
+ return Delegates.glGetError();
+ }
+
+ public static
+ void glGetFloatv(int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetFloatv((int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetFloatv(int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetFloatv((int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetFloatv(int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetFloatv((int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetIntegerv(int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetIntegerv((int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetIntegerv(int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetIntegerv((int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetIntegerv(int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetIntegerv((int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetLightfv(int light, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetLightfv((int)light, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetLightfv(int light, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetLightfv((int)light, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetLightfv(int light, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetLightfv((int)light, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetLightiv(int light, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetLightiv((int)light, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetLightiv(int light, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetLightiv((int)light, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetLightiv(int light, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetLightiv((int)light, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetMapdv(int target, int query, [Out] IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glGetMapdv((int)target, (int)query, (Double*)v);
+ }
+ }
+
+ public static
+ void glGetMapdv(int target, int query, [Out] Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glGetMapdv((int)target, (int)query, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetMapdv(int target, int query, [Out] out Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glGetMapdv((int)target, (int)query, (Double*)v_ptr);
+ v = *v_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetMapfv(int target, int query, [Out] IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glGetMapfv((int)target, (int)query, (Single*)v);
+ }
+ }
+
+ public static
+ void glGetMapfv(int target, int query, [Out] Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glGetMapfv((int)target, (int)query, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetMapfv(int target, int query, [Out] out Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glGetMapfv((int)target, (int)query, (Single*)v_ptr);
+ v = *v_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetMapiv(int target, int query, [Out] IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glGetMapiv((int)target, (int)query, (Int32*)v);
+ }
+ }
+
+ public static
+ void glGetMapiv(int target, int query, [Out] Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glGetMapiv((int)target, (int)query, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetMapiv(int target, int query, [Out] out Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glGetMapiv((int)target, (int)query, (Int32*)v_ptr);
+ v = *v_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetMaterialfv(int face, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetMaterialfv((int)face, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetMaterialfv(int face, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetMaterialfv((int)face, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetMaterialfv(int face, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetMaterialfv((int)face, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetMaterialiv(int face, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetMaterialiv((int)face, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetMaterialiv(int face, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetMaterialiv((int)face, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetMaterialiv(int face, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetMaterialiv((int)face, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetPixelMapfv(int map, [Out] IntPtr values)
+ {
+ unsafe
+ {
+ Delegates.glGetPixelMapfv((int)map, (Single*)values);
+ }
+ }
+
+ public static
+ void glGetPixelMapfv(int map, [Out] Single[] values)
+ {
+ unsafe
+ {
+ fixed (Single* values_ptr = values)
+ {
+ Delegates.glGetPixelMapfv((int)map, (Single*)values_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetPixelMapfv(int map, [Out] out Single values)
+ {
+ unsafe
+ {
+ fixed (Single* values_ptr = &values)
+ {
+ Delegates.glGetPixelMapfv((int)map, (Single*)values_ptr);
+ values = *values_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetPixelMapuiv(int map, [Out] IntPtr values)
+ {
+ unsafe
+ {
+ Delegates.glGetPixelMapuiv((int)map, (UInt32*)values);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetPixelMapuiv(int map, [Out] UInt32[] values)
+ {
+ unsafe
+ {
+ fixed (UInt32* values_ptr = values)
+ {
+ Delegates.glGetPixelMapuiv((int)map, (UInt32*)values_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetPixelMapuiv(int map, [Out] Int32[] values)
+ {
+ unsafe
+ {
+ fixed (Int32* values_ptr = values)
+ {
+ Delegates.glGetPixelMapuiv((int)map, (UInt32*)values_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetPixelMapuiv(int map, [Out] out UInt32 values)
+ {
+ unsafe
+ {
+ fixed (UInt32* values_ptr = &values)
+ {
+ Delegates.glGetPixelMapuiv((int)map, (UInt32*)values_ptr);
+ values = *values_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetPixelMapuiv(int map, [Out] out Int32 values)
+ {
+ unsafe
+ {
+ fixed (Int32* values_ptr = &values)
+ {
+ Delegates.glGetPixelMapuiv((int)map, (UInt32*)values_ptr);
+ values = *values_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetPixelMapusv(int map, [Out] IntPtr values)
+ {
+ unsafe
+ {
+ Delegates.glGetPixelMapusv((int)map, (UInt16*)values);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetPixelMapusv(int map, [Out] UInt16[] values)
+ {
+ unsafe
+ {
+ fixed (UInt16* values_ptr = values)
+ {
+ Delegates.glGetPixelMapusv((int)map, (UInt16*)values_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetPixelMapusv(int map, [Out] Int16[] values)
+ {
+ unsafe
+ {
+ fixed (Int16* values_ptr = values)
+ {
+ Delegates.glGetPixelMapusv((int)map, (UInt16*)values_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetPixelMapusv(int map, [Out] out UInt16 values)
+ {
+ unsafe
+ {
+ fixed (UInt16* values_ptr = &values)
+ {
+ Delegates.glGetPixelMapusv((int)map, (UInt16*)values_ptr);
+ values = *values_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetPixelMapusv(int map, [Out] out Int16 values)
+ {
+ unsafe
+ {
+ fixed (Int16* values_ptr = &values)
+ {
+ Delegates.glGetPixelMapusv((int)map, (UInt16*)values_ptr);
+ values = *values_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetPolygonStipple([Out] IntPtr mask)
+ {
+ unsafe
+ {
+ Delegates.glGetPolygonStipple((Byte*)mask);
+ }
+ }
+
+ public static
+ void glGetPolygonStipple([Out] Byte[] mask)
+ {
+ unsafe
+ {
+ fixed (Byte* mask_ptr = mask)
+ {
+ Delegates.glGetPolygonStipple((Byte*)mask_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetPolygonStipple([Out] out Byte mask)
+ {
+ unsafe
+ {
+ fixed (Byte* mask_ptr = &mask)
+ {
+ Delegates.glGetPolygonStipple((Byte*)mask_ptr);
+ mask = *mask_ptr;
+ }
+ }
+ }
+
+ public static
+ string glGetString(int name)
+ {
+ unsafe
+ {
+ return System.Runtime.InteropServices.Marshal.PtrToStringAnsi(Delegates.glGetString((int)name));
+ }
+ }
+
+ public static
+ void glGetTexEnvfv(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetTexEnvfv((int)target, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetTexEnvfv(int target, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetTexEnvfv((int)target, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetTexEnvfv(int target, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetTexEnvfv((int)target, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetTexEnviv(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetTexEnviv((int)target, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetTexEnviv(int target, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetTexEnviv((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetTexEnviv(int target, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetTexEnviv((int)target, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetTexGendv(int coord, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetTexGendv((int)coord, (int)pname, (Double*)@params);
+ }
+ }
+
+ public static
+ void glGetTexGendv(int coord, int pname, [Out] Double[] @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = @params)
+ {
+ Delegates.glGetTexGendv((int)coord, (int)pname, (Double*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetTexGendv(int coord, int pname, [Out] out Double @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = &@params)
+ {
+ Delegates.glGetTexGendv((int)coord, (int)pname, (Double*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetTexGenfv(int coord, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetTexGenfv((int)coord, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetTexGenfv(int coord, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetTexGenfv((int)coord, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetTexGenfv(int coord, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetTexGenfv((int)coord, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetTexGeniv(int coord, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetTexGeniv((int)coord, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetTexGeniv(int coord, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetTexGeniv((int)coord, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetTexGeniv(int coord, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetTexGeniv((int)coord, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetTexImage(int target, Int32 level, int format, int type, [Out] IntPtr pixels)
+ {
+ unsafe
+ {
+ Delegates.glGetTexImage((int)target, (Int32)level, (int)format, (int)type, (IntPtr)pixels);
+ }
+ }
+
+ public static
+ void glGetTexImage(int target, Int32 level, int format, int type, [In, Out] object pixels)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetTexImage((int)target, (Int32)level, (int)format, (int)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pixels_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetTexParameterfv(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetTexParameterfv((int)target, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetTexParameterfv(int target, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetTexParameterfv((int)target, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetTexParameterfv(int target, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetTexParameterfv((int)target, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetTexParameteriv(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetTexParameteriv((int)target, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetTexParameteriv(int target, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetTexParameteriv((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetTexParameteriv(int target, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetTexParameteriv((int)target, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetTexLevelParameterfv(int target, Int32 level, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetTexLevelParameterfv((int)target, (Int32)level, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetTexLevelParameterfv(int target, Int32 level, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetTexLevelParameterfv((int)target, (Int32)level, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetTexLevelParameterfv(int target, Int32 level, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetTexLevelParameterfv((int)target, (Int32)level, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetTexLevelParameteriv(int target, Int32 level, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetTexLevelParameteriv((int)target, (Int32)level, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetTexLevelParameteriv(int target, Int32 level, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetTexLevelParameteriv((int)target, (Int32)level, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetTexLevelParameteriv(int target, Int32 level, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetTexLevelParameteriv((int)target, (Int32)level, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ Int32 glIsEnabled(int cap)
+ {
+ return Delegates.glIsEnabled((int)cap);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glIsList(UInt32 list)
+ {
+ return Delegates.glIsList((UInt32)list);
+ }
+
+ public static
+ Int32 glIsList(Int32 list)
+ {
+ return Delegates.glIsList((UInt32)list);
+ }
+
+ public static
+ void glDepthRange(Double near, Double far)
+ {
+ Delegates.glDepthRange((Double)near, (Double)far);
+ }
+
+ public static
+ void glFrustum(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar)
+ {
+ Delegates.glFrustum((Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar);
+ }
+
+ public static
+ void glLoadIdentity()
+ {
+ Delegates.glLoadIdentity();
+ }
+
+ public static
+ void glLoadMatrixf(IntPtr m)
+ {
+ unsafe
+ {
+ Delegates.glLoadMatrixf((Single*)m);
+ }
+ }
+
+ public static
+ void glLoadMatrixf(Single[] m)
+ {
+ unsafe
+ {
+ fixed (Single* m_ptr = m)
+ {
+ Delegates.glLoadMatrixf((Single*)m_ptr);
+ }
+ }
+ }
+
+ public static
+ void glLoadMatrixf(ref Single m)
+ {
+ unsafe
+ {
+ fixed (Single* m_ptr = &m)
+ {
+ Delegates.glLoadMatrixf((Single*)m_ptr);
+ }
+ }
+ }
+
+ public static
+ void glLoadMatrixd(IntPtr m)
+ {
+ unsafe
+ {
+ Delegates.glLoadMatrixd((Double*)m);
+ }
+ }
+
+ public static
+ void glLoadMatrixd(Double[] m)
+ {
+ unsafe
+ {
+ fixed (Double* m_ptr = m)
+ {
+ Delegates.glLoadMatrixd((Double*)m_ptr);
+ }
+ }
+ }
+
+ public static
+ void glLoadMatrixd(ref Double m)
+ {
+ unsafe
+ {
+ fixed (Double* m_ptr = &m)
+ {
+ Delegates.glLoadMatrixd((Double*)m_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMatrixMode(int mode)
+ {
+ Delegates.glMatrixMode((int)mode);
+ }
+
+ public static
+ void glMultMatrixf(IntPtr m)
+ {
+ unsafe
+ {
+ Delegates.glMultMatrixf((Single*)m);
+ }
+ }
+
+ public static
+ void glMultMatrixf(Single[] m)
+ {
+ unsafe
+ {
+ fixed (Single* m_ptr = m)
+ {
+ Delegates.glMultMatrixf((Single*)m_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultMatrixf(ref Single m)
+ {
+ unsafe
+ {
+ fixed (Single* m_ptr = &m)
+ {
+ Delegates.glMultMatrixf((Single*)m_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultMatrixd(IntPtr m)
+ {
+ unsafe
+ {
+ Delegates.glMultMatrixd((Double*)m);
+ }
+ }
+
+ public static
+ void glMultMatrixd(Double[] m)
+ {
+ unsafe
+ {
+ fixed (Double* m_ptr = m)
+ {
+ Delegates.glMultMatrixd((Double*)m_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultMatrixd(ref Double m)
+ {
+ unsafe
+ {
+ fixed (Double* m_ptr = &m)
+ {
+ Delegates.glMultMatrixd((Double*)m_ptr);
+ }
+ }
+ }
+
+ public static
+ void glOrtho(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar)
+ {
+ Delegates.glOrtho((Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar);
+ }
+
+ public static
+ void glPopMatrix()
+ {
+ Delegates.glPopMatrix();
+ }
+
+ public static
+ void glPushMatrix()
+ {
+ Delegates.glPushMatrix();
+ }
+
+ public static
+ void glRotated(Double angle, Double x, Double y, Double z)
+ {
+ Delegates.glRotated((Double)angle, (Double)x, (Double)y, (Double)z);
+ }
+
+ public static
+ void glRotatef(Single angle, Single x, Single y, Single z)
+ {
+ Delegates.glRotatef((Single)angle, (Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glScaled(Double x, Double y, Double z)
+ {
+ Delegates.glScaled((Double)x, (Double)y, (Double)z);
+ }
+
+ public static
+ void glScalef(Single x, Single y, Single z)
+ {
+ Delegates.glScalef((Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glTranslated(Double x, Double y, Double z)
+ {
+ Delegates.glTranslated((Double)x, (Double)y, (Double)z);
+ }
+
+ public static
+ void glTranslatef(Single x, Single y, Single z)
+ {
+ Delegates.glTranslatef((Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glViewport(Int32 x, Int32 y, Int32 width, Int32 height)
+ {
+ Delegates.glViewport((Int32)x, (Int32)y, (Int32)width, (Int32)height);
+ }
+
+ public static
+ void glArrayElement(Int32 i)
+ {
+ Delegates.glArrayElement((Int32)i);
+ }
+
+ public static
+ void glColorPointer(Int32 size, int type, Int32 stride, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glColorPointer((Int32)size, (int)type, (Int32)stride, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glColorPointer(Int32 size, int type, Int32 stride, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glColorPointer((Int32)size, (int)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glDisableClientState(int array)
+ {
+ Delegates.glDisableClientState((int)array);
+ }
+
+ public static
+ void glDrawArrays(int mode, Int32 first, Int32 count)
+ {
+ Delegates.glDrawArrays((int)mode, (Int32)first, (Int32)count);
+ }
+
+ public static
+ void glDrawElements(int mode, Int32 count, int type, IntPtr indices)
+ {
+ unsafe
+ {
+ Delegates.glDrawElements((int)mode, (Int32)count, (int)type, (IntPtr)indices);
+ }
+ }
+
+ public static
+ void glDrawElements(int mode, Int32 count, int type, [In, Out] object indices)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glDrawElements((int)mode, (Int32)count, (int)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glEdgeFlagPointer(Int32 stride, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glEdgeFlagPointer(Int32 stride, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glEnableClientState(int array)
+ {
+ Delegates.glEnableClientState((int)array);
+ }
+
+ public static
+ void glGetPointerv(int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetPointerv((int)pname, (IntPtr)@params);
+ }
+ }
+
+ public static
+ void glGetPointerv(int pname, [In, Out] object @params)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetPointerv((int)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ @params_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glIndexPointer(int type, Int32 stride, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glIndexPointer((int)type, (Int32)stride, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glIndexPointer(int type, Int32 stride, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glIndexPointer((int)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glInterleavedArrays(int format, Int32 stride, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glInterleavedArrays((int)format, (Int32)stride, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glInterleavedArrays(int format, Int32 stride, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glInterleavedArrays((int)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glNormalPointer(int type, Int32 stride, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glNormalPointer((int)type, (Int32)stride, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glNormalPointer(int type, Int32 stride, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glNormalPointer((int)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glTexCoordPointer(Int32 size, int type, Int32 stride, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glTexCoordPointer((Int32)size, (int)type, (Int32)stride, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glTexCoordPointer(Int32 size, int type, Int32 stride, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glTexCoordPointer((Int32)size, (int)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glVertexPointer(Int32 size, int type, Int32 stride, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glVertexPointer((Int32)size, (int)type, (Int32)stride, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glVertexPointer(Int32 size, int type, Int32 stride, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glVertexPointer((Int32)size, (int)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glPolygonOffset(Single factor, Single units)
+ {
+ Delegates.glPolygonOffset((Single)factor, (Single)units);
+ }
+
+ public static
+ void glCopyTexImage1D(int target, Int32 level, int internalformat, Int32 x, Int32 y, Int32 width, Int32 border)
+ {
+ Delegates.glCopyTexImage1D((int)target, (Int32)level, (int)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border);
+ }
+
+ public static
+ void glCopyTexImage2D(int target, Int32 level, int internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border)
+ {
+ Delegates.glCopyTexImage2D((int)target, (Int32)level, (int)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border);
+ }
+
+ public static
+ void glCopyTexSubImage1D(int target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width)
+ {
+ Delegates.glCopyTexSubImage1D((int)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width);
+ }
+
+ public static
+ void glCopyTexSubImage2D(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height)
+ {
+ Delegates.glCopyTexSubImage2D((int)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
+ }
+
+ public static
+ void glTexSubImage1D(int target, Int32 level, Int32 xoffset, Int32 width, int format, int type, IntPtr pixels)
+ {
+ unsafe
+ {
+ Delegates.glTexSubImage1D((int)target, (Int32)level, (Int32)xoffset, (Int32)width, (int)format, (int)type, (IntPtr)pixels);
+ }
+ }
+
+ public static
+ void glTexSubImage1D(int target, Int32 level, Int32 xoffset, Int32 width, int format, int type, [In, Out] object pixels)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glTexSubImage1D((int)target, (Int32)level, (Int32)xoffset, (Int32)width, (int)format, (int)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pixels_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glTexSubImage2D(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, int format, int type, IntPtr pixels)
+ {
+ unsafe
+ {
+ Delegates.glTexSubImage2D((int)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (int)format, (int)type, (IntPtr)pixels);
+ }
+ }
+
+ public static
+ void glTexSubImage2D(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, int format, int type, [In, Out] object pixels)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glTexSubImage2D((int)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (int)format, (int)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pixels_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ Int32 glAreTexturesResident(Int32 n, IntPtr textures, [Out] IntPtr residences)
+ {
+ unsafe
+ {
+ return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (Int32*)residences);
+ }
+ }
+
+ public static
+ Int32 glAreTexturesResident(Int32 n, IntPtr textures, [Out] Int32[] residences)
+ {
+ unsafe
+ {
+ fixed (Int32* residences_ptr = residences)
+ {
+ return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (Int32*)residences_ptr);
+ }
+ }
+ }
+
+ public static
+ Int32 glAreTexturesResident(Int32 n, IntPtr textures, [Out] out Int32 residences)
+ {
+ unsafe
+ {
+ fixed (Int32* residences_ptr = &residences)
+ {
+ Int32 retval = Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (Int32*)residences_ptr);
+ residences = *residences_ptr;
+ return retval;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glAreTexturesResident(Int32 n, UInt32[] textures, [Out] IntPtr residences)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = textures)
+ {
+ return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (Int32*)residences);
+ }
+ }
+ }
+
+ public static
+ Int32 glAreTexturesResident(Int32 n, Int32[] textures, [Out] IntPtr residences)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = textures)
+ {
+ return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (Int32*)residences);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glAreTexturesResident(Int32 n, UInt32[] textures, [Out] Int32[] residences)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = textures)
+ fixed (Int32* residences_ptr = residences)
+ {
+ return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (Int32*)residences_ptr);
+ }
+ }
+ }
+
+ public static
+ Int32 glAreTexturesResident(Int32 n, Int32[] textures, [Out] Int32[] residences)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = textures)
+ fixed (Int32* residences_ptr = residences)
+ {
+ return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (Int32*)residences_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glAreTexturesResident(Int32 n, UInt32[] textures, [Out] out Int32 residences)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = textures)
+ fixed (Int32* residences_ptr = &residences)
+ {
+ Int32 retval = Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (Int32*)residences_ptr);
+ residences = *residences_ptr;
+ return retval;
+ }
+ }
+ }
+
+ public static
+ Int32 glAreTexturesResident(Int32 n, Int32[] textures, [Out] out Int32 residences)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = textures)
+ fixed (Int32* residences_ptr = &residences)
+ {
+ Int32 retval = Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (Int32*)residences_ptr);
+ residences = *residences_ptr;
+ return retval;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glAreTexturesResident(Int32 n, ref UInt32 textures, [Out] IntPtr residences)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = &textures)
+ {
+ return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (Int32*)residences);
+ }
+ }
+ }
+
+ public static
+ Int32 glAreTexturesResident(Int32 n, ref Int32 textures, [Out] IntPtr residences)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = &textures)
+ {
+ return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (Int32*)residences);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glAreTexturesResident(Int32 n, ref UInt32 textures, [Out] Int32[] residences)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = &textures)
+ fixed (Int32* residences_ptr = residences)
+ {
+ return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (Int32*)residences_ptr);
+ }
+ }
+ }
+
+ public static
+ Int32 glAreTexturesResident(Int32 n, ref Int32 textures, [Out] Int32[] residences)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = &textures)
+ fixed (Int32* residences_ptr = residences)
+ {
+ return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (Int32*)residences_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glAreTexturesResident(Int32 n, ref UInt32 textures, [Out] out Int32 residences)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = &textures)
+ fixed (Int32* residences_ptr = &residences)
+ {
+ Int32 retval = Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (Int32*)residences_ptr);
+ residences = *residences_ptr;
+ return retval;
+ }
+ }
+ }
+
+ public static
+ Int32 glAreTexturesResident(Int32 n, ref Int32 textures, [Out] out Int32 residences)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = &textures)
+ fixed (Int32* residences_ptr = &residences)
+ {
+ Int32 retval = Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (Int32*)residences_ptr);
+ residences = *residences_ptr;
+ return retval;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glBindTexture(int target, UInt32 texture)
+ {
+ Delegates.glBindTexture((int)target, (UInt32)texture);
+ }
+
+ public static
+ void glBindTexture(int target, Int32 texture)
+ {
+ Delegates.glBindTexture((int)target, (UInt32)texture);
+ }
+
+ public static
+ void glDeleteTextures(Int32 n, IntPtr textures)
+ {
+ unsafe
+ {
+ Delegates.glDeleteTextures((Int32)n, (UInt32*)textures);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteTextures(Int32 n, UInt32[] textures)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = textures)
+ {
+ Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeleteTextures(Int32 n, Int32[] textures)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = textures)
+ {
+ Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteTextures(Int32 n, ref UInt32 textures)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = &textures)
+ {
+ Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeleteTextures(Int32 n, ref Int32 textures)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = &textures)
+ {
+ Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGenTextures(Int32 n, [Out] IntPtr textures)
+ {
+ unsafe
+ {
+ Delegates.glGenTextures((Int32)n, (UInt32*)textures);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGenTextures(Int32 n, [Out] UInt32[] textures)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = textures)
+ {
+ Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGenTextures(Int32 n, [Out] Int32[] textures)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = textures)
+ {
+ Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGenTextures(Int32 n, [Out] out UInt32 textures)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = &textures)
+ {
+ Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
+ textures = *textures_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGenTextures(Int32 n, [Out] out Int32 textures)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = &textures)
+ {
+ Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
+ textures = *textures_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glIsTexture(UInt32 texture)
+ {
+ return Delegates.glIsTexture((UInt32)texture);
+ }
+
+ public static
+ Int32 glIsTexture(Int32 texture)
+ {
+ return Delegates.glIsTexture((UInt32)texture);
+ }
+
+ public static
+ void glPrioritizeTextures(Int32 n, IntPtr textures, IntPtr priorities)
+ {
+ unsafe
+ {
+ Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures, (Single*)priorities);
+ }
+ }
+
+ public static
+ void glPrioritizeTextures(Int32 n, IntPtr textures, Single[] priorities)
+ {
+ unsafe
+ {
+ fixed (Single* priorities_ptr = priorities)
+ {
+ Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures, (Single*)priorities_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPrioritizeTextures(Int32 n, IntPtr textures, ref Single priorities)
+ {
+ unsafe
+ {
+ fixed (Single* priorities_ptr = &priorities)
+ {
+ Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures, (Single*)priorities_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glPrioritizeTextures(Int32 n, UInt32[] textures, IntPtr priorities)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = textures)
+ {
+ Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities);
+ }
+ }
+ }
+
+ public static
+ void glPrioritizeTextures(Int32 n, Int32[] textures, IntPtr priorities)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = textures)
+ {
+ Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glPrioritizeTextures(Int32 n, UInt32[] textures, Single[] priorities)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = textures)
+ fixed (Single* priorities_ptr = priorities)
+ {
+ Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPrioritizeTextures(Int32 n, Int32[] textures, Single[] priorities)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = textures)
+ fixed (Single* priorities_ptr = priorities)
+ {
+ Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glPrioritizeTextures(Int32 n, UInt32[] textures, ref Single priorities)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = textures)
+ fixed (Single* priorities_ptr = &priorities)
+ {
+ Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPrioritizeTextures(Int32 n, Int32[] textures, ref Single priorities)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = textures)
+ fixed (Single* priorities_ptr = &priorities)
+ {
+ Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glPrioritizeTextures(Int32 n, ref UInt32 textures, IntPtr priorities)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = &textures)
+ {
+ Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities);
+ }
+ }
+ }
+
+ public static
+ void glPrioritizeTextures(Int32 n, ref Int32 textures, IntPtr priorities)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = &textures)
+ {
+ Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glPrioritizeTextures(Int32 n, ref UInt32 textures, Single[] priorities)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = &textures)
+ fixed (Single* priorities_ptr = priorities)
+ {
+ Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPrioritizeTextures(Int32 n, ref Int32 textures, Single[] priorities)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = &textures)
+ fixed (Single* priorities_ptr = priorities)
+ {
+ Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glPrioritizeTextures(Int32 n, ref UInt32 textures, ref Single priorities)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = &textures)
+ fixed (Single* priorities_ptr = &priorities)
+ {
+ Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPrioritizeTextures(Int32 n, ref Int32 textures, ref Single priorities)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = &textures)
+ fixed (Single* priorities_ptr = &priorities)
+ {
+ Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr);
+ }
+ }
+ }
+
+ public static
+ void glIndexub(Byte c)
+ {
+ Delegates.glIndexub((Byte)c);
+ }
+
+ public static
+ void glIndexubv(IntPtr c)
+ {
+ unsafe
+ {
+ Delegates.glIndexubv((Byte*)c);
+ }
+ }
+
+ public static
+ void glIndexubv(Byte[] c)
+ {
+ unsafe
+ {
+ fixed (Byte* c_ptr = c)
+ {
+ Delegates.glIndexubv((Byte*)c_ptr);
+ }
+ }
+ }
+
+ public static
+ void glIndexubv(ref Byte c)
+ {
+ unsafe
+ {
+ fixed (Byte* c_ptr = &c)
+ {
+ Delegates.glIndexubv((Byte*)c_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPopClientAttrib()
+ {
+ Delegates.glPopClientAttrib();
+ }
+
+ public static
+ void glPushClientAttrib(int mask)
+ {
+ Delegates.glPushClientAttrib((int)mask);
+ }
+
+ public static
+ void glBlendColor(Single red, Single green, Single blue, Single alpha)
+ {
+ Delegates.glBlendColor((Single)red, (Single)green, (Single)blue, (Single)alpha);
+ }
+
+ public static
+ void glBlendEquation(int mode)
+ {
+ Delegates.glBlendEquation((int)mode);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDrawRangeElements(int mode, UInt32 start, UInt32 end, Int32 count, int type, IntPtr indices)
+ {
+ unsafe
+ {
+ Delegates.glDrawRangeElements((int)mode, (UInt32)start, (UInt32)end, (Int32)count, (int)type, (IntPtr)indices);
+ }
+ }
+
+ public static
+ void glDrawRangeElements(int mode, Int32 start, Int32 end, Int32 count, int type, IntPtr indices)
+ {
+ unsafe
+ {
+ Delegates.glDrawRangeElements((int)mode, (UInt32)start, (UInt32)end, (Int32)count, (int)type, (IntPtr)indices);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDrawRangeElements(int mode, UInt32 start, UInt32 end, Int32 count, int type, [In, Out] object indices)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glDrawRangeElements((int)mode, (UInt32)start, (UInt32)end, (Int32)count, (int)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glDrawRangeElements(int mode, Int32 start, Int32 end, Int32 count, int type, [In, Out] object indices)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glDrawRangeElements((int)mode, (UInt32)start, (UInt32)end, (Int32)count, (int)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glColorTable(int target, int internalformat, Int32 width, int format, int type, IntPtr table)
+ {
+ unsafe
+ {
+ Delegates.glColorTable((int)target, (int)internalformat, (Int32)width, (int)format, (int)type, (IntPtr)table);
+ }
+ }
+
+ public static
+ void glColorTable(int target, int internalformat, Int32 width, int format, int type, [In, Out] object table)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle table_ptr = System.Runtime.InteropServices.GCHandle.Alloc(table, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glColorTable((int)target, (int)internalformat, (Int32)width, (int)format, (int)type, (IntPtr)table_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ table_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glColorTableParameterfv(int target, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glColorTableParameterfv((int)target, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glColorTableParameterfv(int target, int pname, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glColorTableParameterfv((int)target, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColorTableParameterfv(int target, int pname, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glColorTableParameterfv((int)target, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColorTableParameteriv(int target, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glColorTableParameteriv((int)target, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glColorTableParameteriv(int target, int pname, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glColorTableParameteriv((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColorTableParameteriv(int target, int pname, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glColorTableParameteriv((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glCopyColorTable(int target, int internalformat, Int32 x, Int32 y, Int32 width)
+ {
+ Delegates.glCopyColorTable((int)target, (int)internalformat, (Int32)x, (Int32)y, (Int32)width);
+ }
+
+ public static
+ void glGetColorTable(int target, int format, int type, [Out] IntPtr table)
+ {
+ unsafe
+ {
+ Delegates.glGetColorTable((int)target, (int)format, (int)type, (IntPtr)table);
+ }
+ }
+
+ public static
+ void glGetColorTable(int target, int format, int type, [In, Out] object table)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle table_ptr = System.Runtime.InteropServices.GCHandle.Alloc(table, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetColorTable((int)target, (int)format, (int)type, (IntPtr)table_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ table_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetColorTableParameterfv(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetColorTableParameterfv((int)target, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetColorTableParameterfv(int target, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetColorTableParameterfv((int)target, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetColorTableParameterfv(int target, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetColorTableParameterfv((int)target, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetColorTableParameteriv(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetColorTableParameteriv((int)target, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetColorTableParameteriv(int target, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetColorTableParameteriv((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetColorTableParameteriv(int target, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetColorTableParameteriv((int)target, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glColorSubTable(int target, Int32 start, Int32 count, int format, int type, IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glColorSubTable((int)target, (Int32)start, (Int32)count, (int)format, (int)type, (IntPtr)data);
+ }
+ }
+
+ public static
+ void glColorSubTable(int target, Int32 start, Int32 count, int format, int type, [In, Out] object data)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glColorSubTable((int)target, (Int32)start, (Int32)count, (int)format, (int)type, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glCopyColorSubTable(int target, Int32 start, Int32 x, Int32 y, Int32 width)
+ {
+ Delegates.glCopyColorSubTable((int)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width);
+ }
+
+ public static
+ void glConvolutionFilter1D(int target, int internalformat, Int32 width, int format, int type, IntPtr image)
+ {
+ unsafe
+ {
+ Delegates.glConvolutionFilter1D((int)target, (int)internalformat, (Int32)width, (int)format, (int)type, (IntPtr)image);
+ }
+ }
+
+ public static
+ void glConvolutionFilter1D(int target, int internalformat, Int32 width, int format, int type, [In, Out] object image)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glConvolutionFilter1D((int)target, (int)internalformat, (Int32)width, (int)format, (int)type, (IntPtr)image_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ image_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glConvolutionFilter2D(int target, int internalformat, Int32 width, Int32 height, int format, int type, IntPtr image)
+ {
+ unsafe
+ {
+ Delegates.glConvolutionFilter2D((int)target, (int)internalformat, (Int32)width, (Int32)height, (int)format, (int)type, (IntPtr)image);
+ }
+ }
+
+ public static
+ void glConvolutionFilter2D(int target, int internalformat, Int32 width, Int32 height, int format, int type, [In, Out] object image)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glConvolutionFilter2D((int)target, (int)internalformat, (Int32)width, (Int32)height, (int)format, (int)type, (IntPtr)image_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ image_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glConvolutionParameterf(int target, int pname, Single @params)
+ {
+ Delegates.glConvolutionParameterf((int)target, (int)pname, (Single)@params);
+ }
+
+ public static
+ void glConvolutionParameterfv(int target, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glConvolutionParameterfv((int)target, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glConvolutionParameterfv(int target, int pname, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glConvolutionParameterfv((int)target, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glConvolutionParameterfv(int target, int pname, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glConvolutionParameterfv((int)target, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glConvolutionParameteri(int target, int pname, Int32 @params)
+ {
+ Delegates.glConvolutionParameteri((int)target, (int)pname, (Int32)@params);
+ }
+
+ public static
+ void glConvolutionParameteriv(int target, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glConvolutionParameteriv((int)target, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glConvolutionParameteriv(int target, int pname, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glConvolutionParameteriv((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glConvolutionParameteriv(int target, int pname, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glConvolutionParameteriv((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glCopyConvolutionFilter1D(int target, int internalformat, Int32 x, Int32 y, Int32 width)
+ {
+ Delegates.glCopyConvolutionFilter1D((int)target, (int)internalformat, (Int32)x, (Int32)y, (Int32)width);
+ }
+
+ public static
+ void glCopyConvolutionFilter2D(int target, int internalformat, Int32 x, Int32 y, Int32 width, Int32 height)
+ {
+ Delegates.glCopyConvolutionFilter2D((int)target, (int)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
+ }
+
+ public static
+ void glGetConvolutionFilter(int target, int format, int type, [Out] IntPtr image)
+ {
+ unsafe
+ {
+ Delegates.glGetConvolutionFilter((int)target, (int)format, (int)type, (IntPtr)image);
+ }
+ }
+
+ public static
+ void glGetConvolutionFilter(int target, int format, int type, [In, Out] object image)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetConvolutionFilter((int)target, (int)format, (int)type, (IntPtr)image_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ image_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetConvolutionParameterfv(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetConvolutionParameterfv((int)target, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetConvolutionParameterfv(int target, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetConvolutionParameterfv((int)target, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetConvolutionParameterfv(int target, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetConvolutionParameterfv((int)target, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetConvolutionParameteriv(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetConvolutionParameteriv((int)target, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetConvolutionParameteriv(int target, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetConvolutionParameteriv((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetConvolutionParameteriv(int target, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetConvolutionParameteriv((int)target, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetSeparableFilter(int target, int format, int type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span)
+ {
+ unsafe
+ {
+ Delegates.glGetSeparableFilter((int)target, (int)format, (int)type, (IntPtr)row, (IntPtr)column, (IntPtr)span);
+ }
+ }
+
+ public static
+ void glGetSeparableFilter(int target, int format, int type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] object span)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetSeparableFilter((int)target, (int)format, (int)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ span_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetSeparableFilter(int target, int format, int type, [Out] IntPtr row, [In, Out] object column, [Out] IntPtr span)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetSeparableFilter((int)target, (int)format, (int)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span);
+ }
+ finally
+ {
+ column_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetSeparableFilter(int target, int format, int type, [Out] IntPtr row, [In, Out] object column, [In, Out] object span)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned);
+ System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetSeparableFilter((int)target, (int)format, (int)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ column_ptr.Free();
+ span_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetSeparableFilter(int target, int format, int type, [In, Out] object row, [Out] IntPtr column, [Out] IntPtr span)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetSeparableFilter((int)target, (int)format, (int)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column, (IntPtr)span);
+ }
+ finally
+ {
+ row_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetSeparableFilter(int target, int format, int type, [In, Out] object row, [Out] IntPtr column, [In, Out] object span)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned);
+ System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetSeparableFilter((int)target, (int)format, (int)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ row_ptr.Free();
+ span_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetSeparableFilter(int target, int format, int type, [In, Out] object row, [In, Out] object column, [Out] IntPtr span)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned);
+ System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetSeparableFilter((int)target, (int)format, (int)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span);
+ }
+ finally
+ {
+ row_ptr.Free();
+ column_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetSeparableFilter(int target, int format, int type, [In, Out] object row, [In, Out] object column, [In, Out] object span)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned);
+ System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned);
+ System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetSeparableFilter((int)target, (int)format, (int)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ row_ptr.Free();
+ column_ptr.Free();
+ span_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glSeparableFilter2D(int target, int internalformat, Int32 width, Int32 height, int format, int type, IntPtr row, IntPtr column)
+ {
+ unsafe
+ {
+ Delegates.glSeparableFilter2D((int)target, (int)internalformat, (Int32)width, (Int32)height, (int)format, (int)type, (IntPtr)row, (IntPtr)column);
+ }
+ }
+
+ public static
+ void glSeparableFilter2D(int target, int internalformat, Int32 width, Int32 height, int format, int type, IntPtr row, [In, Out] object column)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glSeparableFilter2D((int)target, (int)internalformat, (Int32)width, (Int32)height, (int)format, (int)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ column_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glSeparableFilter2D(int target, int internalformat, Int32 width, Int32 height, int format, int type, [In, Out] object row, IntPtr column)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glSeparableFilter2D((int)target, (int)internalformat, (Int32)width, (Int32)height, (int)format, (int)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column);
+ }
+ finally
+ {
+ row_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glSeparableFilter2D(int target, int internalformat, Int32 width, Int32 height, int format, int type, [In, Out] object row, [In, Out] object column)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned);
+ System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glSeparableFilter2D((int)target, (int)internalformat, (Int32)width, (Int32)height, (int)format, (int)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ row_ptr.Free();
+ column_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetHistogram(int target, Int32 reset, int format, int type, [Out] IntPtr values)
+ {
+ unsafe
+ {
+ Delegates.glGetHistogram((int)target, (Int32)reset, (int)format, (int)type, (IntPtr)values);
+ }
+ }
+
+ public static
+ void glGetHistogram(int target, Int32 reset, int format, int type, [In, Out] object values)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle values_ptr = System.Runtime.InteropServices.GCHandle.Alloc(values, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetHistogram((int)target, (Int32)reset, (int)format, (int)type, (IntPtr)values_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ values_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetHistogramParameterfv(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetHistogramParameterfv((int)target, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetHistogramParameterfv(int target, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetHistogramParameterfv((int)target, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetHistogramParameterfv(int target, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetHistogramParameterfv((int)target, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetHistogramParameteriv(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetHistogramParameteriv((int)target, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetHistogramParameteriv(int target, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetHistogramParameteriv((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetHistogramParameteriv(int target, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetHistogramParameteriv((int)target, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetMinmax(int target, Int32 reset, int format, int type, [Out] IntPtr values)
+ {
+ unsafe
+ {
+ Delegates.glGetMinmax((int)target, (Int32)reset, (int)format, (int)type, (IntPtr)values);
+ }
+ }
+
+ public static
+ void glGetMinmax(int target, Int32 reset, int format, int type, [In, Out] object values)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle values_ptr = System.Runtime.InteropServices.GCHandle.Alloc(values, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetMinmax((int)target, (Int32)reset, (int)format, (int)type, (IntPtr)values_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ values_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetMinmaxParameterfv(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetMinmaxParameterfv((int)target, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetMinmaxParameterfv(int target, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetMinmaxParameterfv((int)target, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetMinmaxParameterfv(int target, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetMinmaxParameterfv((int)target, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetMinmaxParameteriv(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetMinmaxParameteriv((int)target, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetMinmaxParameteriv(int target, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetMinmaxParameteriv((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetMinmaxParameteriv(int target, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetMinmaxParameteriv((int)target, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glHistogram(int target, Int32 width, int internalformat, Int32 sink)
+ {
+ Delegates.glHistogram((int)target, (Int32)width, (int)internalformat, (Int32)sink);
+ }
+
+ public static
+ void glMinmax(int target, int internalformat, Int32 sink)
+ {
+ Delegates.glMinmax((int)target, (int)internalformat, (Int32)sink);
+ }
+
+ public static
+ void glResetHistogram(int target)
+ {
+ Delegates.glResetHistogram((int)target);
+ }
+
+ public static
+ void glResetMinmax(int target)
+ {
+ Delegates.glResetMinmax((int)target);
+ }
+
+ public static
+ void glTexImage3D(int target, Int32 level, int internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, int format, int type, IntPtr pixels)
+ {
+ unsafe
+ {
+ Delegates.glTexImage3D((int)target, (Int32)level, (int)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (int)format, (int)type, (IntPtr)pixels);
+ }
+ }
+
+ public static
+ void glTexImage3D(int target, Int32 level, int internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, int format, int type, [In, Out] object pixels)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glTexImage3D((int)target, (Int32)level, (int)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (int)format, (int)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pixels_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glTexSubImage3D(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, int format, int type, IntPtr pixels)
+ {
+ unsafe
+ {
+ Delegates.glTexSubImage3D((int)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (int)format, (int)type, (IntPtr)pixels);
+ }
+ }
+
+ public static
+ void glTexSubImage3D(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, int format, int type, [In, Out] object pixels)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glTexSubImage3D((int)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (int)format, (int)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pixels_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glCopyTexSubImage3D(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height)
+ {
+ Delegates.glCopyTexSubImage3D((int)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
+ }
+
+ public static
+ void glActiveTexture(int texture)
+ {
+ Delegates.glActiveTexture((int)texture);
+ }
+
+ public static
+ void glClientActiveTexture(int texture)
+ {
+ Delegates.glClientActiveTexture((int)texture);
+ }
+
+ public static
+ void glMultiTexCoord1d(int target, Double s)
+ {
+ Delegates.glMultiTexCoord1d((int)target, (Double)s);
+ }
+
+ public static
+ void glMultiTexCoord1dv(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord1dv((int)target, (Double*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord1dv(int target, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord1dv((int)target, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord1dv(int target, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord1dv((int)target, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord1f(int target, Single s)
+ {
+ Delegates.glMultiTexCoord1f((int)target, (Single)s);
+ }
+
+ public static
+ void glMultiTexCoord1fv(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord1fv((int)target, (Single*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord1fv(int target, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord1fv((int)target, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord1fv(int target, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord1fv((int)target, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord1i(int target, Int32 s)
+ {
+ Delegates.glMultiTexCoord1i((int)target, (Int32)s);
+ }
+
+ public static
+ void glMultiTexCoord1iv(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord1iv((int)target, (Int32*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord1iv(int target, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord1iv((int)target, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord1iv(int target, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord1iv((int)target, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord1s(int target, Int16 s)
+ {
+ Delegates.glMultiTexCoord1s((int)target, (Int16)s);
+ }
+
+ public static
+ void glMultiTexCoord1sv(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord1sv((int)target, (Int16*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord1sv(int target, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord1sv((int)target, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord1sv(int target, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord1sv((int)target, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord2d(int target, Double s, Double t)
+ {
+ Delegates.glMultiTexCoord2d((int)target, (Double)s, (Double)t);
+ }
+
+ public static
+ void glMultiTexCoord2dv(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord2dv((int)target, (Double*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord2dv(int target, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord2dv((int)target, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord2dv(int target, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord2dv((int)target, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord2f(int target, Single s, Single t)
+ {
+ Delegates.glMultiTexCoord2f((int)target, (Single)s, (Single)t);
+ }
+
+ public static
+ void glMultiTexCoord2fv(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord2fv((int)target, (Single*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord2fv(int target, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord2fv((int)target, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord2fv(int target, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord2fv((int)target, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord2i(int target, Int32 s, Int32 t)
+ {
+ Delegates.glMultiTexCoord2i((int)target, (Int32)s, (Int32)t);
+ }
+
+ public static
+ void glMultiTexCoord2iv(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord2iv((int)target, (Int32*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord2iv(int target, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord2iv((int)target, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord2iv(int target, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord2iv((int)target, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord2s(int target, Int16 s, Int16 t)
+ {
+ Delegates.glMultiTexCoord2s((int)target, (Int16)s, (Int16)t);
+ }
+
+ public static
+ void glMultiTexCoord2sv(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord2sv((int)target, (Int16*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord2sv(int target, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord2sv((int)target, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord2sv(int target, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord2sv((int)target, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord3d(int target, Double s, Double t, Double r)
+ {
+ Delegates.glMultiTexCoord3d((int)target, (Double)s, (Double)t, (Double)r);
+ }
+
+ public static
+ void glMultiTexCoord3dv(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord3dv((int)target, (Double*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord3dv(int target, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord3dv((int)target, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord3dv(int target, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord3dv((int)target, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord3f(int target, Single s, Single t, Single r)
+ {
+ Delegates.glMultiTexCoord3f((int)target, (Single)s, (Single)t, (Single)r);
+ }
+
+ public static
+ void glMultiTexCoord3fv(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord3fv((int)target, (Single*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord3fv(int target, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord3fv((int)target, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord3fv(int target, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord3fv((int)target, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord3i(int target, Int32 s, Int32 t, Int32 r)
+ {
+ Delegates.glMultiTexCoord3i((int)target, (Int32)s, (Int32)t, (Int32)r);
+ }
+
+ public static
+ void glMultiTexCoord3iv(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord3iv((int)target, (Int32*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord3iv(int target, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord3iv((int)target, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord3iv(int target, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord3iv((int)target, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord3s(int target, Int16 s, Int16 t, Int16 r)
+ {
+ Delegates.glMultiTexCoord3s((int)target, (Int16)s, (Int16)t, (Int16)r);
+ }
+
+ public static
+ void glMultiTexCoord3sv(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord3sv((int)target, (Int16*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord3sv(int target, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord3sv((int)target, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord3sv(int target, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord3sv((int)target, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord4d(int target, Double s, Double t, Double r, Double q)
+ {
+ Delegates.glMultiTexCoord4d((int)target, (Double)s, (Double)t, (Double)r, (Double)q);
+ }
+
+ public static
+ void glMultiTexCoord4dv(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord4dv((int)target, (Double*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord4dv(int target, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord4dv((int)target, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord4dv(int target, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord4dv((int)target, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord4f(int target, Single s, Single t, Single r, Single q)
+ {
+ Delegates.glMultiTexCoord4f((int)target, (Single)s, (Single)t, (Single)r, (Single)q);
+ }
+
+ public static
+ void glMultiTexCoord4fv(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord4fv((int)target, (Single*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord4fv(int target, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord4fv((int)target, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord4fv(int target, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord4fv((int)target, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord4i(int target, Int32 s, Int32 t, Int32 r, Int32 q)
+ {
+ Delegates.glMultiTexCoord4i((int)target, (Int32)s, (Int32)t, (Int32)r, (Int32)q);
+ }
+
+ public static
+ void glMultiTexCoord4iv(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord4iv((int)target, (Int32*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord4iv(int target, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord4iv((int)target, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord4iv(int target, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord4iv((int)target, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord4s(int target, Int16 s, Int16 t, Int16 r, Int16 q)
+ {
+ Delegates.glMultiTexCoord4s((int)target, (Int16)s, (Int16)t, (Int16)r, (Int16)q);
+ }
+
+ public static
+ void glMultiTexCoord4sv(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord4sv((int)target, (Int16*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord4sv(int target, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord4sv((int)target, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord4sv(int target, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord4sv((int)target, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glLoadTransposeMatrixf(IntPtr m)
+ {
+ unsafe
+ {
+ Delegates.glLoadTransposeMatrixf((Single*)m);
+ }
+ }
+
+ public static
+ void glLoadTransposeMatrixf(Single[] m)
+ {
+ unsafe
+ {
+ fixed (Single* m_ptr = m)
+ {
+ Delegates.glLoadTransposeMatrixf((Single*)m_ptr);
+ }
+ }
+ }
+
+ public static
+ void glLoadTransposeMatrixf(ref Single m)
+ {
+ unsafe
+ {
+ fixed (Single* m_ptr = &m)
+ {
+ Delegates.glLoadTransposeMatrixf((Single*)m_ptr);
+ }
+ }
+ }
+
+ public static
+ void glLoadTransposeMatrixd(IntPtr m)
+ {
+ unsafe
+ {
+ Delegates.glLoadTransposeMatrixd((Double*)m);
+ }
+ }
+
+ public static
+ void glLoadTransposeMatrixd(Double[] m)
+ {
+ unsafe
+ {
+ fixed (Double* m_ptr = m)
+ {
+ Delegates.glLoadTransposeMatrixd((Double*)m_ptr);
+ }
+ }
+ }
+
+ public static
+ void glLoadTransposeMatrixd(ref Double m)
+ {
+ unsafe
+ {
+ fixed (Double* m_ptr = &m)
+ {
+ Delegates.glLoadTransposeMatrixd((Double*)m_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultTransposeMatrixf(IntPtr m)
+ {
+ unsafe
+ {
+ Delegates.glMultTransposeMatrixf((Single*)m);
+ }
+ }
+
+ public static
+ void glMultTransposeMatrixf(Single[] m)
+ {
+ unsafe
+ {
+ fixed (Single* m_ptr = m)
+ {
+ Delegates.glMultTransposeMatrixf((Single*)m_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultTransposeMatrixf(ref Single m)
+ {
+ unsafe
+ {
+ fixed (Single* m_ptr = &m)
+ {
+ Delegates.glMultTransposeMatrixf((Single*)m_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultTransposeMatrixd(IntPtr m)
+ {
+ unsafe
+ {
+ Delegates.glMultTransposeMatrixd((Double*)m);
+ }
+ }
+
+ public static
+ void glMultTransposeMatrixd(Double[] m)
+ {
+ unsafe
+ {
+ fixed (Double* m_ptr = m)
+ {
+ Delegates.glMultTransposeMatrixd((Double*)m_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultTransposeMatrixd(ref Double m)
+ {
+ unsafe
+ {
+ fixed (Double* m_ptr = &m)
+ {
+ Delegates.glMultTransposeMatrixd((Double*)m_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSampleCoverage(Single value, Int32 invert)
+ {
+ Delegates.glSampleCoverage((Single)value, (Int32)invert);
+ }
+
+ public static
+ void glCompressedTexImage3D(int target, Int32 level, int internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glCompressedTexImage3D((int)target, (Int32)level, (int)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data);
+ }
+ }
+
+ public static
+ void glCompressedTexImage3D(int target, Int32 level, int internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] object data)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glCompressedTexImage3D((int)target, (Int32)level, (int)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glCompressedTexImage2D(int target, Int32 level, int internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glCompressedTexImage2D((int)target, (Int32)level, (int)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data);
+ }
+ }
+
+ public static
+ void glCompressedTexImage2D(int target, Int32 level, int internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] object data)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glCompressedTexImage2D((int)target, (Int32)level, (int)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glCompressedTexImage1D(int target, Int32 level, int internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glCompressedTexImage1D((int)target, (Int32)level, (int)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data);
+ }
+ }
+
+ public static
+ void glCompressedTexImage1D(int target, Int32 level, int internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] object data)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glCompressedTexImage1D((int)target, (Int32)level, (int)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glCompressedTexSubImage3D(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, int format, Int32 imageSize, IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glCompressedTexSubImage3D((int)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (int)format, (Int32)imageSize, (IntPtr)data);
+ }
+ }
+
+ public static
+ void glCompressedTexSubImage3D(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, int format, Int32 imageSize, [In, Out] object data)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glCompressedTexSubImage3D((int)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (int)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glCompressedTexSubImage2D(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, int format, Int32 imageSize, IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glCompressedTexSubImage2D((int)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (int)format, (Int32)imageSize, (IntPtr)data);
+ }
+ }
+
+ public static
+ void glCompressedTexSubImage2D(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, int format, Int32 imageSize, [In, Out] object data)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glCompressedTexSubImage2D((int)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (int)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glCompressedTexSubImage1D(int target, Int32 level, Int32 xoffset, Int32 width, int format, Int32 imageSize, IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glCompressedTexSubImage1D((int)target, (Int32)level, (Int32)xoffset, (Int32)width, (int)format, (Int32)imageSize, (IntPtr)data);
+ }
+ }
+
+ public static
+ void glCompressedTexSubImage1D(int target, Int32 level, Int32 xoffset, Int32 width, int format, Int32 imageSize, [In, Out] object data)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glCompressedTexSubImage1D((int)target, (Int32)level, (Int32)xoffset, (Int32)width, (int)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetCompressedTexImage(int target, Int32 level, [Out] IntPtr img)
+ {
+ unsafe
+ {
+ Delegates.glGetCompressedTexImage((int)target, (Int32)level, (IntPtr)img);
+ }
+ }
+
+ public static
+ void glGetCompressedTexImage(int target, Int32 level, [In, Out] object img)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle img_ptr = System.Runtime.InteropServices.GCHandle.Alloc(img, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetCompressedTexImage((int)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ img_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glBlendFuncSeparate(int sfactorRGB, int dfactorRGB, int sfactorAlpha, int dfactorAlpha)
+ {
+ Delegates.glBlendFuncSeparate((int)sfactorRGB, (int)dfactorRGB, (int)sfactorAlpha, (int)dfactorAlpha);
+ }
+
+ public static
+ void glFogCoordf(Single coord)
+ {
+ Delegates.glFogCoordf((Single)coord);
+ }
+
+ public static
+ void glFogCoordfv(IntPtr coord)
+ {
+ unsafe
+ {
+ Delegates.glFogCoordfv((Single*)coord);
+ }
+ }
+
+ public static
+ void glFogCoordfv(Single[] coord)
+ {
+ unsafe
+ {
+ fixed (Single* coord_ptr = coord)
+ {
+ Delegates.glFogCoordfv((Single*)coord_ptr);
+ }
+ }
+ }
+
+ public static
+ void glFogCoordfv(ref Single coord)
+ {
+ unsafe
+ {
+ fixed (Single* coord_ptr = &coord)
+ {
+ Delegates.glFogCoordfv((Single*)coord_ptr);
+ }
+ }
+ }
+
+ public static
+ void glFogCoordd(Double coord)
+ {
+ Delegates.glFogCoordd((Double)coord);
+ }
+
+ public static
+ void glFogCoorddv(IntPtr coord)
+ {
+ unsafe
+ {
+ Delegates.glFogCoorddv((Double*)coord);
+ }
+ }
+
+ public static
+ void glFogCoorddv(Double[] coord)
+ {
+ unsafe
+ {
+ fixed (Double* coord_ptr = coord)
+ {
+ Delegates.glFogCoorddv((Double*)coord_ptr);
+ }
+ }
+ }
+
+ public static
+ void glFogCoorddv(ref Double coord)
+ {
+ unsafe
+ {
+ fixed (Double* coord_ptr = &coord)
+ {
+ Delegates.glFogCoorddv((Double*)coord_ptr);
+ }
+ }
+ }
+
+ public static
+ void glFogCoordPointer(int type, Int32 stride, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glFogCoordPointer((int)type, (Int32)stride, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glFogCoordPointer(int type, Int32 stride, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glFogCoordPointer((int)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawArrays(int mode, [Out] IntPtr first, [Out] IntPtr count, Int32 primcount)
+ {
+ unsafe
+ {
+ Delegates.glMultiDrawArrays((int)mode, (Int32*)first, (Int32*)count, (Int32)primcount);
+ }
+ }
+
+ public static
+ void glMultiDrawArrays(int mode, [Out] IntPtr first, [Out] Int32[] count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glMultiDrawArrays((int)mode, (Int32*)first, (Int32*)count_ptr, (Int32)primcount);
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawArrays(int mode, [Out] IntPtr first, [Out] out Int32 count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glMultiDrawArrays((int)mode, (Int32*)first, (Int32*)count_ptr, (Int32)primcount);
+ count = *count_ptr;
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawArrays(int mode, [Out] Int32[] first, [Out] IntPtr count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = first)
+ {
+ Delegates.glMultiDrawArrays((int)mode, (Int32*)first_ptr, (Int32*)count, (Int32)primcount);
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawArrays(int mode, [Out] Int32[] first, [Out] Int32[] count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = first)
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glMultiDrawArrays((int)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawArrays(int mode, [Out] Int32[] first, [Out] out Int32 count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = first)
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glMultiDrawArrays((int)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
+ count = *count_ptr;
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawArrays(int mode, [Out] out Int32 first, [Out] IntPtr count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = &first)
+ {
+ Delegates.glMultiDrawArrays((int)mode, (Int32*)first_ptr, (Int32*)count, (Int32)primcount);
+ first = *first_ptr;
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawArrays(int mode, [Out] out Int32 first, [Out] Int32[] count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = &first)
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glMultiDrawArrays((int)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
+ first = *first_ptr;
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawArrays(int mode, [Out] out Int32 first, [Out] out Int32 count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = &first)
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glMultiDrawArrays((int)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
+ first = *first_ptr;
+ count = *count_ptr;
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawElements(int mode, IntPtr count, int type, IntPtr indices, Int32 primcount)
+ {
+ unsafe
+ {
+ Delegates.glMultiDrawElements((int)mode, (Int32*)count, (int)type, (IntPtr)indices, (Int32)primcount);
+ }
+ }
+
+ public static
+ void glMultiDrawElements(int mode, IntPtr count, int type, [In, Out] object indices, Int32 primcount)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMultiDrawElements((int)mode, (Int32*)count, (int)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawElements(int mode, Int32[] count, int type, IntPtr indices, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glMultiDrawElements((int)mode, (Int32*)count_ptr, (int)type, (IntPtr)indices, (Int32)primcount);
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawElements(int mode, Int32[] count, int type, [In, Out] object indices, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = count)
+ {
+ System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMultiDrawElements((int)mode, (Int32*)count_ptr, (int)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawElements(int mode, ref Int32 count, int type, IntPtr indices, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glMultiDrawElements((int)mode, (Int32*)count_ptr, (int)type, (IntPtr)indices, (Int32)primcount);
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawElements(int mode, ref Int32 count, int type, [In, Out] object indices, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = &count)
+ {
+ System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMultiDrawElements((int)mode, (Int32*)count_ptr, (int)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ }
+ }
+ }
+
+ public static
+ void glPointParameterf(int pname, Single param)
+ {
+ Delegates.glPointParameterf((int)pname, (Single)param);
+ }
+
+ public static
+ void glPointParameterfv(int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glPointParameterfv((int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glPointParameterfv(int pname, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glPointParameterfv((int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPointParameterfv(int pname, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glPointParameterfv((int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPointParameteri(int pname, Int32 param)
+ {
+ Delegates.glPointParameteri((int)pname, (Int32)param);
+ }
+
+ public static
+ void glPointParameteriv(int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glPointParameteriv((int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glPointParameteriv(int pname, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glPointParameteriv((int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPointParameteriv(int pname, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glPointParameteriv((int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSecondaryColor3b(SByte red, SByte green, SByte blue)
+ {
+ Delegates.glSecondaryColor3b((SByte)red, (SByte)green, (SByte)blue);
+ }
+
+ public static
+ void glSecondaryColor3b(Byte red, Byte green, Byte blue)
+ {
+ Delegates.glSecondaryColor3b((SByte)red, (SByte)green, (SByte)blue);
+ }
+
+ public static
+ void glSecondaryColor3bv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glSecondaryColor3bv((SByte*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSecondaryColor3bv(SByte[] v)
+ {
+ unsafe
+ {
+ fixed (SByte* v_ptr = v)
+ {
+ Delegates.glSecondaryColor3bv((SByte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3bv(Byte[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = v)
+ {
+ Delegates.glSecondaryColor3bv((SByte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSecondaryColor3bv(ref SByte v)
+ {
+ unsafe
+ {
+ fixed (SByte* v_ptr = &v)
+ {
+ Delegates.glSecondaryColor3bv((SByte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3bv(ref Byte v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = &v)
+ {
+ Delegates.glSecondaryColor3bv((SByte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3d(Double red, Double green, Double blue)
+ {
+ Delegates.glSecondaryColor3d((Double)red, (Double)green, (Double)blue);
+ }
+
+ public static
+ void glSecondaryColor3dv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glSecondaryColor3dv((Double*)v);
+ }
+ }
+
+ public static
+ void glSecondaryColor3dv(Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glSecondaryColor3dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3dv(ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glSecondaryColor3dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3f(Single red, Single green, Single blue)
+ {
+ Delegates.glSecondaryColor3f((Single)red, (Single)green, (Single)blue);
+ }
+
+ public static
+ void glSecondaryColor3fv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glSecondaryColor3fv((Single*)v);
+ }
+ }
+
+ public static
+ void glSecondaryColor3fv(Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glSecondaryColor3fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3fv(ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glSecondaryColor3fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3i(Int32 red, Int32 green, Int32 blue)
+ {
+ Delegates.glSecondaryColor3i((Int32)red, (Int32)green, (Int32)blue);
+ }
+
+ public static
+ void glSecondaryColor3iv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glSecondaryColor3iv((Int32*)v);
+ }
+ }
+
+ public static
+ void glSecondaryColor3iv(Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glSecondaryColor3iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3iv(ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glSecondaryColor3iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3s(Int16 red, Int16 green, Int16 blue)
+ {
+ Delegates.glSecondaryColor3s((Int16)red, (Int16)green, (Int16)blue);
+ }
+
+ public static
+ void glSecondaryColor3sv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glSecondaryColor3sv((Int16*)v);
+ }
+ }
+
+ public static
+ void glSecondaryColor3sv(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glSecondaryColor3sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3sv(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glSecondaryColor3sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3ub(Byte red, Byte green, Byte blue)
+ {
+ Delegates.glSecondaryColor3ub((Byte)red, (Byte)green, (Byte)blue);
+ }
+
+ public static
+ void glSecondaryColor3ubv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glSecondaryColor3ubv((Byte*)v);
+ }
+ }
+
+ public static
+ void glSecondaryColor3ubv(Byte[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = v)
+ {
+ Delegates.glSecondaryColor3ubv((Byte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3ubv(ref Byte v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = &v)
+ {
+ Delegates.glSecondaryColor3ubv((Byte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSecondaryColor3ui(UInt32 red, UInt32 green, UInt32 blue)
+ {
+ Delegates.glSecondaryColor3ui((UInt32)red, (UInt32)green, (UInt32)blue);
+ }
+
+ public static
+ void glSecondaryColor3ui(Int32 red, Int32 green, Int32 blue)
+ {
+ Delegates.glSecondaryColor3ui((UInt32)red, (UInt32)green, (UInt32)blue);
+ }
+
+ public static
+ void glSecondaryColor3uiv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glSecondaryColor3uiv((UInt32*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSecondaryColor3uiv(UInt32[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* v_ptr = v)
+ {
+ Delegates.glSecondaryColor3uiv((UInt32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3uiv(Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glSecondaryColor3uiv((UInt32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSecondaryColor3uiv(ref UInt32 v)
+ {
+ unsafe
+ {
+ fixed (UInt32* v_ptr = &v)
+ {
+ Delegates.glSecondaryColor3uiv((UInt32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3uiv(ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glSecondaryColor3uiv((UInt32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSecondaryColor3us(UInt16 red, UInt16 green, UInt16 blue)
+ {
+ Delegates.glSecondaryColor3us((UInt16)red, (UInt16)green, (UInt16)blue);
+ }
+
+ public static
+ void glSecondaryColor3us(Int16 red, Int16 green, Int16 blue)
+ {
+ Delegates.glSecondaryColor3us((UInt16)red, (UInt16)green, (UInt16)blue);
+ }
+
+ public static
+ void glSecondaryColor3usv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glSecondaryColor3usv((UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSecondaryColor3usv(UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glSecondaryColor3usv((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3usv(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glSecondaryColor3usv((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSecondaryColor3usv(ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glSecondaryColor3usv((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3usv(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glSecondaryColor3usv((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColorPointer(Int32 size, int type, Int32 stride, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glSecondaryColorPointer((Int32)size, (int)type, (Int32)stride, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glSecondaryColorPointer(Int32 size, int type, Int32 stride, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glSecondaryColorPointer((Int32)size, (int)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glWindowPos2d(Double x, Double y)
+ {
+ Delegates.glWindowPos2d((Double)x, (Double)y);
+ }
+
+ public static
+ void glWindowPos2dv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glWindowPos2dv((Double*)v);
+ }
+ }
+
+ public static
+ void glWindowPos2dv(Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glWindowPos2dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos2dv(ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glWindowPos2dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos2f(Single x, Single y)
+ {
+ Delegates.glWindowPos2f((Single)x, (Single)y);
+ }
+
+ public static
+ void glWindowPos2fv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glWindowPos2fv((Single*)v);
+ }
+ }
+
+ public static
+ void glWindowPos2fv(Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glWindowPos2fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos2fv(ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glWindowPos2fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos2i(Int32 x, Int32 y)
+ {
+ Delegates.glWindowPos2i((Int32)x, (Int32)y);
+ }
+
+ public static
+ void glWindowPos2iv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glWindowPos2iv((Int32*)v);
+ }
+ }
+
+ public static
+ void glWindowPos2iv(Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glWindowPos2iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos2iv(ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glWindowPos2iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos2s(Int16 x, Int16 y)
+ {
+ Delegates.glWindowPos2s((Int16)x, (Int16)y);
+ }
+
+ public static
+ void glWindowPos2sv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glWindowPos2sv((Int16*)v);
+ }
+ }
+
+ public static
+ void glWindowPos2sv(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glWindowPos2sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos2sv(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glWindowPos2sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos3d(Double x, Double y, Double z)
+ {
+ Delegates.glWindowPos3d((Double)x, (Double)y, (Double)z);
+ }
+
+ public static
+ void glWindowPos3dv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glWindowPos3dv((Double*)v);
+ }
+ }
+
+ public static
+ void glWindowPos3dv(Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glWindowPos3dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos3dv(ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glWindowPos3dv((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos3f(Single x, Single y, Single z)
+ {
+ Delegates.glWindowPos3f((Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glWindowPos3fv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glWindowPos3fv((Single*)v);
+ }
+ }
+
+ public static
+ void glWindowPos3fv(Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glWindowPos3fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos3fv(ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glWindowPos3fv((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos3i(Int32 x, Int32 y, Int32 z)
+ {
+ Delegates.glWindowPos3i((Int32)x, (Int32)y, (Int32)z);
+ }
+
+ public static
+ void glWindowPos3iv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glWindowPos3iv((Int32*)v);
+ }
+ }
+
+ public static
+ void glWindowPos3iv(Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glWindowPos3iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos3iv(ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glWindowPos3iv((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos3s(Int16 x, Int16 y, Int16 z)
+ {
+ Delegates.glWindowPos3s((Int16)x, (Int16)y, (Int16)z);
+ }
+
+ public static
+ void glWindowPos3sv(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glWindowPos3sv((Int16*)v);
+ }
+ }
+
+ public static
+ void glWindowPos3sv(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glWindowPos3sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos3sv(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glWindowPos3sv((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGenQueries(Int32 n, [Out] IntPtr ids)
+ {
+ unsafe
+ {
+ Delegates.glGenQueries((Int32)n, (UInt32*)ids);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGenQueries(Int32 n, [Out] UInt32[] ids)
+ {
+ unsafe
+ {
+ fixed (UInt32* ids_ptr = ids)
+ {
+ Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGenQueries(Int32 n, [Out] Int32[] ids)
+ {
+ unsafe
+ {
+ fixed (Int32* ids_ptr = ids)
+ {
+ Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGenQueries(Int32 n, [Out] out UInt32 ids)
+ {
+ unsafe
+ {
+ fixed (UInt32* ids_ptr = &ids)
+ {
+ Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr);
+ ids = *ids_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGenQueries(Int32 n, [Out] out Int32 ids)
+ {
+ unsafe
+ {
+ fixed (Int32* ids_ptr = &ids)
+ {
+ Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr);
+ ids = *ids_ptr;
+ }
+ }
+ }
+
+ public static
+ void glDeleteQueries(Int32 n, IntPtr ids)
+ {
+ unsafe
+ {
+ Delegates.glDeleteQueries((Int32)n, (UInt32*)ids);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteQueries(Int32 n, UInt32[] ids)
+ {
+ unsafe
+ {
+ fixed (UInt32* ids_ptr = ids)
+ {
+ Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeleteQueries(Int32 n, Int32[] ids)
+ {
+ unsafe
+ {
+ fixed (Int32* ids_ptr = ids)
+ {
+ Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteQueries(Int32 n, ref UInt32 ids)
+ {
+ unsafe
+ {
+ fixed (UInt32* ids_ptr = &ids)
+ {
+ Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeleteQueries(Int32 n, ref Int32 ids)
+ {
+ unsafe
+ {
+ fixed (Int32* ids_ptr = &ids)
+ {
+ Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glIsQuery(UInt32 id)
+ {
+ return Delegates.glIsQuery((UInt32)id);
+ }
+
+ public static
+ Int32 glIsQuery(Int32 id)
+ {
+ return Delegates.glIsQuery((UInt32)id);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glBeginQuery(int target, UInt32 id)
+ {
+ Delegates.glBeginQuery((int)target, (UInt32)id);
+ }
+
+ public static
+ void glBeginQuery(int target, Int32 id)
+ {
+ Delegates.glBeginQuery((int)target, (UInt32)id);
+ }
+
+ public static
+ void glEndQuery(int target)
+ {
+ Delegates.glEndQuery((int)target);
+ }
+
+ public static
+ void glGetQueryiv(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetQueryiv((int)target, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetQueryiv(int target, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetQueryiv((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetQueryiv(int target, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetQueryiv((int)target, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetQueryObjectiv(UInt32 id, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetQueryObjectiv((UInt32)id, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetQueryObjectiv(Int32 id, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetQueryObjectiv((UInt32)id, (int)pname, (Int32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetQueryObjectiv(UInt32 id, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetQueryObjectiv((UInt32)id, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetQueryObjectiv(Int32 id, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetQueryObjectiv((UInt32)id, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetQueryObjectiv(UInt32 id, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetQueryObjectiv((UInt32)id, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetQueryObjectiv(Int32 id, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetQueryObjectiv((UInt32)id, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetQueryObjectuiv(UInt32 id, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetQueryObjectuiv((UInt32)id, (int)pname, (UInt32*)@params);
+ }
+ }
+
+ public static
+ void glGetQueryObjectuiv(Int32 id, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetQueryObjectuiv((UInt32)id, (int)pname, (UInt32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetQueryObjectuiv(UInt32 id, int pname, [Out] UInt32[] @params)
+ {
+ unsafe
+ {
+ fixed (UInt32* @params_ptr = @params)
+ {
+ Delegates.glGetQueryObjectuiv((UInt32)id, (int)pname, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetQueryObjectuiv(Int32 id, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetQueryObjectuiv((UInt32)id, (int)pname, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetQueryObjectuiv(UInt32 id, int pname, [Out] out UInt32 @params)
+ {
+ unsafe
+ {
+ fixed (UInt32* @params_ptr = &@params)
+ {
+ Delegates.glGetQueryObjectuiv((UInt32)id, (int)pname, (UInt32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetQueryObjectuiv(Int32 id, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetQueryObjectuiv((UInt32)id, (int)pname, (UInt32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glBindBuffer(int target, UInt32 buffer)
+ {
+ Delegates.glBindBuffer((int)target, (UInt32)buffer);
+ }
+
+ public static
+ void glBindBuffer(int target, Int32 buffer)
+ {
+ Delegates.glBindBuffer((int)target, (UInt32)buffer);
+ }
+
+ public static
+ void glDeleteBuffers(Int32 n, IntPtr buffers)
+ {
+ unsafe
+ {
+ Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteBuffers(Int32 n, UInt32[] buffers)
+ {
+ unsafe
+ {
+ fixed (UInt32* buffers_ptr = buffers)
+ {
+ Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeleteBuffers(Int32 n, Int32[] buffers)
+ {
+ unsafe
+ {
+ fixed (Int32* buffers_ptr = buffers)
+ {
+ Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteBuffers(Int32 n, ref UInt32 buffers)
+ {
+ unsafe
+ {
+ fixed (UInt32* buffers_ptr = &buffers)
+ {
+ Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeleteBuffers(Int32 n, ref Int32 buffers)
+ {
+ unsafe
+ {
+ fixed (Int32* buffers_ptr = &buffers)
+ {
+ Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGenBuffers(Int32 n, [Out] IntPtr buffers)
+ {
+ unsafe
+ {
+ Delegates.glGenBuffers((Int32)n, (UInt32*)buffers);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGenBuffers(Int32 n, [Out] UInt32[] buffers)
+ {
+ unsafe
+ {
+ fixed (UInt32* buffers_ptr = buffers)
+ {
+ Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGenBuffers(Int32 n, [Out] Int32[] buffers)
+ {
+ unsafe
+ {
+ fixed (Int32* buffers_ptr = buffers)
+ {
+ Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGenBuffers(Int32 n, [Out] out UInt32 buffers)
+ {
+ unsafe
+ {
+ fixed (UInt32* buffers_ptr = &buffers)
+ {
+ Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
+ buffers = *buffers_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGenBuffers(Int32 n, [Out] out Int32 buffers)
+ {
+ unsafe
+ {
+ fixed (Int32* buffers_ptr = &buffers)
+ {
+ Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
+ buffers = *buffers_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glIsBuffer(UInt32 buffer)
+ {
+ return Delegates.glIsBuffer((UInt32)buffer);
+ }
+
+ public static
+ Int32 glIsBuffer(Int32 buffer)
+ {
+ return Delegates.glIsBuffer((UInt32)buffer);
+ }
+
+ public static
+ void glBufferData(int target, IntPtr size, IntPtr data, int usage)
+ {
+ unsafe
+ {
+ Delegates.glBufferData((int)target, (IntPtr)size, (IntPtr)data, (int)usage);
+ }
+ }
+
+ public static
+ void glBufferData(int target, IntPtr size, [In, Out] object data, int usage)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glBufferData((int)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (int)usage);
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glBufferSubData(int target, IntPtr offset, IntPtr size, IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glBufferSubData((int)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data);
+ }
+ }
+
+ public static
+ void glBufferSubData(int target, IntPtr offset, IntPtr size, [In, Out] object data)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glBufferSubData((int)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetBufferSubData(int target, IntPtr offset, IntPtr size, [Out] IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glGetBufferSubData((int)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data);
+ }
+ }
+
+ public static
+ void glGetBufferSubData(int target, IntPtr offset, IntPtr size, [In, Out] object data)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetBufferSubData((int)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ IntPtr glMapBuffer(int target, int access)
+ {
+ return Delegates.glMapBuffer((int)target, (int)access);
+ }
+
+ public static
+ Int32 glUnmapBuffer(int target)
+ {
+ return Delegates.glUnmapBuffer((int)target);
+ }
+
+ public static
+ void glGetBufferParameteriv(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetBufferParameteriv((int)target, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetBufferParameteriv(int target, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetBufferParameteriv((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetBufferParameteriv(int target, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetBufferParameteriv((int)target, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetBufferPointerv(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetBufferPointerv((int)target, (int)pname, (IntPtr)@params);
+ }
+ }
+
+ public static
+ void glGetBufferPointerv(int target, int pname, [In, Out] object @params)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetBufferPointerv((int)target, (int)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ @params_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glBlendEquationSeparate(int modeRGB, int modeAlpha)
+ {
+ Delegates.glBlendEquationSeparate((int)modeRGB, (int)modeAlpha);
+ }
+
+ public static
+ void glDrawBuffers(Int32 n, IntPtr bufs)
+ {
+ unsafe
+ {
+ Delegates.glDrawBuffers((Int32)n, (int*)bufs);
+ }
+ }
+
+ public static
+ void glDrawBuffers(Int32 n, int[] bufs)
+ {
+ unsafe
+ {
+ fixed (int* bufs_ptr = bufs)
+ {
+ Delegates.glDrawBuffers((Int32)n, (int*)bufs_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDrawBuffers(Int32 n, ref int bufs)
+ {
+ unsafe
+ {
+ fixed (int* bufs_ptr = &bufs)
+ {
+ Delegates.glDrawBuffers((Int32)n, (int*)bufs_ptr);
+ }
+ }
+ }
+
+ public static
+ void glStencilOpSeparate(int face, int sfail, int dpfail, int dppass)
+ {
+ Delegates.glStencilOpSeparate((int)face, (int)sfail, (int)dpfail, (int)dppass);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glStencilFuncSeparate(int frontfunc, int backfunc, Int32 @ref, UInt32 mask)
+ {
+ Delegates.glStencilFuncSeparate((int)frontfunc, (int)backfunc, (Int32)@ref, (UInt32)mask);
+ }
+
+ public static
+ void glStencilFuncSeparate(int frontfunc, int backfunc, Int32 @ref, Int32 mask)
+ {
+ Delegates.glStencilFuncSeparate((int)frontfunc, (int)backfunc, (Int32)@ref, (UInt32)mask);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glStencilMaskSeparate(int face, UInt32 mask)
+ {
+ Delegates.glStencilMaskSeparate((int)face, (UInt32)mask);
+ }
+
+ public static
+ void glStencilMaskSeparate(int face, Int32 mask)
+ {
+ Delegates.glStencilMaskSeparate((int)face, (UInt32)mask);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glAttachShader(UInt32 program, UInt32 shader)
+ {
+ Delegates.glAttachShader((UInt32)program, (UInt32)shader);
+ }
+
+ public static
+ void glAttachShader(Int32 program, Int32 shader)
+ {
+ Delegates.glAttachShader((UInt32)program, (UInt32)shader);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glBindAttribLocation(UInt32 program, UInt32 index, System.String name)
+ {
+ Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (System.String)name);
+ }
+
+ public static
+ void glBindAttribLocation(Int32 program, Int32 index, System.String name)
+ {
+ Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (System.String)name);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glCompileShader(UInt32 shader)
+ {
+ Delegates.glCompileShader((UInt32)shader);
+ }
+
+ public static
+ void glCompileShader(Int32 shader)
+ {
+ Delegates.glCompileShader((UInt32)shader);
+ }
+
+ public static
+ Int32 glCreateProgram()
+ {
+ return Delegates.glCreateProgram();
+ }
+
+ public static
+ Int32 glCreateShader(int type)
+ {
+ return Delegates.glCreateShader((int)type);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteProgram(UInt32 program)
+ {
+ Delegates.glDeleteProgram((UInt32)program);
+ }
+
+ public static
+ void glDeleteProgram(Int32 program)
+ {
+ Delegates.glDeleteProgram((UInt32)program);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteShader(UInt32 shader)
+ {
+ Delegates.glDeleteShader((UInt32)shader);
+ }
+
+ public static
+ void glDeleteShader(Int32 shader)
+ {
+ Delegates.glDeleteShader((UInt32)shader);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDetachShader(UInt32 program, UInt32 shader)
+ {
+ Delegates.glDetachShader((UInt32)program, (UInt32)shader);
+ }
+
+ public static
+ void glDetachShader(Int32 program, Int32 shader)
+ {
+ Delegates.glDetachShader((UInt32)program, (UInt32)shader);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDisableVertexAttribArray(UInt32 index)
+ {
+ Delegates.glDisableVertexAttribArray((UInt32)index);
+ }
+
+ public static
+ void glDisableVertexAttribArray(Int32 index)
+ {
+ Delegates.glDisableVertexAttribArray((UInt32)index);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glEnableVertexAttribArray(UInt32 index)
+ {
+ Delegates.glEnableVertexAttribArray((UInt32)index);
+ }
+
+ public static
+ void glEnableVertexAttribArray(Int32 index)
+ {
+ Delegates.glEnableVertexAttribArray((UInt32)index);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] IntPtr length, [Out] IntPtr size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+
+ public static
+ void glGetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] IntPtr length, [Out] IntPtr size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] IntPtr length, [Out] IntPtr size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] IntPtr length, [Out] IntPtr size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] IntPtr length, [Out] IntPtr size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] IntPtr length, [Out] IntPtr size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] IntPtr length, [Out] Int32[] size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = size)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] IntPtr length, [Out] Int32[] size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = size)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] IntPtr length, [Out] Int32[] size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] IntPtr length, [Out] Int32[] size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] IntPtr length, [Out] Int32[] size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] IntPtr length, [Out] Int32[] size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] IntPtr length, [Out] out Int32 size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = &size)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] IntPtr length, [Out] out Int32 size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = &size)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] IntPtr length, [Out] out Int32 size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] IntPtr length, [Out] out Int32 size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] IntPtr length, [Out] out Int32 size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] IntPtr length, [Out] out Int32 size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] IntPtr size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] IntPtr size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] IntPtr size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] IntPtr size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] IntPtr size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] IntPtr size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = &size)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = &size)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] IntPtr size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] IntPtr size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] IntPtr size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] IntPtr size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] IntPtr size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] IntPtr size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = size)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = size)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ size = *size_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ size = *size_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ size = *size_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ size = *size_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ size = *size_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ size = *size_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] IntPtr length, [Out] IntPtr size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+
+ public static
+ void glGetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] IntPtr length, [Out] IntPtr size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] IntPtr length, [Out] IntPtr size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] IntPtr length, [Out] IntPtr size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] IntPtr length, [Out] IntPtr size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] IntPtr length, [Out] IntPtr size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] IntPtr length, [Out] Int32[] size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = size)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] IntPtr length, [Out] Int32[] size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = size)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] IntPtr length, [Out] Int32[] size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] IntPtr length, [Out] Int32[] size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] IntPtr length, [Out] Int32[] size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] IntPtr length, [Out] Int32[] size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] IntPtr length, [Out] out Int32 size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = &size)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] IntPtr length, [Out] out Int32 size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = &size)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] IntPtr length, [Out] out Int32 size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] IntPtr length, [Out] out Int32 size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] IntPtr length, [Out] out Int32 size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] IntPtr length, [Out] out Int32 size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] IntPtr size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] IntPtr size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] IntPtr size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] IntPtr size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] IntPtr size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] IntPtr size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = &size)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = &size)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] IntPtr size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] IntPtr size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] IntPtr size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] IntPtr size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] IntPtr size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] IntPtr size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = size)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = size)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ size = *size_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ size = *size_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ size = *size_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ size = *size_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ size = *size_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ size = *size_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetAttachedShaders(UInt32 program, Int32 maxCount, [Out] IntPtr count, [Out] IntPtr obj)
+ {
+ unsafe
+ {
+ Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj);
+ }
+ }
+
+ public static
+ void glGetAttachedShaders(Int32 program, Int32 maxCount, [Out] IntPtr count, [Out] IntPtr obj)
+ {
+ unsafe
+ {
+ Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetAttachedShaders(UInt32 program, Int32 maxCount, [Out] IntPtr count, [Out] UInt32[] obj)
+ {
+ unsafe
+ {
+ fixed (UInt32* obj_ptr = obj)
+ {
+ Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetAttachedShaders(Int32 program, Int32 maxCount, [Out] IntPtr count, [Out] Int32[] obj)
+ {
+ unsafe
+ {
+ fixed (Int32* obj_ptr = obj)
+ {
+ Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetAttachedShaders(UInt32 program, Int32 maxCount, [Out] IntPtr count, [Out] out UInt32 obj)
+ {
+ unsafe
+ {
+ fixed (UInt32* obj_ptr = &obj)
+ {
+ Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr);
+ obj = *obj_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetAttachedShaders(Int32 program, Int32 maxCount, [Out] IntPtr count, [Out] out Int32 obj)
+ {
+ unsafe
+ {
+ fixed (Int32* obj_ptr = &obj)
+ {
+ Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr);
+ obj = *obj_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetAttachedShaders(UInt32 program, Int32 maxCount, [Out] Int32[] count, [Out] IntPtr obj)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj);
+ }
+ }
+ }
+
+ public static
+ void glGetAttachedShaders(Int32 program, Int32 maxCount, [Out] Int32[] count, [Out] IntPtr obj)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetAttachedShaders(UInt32 program, Int32 maxCount, [Out] Int32[] count, [Out] UInt32[] obj)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = count)
+ fixed (UInt32* obj_ptr = obj)
+ {
+ Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetAttachedShaders(Int32 program, Int32 maxCount, [Out] Int32[] count, [Out] Int32[] obj)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = count)
+ fixed (Int32* obj_ptr = obj)
+ {
+ Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetAttachedShaders(UInt32 program, Int32 maxCount, [Out] Int32[] count, [Out] out UInt32 obj)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = count)
+ fixed (UInt32* obj_ptr = &obj)
+ {
+ Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr);
+ obj = *obj_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetAttachedShaders(Int32 program, Int32 maxCount, [Out] Int32[] count, [Out] out Int32 obj)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = count)
+ fixed (Int32* obj_ptr = &obj)
+ {
+ Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr);
+ obj = *obj_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetAttachedShaders(UInt32 program, Int32 maxCount, [Out] out Int32 count, [Out] IntPtr obj)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj);
+ count = *count_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetAttachedShaders(Int32 program, Int32 maxCount, [Out] out Int32 count, [Out] IntPtr obj)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj);
+ count = *count_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetAttachedShaders(UInt32 program, Int32 maxCount, [Out] out Int32 count, [Out] UInt32[] obj)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = &count)
+ fixed (UInt32* obj_ptr = obj)
+ {
+ Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr);
+ count = *count_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetAttachedShaders(Int32 program, Int32 maxCount, [Out] out Int32 count, [Out] Int32[] obj)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = &count)
+ fixed (Int32* obj_ptr = obj)
+ {
+ Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr);
+ count = *count_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetAttachedShaders(UInt32 program, Int32 maxCount, [Out] out Int32 count, [Out] out UInt32 obj)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = &count)
+ fixed (UInt32* obj_ptr = &obj)
+ {
+ Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr);
+ count = *count_ptr;
+ obj = *obj_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetAttachedShaders(Int32 program, Int32 maxCount, [Out] out Int32 count, [Out] out Int32 obj)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = &count)
+ fixed (Int32* obj_ptr = &obj)
+ {
+ Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr);
+ count = *count_ptr;
+ obj = *obj_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glGetAttribLocation(UInt32 program, System.String name)
+ {
+ return Delegates.glGetAttribLocation((UInt32)program, (System.String)name);
+ }
+
+ public static
+ Int32 glGetAttribLocation(Int32 program, System.String name)
+ {
+ return Delegates.glGetAttribLocation((UInt32)program, (System.String)name);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramiv(UInt32 program, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramiv((UInt32)program, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetProgramiv(Int32 program, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramiv((UInt32)program, (int)pname, (Int32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramiv(UInt32 program, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetProgramiv((UInt32)program, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetProgramiv(Int32 program, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetProgramiv((UInt32)program, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramiv(UInt32 program, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramiv((UInt32)program, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetProgramiv(Int32 program, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramiv((UInt32)program, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramInfoLog(UInt32 program, Int32 bufSize, [Out] IntPtr length, [Out] System.Text.StringBuilder infoLog)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)infoLog);
+ }
+ }
+
+ public static
+ void glGetProgramInfoLog(Int32 program, Int32 bufSize, [Out] IntPtr length, [Out] System.Text.StringBuilder infoLog)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)infoLog);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramInfoLog(UInt32 program, Int32 bufSize, [Out] Int32[] length, [Out] System.Text.StringBuilder infoLog)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog);
+ }
+ }
+ }
+
+ public static
+ void glGetProgramInfoLog(Int32 program, Int32 bufSize, [Out] Int32[] length, [Out] System.Text.StringBuilder infoLog)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramInfoLog(UInt32 program, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetProgramInfoLog(Int32 program, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetShaderiv(UInt32 shader, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetShaderiv((UInt32)shader, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetShaderiv(Int32 shader, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetShaderiv((UInt32)shader, (int)pname, (Int32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetShaderiv(UInt32 shader, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetShaderiv((UInt32)shader, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetShaderiv(Int32 shader, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetShaderiv((UInt32)shader, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetShaderiv(UInt32 shader, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetShaderiv((UInt32)shader, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetShaderiv(Int32 shader, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetShaderiv((UInt32)shader, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetShaderInfoLog(UInt32 shader, Int32 bufSize, [Out] IntPtr length, [Out] System.Text.StringBuilder infoLog)
+ {
+ unsafe
+ {
+ Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)infoLog);
+ }
+ }
+
+ public static
+ void glGetShaderInfoLog(Int32 shader, Int32 bufSize, [Out] IntPtr length, [Out] System.Text.StringBuilder infoLog)
+ {
+ unsafe
+ {
+ Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)infoLog);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetShaderInfoLog(UInt32 shader, Int32 bufSize, [Out] Int32[] length, [Out] System.Text.StringBuilder infoLog)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog);
+ }
+ }
+ }
+
+ public static
+ void glGetShaderInfoLog(Int32 shader, Int32 bufSize, [Out] Int32[] length, [Out] System.Text.StringBuilder infoLog)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetShaderInfoLog(UInt32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetShaderInfoLog(Int32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetShaderSource(UInt32 shader, Int32 bufSize, [Out] IntPtr length, [Out] System.Text.StringBuilder[] source)
+ {
+ unsafe
+ {
+ Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder[])source);
+ }
+ }
+
+ public static
+ void glGetShaderSource(Int32 shader, Int32 bufSize, [Out] IntPtr length, [Out] System.Text.StringBuilder[] source)
+ {
+ unsafe
+ {
+ Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder[])source);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetShaderSource(UInt32 shader, Int32 bufSize, [Out] Int32[] length, [Out] System.Text.StringBuilder[] source)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder[])source);
+ }
+ }
+ }
+
+ public static
+ void glGetShaderSource(Int32 shader, Int32 bufSize, [Out] Int32[] length, [Out] System.Text.StringBuilder[] source)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder[])source);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetShaderSource(UInt32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder[] source)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder[])source);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetShaderSource(Int32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder[] source)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder[])source);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glGetUniformLocation(UInt32 program, System.String name)
+ {
+ return Delegates.glGetUniformLocation((UInt32)program, (System.String)name);
+ }
+
+ public static
+ Int32 glGetUniformLocation(Int32 program, System.String name)
+ {
+ return Delegates.glGetUniformLocation((UInt32)program, (System.String)name);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetUniformfv(UInt32 program, Int32 location, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetUniformfv(Int32 program, Int32 location, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetUniformfv(UInt32 program, Int32 location, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetUniformfv(Int32 program, Int32 location, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetUniformfv(UInt32 program, Int32 location, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetUniformfv(Int32 program, Int32 location, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetUniformiv(UInt32 program, Int32 location, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetUniformiv(Int32 program, Int32 location, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetUniformiv(UInt32 program, Int32 location, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetUniformiv(Int32 program, Int32 location, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetUniformiv(UInt32 program, Int32 location, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetUniformiv(Int32 program, Int32 location, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribdv(UInt32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribdv((UInt32)index, (int)pname, (Double*)@params);
+ }
+ }
+
+ public static
+ void glGetVertexAttribdv(Int32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribdv((UInt32)index, (int)pname, (Double*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribdv(UInt32 index, int pname, [Out] Double[] @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = @params)
+ {
+ Delegates.glGetVertexAttribdv((UInt32)index, (int)pname, (Double*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetVertexAttribdv(Int32 index, int pname, [Out] Double[] @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = @params)
+ {
+ Delegates.glGetVertexAttribdv((UInt32)index, (int)pname, (Double*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribdv(UInt32 index, int pname, [Out] out Double @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = &@params)
+ {
+ Delegates.glGetVertexAttribdv((UInt32)index, (int)pname, (Double*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetVertexAttribdv(Int32 index, int pname, [Out] out Double @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = &@params)
+ {
+ Delegates.glGetVertexAttribdv((UInt32)index, (int)pname, (Double*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribfv(UInt32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribfv((UInt32)index, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetVertexAttribfv(Int32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribfv((UInt32)index, (int)pname, (Single*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribfv(UInt32 index, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetVertexAttribfv((UInt32)index, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetVertexAttribfv(Int32 index, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetVertexAttribfv((UInt32)index, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribfv(UInt32 index, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetVertexAttribfv((UInt32)index, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetVertexAttribfv(Int32 index, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetVertexAttribfv((UInt32)index, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribiv(UInt32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribiv((UInt32)index, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetVertexAttribiv(Int32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribiv((UInt32)index, (int)pname, (Int32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribiv(UInt32 index, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetVertexAttribiv((UInt32)index, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetVertexAttribiv(Int32 index, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetVertexAttribiv((UInt32)index, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribiv(UInt32 index, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetVertexAttribiv((UInt32)index, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetVertexAttribiv(Int32 index, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetVertexAttribiv((UInt32)index, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribPointerv(UInt32 index, int pname, [Out] IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribPointerv((UInt32)index, (int)pname, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glGetVertexAttribPointerv(Int32 index, int pname, [Out] IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribPointerv((UInt32)index, (int)pname, (IntPtr)pointer);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribPointerv(UInt32 index, int pname, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetVertexAttribPointerv((UInt32)index, (int)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetVertexAttribPointerv(Int32 index, int pname, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetVertexAttribPointerv((UInt32)index, (int)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glIsProgram(UInt32 program)
+ {
+ return Delegates.glIsProgram((UInt32)program);
+ }
+
+ public static
+ Int32 glIsProgram(Int32 program)
+ {
+ return Delegates.glIsProgram((UInt32)program);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glIsShader(UInt32 shader)
+ {
+ return Delegates.glIsShader((UInt32)shader);
+ }
+
+ public static
+ Int32 glIsShader(Int32 shader)
+ {
+ return Delegates.glIsShader((UInt32)shader);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glLinkProgram(UInt32 program)
+ {
+ Delegates.glLinkProgram((UInt32)program);
+ }
+
+ public static
+ void glLinkProgram(Int32 program)
+ {
+ Delegates.glLinkProgram((UInt32)program);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glShaderSource(UInt32 shader, Int32 count, System.String[] @string, IntPtr length)
+ {
+ unsafe
+ {
+ Delegates.glShaderSource((UInt32)shader, (Int32)count, (System.String[])@string, (Int32*)length);
+ }
+ }
+
+ public static
+ void glShaderSource(Int32 shader, Int32 count, System.String[] @string, IntPtr length)
+ {
+ unsafe
+ {
+ Delegates.glShaderSource((UInt32)shader, (Int32)count, (System.String[])@string, (Int32*)length);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glShaderSource(UInt32 shader, Int32 count, System.String[] @string, Int32[] length)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glShaderSource((UInt32)shader, (Int32)count, (System.String[])@string, (Int32*)length_ptr);
+ }
+ }
+ }
+
+ public static
+ void glShaderSource(Int32 shader, Int32 count, System.String[] @string, Int32[] length)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glShaderSource((UInt32)shader, (Int32)count, (System.String[])@string, (Int32*)length_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glShaderSource(UInt32 shader, Int32 count, System.String[] @string, ref Int32 length)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glShaderSource((UInt32)shader, (Int32)count, (System.String[])@string, (Int32*)length_ptr);
+ }
+ }
+ }
+
+ public static
+ void glShaderSource(Int32 shader, Int32 count, System.String[] @string, ref Int32 length)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glShaderSource((UInt32)shader, (Int32)count, (System.String[])@string, (Int32*)length_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glUseProgram(UInt32 program)
+ {
+ Delegates.glUseProgram((UInt32)program);
+ }
+
+ public static
+ void glUseProgram(Int32 program)
+ {
+ Delegates.glUseProgram((UInt32)program);
+ }
+
+ public static
+ void glUniform1f(Int32 location, Single v0)
+ {
+ Delegates.glUniform1f((Int32)location, (Single)v0);
+ }
+
+ public static
+ void glUniform2f(Int32 location, Single v0, Single v1)
+ {
+ Delegates.glUniform2f((Int32)location, (Single)v0, (Single)v1);
+ }
+
+ public static
+ void glUniform3f(Int32 location, Single v0, Single v1, Single v2)
+ {
+ Delegates.glUniform3f((Int32)location, (Single)v0, (Single)v1, (Single)v2);
+ }
+
+ public static
+ void glUniform4f(Int32 location, Single v0, Single v1, Single v2, Single v3)
+ {
+ Delegates.glUniform4f((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3);
+ }
+
+ public static
+ void glUniform1i(Int32 location, Int32 v0)
+ {
+ Delegates.glUniform1i((Int32)location, (Int32)v0);
+ }
+
+ public static
+ void glUniform2i(Int32 location, Int32 v0, Int32 v1)
+ {
+ Delegates.glUniform2i((Int32)location, (Int32)v0, (Int32)v1);
+ }
+
+ public static
+ void glUniform3i(Int32 location, Int32 v0, Int32 v1, Int32 v2)
+ {
+ Delegates.glUniform3i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2);
+ }
+
+ public static
+ void glUniform4i(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3)
+ {
+ Delegates.glUniform4i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3);
+ }
+
+ public static
+ void glUniform1fv(Int32 location, Int32 count, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value);
+ }
+ }
+
+ public static
+ void glUniform1fv(Int32 location, Int32 count, Single[] value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = value)
+ {
+ Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform1fv(Int32 location, Int32 count, ref Single value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = &value)
+ {
+ Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform2fv(Int32 location, Int32 count, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value);
+ }
+ }
+
+ public static
+ void glUniform2fv(Int32 location, Int32 count, Single[] value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = value)
+ {
+ Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform2fv(Int32 location, Int32 count, ref Single value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = &value)
+ {
+ Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform3fv(Int32 location, Int32 count, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value);
+ }
+ }
+
+ public static
+ void glUniform3fv(Int32 location, Int32 count, Single[] value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = value)
+ {
+ Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform3fv(Int32 location, Int32 count, ref Single value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = &value)
+ {
+ Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform4fv(Int32 location, Int32 count, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value);
+ }
+ }
+
+ public static
+ void glUniform4fv(Int32 location, Int32 count, Single[] value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = value)
+ {
+ Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform4fv(Int32 location, Int32 count, ref Single value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = &value)
+ {
+ Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform1iv(Int32 location, Int32 count, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value);
+ }
+ }
+
+ public static
+ void glUniform1iv(Int32 location, Int32 count, Int32[] value)
+ {
+ unsafe
+ {
+ fixed (Int32* value_ptr = value)
+ {
+ Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform1iv(Int32 location, Int32 count, ref Int32 value)
+ {
+ unsafe
+ {
+ fixed (Int32* value_ptr = &value)
+ {
+ Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform2iv(Int32 location, Int32 count, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value);
+ }
+ }
+
+ public static
+ void glUniform2iv(Int32 location, Int32 count, Int32[] value)
+ {
+ unsafe
+ {
+ fixed (Int32* value_ptr = value)
+ {
+ Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform2iv(Int32 location, Int32 count, ref Int32 value)
+ {
+ unsafe
+ {
+ fixed (Int32* value_ptr = &value)
+ {
+ Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform3iv(Int32 location, Int32 count, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value);
+ }
+ }
+
+ public static
+ void glUniform3iv(Int32 location, Int32 count, Int32[] value)
+ {
+ unsafe
+ {
+ fixed (Int32* value_ptr = value)
+ {
+ Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform3iv(Int32 location, Int32 count, ref Int32 value)
+ {
+ unsafe
+ {
+ fixed (Int32* value_ptr = &value)
+ {
+ Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform4iv(Int32 location, Int32 count, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value);
+ }
+ }
+
+ public static
+ void glUniform4iv(Int32 location, Int32 count, Int32[] value)
+ {
+ unsafe
+ {
+ fixed (Int32* value_ptr = value)
+ {
+ Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform4iv(Int32 location, Int32 count, ref Int32 value)
+ {
+ unsafe
+ {
+ fixed (Int32* value_ptr = &value)
+ {
+ Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniformMatrix2fv(Int32 location, Int32 count, Int32 transpose, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (Int32)transpose, (Single*)value);
+ }
+ }
+
+ public static
+ void glUniformMatrix2fv(Int32 location, Int32 count, Int32 transpose, Single[] value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = value)
+ {
+ Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (Int32)transpose, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniformMatrix2fv(Int32 location, Int32 count, Int32 transpose, ref Single value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = &value)
+ {
+ Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (Int32)transpose, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniformMatrix3fv(Int32 location, Int32 count, Int32 transpose, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (Int32)transpose, (Single*)value);
+ }
+ }
+
+ public static
+ void glUniformMatrix3fv(Int32 location, Int32 count, Int32 transpose, Single[] value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = value)
+ {
+ Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (Int32)transpose, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniformMatrix3fv(Int32 location, Int32 count, Int32 transpose, ref Single value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = &value)
+ {
+ Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (Int32)transpose, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniformMatrix4fv(Int32 location, Int32 count, Int32 transpose, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (Int32)transpose, (Single*)value);
+ }
+ }
+
+ public static
+ void glUniformMatrix4fv(Int32 location, Int32 count, Int32 transpose, Single[] value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = value)
+ {
+ Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (Int32)transpose, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniformMatrix4fv(Int32 location, Int32 count, Int32 transpose, ref Single value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = &value)
+ {
+ Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (Int32)transpose, (Single*)value_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glValidateProgram(UInt32 program)
+ {
+ Delegates.glValidateProgram((UInt32)program);
+ }
+
+ public static
+ void glValidateProgram(Int32 program)
+ {
+ Delegates.glValidateProgram((UInt32)program);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1d(UInt32 index, Double x)
+ {
+ Delegates.glVertexAttrib1d((UInt32)index, (Double)x);
+ }
+
+ public static
+ void glVertexAttrib1d(Int32 index, Double x)
+ {
+ Delegates.glVertexAttrib1d((UInt32)index, (Double)x);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1dv(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib1dv((UInt32)index, (Double*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib1dv(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib1dv((UInt32)index, (Double*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1dv(UInt32 index, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttrib1dv((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib1dv(Int32 index, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttrib1dv((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1dv(UInt32 index, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib1dv((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib1dv(Int32 index, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib1dv((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1f(UInt32 index, Single x)
+ {
+ Delegates.glVertexAttrib1f((UInt32)index, (Single)x);
+ }
+
+ public static
+ void glVertexAttrib1f(Int32 index, Single x)
+ {
+ Delegates.glVertexAttrib1f((UInt32)index, (Single)x);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1fv(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib1fv(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1fv(UInt32 index, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib1fv(Int32 index, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1fv(UInt32 index, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib1fv(Int32 index, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1s(UInt32 index, Int16 x)
+ {
+ Delegates.glVertexAttrib1s((UInt32)index, (Int16)x);
+ }
+
+ public static
+ void glVertexAttrib1s(Int32 index, Int16 x)
+ {
+ Delegates.glVertexAttrib1s((UInt32)index, (Int16)x);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1sv(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib1sv((UInt32)index, (Int16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib1sv(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib1sv((UInt32)index, (Int16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1sv(UInt32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib1sv((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib1sv(Int32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib1sv((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1sv(UInt32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib1sv((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib1sv(Int32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib1sv((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2d(UInt32 index, Double x, Double y)
+ {
+ Delegates.glVertexAttrib2d((UInt32)index, (Double)x, (Double)y);
+ }
+
+ public static
+ void glVertexAttrib2d(Int32 index, Double x, Double y)
+ {
+ Delegates.glVertexAttrib2d((UInt32)index, (Double)x, (Double)y);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2dv(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib2dv(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2dv(UInt32 index, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib2dv(Int32 index, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2dv(UInt32 index, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib2dv(Int32 index, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2f(UInt32 index, Single x, Single y)
+ {
+ Delegates.glVertexAttrib2f((UInt32)index, (Single)x, (Single)y);
+ }
+
+ public static
+ void glVertexAttrib2f(Int32 index, Single x, Single y)
+ {
+ Delegates.glVertexAttrib2f((UInt32)index, (Single)x, (Single)y);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2fv(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib2fv(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2fv(UInt32 index, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib2fv(Int32 index, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2fv(UInt32 index, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib2fv(Int32 index, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2s(UInt32 index, Int16 x, Int16 y)
+ {
+ Delegates.glVertexAttrib2s((UInt32)index, (Int16)x, (Int16)y);
+ }
+
+ public static
+ void glVertexAttrib2s(Int32 index, Int16 x, Int16 y)
+ {
+ Delegates.glVertexAttrib2s((UInt32)index, (Int16)x, (Int16)y);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2sv(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib2sv(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2sv(UInt32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib2sv(Int32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2sv(UInt32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib2sv(Int32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3d(UInt32 index, Double x, Double y, Double z)
+ {
+ Delegates.glVertexAttrib3d((UInt32)index, (Double)x, (Double)y, (Double)z);
+ }
+
+ public static
+ void glVertexAttrib3d(Int32 index, Double x, Double y, Double z)
+ {
+ Delegates.glVertexAttrib3d((UInt32)index, (Double)x, (Double)y, (Double)z);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3dv(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib3dv(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3dv(UInt32 index, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib3dv(Int32 index, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3dv(UInt32 index, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib3dv(Int32 index, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3f(UInt32 index, Single x, Single y, Single z)
+ {
+ Delegates.glVertexAttrib3f((UInt32)index, (Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glVertexAttrib3f(Int32 index, Single x, Single y, Single z)
+ {
+ Delegates.glVertexAttrib3f((UInt32)index, (Single)x, (Single)y, (Single)z);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3fv(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib3fv(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3fv(UInt32 index, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib3fv(Int32 index, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3fv(UInt32 index, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib3fv(Int32 index, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3s(UInt32 index, Int16 x, Int16 y, Int16 z)
+ {
+ Delegates.glVertexAttrib3s((UInt32)index, (Int16)x, (Int16)y, (Int16)z);
+ }
+
+ public static
+ void glVertexAttrib3s(Int32 index, Int16 x, Int16 y, Int16 z)
+ {
+ Delegates.glVertexAttrib3s((UInt32)index, (Int16)x, (Int16)y, (Int16)z);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3sv(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib3sv(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3sv(UInt32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib3sv(Int32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3sv(UInt32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib3sv(Int32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4Nbv(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4Nbv(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4Nbv(UInt32 index, SByte[] v)
+ {
+ unsafe
+ {
+ fixed (SByte* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4Nbv(Int32 index, Byte[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4Nbv(UInt32 index, ref SByte v)
+ {
+ unsafe
+ {
+ fixed (SByte* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4Nbv(Int32 index, ref Byte v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4Niv(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4Niv(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4Niv(UInt32 index, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4Niv(Int32 index, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4Niv(UInt32 index, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4Niv(Int32 index, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4Nsv(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4Nsv(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4Nsv(UInt32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4Nsv(Int32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4Nsv(UInt32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4Nsv(Int32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4Nub(UInt32 index, Byte x, Byte y, Byte z, Byte w)
+ {
+ Delegates.glVertexAttrib4Nub((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w);
+ }
+
+ public static
+ void glVertexAttrib4Nub(Int32 index, Byte x, Byte y, Byte z, Byte w)
+ {
+ Delegates.glVertexAttrib4Nub((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4Nubv(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4Nubv(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4Nubv(UInt32 index, Byte[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4Nubv(Int32 index, Byte[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4Nubv(UInt32 index, ref Byte v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4Nubv(Int32 index, ref Byte v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4Nuiv(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4Nuiv(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4Nuiv(UInt32 index, UInt32[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4Nuiv(Int32 index, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4Nuiv(UInt32 index, ref UInt32 v)
+ {
+ unsafe
+ {
+ fixed (UInt32* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4Nuiv(Int32 index, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4Nusv(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4Nusv(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4Nusv(UInt32 index, UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4Nusv(Int32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4Nusv(UInt32 index, ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4Nusv(Int32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4bv(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4bv(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4bv(UInt32 index, SByte[] v)
+ {
+ unsafe
+ {
+ fixed (SByte* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4bv(Int32 index, Byte[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4bv(UInt32 index, ref SByte v)
+ {
+ unsafe
+ {
+ fixed (SByte* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4bv(Int32 index, ref Byte v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4d(UInt32 index, Double x, Double y, Double z, Double w)
+ {
+ Delegates.glVertexAttrib4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
+ }
+
+ public static
+ void glVertexAttrib4d(Int32 index, Double x, Double y, Double z, Double w)
+ {
+ Delegates.glVertexAttrib4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4dv(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4dv(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4dv(UInt32 index, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4dv(Int32 index, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4dv(UInt32 index, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4dv(Int32 index, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4f(UInt32 index, Single x, Single y, Single z, Single w)
+ {
+ Delegates.glVertexAttrib4f((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
+ }
+
+ public static
+ void glVertexAttrib4f(Int32 index, Single x, Single y, Single z, Single w)
+ {
+ Delegates.glVertexAttrib4f((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4fv(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4fv(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4fv(UInt32 index, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4fv(Int32 index, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4fv(UInt32 index, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4fv(Int32 index, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4iv(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4iv(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4iv(UInt32 index, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4iv(Int32 index, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4iv(UInt32 index, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4iv(Int32 index, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4s(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w)
+ {
+ Delegates.glVertexAttrib4s((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w);
+ }
+
+ public static
+ void glVertexAttrib4s(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w)
+ {
+ Delegates.glVertexAttrib4s((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4sv(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4sv(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4sv(UInt32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4sv(Int32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4sv(UInt32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4sv(Int32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4ubv(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4ubv(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4ubv(UInt32 index, Byte[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4ubv(Int32 index, Byte[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4ubv(UInt32 index, ref Byte v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4ubv(Int32 index, ref Byte v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4uiv(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4uiv(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4uiv(UInt32 index, UInt32[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4uiv(Int32 index, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4uiv(UInt32 index, ref UInt32 v)
+ {
+ unsafe
+ {
+ fixed (UInt32* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4uiv(Int32 index, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4usv(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4usv(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4usv(UInt32 index, UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4usv(Int32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4usv(UInt32 index, ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4usv(Int32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribPointer(UInt32 index, Int32 size, int type, Int32 normalized, Int32 stride, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (int)type, (Int32)normalized, (Int32)stride, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glVertexAttribPointer(Int32 index, Int32 size, int type, Int32 normalized, Int32 stride, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (int)type, (Int32)normalized, (Int32)stride, (IntPtr)pointer);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribPointer(UInt32 index, Int32 size, int type, Int32 normalized, Int32 stride, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (int)type, (Int32)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribPointer(Int32 index, Int32 size, int type, Int32 normalized, Int32 stride, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (int)type, (Int32)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glUniformMatrix2x3fv(Int32 location, Int32 count, Int32 transpose, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (Int32)transpose, (Single*)value);
+ }
+ }
+
+ public static
+ void glUniformMatrix2x3fv(Int32 location, Int32 count, Int32 transpose, Single[] value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = value)
+ {
+ Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (Int32)transpose, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniformMatrix2x3fv(Int32 location, Int32 count, Int32 transpose, ref Single value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = &value)
+ {
+ Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (Int32)transpose, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniformMatrix3x2fv(Int32 location, Int32 count, Int32 transpose, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (Int32)transpose, (Single*)value);
+ }
+ }
+
+ public static
+ void glUniformMatrix3x2fv(Int32 location, Int32 count, Int32 transpose, Single[] value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = value)
+ {
+ Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (Int32)transpose, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniformMatrix3x2fv(Int32 location, Int32 count, Int32 transpose, ref Single value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = &value)
+ {
+ Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (Int32)transpose, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniformMatrix2x4fv(Int32 location, Int32 count, Int32 transpose, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (Int32)transpose, (Single*)value);
+ }
+ }
+
+ public static
+ void glUniformMatrix2x4fv(Int32 location, Int32 count, Int32 transpose, Single[] value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = value)
+ {
+ Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (Int32)transpose, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniformMatrix2x4fv(Int32 location, Int32 count, Int32 transpose, ref Single value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = &value)
+ {
+ Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (Int32)transpose, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniformMatrix4x2fv(Int32 location, Int32 count, Int32 transpose, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (Int32)transpose, (Single*)value);
+ }
+ }
+
+ public static
+ void glUniformMatrix4x2fv(Int32 location, Int32 count, Int32 transpose, Single[] value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = value)
+ {
+ Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (Int32)transpose, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniformMatrix4x2fv(Int32 location, Int32 count, Int32 transpose, ref Single value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = &value)
+ {
+ Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (Int32)transpose, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniformMatrix3x4fv(Int32 location, Int32 count, Int32 transpose, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (Int32)transpose, (Single*)value);
+ }
+ }
+
+ public static
+ void glUniformMatrix3x4fv(Int32 location, Int32 count, Int32 transpose, Single[] value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = value)
+ {
+ Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (Int32)transpose, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniformMatrix3x4fv(Int32 location, Int32 count, Int32 transpose, ref Single value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = &value)
+ {
+ Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (Int32)transpose, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniformMatrix4x3fv(Int32 location, Int32 count, Int32 transpose, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (Int32)transpose, (Single*)value);
+ }
+ }
+
+ public static
+ void glUniformMatrix4x3fv(Int32 location, Int32 count, Int32 transpose, Single[] value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = value)
+ {
+ Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (Int32)transpose, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniformMatrix4x3fv(Int32 location, Int32 count, Int32 transpose, ref Single value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = &value)
+ {
+ Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (Int32)transpose, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glActiveTextureARB(int texture)
+ {
+ Delegates.glActiveTextureARB((int)texture);
+ }
+
+ public static
+ void glClientActiveTextureARB(int texture)
+ {
+ Delegates.glClientActiveTextureARB((int)texture);
+ }
+
+ public static
+ void glMultiTexCoord1dARB(int target, Double s)
+ {
+ Delegates.glMultiTexCoord1dARB((int)target, (Double)s);
+ }
+
+ public static
+ void glMultiTexCoord1dvARB(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord1dvARB((int)target, (Double*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord1dvARB(int target, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord1dvARB((int)target, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord1dvARB(int target, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord1dvARB((int)target, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord1fARB(int target, Single s)
+ {
+ Delegates.glMultiTexCoord1fARB((int)target, (Single)s);
+ }
+
+ public static
+ void glMultiTexCoord1fvARB(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord1fvARB((int)target, (Single*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord1fvARB(int target, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord1fvARB((int)target, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord1fvARB(int target, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord1fvARB((int)target, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord1iARB(int target, Int32 s)
+ {
+ Delegates.glMultiTexCoord1iARB((int)target, (Int32)s);
+ }
+
+ public static
+ void glMultiTexCoord1ivARB(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord1ivARB((int)target, (Int32*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord1ivARB(int target, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord1ivARB((int)target, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord1ivARB(int target, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord1ivARB((int)target, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord1sARB(int target, Int16 s)
+ {
+ Delegates.glMultiTexCoord1sARB((int)target, (Int16)s);
+ }
+
+ public static
+ void glMultiTexCoord1svARB(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord1svARB((int)target, (Int16*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord1svARB(int target, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord1svARB((int)target, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord1svARB(int target, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord1svARB((int)target, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord2dARB(int target, Double s, Double t)
+ {
+ Delegates.glMultiTexCoord2dARB((int)target, (Double)s, (Double)t);
+ }
+
+ public static
+ void glMultiTexCoord2dvARB(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord2dvARB((int)target, (Double*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord2dvARB(int target, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord2dvARB((int)target, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord2dvARB(int target, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord2dvARB((int)target, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord2fARB(int target, Single s, Single t)
+ {
+ Delegates.glMultiTexCoord2fARB((int)target, (Single)s, (Single)t);
+ }
+
+ public static
+ void glMultiTexCoord2fvARB(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord2fvARB((int)target, (Single*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord2fvARB(int target, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord2fvARB((int)target, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord2fvARB(int target, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord2fvARB((int)target, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord2iARB(int target, Int32 s, Int32 t)
+ {
+ Delegates.glMultiTexCoord2iARB((int)target, (Int32)s, (Int32)t);
+ }
+
+ public static
+ void glMultiTexCoord2ivARB(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord2ivARB((int)target, (Int32*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord2ivARB(int target, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord2ivARB((int)target, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord2ivARB(int target, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord2ivARB((int)target, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord2sARB(int target, Int16 s, Int16 t)
+ {
+ Delegates.glMultiTexCoord2sARB((int)target, (Int16)s, (Int16)t);
+ }
+
+ public static
+ void glMultiTexCoord2svARB(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord2svARB((int)target, (Int16*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord2svARB(int target, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord2svARB((int)target, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord2svARB(int target, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord2svARB((int)target, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord3dARB(int target, Double s, Double t, Double r)
+ {
+ Delegates.glMultiTexCoord3dARB((int)target, (Double)s, (Double)t, (Double)r);
+ }
+
+ public static
+ void glMultiTexCoord3dvARB(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord3dvARB((int)target, (Double*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord3dvARB(int target, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord3dvARB((int)target, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord3dvARB(int target, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord3dvARB((int)target, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord3fARB(int target, Single s, Single t, Single r)
+ {
+ Delegates.glMultiTexCoord3fARB((int)target, (Single)s, (Single)t, (Single)r);
+ }
+
+ public static
+ void glMultiTexCoord3fvARB(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord3fvARB((int)target, (Single*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord3fvARB(int target, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord3fvARB((int)target, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord3fvARB(int target, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord3fvARB((int)target, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord3iARB(int target, Int32 s, Int32 t, Int32 r)
+ {
+ Delegates.glMultiTexCoord3iARB((int)target, (Int32)s, (Int32)t, (Int32)r);
+ }
+
+ public static
+ void glMultiTexCoord3ivARB(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord3ivARB((int)target, (Int32*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord3ivARB(int target, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord3ivARB((int)target, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord3ivARB(int target, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord3ivARB((int)target, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord3sARB(int target, Int16 s, Int16 t, Int16 r)
+ {
+ Delegates.glMultiTexCoord3sARB((int)target, (Int16)s, (Int16)t, (Int16)r);
+ }
+
+ public static
+ void glMultiTexCoord3svARB(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord3svARB((int)target, (Int16*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord3svARB(int target, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord3svARB((int)target, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord3svARB(int target, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord3svARB((int)target, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord4dARB(int target, Double s, Double t, Double r, Double q)
+ {
+ Delegates.glMultiTexCoord4dARB((int)target, (Double)s, (Double)t, (Double)r, (Double)q);
+ }
+
+ public static
+ void glMultiTexCoord4dvARB(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord4dvARB((int)target, (Double*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord4dvARB(int target, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord4dvARB((int)target, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord4dvARB(int target, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord4dvARB((int)target, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord4fARB(int target, Single s, Single t, Single r, Single q)
+ {
+ Delegates.glMultiTexCoord4fARB((int)target, (Single)s, (Single)t, (Single)r, (Single)q);
+ }
+
+ public static
+ void glMultiTexCoord4fvARB(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord4fvARB((int)target, (Single*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord4fvARB(int target, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord4fvARB((int)target, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord4fvARB(int target, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord4fvARB((int)target, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord4iARB(int target, Int32 s, Int32 t, Int32 r, Int32 q)
+ {
+ Delegates.glMultiTexCoord4iARB((int)target, (Int32)s, (Int32)t, (Int32)r, (Int32)q);
+ }
+
+ public static
+ void glMultiTexCoord4ivARB(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord4ivARB((int)target, (Int32*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord4ivARB(int target, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord4ivARB((int)target, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord4ivARB(int target, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord4ivARB((int)target, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord4sARB(int target, Int16 s, Int16 t, Int16 r, Int16 q)
+ {
+ Delegates.glMultiTexCoord4sARB((int)target, (Int16)s, (Int16)t, (Int16)r, (Int16)q);
+ }
+
+ public static
+ void glMultiTexCoord4svARB(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord4svARB((int)target, (Int16*)v);
+ }
+ }
+
+ public static
+ void glMultiTexCoord4svARB(int target, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord4svARB((int)target, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord4svARB(int target, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord4svARB((int)target, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glLoadTransposeMatrixfARB(IntPtr m)
+ {
+ unsafe
+ {
+ Delegates.glLoadTransposeMatrixfARB((Single*)m);
+ }
+ }
+
+ public static
+ void glLoadTransposeMatrixfARB(Single[] m)
+ {
+ unsafe
+ {
+ fixed (Single* m_ptr = m)
+ {
+ Delegates.glLoadTransposeMatrixfARB((Single*)m_ptr);
+ }
+ }
+ }
+
+ public static
+ void glLoadTransposeMatrixfARB(ref Single m)
+ {
+ unsafe
+ {
+ fixed (Single* m_ptr = &m)
+ {
+ Delegates.glLoadTransposeMatrixfARB((Single*)m_ptr);
+ }
+ }
+ }
+
+ public static
+ void glLoadTransposeMatrixdARB(IntPtr m)
+ {
+ unsafe
+ {
+ Delegates.glLoadTransposeMatrixdARB((Double*)m);
+ }
+ }
+
+ public static
+ void glLoadTransposeMatrixdARB(Double[] m)
+ {
+ unsafe
+ {
+ fixed (Double* m_ptr = m)
+ {
+ Delegates.glLoadTransposeMatrixdARB((Double*)m_ptr);
+ }
+ }
+ }
+
+ public static
+ void glLoadTransposeMatrixdARB(ref Double m)
+ {
+ unsafe
+ {
+ fixed (Double* m_ptr = &m)
+ {
+ Delegates.glLoadTransposeMatrixdARB((Double*)m_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultTransposeMatrixfARB(IntPtr m)
+ {
+ unsafe
+ {
+ Delegates.glMultTransposeMatrixfARB((Single*)m);
+ }
+ }
+
+ public static
+ void glMultTransposeMatrixfARB(Single[] m)
+ {
+ unsafe
+ {
+ fixed (Single* m_ptr = m)
+ {
+ Delegates.glMultTransposeMatrixfARB((Single*)m_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultTransposeMatrixfARB(ref Single m)
+ {
+ unsafe
+ {
+ fixed (Single* m_ptr = &m)
+ {
+ Delegates.glMultTransposeMatrixfARB((Single*)m_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultTransposeMatrixdARB(IntPtr m)
+ {
+ unsafe
+ {
+ Delegates.glMultTransposeMatrixdARB((Double*)m);
+ }
+ }
+
+ public static
+ void glMultTransposeMatrixdARB(Double[] m)
+ {
+ unsafe
+ {
+ fixed (Double* m_ptr = m)
+ {
+ Delegates.glMultTransposeMatrixdARB((Double*)m_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultTransposeMatrixdARB(ref Double m)
+ {
+ unsafe
+ {
+ fixed (Double* m_ptr = &m)
+ {
+ Delegates.glMultTransposeMatrixdARB((Double*)m_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSampleCoverageARB(Single value, Int32 invert)
+ {
+ Delegates.glSampleCoverageARB((Single)value, (Int32)invert);
+ }
+
+ public static
+ void glCompressedTexImage3DARB(int target, Int32 level, int internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glCompressedTexImage3DARB((int)target, (Int32)level, (int)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data);
+ }
+ }
+
+ public static
+ void glCompressedTexImage3DARB(int target, Int32 level, int internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] object data)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glCompressedTexImage3DARB((int)target, (Int32)level, (int)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glCompressedTexImage2DARB(int target, Int32 level, int internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glCompressedTexImage2DARB((int)target, (Int32)level, (int)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data);
+ }
+ }
+
+ public static
+ void glCompressedTexImage2DARB(int target, Int32 level, int internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] object data)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glCompressedTexImage2DARB((int)target, (Int32)level, (int)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glCompressedTexImage1DARB(int target, Int32 level, int internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glCompressedTexImage1DARB((int)target, (Int32)level, (int)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data);
+ }
+ }
+
+ public static
+ void glCompressedTexImage1DARB(int target, Int32 level, int internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] object data)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glCompressedTexImage1DARB((int)target, (Int32)level, (int)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glCompressedTexSubImage3DARB(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, int format, Int32 imageSize, IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glCompressedTexSubImage3DARB((int)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (int)format, (Int32)imageSize, (IntPtr)data);
+ }
+ }
+
+ public static
+ void glCompressedTexSubImage3DARB(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, int format, Int32 imageSize, [In, Out] object data)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glCompressedTexSubImage3DARB((int)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (int)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glCompressedTexSubImage2DARB(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, int format, Int32 imageSize, IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glCompressedTexSubImage2DARB((int)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (int)format, (Int32)imageSize, (IntPtr)data);
+ }
+ }
+
+ public static
+ void glCompressedTexSubImage2DARB(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, int format, Int32 imageSize, [In, Out] object data)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glCompressedTexSubImage2DARB((int)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (int)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glCompressedTexSubImage1DARB(int target, Int32 level, Int32 xoffset, Int32 width, int format, Int32 imageSize, IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glCompressedTexSubImage1DARB((int)target, (Int32)level, (Int32)xoffset, (Int32)width, (int)format, (Int32)imageSize, (IntPtr)data);
+ }
+ }
+
+ public static
+ void glCompressedTexSubImage1DARB(int target, Int32 level, Int32 xoffset, Int32 width, int format, Int32 imageSize, [In, Out] object data)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glCompressedTexSubImage1DARB((int)target, (Int32)level, (Int32)xoffset, (Int32)width, (int)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetCompressedTexImageARB(int target, Int32 level, [Out] IntPtr img)
+ {
+ unsafe
+ {
+ Delegates.glGetCompressedTexImageARB((int)target, (Int32)level, (IntPtr)img);
+ }
+ }
+
+ public static
+ void glGetCompressedTexImageARB(int target, Int32 level, [In, Out] object img)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle img_ptr = System.Runtime.InteropServices.GCHandle.Alloc(img, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetCompressedTexImageARB((int)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ img_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glPointParameterfARB(int pname, Single param)
+ {
+ Delegates.glPointParameterfARB((int)pname, (Single)param);
+ }
+
+ public static
+ void glPointParameterfvARB(int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glPointParameterfvARB((int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glPointParameterfvARB(int pname, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glPointParameterfvARB((int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPointParameterfvARB(int pname, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glPointParameterfvARB((int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWeightbvARB(Int32 size, IntPtr weights)
+ {
+ unsafe
+ {
+ Delegates.glWeightbvARB((Int32)size, (SByte*)weights);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glWeightbvARB(Int32 size, SByte[] weights)
+ {
+ unsafe
+ {
+ fixed (SByte* weights_ptr = weights)
+ {
+ Delegates.glWeightbvARB((Int32)size, (SByte*)weights_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWeightbvARB(Int32 size, Byte[] weights)
+ {
+ unsafe
+ {
+ fixed (Byte* weights_ptr = weights)
+ {
+ Delegates.glWeightbvARB((Int32)size, (SByte*)weights_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glWeightbvARB(Int32 size, ref SByte weights)
+ {
+ unsafe
+ {
+ fixed (SByte* weights_ptr = &weights)
+ {
+ Delegates.glWeightbvARB((Int32)size, (SByte*)weights_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWeightbvARB(Int32 size, ref Byte weights)
+ {
+ unsafe
+ {
+ fixed (Byte* weights_ptr = &weights)
+ {
+ Delegates.glWeightbvARB((Int32)size, (SByte*)weights_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWeightsvARB(Int32 size, IntPtr weights)
+ {
+ unsafe
+ {
+ Delegates.glWeightsvARB((Int32)size, (Int16*)weights);
+ }
+ }
+
+ public static
+ void glWeightsvARB(Int32 size, Int16[] weights)
+ {
+ unsafe
+ {
+ fixed (Int16* weights_ptr = weights)
+ {
+ Delegates.glWeightsvARB((Int32)size, (Int16*)weights_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWeightsvARB(Int32 size, ref Int16 weights)
+ {
+ unsafe
+ {
+ fixed (Int16* weights_ptr = &weights)
+ {
+ Delegates.glWeightsvARB((Int32)size, (Int16*)weights_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWeightivARB(Int32 size, IntPtr weights)
+ {
+ unsafe
+ {
+ Delegates.glWeightivARB((Int32)size, (Int32*)weights);
+ }
+ }
+
+ public static
+ void glWeightivARB(Int32 size, Int32[] weights)
+ {
+ unsafe
+ {
+ fixed (Int32* weights_ptr = weights)
+ {
+ Delegates.glWeightivARB((Int32)size, (Int32*)weights_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWeightivARB(Int32 size, ref Int32 weights)
+ {
+ unsafe
+ {
+ fixed (Int32* weights_ptr = &weights)
+ {
+ Delegates.glWeightivARB((Int32)size, (Int32*)weights_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWeightfvARB(Int32 size, IntPtr weights)
+ {
+ unsafe
+ {
+ Delegates.glWeightfvARB((Int32)size, (Single*)weights);
+ }
+ }
+
+ public static
+ void glWeightfvARB(Int32 size, Single[] weights)
+ {
+ unsafe
+ {
+ fixed (Single* weights_ptr = weights)
+ {
+ Delegates.glWeightfvARB((Int32)size, (Single*)weights_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWeightfvARB(Int32 size, ref Single weights)
+ {
+ unsafe
+ {
+ fixed (Single* weights_ptr = &weights)
+ {
+ Delegates.glWeightfvARB((Int32)size, (Single*)weights_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWeightdvARB(Int32 size, IntPtr weights)
+ {
+ unsafe
+ {
+ Delegates.glWeightdvARB((Int32)size, (Double*)weights);
+ }
+ }
+
+ public static
+ void glWeightdvARB(Int32 size, Double[] weights)
+ {
+ unsafe
+ {
+ fixed (Double* weights_ptr = weights)
+ {
+ Delegates.glWeightdvARB((Int32)size, (Double*)weights_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWeightdvARB(Int32 size, ref Double weights)
+ {
+ unsafe
+ {
+ fixed (Double* weights_ptr = &weights)
+ {
+ Delegates.glWeightdvARB((Int32)size, (Double*)weights_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWeightubvARB(Int32 size, IntPtr weights)
+ {
+ unsafe
+ {
+ Delegates.glWeightubvARB((Int32)size, (Byte*)weights);
+ }
+ }
+
+ public static
+ void glWeightubvARB(Int32 size, Byte[] weights)
+ {
+ unsafe
+ {
+ fixed (Byte* weights_ptr = weights)
+ {
+ Delegates.glWeightubvARB((Int32)size, (Byte*)weights_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWeightubvARB(Int32 size, ref Byte weights)
+ {
+ unsafe
+ {
+ fixed (Byte* weights_ptr = &weights)
+ {
+ Delegates.glWeightubvARB((Int32)size, (Byte*)weights_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWeightusvARB(Int32 size, IntPtr weights)
+ {
+ unsafe
+ {
+ Delegates.glWeightusvARB((Int32)size, (UInt16*)weights);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glWeightusvARB(Int32 size, UInt16[] weights)
+ {
+ unsafe
+ {
+ fixed (UInt16* weights_ptr = weights)
+ {
+ Delegates.glWeightusvARB((Int32)size, (UInt16*)weights_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWeightusvARB(Int32 size, Int16[] weights)
+ {
+ unsafe
+ {
+ fixed (Int16* weights_ptr = weights)
+ {
+ Delegates.glWeightusvARB((Int32)size, (UInt16*)weights_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glWeightusvARB(Int32 size, ref UInt16 weights)
+ {
+ unsafe
+ {
+ fixed (UInt16* weights_ptr = &weights)
+ {
+ Delegates.glWeightusvARB((Int32)size, (UInt16*)weights_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWeightusvARB(Int32 size, ref Int16 weights)
+ {
+ unsafe
+ {
+ fixed (Int16* weights_ptr = &weights)
+ {
+ Delegates.glWeightusvARB((Int32)size, (UInt16*)weights_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWeightuivARB(Int32 size, IntPtr weights)
+ {
+ unsafe
+ {
+ Delegates.glWeightuivARB((Int32)size, (UInt32*)weights);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glWeightuivARB(Int32 size, UInt32[] weights)
+ {
+ unsafe
+ {
+ fixed (UInt32* weights_ptr = weights)
+ {
+ Delegates.glWeightuivARB((Int32)size, (UInt32*)weights_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWeightuivARB(Int32 size, Int32[] weights)
+ {
+ unsafe
+ {
+ fixed (Int32* weights_ptr = weights)
+ {
+ Delegates.glWeightuivARB((Int32)size, (UInt32*)weights_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glWeightuivARB(Int32 size, ref UInt32 weights)
+ {
+ unsafe
+ {
+ fixed (UInt32* weights_ptr = &weights)
+ {
+ Delegates.glWeightuivARB((Int32)size, (UInt32*)weights_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWeightuivARB(Int32 size, ref Int32 weights)
+ {
+ unsafe
+ {
+ fixed (Int32* weights_ptr = &weights)
+ {
+ Delegates.glWeightuivARB((Int32)size, (UInt32*)weights_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWeightPointerARB(Int32 size, int type, Int32 stride, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glWeightPointerARB((Int32)size, (int)type, (Int32)stride, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glWeightPointerARB(Int32 size, int type, Int32 stride, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glWeightPointerARB((Int32)size, (int)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glVertexBlendARB(Int32 count)
+ {
+ Delegates.glVertexBlendARB((Int32)count);
+ }
+
+ public static
+ void glCurrentPaletteMatrixARB(Int32 index)
+ {
+ Delegates.glCurrentPaletteMatrixARB((Int32)index);
+ }
+
+ public static
+ void glMatrixIndexubvARB(Int32 size, IntPtr indices)
+ {
+ unsafe
+ {
+ Delegates.glMatrixIndexubvARB((Int32)size, (Byte*)indices);
+ }
+ }
+
+ public static
+ void glMatrixIndexubvARB(Int32 size, Byte[] indices)
+ {
+ unsafe
+ {
+ fixed (Byte* indices_ptr = indices)
+ {
+ Delegates.glMatrixIndexubvARB((Int32)size, (Byte*)indices_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMatrixIndexubvARB(Int32 size, ref Byte indices)
+ {
+ unsafe
+ {
+ fixed (Byte* indices_ptr = &indices)
+ {
+ Delegates.glMatrixIndexubvARB((Int32)size, (Byte*)indices_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMatrixIndexusvARB(Int32 size, IntPtr indices)
+ {
+ unsafe
+ {
+ Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glMatrixIndexusvARB(Int32 size, UInt16[] indices)
+ {
+ unsafe
+ {
+ fixed (UInt16* indices_ptr = indices)
+ {
+ Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMatrixIndexusvARB(Int32 size, Int16[] indices)
+ {
+ unsafe
+ {
+ fixed (Int16* indices_ptr = indices)
+ {
+ Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glMatrixIndexusvARB(Int32 size, ref UInt16 indices)
+ {
+ unsafe
+ {
+ fixed (UInt16* indices_ptr = &indices)
+ {
+ Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMatrixIndexusvARB(Int32 size, ref Int16 indices)
+ {
+ unsafe
+ {
+ fixed (Int16* indices_ptr = &indices)
+ {
+ Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMatrixIndexuivARB(Int32 size, IntPtr indices)
+ {
+ unsafe
+ {
+ Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glMatrixIndexuivARB(Int32 size, UInt32[] indices)
+ {
+ unsafe
+ {
+ fixed (UInt32* indices_ptr = indices)
+ {
+ Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMatrixIndexuivARB(Int32 size, Int32[] indices)
+ {
+ unsafe
+ {
+ fixed (Int32* indices_ptr = indices)
+ {
+ Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glMatrixIndexuivARB(Int32 size, ref UInt32 indices)
+ {
+ unsafe
+ {
+ fixed (UInt32* indices_ptr = &indices)
+ {
+ Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMatrixIndexuivARB(Int32 size, ref Int32 indices)
+ {
+ unsafe
+ {
+ fixed (Int32* indices_ptr = &indices)
+ {
+ Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMatrixIndexPointerARB(Int32 size, int type, Int32 stride, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glMatrixIndexPointerARB((Int32)size, (int)type, (Int32)stride, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glMatrixIndexPointerARB(Int32 size, int type, Int32 stride, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMatrixIndexPointerARB((Int32)size, (int)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glWindowPos2dARB(Double x, Double y)
+ {
+ Delegates.glWindowPos2dARB((Double)x, (Double)y);
+ }
+
+ public static
+ void glWindowPos2dvARB(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glWindowPos2dvARB((Double*)v);
+ }
+ }
+
+ public static
+ void glWindowPos2dvARB(Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glWindowPos2dvARB((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos2dvARB(ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glWindowPos2dvARB((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos2fARB(Single x, Single y)
+ {
+ Delegates.glWindowPos2fARB((Single)x, (Single)y);
+ }
+
+ public static
+ void glWindowPos2fvARB(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glWindowPos2fvARB((Single*)v);
+ }
+ }
+
+ public static
+ void glWindowPos2fvARB(Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glWindowPos2fvARB((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos2fvARB(ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glWindowPos2fvARB((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos2iARB(Int32 x, Int32 y)
+ {
+ Delegates.glWindowPos2iARB((Int32)x, (Int32)y);
+ }
+
+ public static
+ void glWindowPos2ivARB(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glWindowPos2ivARB((Int32*)v);
+ }
+ }
+
+ public static
+ void glWindowPos2ivARB(Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glWindowPos2ivARB((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos2ivARB(ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glWindowPos2ivARB((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos2sARB(Int16 x, Int16 y)
+ {
+ Delegates.glWindowPos2sARB((Int16)x, (Int16)y);
+ }
+
+ public static
+ void glWindowPos2svARB(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glWindowPos2svARB((Int16*)v);
+ }
+ }
+
+ public static
+ void glWindowPos2svARB(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glWindowPos2svARB((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos2svARB(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glWindowPos2svARB((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos3dARB(Double x, Double y, Double z)
+ {
+ Delegates.glWindowPos3dARB((Double)x, (Double)y, (Double)z);
+ }
+
+ public static
+ void glWindowPos3dvARB(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glWindowPos3dvARB((Double*)v);
+ }
+ }
+
+ public static
+ void glWindowPos3dvARB(Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glWindowPos3dvARB((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos3dvARB(ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glWindowPos3dvARB((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos3fARB(Single x, Single y, Single z)
+ {
+ Delegates.glWindowPos3fARB((Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glWindowPos3fvARB(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glWindowPos3fvARB((Single*)v);
+ }
+ }
+
+ public static
+ void glWindowPos3fvARB(Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glWindowPos3fvARB((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos3fvARB(ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glWindowPos3fvARB((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos3iARB(Int32 x, Int32 y, Int32 z)
+ {
+ Delegates.glWindowPos3iARB((Int32)x, (Int32)y, (Int32)z);
+ }
+
+ public static
+ void glWindowPos3ivARB(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glWindowPos3ivARB((Int32*)v);
+ }
+ }
+
+ public static
+ void glWindowPos3ivARB(Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glWindowPos3ivARB((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos3ivARB(ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glWindowPos3ivARB((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos3sARB(Int16 x, Int16 y, Int16 z)
+ {
+ Delegates.glWindowPos3sARB((Int16)x, (Int16)y, (Int16)z);
+ }
+
+ public static
+ void glWindowPos3svARB(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glWindowPos3svARB((Int16*)v);
+ }
+ }
+
+ public static
+ void glWindowPos3svARB(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glWindowPos3svARB((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos3svARB(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glWindowPos3svARB((Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1dARB(UInt32 index, Double x)
+ {
+ Delegates.glVertexAttrib1dARB((UInt32)index, (Double)x);
+ }
+
+ public static
+ void glVertexAttrib1dARB(Int32 index, Double x)
+ {
+ Delegates.glVertexAttrib1dARB((UInt32)index, (Double)x);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1dvARB(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib1dvARB((UInt32)index, (Double*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib1dvARB(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib1dvARB((UInt32)index, (Double*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1dvARB(UInt32 index, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttrib1dvARB((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib1dvARB(Int32 index, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttrib1dvARB((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1dvARB(UInt32 index, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib1dvARB((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib1dvARB(Int32 index, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib1dvARB((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1fARB(UInt32 index, Single x)
+ {
+ Delegates.glVertexAttrib1fARB((UInt32)index, (Single)x);
+ }
+
+ public static
+ void glVertexAttrib1fARB(Int32 index, Single x)
+ {
+ Delegates.glVertexAttrib1fARB((UInt32)index, (Single)x);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1fvARB(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib1fvARB((UInt32)index, (Single*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib1fvARB(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib1fvARB((UInt32)index, (Single*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1fvARB(UInt32 index, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttrib1fvARB((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib1fvARB(Int32 index, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttrib1fvARB((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1fvARB(UInt32 index, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib1fvARB((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib1fvARB(Int32 index, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib1fvARB((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1sARB(UInt32 index, Int16 x)
+ {
+ Delegates.glVertexAttrib1sARB((UInt32)index, (Int16)x);
+ }
+
+ public static
+ void glVertexAttrib1sARB(Int32 index, Int16 x)
+ {
+ Delegates.glVertexAttrib1sARB((UInt32)index, (Int16)x);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1svARB(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib1svARB((UInt32)index, (Int16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib1svARB(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib1svARB((UInt32)index, (Int16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1svARB(UInt32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib1svARB((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib1svARB(Int32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib1svARB((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1svARB(UInt32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib1svARB((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib1svARB(Int32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib1svARB((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2dARB(UInt32 index, Double x, Double y)
+ {
+ Delegates.glVertexAttrib2dARB((UInt32)index, (Double)x, (Double)y);
+ }
+
+ public static
+ void glVertexAttrib2dARB(Int32 index, Double x, Double y)
+ {
+ Delegates.glVertexAttrib2dARB((UInt32)index, (Double)x, (Double)y);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2dvARB(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib2dvARB(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2dvARB(UInt32 index, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib2dvARB(Int32 index, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2dvARB(UInt32 index, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib2dvARB(Int32 index, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2fARB(UInt32 index, Single x, Single y)
+ {
+ Delegates.glVertexAttrib2fARB((UInt32)index, (Single)x, (Single)y);
+ }
+
+ public static
+ void glVertexAttrib2fARB(Int32 index, Single x, Single y)
+ {
+ Delegates.glVertexAttrib2fARB((UInt32)index, (Single)x, (Single)y);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2fvARB(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib2fvARB(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2fvARB(UInt32 index, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib2fvARB(Int32 index, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2fvARB(UInt32 index, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib2fvARB(Int32 index, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2sARB(UInt32 index, Int16 x, Int16 y)
+ {
+ Delegates.glVertexAttrib2sARB((UInt32)index, (Int16)x, (Int16)y);
+ }
+
+ public static
+ void glVertexAttrib2sARB(Int32 index, Int16 x, Int16 y)
+ {
+ Delegates.glVertexAttrib2sARB((UInt32)index, (Int16)x, (Int16)y);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2svARB(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib2svARB(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2svARB(UInt32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib2svARB(Int32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2svARB(UInt32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib2svARB(Int32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3dARB(UInt32 index, Double x, Double y, Double z)
+ {
+ Delegates.glVertexAttrib3dARB((UInt32)index, (Double)x, (Double)y, (Double)z);
+ }
+
+ public static
+ void glVertexAttrib3dARB(Int32 index, Double x, Double y, Double z)
+ {
+ Delegates.glVertexAttrib3dARB((UInt32)index, (Double)x, (Double)y, (Double)z);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3dvARB(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib3dvARB(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3dvARB(UInt32 index, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib3dvARB(Int32 index, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3dvARB(UInt32 index, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib3dvARB(Int32 index, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3fARB(UInt32 index, Single x, Single y, Single z)
+ {
+ Delegates.glVertexAttrib3fARB((UInt32)index, (Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glVertexAttrib3fARB(Int32 index, Single x, Single y, Single z)
+ {
+ Delegates.glVertexAttrib3fARB((UInt32)index, (Single)x, (Single)y, (Single)z);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3fvARB(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib3fvARB(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3fvARB(UInt32 index, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib3fvARB(Int32 index, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3fvARB(UInt32 index, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib3fvARB(Int32 index, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3sARB(UInt32 index, Int16 x, Int16 y, Int16 z)
+ {
+ Delegates.glVertexAttrib3sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z);
+ }
+
+ public static
+ void glVertexAttrib3sARB(Int32 index, Int16 x, Int16 y, Int16 z)
+ {
+ Delegates.glVertexAttrib3sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3svARB(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib3svARB(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3svARB(UInt32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib3svARB(Int32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3svARB(UInt32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib3svARB(Int32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4NbvARB(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4NbvARB(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4NbvARB(UInt32 index, SByte[] v)
+ {
+ unsafe
+ {
+ fixed (SByte* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4NbvARB(Int32 index, Byte[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4NbvARB(UInt32 index, ref SByte v)
+ {
+ unsafe
+ {
+ fixed (SByte* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4NbvARB(Int32 index, ref Byte v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4NivARB(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4NivARB(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4NivARB(UInt32 index, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4NivARB(Int32 index, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4NivARB(UInt32 index, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4NivARB(Int32 index, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4NsvARB(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4NsvARB(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4NsvARB(UInt32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4NsvARB(Int32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4NsvARB(UInt32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4NsvARB(Int32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4NubARB(UInt32 index, Byte x, Byte y, Byte z, Byte w)
+ {
+ Delegates.glVertexAttrib4NubARB((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w);
+ }
+
+ public static
+ void glVertexAttrib4NubARB(Int32 index, Byte x, Byte y, Byte z, Byte w)
+ {
+ Delegates.glVertexAttrib4NubARB((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4NubvARB(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4NubvARB(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4NubvARB(UInt32 index, Byte[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4NubvARB(Int32 index, Byte[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4NubvARB(UInt32 index, ref Byte v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4NubvARB(Int32 index, ref Byte v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4NuivARB(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4NuivARB(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4NuivARB(UInt32 index, UInt32[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4NuivARB(Int32 index, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4NuivARB(UInt32 index, ref UInt32 v)
+ {
+ unsafe
+ {
+ fixed (UInt32* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4NuivARB(Int32 index, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4NusvARB(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4NusvARB(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4NusvARB(UInt32 index, UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4NusvARB(Int32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4NusvARB(UInt32 index, ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4NusvARB(Int32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4bvARB(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4bvARB((UInt32)index, (SByte*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4bvARB(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4bvARB((UInt32)index, (SByte*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4bvARB(UInt32 index, SByte[] v)
+ {
+ unsafe
+ {
+ fixed (SByte* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4bvARB((UInt32)index, (SByte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4bvARB(Int32 index, Byte[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4bvARB((UInt32)index, (SByte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4bvARB(UInt32 index, ref SByte v)
+ {
+ unsafe
+ {
+ fixed (SByte* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4bvARB((UInt32)index, (SByte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4bvARB(Int32 index, ref Byte v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4bvARB((UInt32)index, (SByte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4dARB(UInt32 index, Double x, Double y, Double z, Double w)
+ {
+ Delegates.glVertexAttrib4dARB((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
+ }
+
+ public static
+ void glVertexAttrib4dARB(Int32 index, Double x, Double y, Double z, Double w)
+ {
+ Delegates.glVertexAttrib4dARB((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4dvARB(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4dvARB(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4dvARB(UInt32 index, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4dvARB(Int32 index, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4dvARB(UInt32 index, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4dvARB(Int32 index, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4fARB(UInt32 index, Single x, Single y, Single z, Single w)
+ {
+ Delegates.glVertexAttrib4fARB((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
+ }
+
+ public static
+ void glVertexAttrib4fARB(Int32 index, Single x, Single y, Single z, Single w)
+ {
+ Delegates.glVertexAttrib4fARB((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4fvARB(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4fvARB(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4fvARB(UInt32 index, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4fvARB(Int32 index, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4fvARB(UInt32 index, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4fvARB(Int32 index, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4ivARB(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4ivARB(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4ivARB(UInt32 index, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4ivARB(Int32 index, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4ivARB(UInt32 index, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4ivARB(Int32 index, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4sARB(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w)
+ {
+ Delegates.glVertexAttrib4sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w);
+ }
+
+ public static
+ void glVertexAttrib4sARB(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w)
+ {
+ Delegates.glVertexAttrib4sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4svARB(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4svARB(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4svARB(UInt32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4svARB(Int32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4svARB(UInt32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4svARB(Int32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4ubvARB(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4ubvARB(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4ubvARB(UInt32 index, Byte[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4ubvARB(Int32 index, Byte[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4ubvARB(UInt32 index, ref Byte v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4ubvARB(Int32 index, ref Byte v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4uivARB(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4uivARB(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4uivARB(UInt32 index, UInt32[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4uivARB(Int32 index, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4uivARB(UInt32 index, ref UInt32 v)
+ {
+ unsafe
+ {
+ fixed (UInt32* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4uivARB(Int32 index, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4usvARB(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4usvARB(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4usvARB(UInt32 index, UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4usvARB(Int32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4usvARB(UInt32 index, ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4usvARB(Int32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribPointerARB(UInt32 index, Int32 size, int type, Int32 normalized, Int32 stride, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (int)type, (Int32)normalized, (Int32)stride, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glVertexAttribPointerARB(Int32 index, Int32 size, int type, Int32 normalized, Int32 stride, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (int)type, (Int32)normalized, (Int32)stride, (IntPtr)pointer);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribPointerARB(UInt32 index, Int32 size, int type, Int32 normalized, Int32 stride, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (int)type, (Int32)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribPointerARB(Int32 index, Int32 size, int type, Int32 normalized, Int32 stride, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (int)type, (Int32)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glEnableVertexAttribArrayARB(UInt32 index)
+ {
+ Delegates.glEnableVertexAttribArrayARB((UInt32)index);
+ }
+
+ public static
+ void glEnableVertexAttribArrayARB(Int32 index)
+ {
+ Delegates.glEnableVertexAttribArrayARB((UInt32)index);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDisableVertexAttribArrayARB(UInt32 index)
+ {
+ Delegates.glDisableVertexAttribArrayARB((UInt32)index);
+ }
+
+ public static
+ void glDisableVertexAttribArrayARB(Int32 index)
+ {
+ Delegates.glDisableVertexAttribArrayARB((UInt32)index);
+ }
+
+ public static
+ void glProgramStringARB(int target, int format, Int32 len, IntPtr @string)
+ {
+ unsafe
+ {
+ Delegates.glProgramStringARB((int)target, (int)format, (Int32)len, (IntPtr)@string);
+ }
+ }
+
+ public static
+ void glProgramStringARB(int target, int format, Int32 len, [In, Out] object @string)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle @string_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@string, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glProgramStringARB((int)target, (int)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ @string_ptr.Free();
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glBindProgramARB(int target, UInt32 program)
+ {
+ Delegates.glBindProgramARB((int)target, (UInt32)program);
+ }
+
+ public static
+ void glBindProgramARB(int target, Int32 program)
+ {
+ Delegates.glBindProgramARB((int)target, (UInt32)program);
+ }
+
+ public static
+ void glDeleteProgramsARB(Int32 n, IntPtr programs)
+ {
+ unsafe
+ {
+ Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteProgramsARB(Int32 n, UInt32[] programs)
+ {
+ unsafe
+ {
+ fixed (UInt32* programs_ptr = programs)
+ {
+ Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeleteProgramsARB(Int32 n, Int32[] programs)
+ {
+ unsafe
+ {
+ fixed (Int32* programs_ptr = programs)
+ {
+ Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteProgramsARB(Int32 n, ref UInt32 programs)
+ {
+ unsafe
+ {
+ fixed (UInt32* programs_ptr = &programs)
+ {
+ Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeleteProgramsARB(Int32 n, ref Int32 programs)
+ {
+ unsafe
+ {
+ fixed (Int32* programs_ptr = &programs)
+ {
+ Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGenProgramsARB(Int32 n, [Out] IntPtr programs)
+ {
+ unsafe
+ {
+ Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGenProgramsARB(Int32 n, [Out] UInt32[] programs)
+ {
+ unsafe
+ {
+ fixed (UInt32* programs_ptr = programs)
+ {
+ Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGenProgramsARB(Int32 n, [Out] Int32[] programs)
+ {
+ unsafe
+ {
+ fixed (Int32* programs_ptr = programs)
+ {
+ Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGenProgramsARB(Int32 n, [Out] out UInt32 programs)
+ {
+ unsafe
+ {
+ fixed (UInt32* programs_ptr = &programs)
+ {
+ Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr);
+ programs = *programs_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGenProgramsARB(Int32 n, [Out] out Int32 programs)
+ {
+ unsafe
+ {
+ fixed (Int32* programs_ptr = &programs)
+ {
+ Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr);
+ programs = *programs_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramEnvParameter4dARB(int target, UInt32 index, Double x, Double y, Double z, Double w)
+ {
+ Delegates.glProgramEnvParameter4dARB((int)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
+ }
+
+ public static
+ void glProgramEnvParameter4dARB(int target, Int32 index, Double x, Double y, Double z, Double w)
+ {
+ Delegates.glProgramEnvParameter4dARB((int)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramEnvParameter4dvARB(int target, UInt32 index, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramEnvParameter4dvARB((int)target, (UInt32)index, (Double*)@params);
+ }
+ }
+
+ public static
+ void glProgramEnvParameter4dvARB(int target, Int32 index, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramEnvParameter4dvARB((int)target, (UInt32)index, (Double*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramEnvParameter4dvARB(int target, UInt32 index, Double[] @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = @params)
+ {
+ Delegates.glProgramEnvParameter4dvARB((int)target, (UInt32)index, (Double*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramEnvParameter4dvARB(int target, Int32 index, Double[] @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = @params)
+ {
+ Delegates.glProgramEnvParameter4dvARB((int)target, (UInt32)index, (Double*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramEnvParameter4dvARB(int target, UInt32 index, ref Double @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = &@params)
+ {
+ Delegates.glProgramEnvParameter4dvARB((int)target, (UInt32)index, (Double*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramEnvParameter4dvARB(int target, Int32 index, ref Double @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = &@params)
+ {
+ Delegates.glProgramEnvParameter4dvARB((int)target, (UInt32)index, (Double*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramEnvParameter4fARB(int target, UInt32 index, Single x, Single y, Single z, Single w)
+ {
+ Delegates.glProgramEnvParameter4fARB((int)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
+ }
+
+ public static
+ void glProgramEnvParameter4fARB(int target, Int32 index, Single x, Single y, Single z, Single w)
+ {
+ Delegates.glProgramEnvParameter4fARB((int)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramEnvParameter4fvARB(int target, UInt32 index, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramEnvParameter4fvARB((int)target, (UInt32)index, (Single*)@params);
+ }
+ }
+
+ public static
+ void glProgramEnvParameter4fvARB(int target, Int32 index, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramEnvParameter4fvARB((int)target, (UInt32)index, (Single*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramEnvParameter4fvARB(int target, UInt32 index, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glProgramEnvParameter4fvARB((int)target, (UInt32)index, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramEnvParameter4fvARB(int target, Int32 index, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glProgramEnvParameter4fvARB((int)target, (UInt32)index, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramEnvParameter4fvARB(int target, UInt32 index, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glProgramEnvParameter4fvARB((int)target, (UInt32)index, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramEnvParameter4fvARB(int target, Int32 index, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glProgramEnvParameter4fvARB((int)target, (UInt32)index, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramLocalParameter4dARB(int target, UInt32 index, Double x, Double y, Double z, Double w)
+ {
+ Delegates.glProgramLocalParameter4dARB((int)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
+ }
+
+ public static
+ void glProgramLocalParameter4dARB(int target, Int32 index, Double x, Double y, Double z, Double w)
+ {
+ Delegates.glProgramLocalParameter4dARB((int)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramLocalParameter4dvARB(int target, UInt32 index, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramLocalParameter4dvARB((int)target, (UInt32)index, (Double*)@params);
+ }
+ }
+
+ public static
+ void glProgramLocalParameter4dvARB(int target, Int32 index, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramLocalParameter4dvARB((int)target, (UInt32)index, (Double*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramLocalParameter4dvARB(int target, UInt32 index, Double[] @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = @params)
+ {
+ Delegates.glProgramLocalParameter4dvARB((int)target, (UInt32)index, (Double*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramLocalParameter4dvARB(int target, Int32 index, Double[] @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = @params)
+ {
+ Delegates.glProgramLocalParameter4dvARB((int)target, (UInt32)index, (Double*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramLocalParameter4dvARB(int target, UInt32 index, ref Double @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = &@params)
+ {
+ Delegates.glProgramLocalParameter4dvARB((int)target, (UInt32)index, (Double*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramLocalParameter4dvARB(int target, Int32 index, ref Double @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = &@params)
+ {
+ Delegates.glProgramLocalParameter4dvARB((int)target, (UInt32)index, (Double*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramLocalParameter4fARB(int target, UInt32 index, Single x, Single y, Single z, Single w)
+ {
+ Delegates.glProgramLocalParameter4fARB((int)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
+ }
+
+ public static
+ void glProgramLocalParameter4fARB(int target, Int32 index, Single x, Single y, Single z, Single w)
+ {
+ Delegates.glProgramLocalParameter4fARB((int)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramLocalParameter4fvARB(int target, UInt32 index, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramLocalParameter4fvARB((int)target, (UInt32)index, (Single*)@params);
+ }
+ }
+
+ public static
+ void glProgramLocalParameter4fvARB(int target, Int32 index, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramLocalParameter4fvARB((int)target, (UInt32)index, (Single*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramLocalParameter4fvARB(int target, UInt32 index, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glProgramLocalParameter4fvARB((int)target, (UInt32)index, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramLocalParameter4fvARB(int target, Int32 index, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glProgramLocalParameter4fvARB((int)target, (UInt32)index, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramLocalParameter4fvARB(int target, UInt32 index, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glProgramLocalParameter4fvARB((int)target, (UInt32)index, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramLocalParameter4fvARB(int target, Int32 index, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glProgramLocalParameter4fvARB((int)target, (UInt32)index, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramEnvParameterdvARB(int target, UInt32 index, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramEnvParameterdvARB((int)target, (UInt32)index, (Double*)@params);
+ }
+ }
+
+ public static
+ void glGetProgramEnvParameterdvARB(int target, Int32 index, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramEnvParameterdvARB((int)target, (UInt32)index, (Double*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramEnvParameterdvARB(int target, UInt32 index, [Out] Double[] @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = @params)
+ {
+ Delegates.glGetProgramEnvParameterdvARB((int)target, (UInt32)index, (Double*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetProgramEnvParameterdvARB(int target, Int32 index, [Out] Double[] @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = @params)
+ {
+ Delegates.glGetProgramEnvParameterdvARB((int)target, (UInt32)index, (Double*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramEnvParameterdvARB(int target, UInt32 index, [Out] out Double @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramEnvParameterdvARB((int)target, (UInt32)index, (Double*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetProgramEnvParameterdvARB(int target, Int32 index, [Out] out Double @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramEnvParameterdvARB((int)target, (UInt32)index, (Double*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramEnvParameterfvARB(int target, UInt32 index, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramEnvParameterfvARB((int)target, (UInt32)index, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetProgramEnvParameterfvARB(int target, Int32 index, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramEnvParameterfvARB((int)target, (UInt32)index, (Single*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramEnvParameterfvARB(int target, UInt32 index, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetProgramEnvParameterfvARB((int)target, (UInt32)index, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetProgramEnvParameterfvARB(int target, Int32 index, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetProgramEnvParameterfvARB((int)target, (UInt32)index, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramEnvParameterfvARB(int target, UInt32 index, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramEnvParameterfvARB((int)target, (UInt32)index, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetProgramEnvParameterfvARB(int target, Int32 index, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramEnvParameterfvARB((int)target, (UInt32)index, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramLocalParameterdvARB(int target, UInt32 index, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramLocalParameterdvARB((int)target, (UInt32)index, (Double*)@params);
+ }
+ }
+
+ public static
+ void glGetProgramLocalParameterdvARB(int target, Int32 index, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramLocalParameterdvARB((int)target, (UInt32)index, (Double*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramLocalParameterdvARB(int target, UInt32 index, [Out] Double[] @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = @params)
+ {
+ Delegates.glGetProgramLocalParameterdvARB((int)target, (UInt32)index, (Double*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetProgramLocalParameterdvARB(int target, Int32 index, [Out] Double[] @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = @params)
+ {
+ Delegates.glGetProgramLocalParameterdvARB((int)target, (UInt32)index, (Double*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramLocalParameterdvARB(int target, UInt32 index, [Out] out Double @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramLocalParameterdvARB((int)target, (UInt32)index, (Double*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetProgramLocalParameterdvARB(int target, Int32 index, [Out] out Double @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramLocalParameterdvARB((int)target, (UInt32)index, (Double*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramLocalParameterfvARB(int target, UInt32 index, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramLocalParameterfvARB((int)target, (UInt32)index, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetProgramLocalParameterfvARB(int target, Int32 index, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramLocalParameterfvARB((int)target, (UInt32)index, (Single*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramLocalParameterfvARB(int target, UInt32 index, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetProgramLocalParameterfvARB((int)target, (UInt32)index, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetProgramLocalParameterfvARB(int target, Int32 index, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetProgramLocalParameterfvARB((int)target, (UInt32)index, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramLocalParameterfvARB(int target, UInt32 index, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramLocalParameterfvARB((int)target, (UInt32)index, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetProgramLocalParameterfvARB(int target, Int32 index, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramLocalParameterfvARB((int)target, (UInt32)index, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetProgramivARB(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramivARB((int)target, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetProgramivARB(int target, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetProgramivARB((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetProgramivARB(int target, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramivARB((int)target, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetProgramStringARB(int target, int pname, [Out] IntPtr @string)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramStringARB((int)target, (int)pname, (IntPtr)@string);
+ }
+ }
+
+ public static
+ void glGetProgramStringARB(int target, int pname, [In, Out] object @string)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle @string_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@string, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetProgramStringARB((int)target, (int)pname, (IntPtr)@string_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ @string_ptr.Free();
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribdvARB(UInt32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribdvARB((UInt32)index, (int)pname, (Double*)@params);
+ }
+ }
+
+ public static
+ void glGetVertexAttribdvARB(Int32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribdvARB((UInt32)index, (int)pname, (Double*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribdvARB(UInt32 index, int pname, [Out] Double[] @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = @params)
+ {
+ Delegates.glGetVertexAttribdvARB((UInt32)index, (int)pname, (Double*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetVertexAttribdvARB(Int32 index, int pname, [Out] Double[] @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = @params)
+ {
+ Delegates.glGetVertexAttribdvARB((UInt32)index, (int)pname, (Double*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribdvARB(UInt32 index, int pname, [Out] out Double @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = &@params)
+ {
+ Delegates.glGetVertexAttribdvARB((UInt32)index, (int)pname, (Double*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetVertexAttribdvARB(Int32 index, int pname, [Out] out Double @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = &@params)
+ {
+ Delegates.glGetVertexAttribdvARB((UInt32)index, (int)pname, (Double*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribfvARB(UInt32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribfvARB((UInt32)index, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetVertexAttribfvARB(Int32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribfvARB((UInt32)index, (int)pname, (Single*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribfvARB(UInt32 index, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetVertexAttribfvARB((UInt32)index, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetVertexAttribfvARB(Int32 index, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetVertexAttribfvARB((UInt32)index, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribfvARB(UInt32 index, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetVertexAttribfvARB((UInt32)index, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetVertexAttribfvARB(Int32 index, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetVertexAttribfvARB((UInt32)index, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribivARB(UInt32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribivARB((UInt32)index, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetVertexAttribivARB(Int32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribivARB((UInt32)index, (int)pname, (Int32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribivARB(UInt32 index, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetVertexAttribivARB((UInt32)index, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetVertexAttribivARB(Int32 index, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetVertexAttribivARB((UInt32)index, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribivARB(UInt32 index, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetVertexAttribivARB((UInt32)index, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetVertexAttribivARB(Int32 index, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetVertexAttribivARB((UInt32)index, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribPointervARB(UInt32 index, int pname, [Out] IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribPointervARB((UInt32)index, (int)pname, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glGetVertexAttribPointervARB(Int32 index, int pname, [Out] IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribPointervARB((UInt32)index, (int)pname, (IntPtr)pointer);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribPointervARB(UInt32 index, int pname, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetVertexAttribPointervARB((UInt32)index, (int)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetVertexAttribPointervARB(Int32 index, int pname, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetVertexAttribPointervARB((UInt32)index, (int)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glIsProgramARB(UInt32 program)
+ {
+ return Delegates.glIsProgramARB((UInt32)program);
+ }
+
+ public static
+ Int32 glIsProgramARB(Int32 program)
+ {
+ return Delegates.glIsProgramARB((UInt32)program);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glBindBufferARB(int target, UInt32 buffer)
+ {
+ Delegates.glBindBufferARB((int)target, (UInt32)buffer);
+ }
+
+ public static
+ void glBindBufferARB(int target, Int32 buffer)
+ {
+ Delegates.glBindBufferARB((int)target, (UInt32)buffer);
+ }
+
+ public static
+ void glDeleteBuffersARB(Int32 n, IntPtr buffers)
+ {
+ unsafe
+ {
+ Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteBuffersARB(Int32 n, UInt32[] buffers)
+ {
+ unsafe
+ {
+ fixed (UInt32* buffers_ptr = buffers)
+ {
+ Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeleteBuffersARB(Int32 n, Int32[] buffers)
+ {
+ unsafe
+ {
+ fixed (Int32* buffers_ptr = buffers)
+ {
+ Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteBuffersARB(Int32 n, ref UInt32 buffers)
+ {
+ unsafe
+ {
+ fixed (UInt32* buffers_ptr = &buffers)
+ {
+ Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeleteBuffersARB(Int32 n, ref Int32 buffers)
+ {
+ unsafe
+ {
+ fixed (Int32* buffers_ptr = &buffers)
+ {
+ Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGenBuffersARB(Int32 n, [Out] IntPtr buffers)
+ {
+ unsafe
+ {
+ Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGenBuffersARB(Int32 n, [Out] UInt32[] buffers)
+ {
+ unsafe
+ {
+ fixed (UInt32* buffers_ptr = buffers)
+ {
+ Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGenBuffersARB(Int32 n, [Out] Int32[] buffers)
+ {
+ unsafe
+ {
+ fixed (Int32* buffers_ptr = buffers)
+ {
+ Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGenBuffersARB(Int32 n, [Out] out UInt32 buffers)
+ {
+ unsafe
+ {
+ fixed (UInt32* buffers_ptr = &buffers)
+ {
+ Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr);
+ buffers = *buffers_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGenBuffersARB(Int32 n, [Out] out Int32 buffers)
+ {
+ unsafe
+ {
+ fixed (Int32* buffers_ptr = &buffers)
+ {
+ Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr);
+ buffers = *buffers_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glIsBufferARB(UInt32 buffer)
+ {
+ return Delegates.glIsBufferARB((UInt32)buffer);
+ }
+
+ public static
+ Int32 glIsBufferARB(Int32 buffer)
+ {
+ return Delegates.glIsBufferARB((UInt32)buffer);
+ }
+
+ public static
+ void glBufferDataARB(int target, IntPtr size, IntPtr data, int usage)
+ {
+ unsafe
+ {
+ Delegates.glBufferDataARB((int)target, (IntPtr)size, (IntPtr)data, (int)usage);
+ }
+ }
+
+ public static
+ void glBufferDataARB(int target, IntPtr size, [In, Out] object data, int usage)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glBufferDataARB((int)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (int)usage);
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glBufferSubDataARB(int target, IntPtr offset, IntPtr size, IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glBufferSubDataARB((int)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data);
+ }
+ }
+
+ public static
+ void glBufferSubDataARB(int target, IntPtr offset, IntPtr size, [In, Out] object data)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glBufferSubDataARB((int)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetBufferSubDataARB(int target, IntPtr offset, IntPtr size, [Out] IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glGetBufferSubDataARB((int)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data);
+ }
+ }
+
+ public static
+ void glGetBufferSubDataARB(int target, IntPtr offset, IntPtr size, [In, Out] object data)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetBufferSubDataARB((int)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ IntPtr glMapBufferARB(int target, int access)
+ {
+ return Delegates.glMapBufferARB((int)target, (int)access);
+ }
+
+ public static
+ Int32 glUnmapBufferARB(int target)
+ {
+ return Delegates.glUnmapBufferARB((int)target);
+ }
+
+ public static
+ void glGetBufferParameterivARB(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetBufferParameterivARB((int)target, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetBufferParameterivARB(int target, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetBufferParameterivARB((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetBufferParameterivARB(int target, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetBufferParameterivARB((int)target, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetBufferPointervARB(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetBufferPointervARB((int)target, (int)pname, (IntPtr)@params);
+ }
+ }
+
+ public static
+ void glGetBufferPointervARB(int target, int pname, [In, Out] object @params)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetBufferPointervARB((int)target, (int)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ @params_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGenQueriesARB(Int32 n, [Out] IntPtr ids)
+ {
+ unsafe
+ {
+ Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGenQueriesARB(Int32 n, [Out] UInt32[] ids)
+ {
+ unsafe
+ {
+ fixed (UInt32* ids_ptr = ids)
+ {
+ Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGenQueriesARB(Int32 n, [Out] Int32[] ids)
+ {
+ unsafe
+ {
+ fixed (Int32* ids_ptr = ids)
+ {
+ Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGenQueriesARB(Int32 n, [Out] out UInt32 ids)
+ {
+ unsafe
+ {
+ fixed (UInt32* ids_ptr = &ids)
+ {
+ Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr);
+ ids = *ids_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGenQueriesARB(Int32 n, [Out] out Int32 ids)
+ {
+ unsafe
+ {
+ fixed (Int32* ids_ptr = &ids)
+ {
+ Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr);
+ ids = *ids_ptr;
+ }
+ }
+ }
+
+ public static
+ void glDeleteQueriesARB(Int32 n, IntPtr ids)
+ {
+ unsafe
+ {
+ Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteQueriesARB(Int32 n, UInt32[] ids)
+ {
+ unsafe
+ {
+ fixed (UInt32* ids_ptr = ids)
+ {
+ Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeleteQueriesARB(Int32 n, Int32[] ids)
+ {
+ unsafe
+ {
+ fixed (Int32* ids_ptr = ids)
+ {
+ Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteQueriesARB(Int32 n, ref UInt32 ids)
+ {
+ unsafe
+ {
+ fixed (UInt32* ids_ptr = &ids)
+ {
+ Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeleteQueriesARB(Int32 n, ref Int32 ids)
+ {
+ unsafe
+ {
+ fixed (Int32* ids_ptr = &ids)
+ {
+ Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glIsQueryARB(UInt32 id)
+ {
+ return Delegates.glIsQueryARB((UInt32)id);
+ }
+
+ public static
+ Int32 glIsQueryARB(Int32 id)
+ {
+ return Delegates.glIsQueryARB((UInt32)id);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glBeginQueryARB(int target, UInt32 id)
+ {
+ Delegates.glBeginQueryARB((int)target, (UInt32)id);
+ }
+
+ public static
+ void glBeginQueryARB(int target, Int32 id)
+ {
+ Delegates.glBeginQueryARB((int)target, (UInt32)id);
+ }
+
+ public static
+ void glEndQueryARB(int target)
+ {
+ Delegates.glEndQueryARB((int)target);
+ }
+
+ public static
+ void glGetQueryivARB(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetQueryivARB((int)target, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetQueryivARB(int target, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetQueryivARB((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetQueryivARB(int target, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetQueryivARB((int)target, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetQueryObjectivARB(UInt32 id, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetQueryObjectivARB((UInt32)id, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetQueryObjectivARB(Int32 id, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetQueryObjectivARB((UInt32)id, (int)pname, (Int32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetQueryObjectivARB(UInt32 id, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetQueryObjectivARB((UInt32)id, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetQueryObjectivARB(Int32 id, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetQueryObjectivARB((UInt32)id, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetQueryObjectivARB(UInt32 id, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetQueryObjectivARB((UInt32)id, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetQueryObjectivARB(Int32 id, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetQueryObjectivARB((UInt32)id, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetQueryObjectuivARB(UInt32 id, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetQueryObjectuivARB((UInt32)id, (int)pname, (UInt32*)@params);
+ }
+ }
+
+ public static
+ void glGetQueryObjectuivARB(Int32 id, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetQueryObjectuivARB((UInt32)id, (int)pname, (UInt32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetQueryObjectuivARB(UInt32 id, int pname, [Out] UInt32[] @params)
+ {
+ unsafe
+ {
+ fixed (UInt32* @params_ptr = @params)
+ {
+ Delegates.glGetQueryObjectuivARB((UInt32)id, (int)pname, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetQueryObjectuivARB(Int32 id, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetQueryObjectuivARB((UInt32)id, (int)pname, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetQueryObjectuivARB(UInt32 id, int pname, [Out] out UInt32 @params)
+ {
+ unsafe
+ {
+ fixed (UInt32* @params_ptr = &@params)
+ {
+ Delegates.glGetQueryObjectuivARB((UInt32)id, (int)pname, (UInt32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetQueryObjectuivARB(Int32 id, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetQueryObjectuivARB((UInt32)id, (int)pname, (UInt32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteObjectARB(UInt32 obj)
+ {
+ Delegates.glDeleteObjectARB((UInt32)obj);
+ }
+
+ public static
+ void glDeleteObjectARB(Int32 obj)
+ {
+ Delegates.glDeleteObjectARB((UInt32)obj);
+ }
+
+ public static
+ Int32 glGetHandleARB(int pname)
+ {
+ return Delegates.glGetHandleARB((int)pname);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDetachObjectARB(UInt32 containerObj, UInt32 attachedObj)
+ {
+ Delegates.glDetachObjectARB((UInt32)containerObj, (UInt32)attachedObj);
+ }
+
+ public static
+ void glDetachObjectARB(Int32 containerObj, Int32 attachedObj)
+ {
+ Delegates.glDetachObjectARB((UInt32)containerObj, (UInt32)attachedObj);
+ }
+
+ public static
+ Int32 glCreateShaderObjectARB(int shaderType)
+ {
+ return Delegates.glCreateShaderObjectARB((int)shaderType);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glShaderSourceARB(UInt32 shaderObj, Int32 count, System.String[] @string, IntPtr length)
+ {
+ unsafe
+ {
+ Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (System.String[])@string, (Int32*)length);
+ }
+ }
+
+ public static
+ void glShaderSourceARB(Int32 shaderObj, Int32 count, System.String[] @string, IntPtr length)
+ {
+ unsafe
+ {
+ Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (System.String[])@string, (Int32*)length);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glShaderSourceARB(UInt32 shaderObj, Int32 count, System.String[] @string, Int32[] length)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (System.String[])@string, (Int32*)length_ptr);
+ }
+ }
+ }
+
+ public static
+ void glShaderSourceARB(Int32 shaderObj, Int32 count, System.String[] @string, Int32[] length)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (System.String[])@string, (Int32*)length_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glShaderSourceARB(UInt32 shaderObj, Int32 count, System.String[] @string, ref Int32 length)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (System.String[])@string, (Int32*)length_ptr);
+ }
+ }
+ }
+
+ public static
+ void glShaderSourceARB(Int32 shaderObj, Int32 count, System.String[] @string, ref Int32 length)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (System.String[])@string, (Int32*)length_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glCompileShaderARB(UInt32 shaderObj)
+ {
+ Delegates.glCompileShaderARB((UInt32)shaderObj);
+ }
+
+ public static
+ void glCompileShaderARB(Int32 shaderObj)
+ {
+ Delegates.glCompileShaderARB((UInt32)shaderObj);
+ }
+
+ public static
+ Int32 glCreateProgramObjectARB()
+ {
+ return Delegates.glCreateProgramObjectARB();
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glAttachObjectARB(UInt32 containerObj, UInt32 obj)
+ {
+ Delegates.glAttachObjectARB((UInt32)containerObj, (UInt32)obj);
+ }
+
+ public static
+ void glAttachObjectARB(Int32 containerObj, Int32 obj)
+ {
+ Delegates.glAttachObjectARB((UInt32)containerObj, (UInt32)obj);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glLinkProgramARB(UInt32 programObj)
+ {
+ Delegates.glLinkProgramARB((UInt32)programObj);
+ }
+
+ public static
+ void glLinkProgramARB(Int32 programObj)
+ {
+ Delegates.glLinkProgramARB((UInt32)programObj);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glUseProgramObjectARB(UInt32 programObj)
+ {
+ Delegates.glUseProgramObjectARB((UInt32)programObj);
+ }
+
+ public static
+ void glUseProgramObjectARB(Int32 programObj)
+ {
+ Delegates.glUseProgramObjectARB((UInt32)programObj);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glValidateProgramARB(UInt32 programObj)
+ {
+ Delegates.glValidateProgramARB((UInt32)programObj);
+ }
+
+ public static
+ void glValidateProgramARB(Int32 programObj)
+ {
+ Delegates.glValidateProgramARB((UInt32)programObj);
+ }
+
+ public static
+ void glUniform1fARB(Int32 location, Single v0)
+ {
+ Delegates.glUniform1fARB((Int32)location, (Single)v0);
+ }
+
+ public static
+ void glUniform2fARB(Int32 location, Single v0, Single v1)
+ {
+ Delegates.glUniform2fARB((Int32)location, (Single)v0, (Single)v1);
+ }
+
+ public static
+ void glUniform3fARB(Int32 location, Single v0, Single v1, Single v2)
+ {
+ Delegates.glUniform3fARB((Int32)location, (Single)v0, (Single)v1, (Single)v2);
+ }
+
+ public static
+ void glUniform4fARB(Int32 location, Single v0, Single v1, Single v2, Single v3)
+ {
+ Delegates.glUniform4fARB((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3);
+ }
+
+ public static
+ void glUniform1iARB(Int32 location, Int32 v0)
+ {
+ Delegates.glUniform1iARB((Int32)location, (Int32)v0);
+ }
+
+ public static
+ void glUniform2iARB(Int32 location, Int32 v0, Int32 v1)
+ {
+ Delegates.glUniform2iARB((Int32)location, (Int32)v0, (Int32)v1);
+ }
+
+ public static
+ void glUniform3iARB(Int32 location, Int32 v0, Int32 v1, Int32 v2)
+ {
+ Delegates.glUniform3iARB((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2);
+ }
+
+ public static
+ void glUniform4iARB(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3)
+ {
+ Delegates.glUniform4iARB((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3);
+ }
+
+ public static
+ void glUniform1fvARB(Int32 location, Int32 count, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniform1fvARB((Int32)location, (Int32)count, (Single*)value);
+ }
+ }
+
+ public static
+ void glUniform1fvARB(Int32 location, Int32 count, Single[] value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = value)
+ {
+ Delegates.glUniform1fvARB((Int32)location, (Int32)count, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform1fvARB(Int32 location, Int32 count, ref Single value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = &value)
+ {
+ Delegates.glUniform1fvARB((Int32)location, (Int32)count, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform2fvARB(Int32 location, Int32 count, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniform2fvARB((Int32)location, (Int32)count, (Single*)value);
+ }
+ }
+
+ public static
+ void glUniform2fvARB(Int32 location, Int32 count, Single[] value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = value)
+ {
+ Delegates.glUniform2fvARB((Int32)location, (Int32)count, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform2fvARB(Int32 location, Int32 count, ref Single value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = &value)
+ {
+ Delegates.glUniform2fvARB((Int32)location, (Int32)count, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform3fvARB(Int32 location, Int32 count, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniform3fvARB((Int32)location, (Int32)count, (Single*)value);
+ }
+ }
+
+ public static
+ void glUniform3fvARB(Int32 location, Int32 count, Single[] value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = value)
+ {
+ Delegates.glUniform3fvARB((Int32)location, (Int32)count, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform3fvARB(Int32 location, Int32 count, ref Single value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = &value)
+ {
+ Delegates.glUniform3fvARB((Int32)location, (Int32)count, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform4fvARB(Int32 location, Int32 count, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniform4fvARB((Int32)location, (Int32)count, (Single*)value);
+ }
+ }
+
+ public static
+ void glUniform4fvARB(Int32 location, Int32 count, Single[] value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = value)
+ {
+ Delegates.glUniform4fvARB((Int32)location, (Int32)count, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform4fvARB(Int32 location, Int32 count, ref Single value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = &value)
+ {
+ Delegates.glUniform4fvARB((Int32)location, (Int32)count, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform1ivARB(Int32 location, Int32 count, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniform1ivARB((Int32)location, (Int32)count, (Int32*)value);
+ }
+ }
+
+ public static
+ void glUniform1ivARB(Int32 location, Int32 count, Int32[] value)
+ {
+ unsafe
+ {
+ fixed (Int32* value_ptr = value)
+ {
+ Delegates.glUniform1ivARB((Int32)location, (Int32)count, (Int32*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform1ivARB(Int32 location, Int32 count, ref Int32 value)
+ {
+ unsafe
+ {
+ fixed (Int32* value_ptr = &value)
+ {
+ Delegates.glUniform1ivARB((Int32)location, (Int32)count, (Int32*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform2ivARB(Int32 location, Int32 count, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniform2ivARB((Int32)location, (Int32)count, (Int32*)value);
+ }
+ }
+
+ public static
+ void glUniform2ivARB(Int32 location, Int32 count, Int32[] value)
+ {
+ unsafe
+ {
+ fixed (Int32* value_ptr = value)
+ {
+ Delegates.glUniform2ivARB((Int32)location, (Int32)count, (Int32*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform2ivARB(Int32 location, Int32 count, ref Int32 value)
+ {
+ unsafe
+ {
+ fixed (Int32* value_ptr = &value)
+ {
+ Delegates.glUniform2ivARB((Int32)location, (Int32)count, (Int32*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform3ivARB(Int32 location, Int32 count, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniform3ivARB((Int32)location, (Int32)count, (Int32*)value);
+ }
+ }
+
+ public static
+ void glUniform3ivARB(Int32 location, Int32 count, Int32[] value)
+ {
+ unsafe
+ {
+ fixed (Int32* value_ptr = value)
+ {
+ Delegates.glUniform3ivARB((Int32)location, (Int32)count, (Int32*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform3ivARB(Int32 location, Int32 count, ref Int32 value)
+ {
+ unsafe
+ {
+ fixed (Int32* value_ptr = &value)
+ {
+ Delegates.glUniform3ivARB((Int32)location, (Int32)count, (Int32*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform4ivARB(Int32 location, Int32 count, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniform4ivARB((Int32)location, (Int32)count, (Int32*)value);
+ }
+ }
+
+ public static
+ void glUniform4ivARB(Int32 location, Int32 count, Int32[] value)
+ {
+ unsafe
+ {
+ fixed (Int32* value_ptr = value)
+ {
+ Delegates.glUniform4ivARB((Int32)location, (Int32)count, (Int32*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform4ivARB(Int32 location, Int32 count, ref Int32 value)
+ {
+ unsafe
+ {
+ fixed (Int32* value_ptr = &value)
+ {
+ Delegates.glUniform4ivARB((Int32)location, (Int32)count, (Int32*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniformMatrix2fvARB(Int32 location, Int32 count, Int32 transpose, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniformMatrix2fvARB((Int32)location, (Int32)count, (Int32)transpose, (Single*)value);
+ }
+ }
+
+ public static
+ void glUniformMatrix2fvARB(Int32 location, Int32 count, Int32 transpose, Single[] value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = value)
+ {
+ Delegates.glUniformMatrix2fvARB((Int32)location, (Int32)count, (Int32)transpose, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniformMatrix2fvARB(Int32 location, Int32 count, Int32 transpose, ref Single value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = &value)
+ {
+ Delegates.glUniformMatrix2fvARB((Int32)location, (Int32)count, (Int32)transpose, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniformMatrix3fvARB(Int32 location, Int32 count, Int32 transpose, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniformMatrix3fvARB((Int32)location, (Int32)count, (Int32)transpose, (Single*)value);
+ }
+ }
+
+ public static
+ void glUniformMatrix3fvARB(Int32 location, Int32 count, Int32 transpose, Single[] value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = value)
+ {
+ Delegates.glUniformMatrix3fvARB((Int32)location, (Int32)count, (Int32)transpose, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniformMatrix3fvARB(Int32 location, Int32 count, Int32 transpose, ref Single value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = &value)
+ {
+ Delegates.glUniformMatrix3fvARB((Int32)location, (Int32)count, (Int32)transpose, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniformMatrix4fvARB(Int32 location, Int32 count, Int32 transpose, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniformMatrix4fvARB((Int32)location, (Int32)count, (Int32)transpose, (Single*)value);
+ }
+ }
+
+ public static
+ void glUniformMatrix4fvARB(Int32 location, Int32 count, Int32 transpose, Single[] value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = value)
+ {
+ Delegates.glUniformMatrix4fvARB((Int32)location, (Int32)count, (Int32)transpose, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniformMatrix4fvARB(Int32 location, Int32 count, Int32 transpose, ref Single value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = &value)
+ {
+ Delegates.glUniformMatrix4fvARB((Int32)location, (Int32)count, (Int32)transpose, (Single*)value_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetObjectParameterfvARB(UInt32 obj, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetObjectParameterfvARB((UInt32)obj, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetObjectParameterfvARB(Int32 obj, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetObjectParameterfvARB((UInt32)obj, (int)pname, (Single*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetObjectParameterfvARB(UInt32 obj, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetObjectParameterfvARB((UInt32)obj, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetObjectParameterfvARB(Int32 obj, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetObjectParameterfvARB((UInt32)obj, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetObjectParameterfvARB(UInt32 obj, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetObjectParameterfvARB((UInt32)obj, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetObjectParameterfvARB(Int32 obj, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetObjectParameterfvARB((UInt32)obj, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetObjectParameterivARB(UInt32 obj, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetObjectParameterivARB((UInt32)obj, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetObjectParameterivARB(Int32 obj, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetObjectParameterivARB((UInt32)obj, (int)pname, (Int32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetObjectParameterivARB(UInt32 obj, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetObjectParameterivARB((UInt32)obj, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetObjectParameterivARB(Int32 obj, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetObjectParameterivARB((UInt32)obj, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetObjectParameterivARB(UInt32 obj, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetObjectParameterivARB((UInt32)obj, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetObjectParameterivARB(Int32 obj, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetObjectParameterivARB((UInt32)obj, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetInfoLogARB(UInt32 obj, Int32 maxLength, [Out] IntPtr length, [Out] System.Text.StringBuilder infoLog)
+ {
+ unsafe
+ {
+ Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder)infoLog);
+ }
+ }
+
+ public static
+ void glGetInfoLogARB(Int32 obj, Int32 maxLength, [Out] IntPtr length, [Out] System.Text.StringBuilder infoLog)
+ {
+ unsafe
+ {
+ Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder)infoLog);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetInfoLogARB(UInt32 obj, Int32 maxLength, [Out] Int32[] length, [Out] System.Text.StringBuilder infoLog)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog);
+ }
+ }
+ }
+
+ public static
+ void glGetInfoLogARB(Int32 obj, Int32 maxLength, [Out] Int32[] length, [Out] System.Text.StringBuilder infoLog)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetInfoLogARB(UInt32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetInfoLogARB(Int32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetAttachedObjectsARB(UInt32 containerObj, Int32 maxCount, [Out] IntPtr count, [Out] IntPtr obj)
+ {
+ unsafe
+ {
+ Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj);
+ }
+ }
+
+ public static
+ void glGetAttachedObjectsARB(Int32 containerObj, Int32 maxCount, [Out] IntPtr count, [Out] IntPtr obj)
+ {
+ unsafe
+ {
+ Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetAttachedObjectsARB(UInt32 containerObj, Int32 maxCount, [Out] IntPtr count, [Out] UInt32[] obj)
+ {
+ unsafe
+ {
+ fixed (UInt32* obj_ptr = obj)
+ {
+ Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetAttachedObjectsARB(Int32 containerObj, Int32 maxCount, [Out] IntPtr count, [Out] Int32[] obj)
+ {
+ unsafe
+ {
+ fixed (Int32* obj_ptr = obj)
+ {
+ Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetAttachedObjectsARB(UInt32 containerObj, Int32 maxCount, [Out] IntPtr count, [Out] out UInt32 obj)
+ {
+ unsafe
+ {
+ fixed (UInt32* obj_ptr = &obj)
+ {
+ Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr);
+ obj = *obj_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetAttachedObjectsARB(Int32 containerObj, Int32 maxCount, [Out] IntPtr count, [Out] out Int32 obj)
+ {
+ unsafe
+ {
+ fixed (Int32* obj_ptr = &obj)
+ {
+ Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr);
+ obj = *obj_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetAttachedObjectsARB(UInt32 containerObj, Int32 maxCount, [Out] Int32[] count, [Out] IntPtr obj)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj);
+ }
+ }
+ }
+
+ public static
+ void glGetAttachedObjectsARB(Int32 containerObj, Int32 maxCount, [Out] Int32[] count, [Out] IntPtr obj)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetAttachedObjectsARB(UInt32 containerObj, Int32 maxCount, [Out] Int32[] count, [Out] UInt32[] obj)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = count)
+ fixed (UInt32* obj_ptr = obj)
+ {
+ Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetAttachedObjectsARB(Int32 containerObj, Int32 maxCount, [Out] Int32[] count, [Out] Int32[] obj)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = count)
+ fixed (Int32* obj_ptr = obj)
+ {
+ Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetAttachedObjectsARB(UInt32 containerObj, Int32 maxCount, [Out] Int32[] count, [Out] out UInt32 obj)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = count)
+ fixed (UInt32* obj_ptr = &obj)
+ {
+ Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr);
+ obj = *obj_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetAttachedObjectsARB(Int32 containerObj, Int32 maxCount, [Out] Int32[] count, [Out] out Int32 obj)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = count)
+ fixed (Int32* obj_ptr = &obj)
+ {
+ Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr);
+ obj = *obj_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetAttachedObjectsARB(UInt32 containerObj, Int32 maxCount, [Out] out Int32 count, [Out] IntPtr obj)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj);
+ count = *count_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetAttachedObjectsARB(Int32 containerObj, Int32 maxCount, [Out] out Int32 count, [Out] IntPtr obj)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj);
+ count = *count_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetAttachedObjectsARB(UInt32 containerObj, Int32 maxCount, [Out] out Int32 count, [Out] UInt32[] obj)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = &count)
+ fixed (UInt32* obj_ptr = obj)
+ {
+ Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr);
+ count = *count_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetAttachedObjectsARB(Int32 containerObj, Int32 maxCount, [Out] out Int32 count, [Out] Int32[] obj)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = &count)
+ fixed (Int32* obj_ptr = obj)
+ {
+ Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr);
+ count = *count_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetAttachedObjectsARB(UInt32 containerObj, Int32 maxCount, [Out] out Int32 count, [Out] out UInt32 obj)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = &count)
+ fixed (UInt32* obj_ptr = &obj)
+ {
+ Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr);
+ count = *count_ptr;
+ obj = *obj_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetAttachedObjectsARB(Int32 containerObj, Int32 maxCount, [Out] out Int32 count, [Out] out Int32 obj)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = &count)
+ fixed (Int32* obj_ptr = &obj)
+ {
+ Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr);
+ count = *count_ptr;
+ obj = *obj_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glGetUniformLocationARB(UInt32 programObj, System.String name)
+ {
+ return Delegates.glGetUniformLocationARB((UInt32)programObj, (System.String)name);
+ }
+
+ public static
+ Int32 glGetUniformLocationARB(Int32 programObj, System.String name)
+ {
+ return Delegates.glGetUniformLocationARB((UInt32)programObj, (System.String)name);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] IntPtr length, [Out] IntPtr size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+
+ public static
+ void glGetActiveUniformARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] IntPtr length, [Out] IntPtr size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] IntPtr length, [Out] IntPtr size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniformARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] IntPtr length, [Out] IntPtr size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] IntPtr length, [Out] IntPtr size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniformARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] IntPtr length, [Out] IntPtr size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] IntPtr length, [Out] Int32[] size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = size)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniformARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] IntPtr length, [Out] Int32[] size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = size)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] IntPtr length, [Out] Int32[] size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniformARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] IntPtr length, [Out] Int32[] size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] IntPtr length, [Out] Int32[] size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniformARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] IntPtr length, [Out] Int32[] size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] IntPtr length, [Out] out Int32 size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = &size)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniformARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] IntPtr length, [Out] out Int32 size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = &size)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] IntPtr length, [Out] out Int32 size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniformARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] IntPtr length, [Out] out Int32 size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] IntPtr length, [Out] out Int32 size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniformARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] IntPtr length, [Out] out Int32 size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] IntPtr size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniformARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] IntPtr size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] IntPtr size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniformARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] IntPtr size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] IntPtr size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniformARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] IntPtr size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniformARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniformARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniformARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] out Int32 size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = &size)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniformARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] out Int32 size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = &size)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] out Int32 size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniformARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] out Int32 size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] out Int32 size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniformARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] out Int32 size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] IntPtr size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (int*)type, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniformARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] IntPtr size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (int*)type, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] IntPtr size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniformARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] IntPtr size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] IntPtr size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniformARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] IntPtr size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32[] size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = size)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniformARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32[] size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = size)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32[] size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniformARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32[] size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32[] size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniformARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32[] size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ size = *size_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniformARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ size = *size_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ size = *size_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniformARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ size = *size_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ size = *size_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveUniformARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ size = *size_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetUniformfvARB(UInt32 programObj, Int32 location, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetUniformfvARB(Int32 programObj, Int32 location, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetUniformfvARB(UInt32 programObj, Int32 location, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetUniformfvARB(Int32 programObj, Int32 location, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetUniformfvARB(UInt32 programObj, Int32 location, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetUniformfvARB(Int32 programObj, Int32 location, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetUniformivARB(UInt32 programObj, Int32 location, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetUniformivARB(Int32 programObj, Int32 location, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetUniformivARB(UInt32 programObj, Int32 location, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetUniformivARB(Int32 programObj, Int32 location, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetUniformivARB(UInt32 programObj, Int32 location, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetUniformivARB(Int32 programObj, Int32 location, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetShaderSourceARB(UInt32 obj, Int32 maxLength, [Out] IntPtr length, [Out] System.Text.StringBuilder[] source)
+ {
+ unsafe
+ {
+ Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder[])source);
+ }
+ }
+
+ public static
+ void glGetShaderSourceARB(Int32 obj, Int32 maxLength, [Out] IntPtr length, [Out] System.Text.StringBuilder[] source)
+ {
+ unsafe
+ {
+ Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder[])source);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetShaderSourceARB(UInt32 obj, Int32 maxLength, [Out] Int32[] length, [Out] System.Text.StringBuilder[] source)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder[])source);
+ }
+ }
+ }
+
+ public static
+ void glGetShaderSourceARB(Int32 obj, Int32 maxLength, [Out] Int32[] length, [Out] System.Text.StringBuilder[] source)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder[])source);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetShaderSourceARB(UInt32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder[] source)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder[])source);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetShaderSourceARB(Int32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder[] source)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder[])source);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glBindAttribLocationARB(UInt32 programObj, UInt32 index, System.String name)
+ {
+ Delegates.glBindAttribLocationARB((UInt32)programObj, (UInt32)index, (System.String)name);
+ }
+
+ public static
+ void glBindAttribLocationARB(Int32 programObj, Int32 index, System.String name)
+ {
+ Delegates.glBindAttribLocationARB((UInt32)programObj, (UInt32)index, (System.String)name);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] IntPtr length, [Out] IntPtr size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+
+ public static
+ void glGetActiveAttribARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] IntPtr length, [Out] IntPtr size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] IntPtr length, [Out] IntPtr size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttribARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] IntPtr length, [Out] IntPtr size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] IntPtr length, [Out] IntPtr size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttribARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] IntPtr length, [Out] IntPtr size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] IntPtr length, [Out] Int32[] size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = size)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttribARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] IntPtr length, [Out] Int32[] size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = size)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] IntPtr length, [Out] Int32[] size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttribARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] IntPtr length, [Out] Int32[] size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] IntPtr length, [Out] Int32[] size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttribARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] IntPtr length, [Out] Int32[] size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] IntPtr length, [Out] out Int32 size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = &size)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttribARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] IntPtr length, [Out] out Int32 size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = &size)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] IntPtr length, [Out] out Int32 size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttribARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] IntPtr length, [Out] out Int32 size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] IntPtr length, [Out] out Int32 size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttribARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] IntPtr length, [Out] out Int32 size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] IntPtr size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttribARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] IntPtr size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] IntPtr size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttribARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] IntPtr size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] IntPtr size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttribARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] IntPtr size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttribARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttribARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttribARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] out Int32 size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = &size)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttribARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] out Int32 size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = &size)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] out Int32 size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttribARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] out Int32 size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] out Int32 size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttribARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] out Int32 size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] IntPtr size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (int*)type, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttribARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] IntPtr size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (int*)type, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] IntPtr size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttribARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] IntPtr size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] IntPtr size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttribARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] IntPtr size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32[] size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = size)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttribARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32[] size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = size)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32[] size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttribARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32[] size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32[] size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttribARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32[] size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ size = *size_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttribARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ size = *size_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ size = *size_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttribARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ size = *size_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ size = *size_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveAttribARB(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ size = *size_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glGetAttribLocationARB(UInt32 programObj, System.String name)
+ {
+ return Delegates.glGetAttribLocationARB((UInt32)programObj, (System.String)name);
+ }
+
+ public static
+ Int32 glGetAttribLocationARB(Int32 programObj, System.String name)
+ {
+ return Delegates.glGetAttribLocationARB((UInt32)programObj, (System.String)name);
+ }
+
+ public static
+ void glDrawBuffersARB(Int32 n, IntPtr bufs)
+ {
+ unsafe
+ {
+ Delegates.glDrawBuffersARB((Int32)n, (int*)bufs);
+ }
+ }
+
+ public static
+ void glDrawBuffersARB(Int32 n, int[] bufs)
+ {
+ unsafe
+ {
+ fixed (int* bufs_ptr = bufs)
+ {
+ Delegates.glDrawBuffersARB((Int32)n, (int*)bufs_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDrawBuffersARB(Int32 n, ref int bufs)
+ {
+ unsafe
+ {
+ fixed (int* bufs_ptr = &bufs)
+ {
+ Delegates.glDrawBuffersARB((Int32)n, (int*)bufs_ptr);
+ }
+ }
+ }
+
+ public static
+ void glClampColorARB(int target, int clamp)
+ {
+ Delegates.glClampColorARB((int)target, (int)clamp);
+ }
+
+ public static
+ void glBlendColorEXT(Single red, Single green, Single blue, Single alpha)
+ {
+ Delegates.glBlendColorEXT((Single)red, (Single)green, (Single)blue, (Single)alpha);
+ }
+
+ public static
+ void glPolygonOffsetEXT(Single factor, Single bias)
+ {
+ Delegates.glPolygonOffsetEXT((Single)factor, (Single)bias);
+ }
+
+ public static
+ void glTexImage3DEXT(int target, Int32 level, int internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, int format, int type, IntPtr pixels)
+ {
+ unsafe
+ {
+ Delegates.glTexImage3DEXT((int)target, (Int32)level, (int)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (int)format, (int)type, (IntPtr)pixels);
+ }
+ }
+
+ public static
+ void glTexImage3DEXT(int target, Int32 level, int internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, int format, int type, [In, Out] object pixels)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glTexImage3DEXT((int)target, (Int32)level, (int)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (int)format, (int)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pixels_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glTexSubImage3DEXT(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, int format, int type, IntPtr pixels)
+ {
+ unsafe
+ {
+ Delegates.glTexSubImage3DEXT((int)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (int)format, (int)type, (IntPtr)pixels);
+ }
+ }
+
+ public static
+ void glTexSubImage3DEXT(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, int format, int type, [In, Out] object pixels)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glTexSubImage3DEXT((int)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (int)format, (int)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pixels_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glTexSubImage1DEXT(int target, Int32 level, Int32 xoffset, Int32 width, int format, int type, IntPtr pixels)
+ {
+ unsafe
+ {
+ Delegates.glTexSubImage1DEXT((int)target, (Int32)level, (Int32)xoffset, (Int32)width, (int)format, (int)type, (IntPtr)pixels);
+ }
+ }
+
+ public static
+ void glTexSubImage1DEXT(int target, Int32 level, Int32 xoffset, Int32 width, int format, int type, [In, Out] object pixels)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glTexSubImage1DEXT((int)target, (Int32)level, (Int32)xoffset, (Int32)width, (int)format, (int)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pixels_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glTexSubImage2DEXT(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, int format, int type, IntPtr pixels)
+ {
+ unsafe
+ {
+ Delegates.glTexSubImage2DEXT((int)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (int)format, (int)type, (IntPtr)pixels);
+ }
+ }
+
+ public static
+ void glTexSubImage2DEXT(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, int format, int type, [In, Out] object pixels)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glTexSubImage2DEXT((int)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (int)format, (int)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pixels_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glCopyTexImage1DEXT(int target, Int32 level, int internalformat, Int32 x, Int32 y, Int32 width, Int32 border)
+ {
+ Delegates.glCopyTexImage1DEXT((int)target, (Int32)level, (int)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border);
+ }
+
+ public static
+ void glCopyTexImage2DEXT(int target, Int32 level, int internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border)
+ {
+ Delegates.glCopyTexImage2DEXT((int)target, (Int32)level, (int)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border);
+ }
+
+ public static
+ void glCopyTexSubImage1DEXT(int target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width)
+ {
+ Delegates.glCopyTexSubImage1DEXT((int)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width);
+ }
+
+ public static
+ void glCopyTexSubImage2DEXT(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height)
+ {
+ Delegates.glCopyTexSubImage2DEXT((int)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
+ }
+
+ public static
+ void glCopyTexSubImage3DEXT(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height)
+ {
+ Delegates.glCopyTexSubImage3DEXT((int)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
+ }
+
+ public static
+ void glGetHistogramEXT(int target, Int32 reset, int format, int type, [Out] IntPtr values)
+ {
+ unsafe
+ {
+ Delegates.glGetHistogramEXT((int)target, (Int32)reset, (int)format, (int)type, (IntPtr)values);
+ }
+ }
+
+ public static
+ void glGetHistogramEXT(int target, Int32 reset, int format, int type, [In, Out] object values)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle values_ptr = System.Runtime.InteropServices.GCHandle.Alloc(values, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetHistogramEXT((int)target, (Int32)reset, (int)format, (int)type, (IntPtr)values_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ values_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetHistogramParameterfvEXT(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetHistogramParameterfvEXT((int)target, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetHistogramParameterfvEXT(int target, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetHistogramParameterfvEXT((int)target, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetHistogramParameterfvEXT(int target, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetHistogramParameterfvEXT((int)target, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetHistogramParameterivEXT(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetHistogramParameterivEXT((int)target, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetHistogramParameterivEXT(int target, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetHistogramParameterivEXT((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetHistogramParameterivEXT(int target, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetHistogramParameterivEXT((int)target, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetMinmaxEXT(int target, Int32 reset, int format, int type, [Out] IntPtr values)
+ {
+ unsafe
+ {
+ Delegates.glGetMinmaxEXT((int)target, (Int32)reset, (int)format, (int)type, (IntPtr)values);
+ }
+ }
+
+ public static
+ void glGetMinmaxEXT(int target, Int32 reset, int format, int type, [In, Out] object values)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle values_ptr = System.Runtime.InteropServices.GCHandle.Alloc(values, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetMinmaxEXT((int)target, (Int32)reset, (int)format, (int)type, (IntPtr)values_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ values_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetMinmaxParameterfvEXT(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetMinmaxParameterfvEXT((int)target, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetMinmaxParameterfvEXT(int target, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetMinmaxParameterfvEXT((int)target, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetMinmaxParameterfvEXT(int target, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetMinmaxParameterfvEXT((int)target, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetMinmaxParameterivEXT(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetMinmaxParameterivEXT((int)target, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetMinmaxParameterivEXT(int target, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetMinmaxParameterivEXT((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetMinmaxParameterivEXT(int target, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetMinmaxParameterivEXT((int)target, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glHistogramEXT(int target, Int32 width, int internalformat, Int32 sink)
+ {
+ Delegates.glHistogramEXT((int)target, (Int32)width, (int)internalformat, (Int32)sink);
+ }
+
+ public static
+ void glMinmaxEXT(int target, int internalformat, Int32 sink)
+ {
+ Delegates.glMinmaxEXT((int)target, (int)internalformat, (Int32)sink);
+ }
+
+ public static
+ void glResetHistogramEXT(int target)
+ {
+ Delegates.glResetHistogramEXT((int)target);
+ }
+
+ public static
+ void glResetMinmaxEXT(int target)
+ {
+ Delegates.glResetMinmaxEXT((int)target);
+ }
+
+ public static
+ void glConvolutionFilter1DEXT(int target, int internalformat, Int32 width, int format, int type, IntPtr image)
+ {
+ unsafe
+ {
+ Delegates.glConvolutionFilter1DEXT((int)target, (int)internalformat, (Int32)width, (int)format, (int)type, (IntPtr)image);
+ }
+ }
+
+ public static
+ void glConvolutionFilter1DEXT(int target, int internalformat, Int32 width, int format, int type, [In, Out] object image)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glConvolutionFilter1DEXT((int)target, (int)internalformat, (Int32)width, (int)format, (int)type, (IntPtr)image_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ image_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glConvolutionFilter2DEXT(int target, int internalformat, Int32 width, Int32 height, int format, int type, IntPtr image)
+ {
+ unsafe
+ {
+ Delegates.glConvolutionFilter2DEXT((int)target, (int)internalformat, (Int32)width, (Int32)height, (int)format, (int)type, (IntPtr)image);
+ }
+ }
+
+ public static
+ void glConvolutionFilter2DEXT(int target, int internalformat, Int32 width, Int32 height, int format, int type, [In, Out] object image)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glConvolutionFilter2DEXT((int)target, (int)internalformat, (Int32)width, (Int32)height, (int)format, (int)type, (IntPtr)image_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ image_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glConvolutionParameterfEXT(int target, int pname, Single @params)
+ {
+ Delegates.glConvolutionParameterfEXT((int)target, (int)pname, (Single)@params);
+ }
+
+ public static
+ void glConvolutionParameterfvEXT(int target, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glConvolutionParameterfvEXT((int)target, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glConvolutionParameterfvEXT(int target, int pname, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glConvolutionParameterfvEXT((int)target, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glConvolutionParameterfvEXT(int target, int pname, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glConvolutionParameterfvEXT((int)target, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glConvolutionParameteriEXT(int target, int pname, Int32 @params)
+ {
+ Delegates.glConvolutionParameteriEXT((int)target, (int)pname, (Int32)@params);
+ }
+
+ public static
+ void glConvolutionParameterivEXT(int target, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glConvolutionParameterivEXT((int)target, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glConvolutionParameterivEXT(int target, int pname, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glConvolutionParameterivEXT((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glConvolutionParameterivEXT(int target, int pname, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glConvolutionParameterivEXT((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glCopyConvolutionFilter1DEXT(int target, int internalformat, Int32 x, Int32 y, Int32 width)
+ {
+ Delegates.glCopyConvolutionFilter1DEXT((int)target, (int)internalformat, (Int32)x, (Int32)y, (Int32)width);
+ }
+
+ public static
+ void glCopyConvolutionFilter2DEXT(int target, int internalformat, Int32 x, Int32 y, Int32 width, Int32 height)
+ {
+ Delegates.glCopyConvolutionFilter2DEXT((int)target, (int)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
+ }
+
+ public static
+ void glGetConvolutionFilterEXT(int target, int format, int type, [Out] IntPtr image)
+ {
+ unsafe
+ {
+ Delegates.glGetConvolutionFilterEXT((int)target, (int)format, (int)type, (IntPtr)image);
+ }
+ }
+
+ public static
+ void glGetConvolutionFilterEXT(int target, int format, int type, [In, Out] object image)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetConvolutionFilterEXT((int)target, (int)format, (int)type, (IntPtr)image_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ image_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetConvolutionParameterfvEXT(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetConvolutionParameterfvEXT((int)target, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetConvolutionParameterfvEXT(int target, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetConvolutionParameterfvEXT((int)target, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetConvolutionParameterfvEXT(int target, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetConvolutionParameterfvEXT((int)target, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetConvolutionParameterivEXT(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetConvolutionParameterivEXT((int)target, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetConvolutionParameterivEXT(int target, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetConvolutionParameterivEXT((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetConvolutionParameterivEXT(int target, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetConvolutionParameterivEXT((int)target, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetSeparableFilterEXT(int target, int format, int type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span)
+ {
+ unsafe
+ {
+ Delegates.glGetSeparableFilterEXT((int)target, (int)format, (int)type, (IntPtr)row, (IntPtr)column, (IntPtr)span);
+ }
+ }
+
+ public static
+ void glGetSeparableFilterEXT(int target, int format, int type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] object span)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetSeparableFilterEXT((int)target, (int)format, (int)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ span_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetSeparableFilterEXT(int target, int format, int type, [Out] IntPtr row, [In, Out] object column, [Out] IntPtr span)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetSeparableFilterEXT((int)target, (int)format, (int)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span);
+ }
+ finally
+ {
+ column_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetSeparableFilterEXT(int target, int format, int type, [Out] IntPtr row, [In, Out] object column, [In, Out] object span)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned);
+ System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetSeparableFilterEXT((int)target, (int)format, (int)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ column_ptr.Free();
+ span_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetSeparableFilterEXT(int target, int format, int type, [In, Out] object row, [Out] IntPtr column, [Out] IntPtr span)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetSeparableFilterEXT((int)target, (int)format, (int)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column, (IntPtr)span);
+ }
+ finally
+ {
+ row_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetSeparableFilterEXT(int target, int format, int type, [In, Out] object row, [Out] IntPtr column, [In, Out] object span)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned);
+ System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetSeparableFilterEXT((int)target, (int)format, (int)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ row_ptr.Free();
+ span_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetSeparableFilterEXT(int target, int format, int type, [In, Out] object row, [In, Out] object column, [Out] IntPtr span)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned);
+ System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetSeparableFilterEXT((int)target, (int)format, (int)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span);
+ }
+ finally
+ {
+ row_ptr.Free();
+ column_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetSeparableFilterEXT(int target, int format, int type, [In, Out] object row, [In, Out] object column, [In, Out] object span)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned);
+ System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned);
+ System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetSeparableFilterEXT((int)target, (int)format, (int)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ row_ptr.Free();
+ column_ptr.Free();
+ span_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glSeparableFilter2DEXT(int target, int internalformat, Int32 width, Int32 height, int format, int type, IntPtr row, IntPtr column)
+ {
+ unsafe
+ {
+ Delegates.glSeparableFilter2DEXT((int)target, (int)internalformat, (Int32)width, (Int32)height, (int)format, (int)type, (IntPtr)row, (IntPtr)column);
+ }
+ }
+
+ public static
+ void glSeparableFilter2DEXT(int target, int internalformat, Int32 width, Int32 height, int format, int type, IntPtr row, [In, Out] object column)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glSeparableFilter2DEXT((int)target, (int)internalformat, (Int32)width, (Int32)height, (int)format, (int)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ column_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glSeparableFilter2DEXT(int target, int internalformat, Int32 width, Int32 height, int format, int type, [In, Out] object row, IntPtr column)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glSeparableFilter2DEXT((int)target, (int)internalformat, (Int32)width, (Int32)height, (int)format, (int)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column);
+ }
+ finally
+ {
+ row_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glSeparableFilter2DEXT(int target, int internalformat, Int32 width, Int32 height, int format, int type, [In, Out] object row, [In, Out] object column)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned);
+ System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glSeparableFilter2DEXT((int)target, (int)internalformat, (Int32)width, (Int32)height, (int)format, (int)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ row_ptr.Free();
+ column_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ Int32 glAreTexturesResidentEXT(Int32 n, IntPtr textures, [Out] IntPtr residences)
+ {
+ unsafe
+ {
+ return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures, (Int32*)residences);
+ }
+ }
+
+ public static
+ Int32 glAreTexturesResidentEXT(Int32 n, IntPtr textures, [Out] Int32[] residences)
+ {
+ unsafe
+ {
+ fixed (Int32* residences_ptr = residences)
+ {
+ return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures, (Int32*)residences_ptr);
+ }
+ }
+ }
+
+ public static
+ Int32 glAreTexturesResidentEXT(Int32 n, IntPtr textures, [Out] out Int32 residences)
+ {
+ unsafe
+ {
+ fixed (Int32* residences_ptr = &residences)
+ {
+ Int32 retval = Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures, (Int32*)residences_ptr);
+ residences = *residences_ptr;
+ return retval;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glAreTexturesResidentEXT(Int32 n, UInt32[] textures, [Out] IntPtr residences)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = textures)
+ {
+ return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (Int32*)residences);
+ }
+ }
+ }
+
+ public static
+ Int32 glAreTexturesResidentEXT(Int32 n, Int32[] textures, [Out] IntPtr residences)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = textures)
+ {
+ return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (Int32*)residences);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glAreTexturesResidentEXT(Int32 n, UInt32[] textures, [Out] Int32[] residences)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = textures)
+ fixed (Int32* residences_ptr = residences)
+ {
+ return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (Int32*)residences_ptr);
+ }
+ }
+ }
+
+ public static
+ Int32 glAreTexturesResidentEXT(Int32 n, Int32[] textures, [Out] Int32[] residences)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = textures)
+ fixed (Int32* residences_ptr = residences)
+ {
+ return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (Int32*)residences_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glAreTexturesResidentEXT(Int32 n, UInt32[] textures, [Out] out Int32 residences)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = textures)
+ fixed (Int32* residences_ptr = &residences)
+ {
+ Int32 retval = Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (Int32*)residences_ptr);
+ residences = *residences_ptr;
+ return retval;
+ }
+ }
+ }
+
+ public static
+ Int32 glAreTexturesResidentEXT(Int32 n, Int32[] textures, [Out] out Int32 residences)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = textures)
+ fixed (Int32* residences_ptr = &residences)
+ {
+ Int32 retval = Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (Int32*)residences_ptr);
+ residences = *residences_ptr;
+ return retval;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glAreTexturesResidentEXT(Int32 n, ref UInt32 textures, [Out] IntPtr residences)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = &textures)
+ {
+ return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (Int32*)residences);
+ }
+ }
+ }
+
+ public static
+ Int32 glAreTexturesResidentEXT(Int32 n, ref Int32 textures, [Out] IntPtr residences)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = &textures)
+ {
+ return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (Int32*)residences);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glAreTexturesResidentEXT(Int32 n, ref UInt32 textures, [Out] Int32[] residences)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = &textures)
+ fixed (Int32* residences_ptr = residences)
+ {
+ return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (Int32*)residences_ptr);
+ }
+ }
+ }
+
+ public static
+ Int32 glAreTexturesResidentEXT(Int32 n, ref Int32 textures, [Out] Int32[] residences)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = &textures)
+ fixed (Int32* residences_ptr = residences)
+ {
+ return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (Int32*)residences_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glAreTexturesResidentEXT(Int32 n, ref UInt32 textures, [Out] out Int32 residences)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = &textures)
+ fixed (Int32* residences_ptr = &residences)
+ {
+ Int32 retval = Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (Int32*)residences_ptr);
+ residences = *residences_ptr;
+ return retval;
+ }
+ }
+ }
+
+ public static
+ Int32 glAreTexturesResidentEXT(Int32 n, ref Int32 textures, [Out] out Int32 residences)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = &textures)
+ fixed (Int32* residences_ptr = &residences)
+ {
+ Int32 retval = Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (Int32*)residences_ptr);
+ residences = *residences_ptr;
+ return retval;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glBindTextureEXT(int target, UInt32 texture)
+ {
+ Delegates.glBindTextureEXT((int)target, (UInt32)texture);
+ }
+
+ public static
+ void glBindTextureEXT(int target, Int32 texture)
+ {
+ Delegates.glBindTextureEXT((int)target, (UInt32)texture);
+ }
+
+ public static
+ void glDeleteTexturesEXT(Int32 n, IntPtr textures)
+ {
+ unsafe
+ {
+ Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteTexturesEXT(Int32 n, UInt32[] textures)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = textures)
+ {
+ Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeleteTexturesEXT(Int32 n, Int32[] textures)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = textures)
+ {
+ Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteTexturesEXT(Int32 n, ref UInt32 textures)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = &textures)
+ {
+ Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeleteTexturesEXT(Int32 n, ref Int32 textures)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = &textures)
+ {
+ Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGenTexturesEXT(Int32 n, [Out] IntPtr textures)
+ {
+ unsafe
+ {
+ Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGenTexturesEXT(Int32 n, [Out] UInt32[] textures)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = textures)
+ {
+ Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGenTexturesEXT(Int32 n, [Out] Int32[] textures)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = textures)
+ {
+ Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGenTexturesEXT(Int32 n, [Out] out UInt32 textures)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = &textures)
+ {
+ Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr);
+ textures = *textures_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGenTexturesEXT(Int32 n, [Out] out Int32 textures)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = &textures)
+ {
+ Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr);
+ textures = *textures_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glIsTextureEXT(UInt32 texture)
+ {
+ return Delegates.glIsTextureEXT((UInt32)texture);
+ }
+
+ public static
+ Int32 glIsTextureEXT(Int32 texture)
+ {
+ return Delegates.glIsTextureEXT((UInt32)texture);
+ }
+
+ public static
+ void glPrioritizeTexturesEXT(Int32 n, IntPtr textures, IntPtr priorities)
+ {
+ unsafe
+ {
+ Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures, (Single*)priorities);
+ }
+ }
+
+ public static
+ void glPrioritizeTexturesEXT(Int32 n, IntPtr textures, Single[] priorities)
+ {
+ unsafe
+ {
+ fixed (Single* priorities_ptr = priorities)
+ {
+ Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures, (Single*)priorities_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPrioritizeTexturesEXT(Int32 n, IntPtr textures, ref Single priorities)
+ {
+ unsafe
+ {
+ fixed (Single* priorities_ptr = &priorities)
+ {
+ Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures, (Single*)priorities_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glPrioritizeTexturesEXT(Int32 n, UInt32[] textures, IntPtr priorities)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = textures)
+ {
+ Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities);
+ }
+ }
+ }
+
+ public static
+ void glPrioritizeTexturesEXT(Int32 n, Int32[] textures, IntPtr priorities)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = textures)
+ {
+ Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glPrioritizeTexturesEXT(Int32 n, UInt32[] textures, Single[] priorities)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = textures)
+ fixed (Single* priorities_ptr = priorities)
+ {
+ Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPrioritizeTexturesEXT(Int32 n, Int32[] textures, Single[] priorities)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = textures)
+ fixed (Single* priorities_ptr = priorities)
+ {
+ Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glPrioritizeTexturesEXT(Int32 n, UInt32[] textures, ref Single priorities)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = textures)
+ fixed (Single* priorities_ptr = &priorities)
+ {
+ Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPrioritizeTexturesEXT(Int32 n, Int32[] textures, ref Single priorities)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = textures)
+ fixed (Single* priorities_ptr = &priorities)
+ {
+ Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glPrioritizeTexturesEXT(Int32 n, ref UInt32 textures, IntPtr priorities)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = &textures)
+ {
+ Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities);
+ }
+ }
+ }
+
+ public static
+ void glPrioritizeTexturesEXT(Int32 n, ref Int32 textures, IntPtr priorities)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = &textures)
+ {
+ Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glPrioritizeTexturesEXT(Int32 n, ref UInt32 textures, Single[] priorities)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = &textures)
+ fixed (Single* priorities_ptr = priorities)
+ {
+ Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPrioritizeTexturesEXT(Int32 n, ref Int32 textures, Single[] priorities)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = &textures)
+ fixed (Single* priorities_ptr = priorities)
+ {
+ Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glPrioritizeTexturesEXT(Int32 n, ref UInt32 textures, ref Single priorities)
+ {
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = &textures)
+ fixed (Single* priorities_ptr = &priorities)
+ {
+ Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPrioritizeTexturesEXT(Int32 n, ref Int32 textures, ref Single priorities)
+ {
+ unsafe
+ {
+ fixed (Int32* textures_ptr = &textures)
+ fixed (Single* priorities_ptr = &priorities)
+ {
+ Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr);
+ }
+ }
+ }
+
+ public static
+ void glArrayElementEXT(Int32 i)
+ {
+ Delegates.glArrayElementEXT((Int32)i);
+ }
+
+ public static
+ void glColorPointerEXT(Int32 size, int type, Int32 stride, Int32 count, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glColorPointerEXT((Int32)size, (int)type, (Int32)stride, (Int32)count, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glColorPointerEXT(Int32 size, int type, Int32 stride, Int32 count, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glColorPointerEXT((Int32)size, (int)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glDrawArraysEXT(int mode, Int32 first, Int32 count)
+ {
+ Delegates.glDrawArraysEXT((int)mode, (Int32)first, (Int32)count);
+ }
+
+ public static
+ void glEdgeFlagPointerEXT(Int32 stride, Int32 count, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glEdgeFlagPointerEXT((Int32)stride, (Int32)count, (Int32*)pointer);
+ }
+ }
+
+ public static
+ void glEdgeFlagPointerEXT(Int32 stride, Int32 count, Int32[] pointer)
+ {
+ unsafe
+ {
+ fixed (Int32* pointer_ptr = pointer)
+ {
+ Delegates.glEdgeFlagPointerEXT((Int32)stride, (Int32)count, (Int32*)pointer_ptr);
+ }
+ }
+ }
+
+ public static
+ void glEdgeFlagPointerEXT(Int32 stride, Int32 count, ref Int32 pointer)
+ {
+ unsafe
+ {
+ fixed (Int32* pointer_ptr = &pointer)
+ {
+ Delegates.glEdgeFlagPointerEXT((Int32)stride, (Int32)count, (Int32*)pointer_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetPointervEXT(int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetPointervEXT((int)pname, (IntPtr)@params);
+ }
+ }
+
+ public static
+ void glGetPointervEXT(int pname, [In, Out] object @params)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetPointervEXT((int)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ @params_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glIndexPointerEXT(int type, Int32 stride, Int32 count, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glIndexPointerEXT((int)type, (Int32)stride, (Int32)count, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glIndexPointerEXT(int type, Int32 stride, Int32 count, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glIndexPointerEXT((int)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glNormalPointerEXT(int type, Int32 stride, Int32 count, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glNormalPointerEXT((int)type, (Int32)stride, (Int32)count, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glNormalPointerEXT(int type, Int32 stride, Int32 count, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glNormalPointerEXT((int)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glTexCoordPointerEXT(Int32 size, int type, Int32 stride, Int32 count, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glTexCoordPointerEXT((Int32)size, (int)type, (Int32)stride, (Int32)count, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glTexCoordPointerEXT(Int32 size, int type, Int32 stride, Int32 count, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glTexCoordPointerEXT((Int32)size, (int)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glVertexPointerEXT(Int32 size, int type, Int32 stride, Int32 count, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glVertexPointerEXT((Int32)size, (int)type, (Int32)stride, (Int32)count, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glVertexPointerEXT(Int32 size, int type, Int32 stride, Int32 count, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glVertexPointerEXT((Int32)size, (int)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glBlendEquationEXT(int mode)
+ {
+ Delegates.glBlendEquationEXT((int)mode);
+ }
+
+ public static
+ void glPointParameterfEXT(int pname, Single param)
+ {
+ Delegates.glPointParameterfEXT((int)pname, (Single)param);
+ }
+
+ public static
+ void glPointParameterfvEXT(int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glPointParameterfvEXT((int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glPointParameterfvEXT(int pname, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glPointParameterfvEXT((int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPointParameterfvEXT(int pname, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glPointParameterfvEXT((int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColorSubTableEXT(int target, Int32 start, Int32 count, int format, int type, IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glColorSubTableEXT((int)target, (Int32)start, (Int32)count, (int)format, (int)type, (IntPtr)data);
+ }
+ }
+
+ public static
+ void glColorSubTableEXT(int target, Int32 start, Int32 count, int format, int type, [In, Out] object data)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glColorSubTableEXT((int)target, (Int32)start, (Int32)count, (int)format, (int)type, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glCopyColorSubTableEXT(int target, Int32 start, Int32 x, Int32 y, Int32 width)
+ {
+ Delegates.glCopyColorSubTableEXT((int)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width);
+ }
+
+ public static
+ void glColorTableEXT(int target, int internalFormat, Int32 width, int format, int type, IntPtr table)
+ {
+ unsafe
+ {
+ Delegates.glColorTableEXT((int)target, (int)internalFormat, (Int32)width, (int)format, (int)type, (IntPtr)table);
+ }
+ }
+
+ public static
+ void glColorTableEXT(int target, int internalFormat, Int32 width, int format, int type, [In, Out] object table)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle table_ptr = System.Runtime.InteropServices.GCHandle.Alloc(table, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glColorTableEXT((int)target, (int)internalFormat, (Int32)width, (int)format, (int)type, (IntPtr)table_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ table_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetColorTableEXT(int target, int format, int type, [Out] IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glGetColorTableEXT((int)target, (int)format, (int)type, (IntPtr)data);
+ }
+ }
+
+ public static
+ void glGetColorTableEXT(int target, int format, int type, [In, Out] object data)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetColorTableEXT((int)target, (int)format, (int)type, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetColorTableParameterivEXT(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetColorTableParameterivEXT((int)target, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetColorTableParameterivEXT(int target, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetColorTableParameterivEXT((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetColorTableParameterivEXT(int target, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetColorTableParameterivEXT((int)target, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetColorTableParameterfvEXT(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetColorTableParameterfvEXT((int)target, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetColorTableParameterfvEXT(int target, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetColorTableParameterfvEXT((int)target, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetColorTableParameterfvEXT(int target, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetColorTableParameterfvEXT((int)target, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glIndexMaterialEXT(int face, int mode)
+ {
+ Delegates.glIndexMaterialEXT((int)face, (int)mode);
+ }
+
+ public static
+ void glIndexFuncEXT(int func, Single @ref)
+ {
+ Delegates.glIndexFuncEXT((int)func, (Single)@ref);
+ }
+
+ public static
+ void glLockArraysEXT(Int32 first, Int32 count)
+ {
+ Delegates.glLockArraysEXT((Int32)first, (Int32)count);
+ }
+
+ public static
+ void glUnlockArraysEXT()
+ {
+ Delegates.glUnlockArraysEXT();
+ }
+
+ public static
+ void glCullParameterdvEXT(int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glCullParameterdvEXT((int)pname, (Double*)@params);
+ }
+ }
+
+ public static
+ void glCullParameterdvEXT(int pname, [Out] Double[] @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = @params)
+ {
+ Delegates.glCullParameterdvEXT((int)pname, (Double*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glCullParameterdvEXT(int pname, [Out] out Double @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = &@params)
+ {
+ Delegates.glCullParameterdvEXT((int)pname, (Double*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glCullParameterfvEXT(int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glCullParameterfvEXT((int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glCullParameterfvEXT(int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glCullParameterfvEXT((int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glCullParameterfvEXT(int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glCullParameterfvEXT((int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDrawRangeElementsEXT(int mode, UInt32 start, UInt32 end, Int32 count, int type, IntPtr indices)
+ {
+ unsafe
+ {
+ Delegates.glDrawRangeElementsEXT((int)mode, (UInt32)start, (UInt32)end, (Int32)count, (int)type, (IntPtr)indices);
+ }
+ }
+
+ public static
+ void glDrawRangeElementsEXT(int mode, Int32 start, Int32 end, Int32 count, int type, IntPtr indices)
+ {
+ unsafe
+ {
+ Delegates.glDrawRangeElementsEXT((int)mode, (UInt32)start, (UInt32)end, (Int32)count, (int)type, (IntPtr)indices);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDrawRangeElementsEXT(int mode, UInt32 start, UInt32 end, Int32 count, int type, [In, Out] object indices)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glDrawRangeElementsEXT((int)mode, (UInt32)start, (UInt32)end, (Int32)count, (int)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glDrawRangeElementsEXT(int mode, Int32 start, Int32 end, Int32 count, int type, [In, Out] object indices)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glDrawRangeElementsEXT((int)mode, (UInt32)start, (UInt32)end, (Int32)count, (int)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glApplyTextureEXT(int mode)
+ {
+ Delegates.glApplyTextureEXT((int)mode);
+ }
+
+ public static
+ void glTextureLightEXT(int pname)
+ {
+ Delegates.glTextureLightEXT((int)pname);
+ }
+
+ public static
+ void glTextureMaterialEXT(int face, int mode)
+ {
+ Delegates.glTextureMaterialEXT((int)face, (int)mode);
+ }
+
+ public static
+ void glPixelTransformParameteriEXT(int target, int pname, Int32 param)
+ {
+ Delegates.glPixelTransformParameteriEXT((int)target, (int)pname, (Int32)param);
+ }
+
+ public static
+ void glPixelTransformParameterfEXT(int target, int pname, Single param)
+ {
+ Delegates.glPixelTransformParameterfEXT((int)target, (int)pname, (Single)param);
+ }
+
+ public static
+ void glPixelTransformParameterivEXT(int target, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glPixelTransformParameterivEXT((int)target, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glPixelTransformParameterivEXT(int target, int pname, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glPixelTransformParameterivEXT((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPixelTransformParameterivEXT(int target, int pname, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glPixelTransformParameterivEXT((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPixelTransformParameterfvEXT(int target, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glPixelTransformParameterfvEXT((int)target, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glPixelTransformParameterfvEXT(int target, int pname, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glPixelTransformParameterfvEXT((int)target, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPixelTransformParameterfvEXT(int target, int pname, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glPixelTransformParameterfvEXT((int)target, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSecondaryColor3bEXT(SByte red, SByte green, SByte blue)
+ {
+ Delegates.glSecondaryColor3bEXT((SByte)red, (SByte)green, (SByte)blue);
+ }
+
+ public static
+ void glSecondaryColor3bEXT(Byte red, Byte green, Byte blue)
+ {
+ Delegates.glSecondaryColor3bEXT((SByte)red, (SByte)green, (SByte)blue);
+ }
+
+ public static
+ void glSecondaryColor3bvEXT(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glSecondaryColor3bvEXT((SByte*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSecondaryColor3bvEXT(SByte[] v)
+ {
+ unsafe
+ {
+ fixed (SByte* v_ptr = v)
+ {
+ Delegates.glSecondaryColor3bvEXT((SByte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3bvEXT(Byte[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = v)
+ {
+ Delegates.glSecondaryColor3bvEXT((SByte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSecondaryColor3bvEXT(ref SByte v)
+ {
+ unsafe
+ {
+ fixed (SByte* v_ptr = &v)
+ {
+ Delegates.glSecondaryColor3bvEXT((SByte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3bvEXT(ref Byte v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = &v)
+ {
+ Delegates.glSecondaryColor3bvEXT((SByte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3dEXT(Double red, Double green, Double blue)
+ {
+ Delegates.glSecondaryColor3dEXT((Double)red, (Double)green, (Double)blue);
+ }
+
+ public static
+ void glSecondaryColor3dvEXT(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glSecondaryColor3dvEXT((Double*)v);
+ }
+ }
+
+ public static
+ void glSecondaryColor3dvEXT(Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glSecondaryColor3dvEXT((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3dvEXT(ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glSecondaryColor3dvEXT((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3fEXT(Single red, Single green, Single blue)
+ {
+ Delegates.glSecondaryColor3fEXT((Single)red, (Single)green, (Single)blue);
+ }
+
+ public static
+ void glSecondaryColor3fvEXT(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glSecondaryColor3fvEXT((Single*)v);
+ }
+ }
+
+ public static
+ void glSecondaryColor3fvEXT(Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glSecondaryColor3fvEXT((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3fvEXT(ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glSecondaryColor3fvEXT((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3iEXT(Int32 red, Int32 green, Int32 blue)
+ {
+ Delegates.glSecondaryColor3iEXT((Int32)red, (Int32)green, (Int32)blue);
+ }
+
+ public static
+ void glSecondaryColor3ivEXT(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glSecondaryColor3ivEXT((Int32*)v);
+ }
+ }
+
+ public static
+ void glSecondaryColor3ivEXT(Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glSecondaryColor3ivEXT((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3ivEXT(ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glSecondaryColor3ivEXT((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3sEXT(Int16 red, Int16 green, Int16 blue)
+ {
+ Delegates.glSecondaryColor3sEXT((Int16)red, (Int16)green, (Int16)blue);
+ }
+
+ public static
+ void glSecondaryColor3svEXT(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glSecondaryColor3svEXT((Int16*)v);
+ }
+ }
+
+ public static
+ void glSecondaryColor3svEXT(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glSecondaryColor3svEXT((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3svEXT(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glSecondaryColor3svEXT((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3ubEXT(Byte red, Byte green, Byte blue)
+ {
+ Delegates.glSecondaryColor3ubEXT((Byte)red, (Byte)green, (Byte)blue);
+ }
+
+ public static
+ void glSecondaryColor3ubvEXT(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glSecondaryColor3ubvEXT((Byte*)v);
+ }
+ }
+
+ public static
+ void glSecondaryColor3ubvEXT(Byte[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = v)
+ {
+ Delegates.glSecondaryColor3ubvEXT((Byte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3ubvEXT(ref Byte v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = &v)
+ {
+ Delegates.glSecondaryColor3ubvEXT((Byte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSecondaryColor3uiEXT(UInt32 red, UInt32 green, UInt32 blue)
+ {
+ Delegates.glSecondaryColor3uiEXT((UInt32)red, (UInt32)green, (UInt32)blue);
+ }
+
+ public static
+ void glSecondaryColor3uiEXT(Int32 red, Int32 green, Int32 blue)
+ {
+ Delegates.glSecondaryColor3uiEXT((UInt32)red, (UInt32)green, (UInt32)blue);
+ }
+
+ public static
+ void glSecondaryColor3uivEXT(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glSecondaryColor3uivEXT((UInt32*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSecondaryColor3uivEXT(UInt32[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* v_ptr = v)
+ {
+ Delegates.glSecondaryColor3uivEXT((UInt32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3uivEXT(Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glSecondaryColor3uivEXT((UInt32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSecondaryColor3uivEXT(ref UInt32 v)
+ {
+ unsafe
+ {
+ fixed (UInt32* v_ptr = &v)
+ {
+ Delegates.glSecondaryColor3uivEXT((UInt32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3uivEXT(ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glSecondaryColor3uivEXT((UInt32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSecondaryColor3usEXT(UInt16 red, UInt16 green, UInt16 blue)
+ {
+ Delegates.glSecondaryColor3usEXT((UInt16)red, (UInt16)green, (UInt16)blue);
+ }
+
+ public static
+ void glSecondaryColor3usEXT(Int16 red, Int16 green, Int16 blue)
+ {
+ Delegates.glSecondaryColor3usEXT((UInt16)red, (UInt16)green, (UInt16)blue);
+ }
+
+ public static
+ void glSecondaryColor3usvEXT(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glSecondaryColor3usvEXT((UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSecondaryColor3usvEXT(UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glSecondaryColor3usvEXT((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3usvEXT(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glSecondaryColor3usvEXT((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSecondaryColor3usvEXT(ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glSecondaryColor3usvEXT((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3usvEXT(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glSecondaryColor3usvEXT((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColorPointerEXT(Int32 size, int type, Int32 stride, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glSecondaryColorPointerEXT((Int32)size, (int)type, (Int32)stride, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glSecondaryColorPointerEXT(Int32 size, int type, Int32 stride, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glSecondaryColorPointerEXT((Int32)size, (int)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glTextureNormalEXT(int mode)
+ {
+ Delegates.glTextureNormalEXT((int)mode);
+ }
+
+ public static
+ void glMultiDrawArraysEXT(int mode, [Out] IntPtr first, [Out] IntPtr count, Int32 primcount)
+ {
+ unsafe
+ {
+ Delegates.glMultiDrawArraysEXT((int)mode, (Int32*)first, (Int32*)count, (Int32)primcount);
+ }
+ }
+
+ public static
+ void glMultiDrawArraysEXT(int mode, [Out] IntPtr first, [Out] Int32[] count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glMultiDrawArraysEXT((int)mode, (Int32*)first, (Int32*)count_ptr, (Int32)primcount);
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawArraysEXT(int mode, [Out] IntPtr first, [Out] out Int32 count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glMultiDrawArraysEXT((int)mode, (Int32*)first, (Int32*)count_ptr, (Int32)primcount);
+ count = *count_ptr;
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawArraysEXT(int mode, [Out] Int32[] first, [Out] IntPtr count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = first)
+ {
+ Delegates.glMultiDrawArraysEXT((int)mode, (Int32*)first_ptr, (Int32*)count, (Int32)primcount);
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawArraysEXT(int mode, [Out] Int32[] first, [Out] Int32[] count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = first)
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glMultiDrawArraysEXT((int)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawArraysEXT(int mode, [Out] Int32[] first, [Out] out Int32 count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = first)
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glMultiDrawArraysEXT((int)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
+ count = *count_ptr;
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawArraysEXT(int mode, [Out] out Int32 first, [Out] IntPtr count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = &first)
+ {
+ Delegates.glMultiDrawArraysEXT((int)mode, (Int32*)first_ptr, (Int32*)count, (Int32)primcount);
+ first = *first_ptr;
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawArraysEXT(int mode, [Out] out Int32 first, [Out] Int32[] count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = &first)
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glMultiDrawArraysEXT((int)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
+ first = *first_ptr;
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawArraysEXT(int mode, [Out] out Int32 first, [Out] out Int32 count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = &first)
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glMultiDrawArraysEXT((int)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
+ first = *first_ptr;
+ count = *count_ptr;
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawElementsEXT(int mode, IntPtr count, int type, IntPtr indices, Int32 primcount)
+ {
+ unsafe
+ {
+ Delegates.glMultiDrawElementsEXT((int)mode, (Int32*)count, (int)type, (IntPtr)indices, (Int32)primcount);
+ }
+ }
+
+ public static
+ void glMultiDrawElementsEXT(int mode, IntPtr count, int type, [In, Out] object indices, Int32 primcount)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMultiDrawElementsEXT((int)mode, (Int32*)count, (int)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawElementsEXT(int mode, Int32[] count, int type, IntPtr indices, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glMultiDrawElementsEXT((int)mode, (Int32*)count_ptr, (int)type, (IntPtr)indices, (Int32)primcount);
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawElementsEXT(int mode, Int32[] count, int type, [In, Out] object indices, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = count)
+ {
+ System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMultiDrawElementsEXT((int)mode, (Int32*)count_ptr, (int)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawElementsEXT(int mode, ref Int32 count, int type, IntPtr indices, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glMultiDrawElementsEXT((int)mode, (Int32*)count_ptr, (int)type, (IntPtr)indices, (Int32)primcount);
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawElementsEXT(int mode, ref Int32 count, int type, [In, Out] object indices, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = &count)
+ {
+ System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMultiDrawElementsEXT((int)mode, (Int32*)count_ptr, (int)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ }
+ }
+ }
+
+ public static
+ void glFogCoordfEXT(Single coord)
+ {
+ Delegates.glFogCoordfEXT((Single)coord);
+ }
+
+ public static
+ void glFogCoordfvEXT(IntPtr coord)
+ {
+ unsafe
+ {
+ Delegates.glFogCoordfvEXT((Single*)coord);
+ }
+ }
+
+ public static
+ void glFogCoordfvEXT(Single[] coord)
+ {
+ unsafe
+ {
+ fixed (Single* coord_ptr = coord)
+ {
+ Delegates.glFogCoordfvEXT((Single*)coord_ptr);
+ }
+ }
+ }
+
+ public static
+ void glFogCoordfvEXT(ref Single coord)
+ {
+ unsafe
+ {
+ fixed (Single* coord_ptr = &coord)
+ {
+ Delegates.glFogCoordfvEXT((Single*)coord_ptr);
+ }
+ }
+ }
+
+ public static
+ void glFogCoorddEXT(Double coord)
+ {
+ Delegates.glFogCoorddEXT((Double)coord);
+ }
+
+ public static
+ void glFogCoorddvEXT(IntPtr coord)
+ {
+ unsafe
+ {
+ Delegates.glFogCoorddvEXT((Double*)coord);
+ }
+ }
+
+ public static
+ void glFogCoorddvEXT(Double[] coord)
+ {
+ unsafe
+ {
+ fixed (Double* coord_ptr = coord)
+ {
+ Delegates.glFogCoorddvEXT((Double*)coord_ptr);
+ }
+ }
+ }
+
+ public static
+ void glFogCoorddvEXT(ref Double coord)
+ {
+ unsafe
+ {
+ fixed (Double* coord_ptr = &coord)
+ {
+ Delegates.glFogCoorddvEXT((Double*)coord_ptr);
+ }
+ }
+ }
+
+ public static
+ void glFogCoordPointerEXT(int type, Int32 stride, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glFogCoordPointerEXT((int)type, (Int32)stride, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glFogCoordPointerEXT(int type, Int32 stride, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glFogCoordPointerEXT((int)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glTangent3bEXT(SByte tx, SByte ty, SByte tz)
+ {
+ Delegates.glTangent3bEXT((SByte)tx, (SByte)ty, (SByte)tz);
+ }
+
+ public static
+ void glTangent3bEXT(Byte tx, Byte ty, Byte tz)
+ {
+ Delegates.glTangent3bEXT((SByte)tx, (SByte)ty, (SByte)tz);
+ }
+
+ public static
+ void glTangent3bvEXT(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTangent3bvEXT((SByte*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glTangent3bvEXT(SByte[] v)
+ {
+ unsafe
+ {
+ fixed (SByte* v_ptr = v)
+ {
+ Delegates.glTangent3bvEXT((SByte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTangent3bvEXT(Byte[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = v)
+ {
+ Delegates.glTangent3bvEXT((SByte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glTangent3bvEXT(ref SByte v)
+ {
+ unsafe
+ {
+ fixed (SByte* v_ptr = &v)
+ {
+ Delegates.glTangent3bvEXT((SByte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTangent3bvEXT(ref Byte v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = &v)
+ {
+ Delegates.glTangent3bvEXT((SByte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTangent3dEXT(Double tx, Double ty, Double tz)
+ {
+ Delegates.glTangent3dEXT((Double)tx, (Double)ty, (Double)tz);
+ }
+
+ public static
+ void glTangent3dvEXT(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTangent3dvEXT((Double*)v);
+ }
+ }
+
+ public static
+ void glTangent3dvEXT(Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glTangent3dvEXT((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTangent3dvEXT(ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glTangent3dvEXT((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTangent3fEXT(Single tx, Single ty, Single tz)
+ {
+ Delegates.glTangent3fEXT((Single)tx, (Single)ty, (Single)tz);
+ }
+
+ public static
+ void glTangent3fvEXT(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTangent3fvEXT((Single*)v);
+ }
+ }
+
+ public static
+ void glTangent3fvEXT(Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTangent3fvEXT((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTangent3fvEXT(ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTangent3fvEXT((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTangent3iEXT(Int32 tx, Int32 ty, Int32 tz)
+ {
+ Delegates.glTangent3iEXT((Int32)tx, (Int32)ty, (Int32)tz);
+ }
+
+ public static
+ void glTangent3ivEXT(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTangent3ivEXT((Int32*)v);
+ }
+ }
+
+ public static
+ void glTangent3ivEXT(Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glTangent3ivEXT((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTangent3ivEXT(ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glTangent3ivEXT((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTangent3sEXT(Int16 tx, Int16 ty, Int16 tz)
+ {
+ Delegates.glTangent3sEXT((Int16)tx, (Int16)ty, (Int16)tz);
+ }
+
+ public static
+ void glTangent3svEXT(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTangent3svEXT((Int16*)v);
+ }
+ }
+
+ public static
+ void glTangent3svEXT(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glTangent3svEXT((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTangent3svEXT(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glTangent3svEXT((Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glBinormal3bEXT(SByte bx, SByte by, SByte bz)
+ {
+ Delegates.glBinormal3bEXT((SByte)bx, (SByte)by, (SByte)bz);
+ }
+
+ public static
+ void glBinormal3bEXT(Byte bx, Byte by, Byte bz)
+ {
+ Delegates.glBinormal3bEXT((SByte)bx, (SByte)by, (SByte)bz);
+ }
+
+ public static
+ void glBinormal3bvEXT(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glBinormal3bvEXT((SByte*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glBinormal3bvEXT(SByte[] v)
+ {
+ unsafe
+ {
+ fixed (SByte* v_ptr = v)
+ {
+ Delegates.glBinormal3bvEXT((SByte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glBinormal3bvEXT(Byte[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = v)
+ {
+ Delegates.glBinormal3bvEXT((SByte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glBinormal3bvEXT(ref SByte v)
+ {
+ unsafe
+ {
+ fixed (SByte* v_ptr = &v)
+ {
+ Delegates.glBinormal3bvEXT((SByte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glBinormal3bvEXT(ref Byte v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = &v)
+ {
+ Delegates.glBinormal3bvEXT((SByte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glBinormal3dEXT(Double bx, Double by, Double bz)
+ {
+ Delegates.glBinormal3dEXT((Double)bx, (Double)by, (Double)bz);
+ }
+
+ public static
+ void glBinormal3dvEXT(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glBinormal3dvEXT((Double*)v);
+ }
+ }
+
+ public static
+ void glBinormal3dvEXT(Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glBinormal3dvEXT((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glBinormal3dvEXT(ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glBinormal3dvEXT((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glBinormal3fEXT(Single bx, Single by, Single bz)
+ {
+ Delegates.glBinormal3fEXT((Single)bx, (Single)by, (Single)bz);
+ }
+
+ public static
+ void glBinormal3fvEXT(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glBinormal3fvEXT((Single*)v);
+ }
+ }
+
+ public static
+ void glBinormal3fvEXT(Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glBinormal3fvEXT((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glBinormal3fvEXT(ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glBinormal3fvEXT((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glBinormal3iEXT(Int32 bx, Int32 by, Int32 bz)
+ {
+ Delegates.glBinormal3iEXT((Int32)bx, (Int32)by, (Int32)bz);
+ }
+
+ public static
+ void glBinormal3ivEXT(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glBinormal3ivEXT((Int32*)v);
+ }
+ }
+
+ public static
+ void glBinormal3ivEXT(Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glBinormal3ivEXT((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glBinormal3ivEXT(ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glBinormal3ivEXT((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glBinormal3sEXT(Int16 bx, Int16 by, Int16 bz)
+ {
+ Delegates.glBinormal3sEXT((Int16)bx, (Int16)by, (Int16)bz);
+ }
+
+ public static
+ void glBinormal3svEXT(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glBinormal3svEXT((Int16*)v);
+ }
+ }
+
+ public static
+ void glBinormal3svEXT(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glBinormal3svEXT((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glBinormal3svEXT(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glBinormal3svEXT((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTangentPointerEXT(int type, Int32 stride, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glTangentPointerEXT((int)type, (Int32)stride, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glTangentPointerEXT(int type, Int32 stride, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glTangentPointerEXT((int)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glBinormalPointerEXT(int type, Int32 stride, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glBinormalPointerEXT((int)type, (Int32)stride, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glBinormalPointerEXT(int type, Int32 stride, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glBinormalPointerEXT((int)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glBlendFuncSeparateEXT(int sfactorRGB, int dfactorRGB, int sfactorAlpha, int dfactorAlpha)
+ {
+ Delegates.glBlendFuncSeparateEXT((int)sfactorRGB, (int)dfactorRGB, (int)sfactorAlpha, (int)dfactorAlpha);
+ }
+
+ public static
+ void glVertexWeightfEXT(Single weight)
+ {
+ Delegates.glVertexWeightfEXT((Single)weight);
+ }
+
+ public static
+ void glVertexWeightfvEXT(IntPtr weight)
+ {
+ unsafe
+ {
+ Delegates.glVertexWeightfvEXT((Single*)weight);
+ }
+ }
+
+ public static
+ void glVertexWeightfvEXT(Single[] weight)
+ {
+ unsafe
+ {
+ fixed (Single* weight_ptr = weight)
+ {
+ Delegates.glVertexWeightfvEXT((Single*)weight_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexWeightfvEXT(ref Single weight)
+ {
+ unsafe
+ {
+ fixed (Single* weight_ptr = &weight)
+ {
+ Delegates.glVertexWeightfvEXT((Single*)weight_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexWeightPointerEXT(Int32 size, int type, Int32 stride, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glVertexWeightPointerEXT((Int32)size, (int)type, (Int32)stride, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glVertexWeightPointerEXT(Int32 size, int type, Int32 stride, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glVertexWeightPointerEXT((Int32)size, (int)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glSampleMaskEXT(Single value, Int32 invert)
+ {
+ Delegates.glSampleMaskEXT((Single)value, (Int32)invert);
+ }
+
+ public static
+ void glSamplePatternEXT(int pattern)
+ {
+ Delegates.glSamplePatternEXT((int)pattern);
+ }
+
+ public static
+ void glBeginVertexShaderEXT()
+ {
+ Delegates.glBeginVertexShaderEXT();
+ }
+
+ public static
+ void glEndVertexShaderEXT()
+ {
+ Delegates.glEndVertexShaderEXT();
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glBindVertexShaderEXT(UInt32 id)
+ {
+ Delegates.glBindVertexShaderEXT((UInt32)id);
+ }
+
+ public static
+ void glBindVertexShaderEXT(Int32 id)
+ {
+ Delegates.glBindVertexShaderEXT((UInt32)id);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glGenVertexShadersEXT(UInt32 range)
+ {
+ return Delegates.glGenVertexShadersEXT((UInt32)range);
+ }
+
+ public static
+ Int32 glGenVertexShadersEXT(Int32 range)
+ {
+ return Delegates.glGenVertexShadersEXT((UInt32)range);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteVertexShaderEXT(UInt32 id)
+ {
+ Delegates.glDeleteVertexShaderEXT((UInt32)id);
+ }
+
+ public static
+ void glDeleteVertexShaderEXT(Int32 id)
+ {
+ Delegates.glDeleteVertexShaderEXT((UInt32)id);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glShaderOp1EXT(int op, UInt32 res, UInt32 arg1)
+ {
+ Delegates.glShaderOp1EXT((int)op, (UInt32)res, (UInt32)arg1);
+ }
+
+ public static
+ void glShaderOp1EXT(int op, Int32 res, Int32 arg1)
+ {
+ Delegates.glShaderOp1EXT((int)op, (UInt32)res, (UInt32)arg1);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glShaderOp2EXT(int op, UInt32 res, UInt32 arg1, UInt32 arg2)
+ {
+ Delegates.glShaderOp2EXT((int)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2);
+ }
+
+ public static
+ void glShaderOp2EXT(int op, Int32 res, Int32 arg1, Int32 arg2)
+ {
+ Delegates.glShaderOp2EXT((int)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glShaderOp3EXT(int op, UInt32 res, UInt32 arg1, UInt32 arg2, UInt32 arg3)
+ {
+ Delegates.glShaderOp3EXT((int)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2, (UInt32)arg3);
+ }
+
+ public static
+ void glShaderOp3EXT(int op, Int32 res, Int32 arg1, Int32 arg2, Int32 arg3)
+ {
+ Delegates.glShaderOp3EXT((int)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2, (UInt32)arg3);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSwizzleEXT(UInt32 res, UInt32 @in, int outX, int outY, int outZ, int outW)
+ {
+ Delegates.glSwizzleEXT((UInt32)res, (UInt32)@in, (int)outX, (int)outY, (int)outZ, (int)outW);
+ }
+
+ public static
+ void glSwizzleEXT(Int32 res, Int32 @in, int outX, int outY, int outZ, int outW)
+ {
+ Delegates.glSwizzleEXT((UInt32)res, (UInt32)@in, (int)outX, (int)outY, (int)outZ, (int)outW);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glWriteMaskEXT(UInt32 res, UInt32 @in, int outX, int outY, int outZ, int outW)
+ {
+ Delegates.glWriteMaskEXT((UInt32)res, (UInt32)@in, (int)outX, (int)outY, (int)outZ, (int)outW);
+ }
+
+ public static
+ void glWriteMaskEXT(Int32 res, Int32 @in, int outX, int outY, int outZ, int outW)
+ {
+ Delegates.glWriteMaskEXT((UInt32)res, (UInt32)@in, (int)outX, (int)outY, (int)outZ, (int)outW);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glInsertComponentEXT(UInt32 res, UInt32 src, UInt32 num)
+ {
+ Delegates.glInsertComponentEXT((UInt32)res, (UInt32)src, (UInt32)num);
+ }
+
+ public static
+ void glInsertComponentEXT(Int32 res, Int32 src, Int32 num)
+ {
+ Delegates.glInsertComponentEXT((UInt32)res, (UInt32)src, (UInt32)num);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glExtractComponentEXT(UInt32 res, UInt32 src, UInt32 num)
+ {
+ Delegates.glExtractComponentEXT((UInt32)res, (UInt32)src, (UInt32)num);
+ }
+
+ public static
+ void glExtractComponentEXT(Int32 res, Int32 src, Int32 num)
+ {
+ Delegates.glExtractComponentEXT((UInt32)res, (UInt32)src, (UInt32)num);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glGenSymbolsEXT(int datatype, int storagetype, int range, UInt32 components)
+ {
+ return Delegates.glGenSymbolsEXT((int)datatype, (int)storagetype, (int)range, (UInt32)components);
+ }
+
+ public static
+ Int32 glGenSymbolsEXT(int datatype, int storagetype, int range, Int32 components)
+ {
+ return Delegates.glGenSymbolsEXT((int)datatype, (int)storagetype, (int)range, (UInt32)components);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSetInvariantEXT(UInt32 id, int type, IntPtr addr)
+ {
+ unsafe
+ {
+ Delegates.glSetInvariantEXT((UInt32)id, (int)type, (IntPtr)addr);
+ }
+ }
+
+ public static
+ void glSetInvariantEXT(Int32 id, int type, IntPtr addr)
+ {
+ unsafe
+ {
+ Delegates.glSetInvariantEXT((UInt32)id, (int)type, (IntPtr)addr);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSetInvariantEXT(UInt32 id, int type, [In, Out] object addr)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glSetInvariantEXT((UInt32)id, (int)type, (IntPtr)addr_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ addr_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glSetInvariantEXT(Int32 id, int type, [In, Out] object addr)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glSetInvariantEXT((UInt32)id, (int)type, (IntPtr)addr_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ addr_ptr.Free();
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSetLocalConstantEXT(UInt32 id, int type, IntPtr addr)
+ {
+ unsafe
+ {
+ Delegates.glSetLocalConstantEXT((UInt32)id, (int)type, (IntPtr)addr);
+ }
+ }
+
+ public static
+ void glSetLocalConstantEXT(Int32 id, int type, IntPtr addr)
+ {
+ unsafe
+ {
+ Delegates.glSetLocalConstantEXT((UInt32)id, (int)type, (IntPtr)addr);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSetLocalConstantEXT(UInt32 id, int type, [In, Out] object addr)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glSetLocalConstantEXT((UInt32)id, (int)type, (IntPtr)addr_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ addr_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glSetLocalConstantEXT(Int32 id, int type, [In, Out] object addr)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glSetLocalConstantEXT((UInt32)id, (int)type, (IntPtr)addr_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ addr_ptr.Free();
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVariantbvEXT(UInt32 id, IntPtr addr)
+ {
+ unsafe
+ {
+ Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr);
+ }
+ }
+
+ public static
+ void glVariantbvEXT(Int32 id, IntPtr addr)
+ {
+ unsafe
+ {
+ Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVariantbvEXT(UInt32 id, SByte[] addr)
+ {
+ unsafe
+ {
+ fixed (SByte* addr_ptr = addr)
+ {
+ Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVariantbvEXT(Int32 id, Byte[] addr)
+ {
+ unsafe
+ {
+ fixed (Byte* addr_ptr = addr)
+ {
+ Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVariantbvEXT(UInt32 id, ref SByte addr)
+ {
+ unsafe
+ {
+ fixed (SByte* addr_ptr = &addr)
+ {
+ Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVariantbvEXT(Int32 id, ref Byte addr)
+ {
+ unsafe
+ {
+ fixed (Byte* addr_ptr = &addr)
+ {
+ Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVariantsvEXT(UInt32 id, IntPtr addr)
+ {
+ unsafe
+ {
+ Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr);
+ }
+ }
+
+ public static
+ void glVariantsvEXT(Int32 id, IntPtr addr)
+ {
+ unsafe
+ {
+ Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVariantsvEXT(UInt32 id, Int16[] addr)
+ {
+ unsafe
+ {
+ fixed (Int16* addr_ptr = addr)
+ {
+ Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVariantsvEXT(Int32 id, Int16[] addr)
+ {
+ unsafe
+ {
+ fixed (Int16* addr_ptr = addr)
+ {
+ Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVariantsvEXT(UInt32 id, ref Int16 addr)
+ {
+ unsafe
+ {
+ fixed (Int16* addr_ptr = &addr)
+ {
+ Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVariantsvEXT(Int32 id, ref Int16 addr)
+ {
+ unsafe
+ {
+ fixed (Int16* addr_ptr = &addr)
+ {
+ Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVariantivEXT(UInt32 id, IntPtr addr)
+ {
+ unsafe
+ {
+ Delegates.glVariantivEXT((UInt32)id, (Int32*)addr);
+ }
+ }
+
+ public static
+ void glVariantivEXT(Int32 id, IntPtr addr)
+ {
+ unsafe
+ {
+ Delegates.glVariantivEXT((UInt32)id, (Int32*)addr);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVariantivEXT(UInt32 id, Int32[] addr)
+ {
+ unsafe
+ {
+ fixed (Int32* addr_ptr = addr)
+ {
+ Delegates.glVariantivEXT((UInt32)id, (Int32*)addr_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVariantivEXT(Int32 id, Int32[] addr)
+ {
+ unsafe
+ {
+ fixed (Int32* addr_ptr = addr)
+ {
+ Delegates.glVariantivEXT((UInt32)id, (Int32*)addr_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVariantivEXT(UInt32 id, ref Int32 addr)
+ {
+ unsafe
+ {
+ fixed (Int32* addr_ptr = &addr)
+ {
+ Delegates.glVariantivEXT((UInt32)id, (Int32*)addr_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVariantivEXT(Int32 id, ref Int32 addr)
+ {
+ unsafe
+ {
+ fixed (Int32* addr_ptr = &addr)
+ {
+ Delegates.glVariantivEXT((UInt32)id, (Int32*)addr_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVariantfvEXT(UInt32 id, IntPtr addr)
+ {
+ unsafe
+ {
+ Delegates.glVariantfvEXT((UInt32)id, (Single*)addr);
+ }
+ }
+
+ public static
+ void glVariantfvEXT(Int32 id, IntPtr addr)
+ {
+ unsafe
+ {
+ Delegates.glVariantfvEXT((UInt32)id, (Single*)addr);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVariantfvEXT(UInt32 id, Single[] addr)
+ {
+ unsafe
+ {
+ fixed (Single* addr_ptr = addr)
+ {
+ Delegates.glVariantfvEXT((UInt32)id, (Single*)addr_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVariantfvEXT(Int32 id, Single[] addr)
+ {
+ unsafe
+ {
+ fixed (Single* addr_ptr = addr)
+ {
+ Delegates.glVariantfvEXT((UInt32)id, (Single*)addr_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVariantfvEXT(UInt32 id, ref Single addr)
+ {
+ unsafe
+ {
+ fixed (Single* addr_ptr = &addr)
+ {
+ Delegates.glVariantfvEXT((UInt32)id, (Single*)addr_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVariantfvEXT(Int32 id, ref Single addr)
+ {
+ unsafe
+ {
+ fixed (Single* addr_ptr = &addr)
+ {
+ Delegates.glVariantfvEXT((UInt32)id, (Single*)addr_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVariantdvEXT(UInt32 id, IntPtr addr)
+ {
+ unsafe
+ {
+ Delegates.glVariantdvEXT((UInt32)id, (Double*)addr);
+ }
+ }
+
+ public static
+ void glVariantdvEXT(Int32 id, IntPtr addr)
+ {
+ unsafe
+ {
+ Delegates.glVariantdvEXT((UInt32)id, (Double*)addr);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVariantdvEXT(UInt32 id, Double[] addr)
+ {
+ unsafe
+ {
+ fixed (Double* addr_ptr = addr)
+ {
+ Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVariantdvEXT(Int32 id, Double[] addr)
+ {
+ unsafe
+ {
+ fixed (Double* addr_ptr = addr)
+ {
+ Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVariantdvEXT(UInt32 id, ref Double addr)
+ {
+ unsafe
+ {
+ fixed (Double* addr_ptr = &addr)
+ {
+ Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVariantdvEXT(Int32 id, ref Double addr)
+ {
+ unsafe
+ {
+ fixed (Double* addr_ptr = &addr)
+ {
+ Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVariantubvEXT(UInt32 id, IntPtr addr)
+ {
+ unsafe
+ {
+ Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr);
+ }
+ }
+
+ public static
+ void glVariantubvEXT(Int32 id, IntPtr addr)
+ {
+ unsafe
+ {
+ Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVariantubvEXT(UInt32 id, Byte[] addr)
+ {
+ unsafe
+ {
+ fixed (Byte* addr_ptr = addr)
+ {
+ Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVariantubvEXT(Int32 id, Byte[] addr)
+ {
+ unsafe
+ {
+ fixed (Byte* addr_ptr = addr)
+ {
+ Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVariantubvEXT(UInt32 id, ref Byte addr)
+ {
+ unsafe
+ {
+ fixed (Byte* addr_ptr = &addr)
+ {
+ Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVariantubvEXT(Int32 id, ref Byte addr)
+ {
+ unsafe
+ {
+ fixed (Byte* addr_ptr = &addr)
+ {
+ Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVariantusvEXT(UInt32 id, IntPtr addr)
+ {
+ unsafe
+ {
+ Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr);
+ }
+ }
+
+ public static
+ void glVariantusvEXT(Int32 id, IntPtr addr)
+ {
+ unsafe
+ {
+ Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVariantusvEXT(UInt32 id, UInt16[] addr)
+ {
+ unsafe
+ {
+ fixed (UInt16* addr_ptr = addr)
+ {
+ Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVariantusvEXT(Int32 id, Int16[] addr)
+ {
+ unsafe
+ {
+ fixed (Int16* addr_ptr = addr)
+ {
+ Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVariantusvEXT(UInt32 id, ref UInt16 addr)
+ {
+ unsafe
+ {
+ fixed (UInt16* addr_ptr = &addr)
+ {
+ Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVariantusvEXT(Int32 id, ref Int16 addr)
+ {
+ unsafe
+ {
+ fixed (Int16* addr_ptr = &addr)
+ {
+ Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVariantuivEXT(UInt32 id, IntPtr addr)
+ {
+ unsafe
+ {
+ Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr);
+ }
+ }
+
+ public static
+ void glVariantuivEXT(Int32 id, IntPtr addr)
+ {
+ unsafe
+ {
+ Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVariantuivEXT(UInt32 id, UInt32[] addr)
+ {
+ unsafe
+ {
+ fixed (UInt32* addr_ptr = addr)
+ {
+ Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVariantuivEXT(Int32 id, Int32[] addr)
+ {
+ unsafe
+ {
+ fixed (Int32* addr_ptr = addr)
+ {
+ Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVariantuivEXT(UInt32 id, ref UInt32 addr)
+ {
+ unsafe
+ {
+ fixed (UInt32* addr_ptr = &addr)
+ {
+ Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVariantuivEXT(Int32 id, ref Int32 addr)
+ {
+ unsafe
+ {
+ fixed (Int32* addr_ptr = &addr)
+ {
+ Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVariantPointerEXT(UInt32 id, int type, UInt32 stride, IntPtr addr)
+ {
+ unsafe
+ {
+ Delegates.glVariantPointerEXT((UInt32)id, (int)type, (UInt32)stride, (IntPtr)addr);
+ }
+ }
+
+ public static
+ void glVariantPointerEXT(Int32 id, int type, Int32 stride, IntPtr addr)
+ {
+ unsafe
+ {
+ Delegates.glVariantPointerEXT((UInt32)id, (int)type, (UInt32)stride, (IntPtr)addr);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVariantPointerEXT(UInt32 id, int type, UInt32 stride, [In, Out] object addr)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glVariantPointerEXT((UInt32)id, (int)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ addr_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glVariantPointerEXT(Int32 id, int type, Int32 stride, [In, Out] object addr)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glVariantPointerEXT((UInt32)id, (int)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ addr_ptr.Free();
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glEnableVariantClientStateEXT(UInt32 id)
+ {
+ Delegates.glEnableVariantClientStateEXT((UInt32)id);
+ }
+
+ public static
+ void glEnableVariantClientStateEXT(Int32 id)
+ {
+ Delegates.glEnableVariantClientStateEXT((UInt32)id);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDisableVariantClientStateEXT(UInt32 id)
+ {
+ Delegates.glDisableVariantClientStateEXT((UInt32)id);
+ }
+
+ public static
+ void glDisableVariantClientStateEXT(Int32 id)
+ {
+ Delegates.glDisableVariantClientStateEXT((UInt32)id);
+ }
+
+ public static
+ Int32 glBindLightParameterEXT(int light, int value)
+ {
+ return Delegates.glBindLightParameterEXT((int)light, (int)value);
+ }
+
+ public static
+ Int32 glBindMaterialParameterEXT(int face, int value)
+ {
+ return Delegates.glBindMaterialParameterEXT((int)face, (int)value);
+ }
+
+ public static
+ Int32 glBindTexGenParameterEXT(int unit, int coord, int value)
+ {
+ return Delegates.glBindTexGenParameterEXT((int)unit, (int)coord, (int)value);
+ }
+
+ public static
+ Int32 glBindTextureUnitParameterEXT(int unit, int value)
+ {
+ return Delegates.glBindTextureUnitParameterEXT((int)unit, (int)value);
+ }
+
+ public static
+ Int32 glBindParameterEXT(int value)
+ {
+ return Delegates.glBindParameterEXT((int)value);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glIsVariantEnabledEXT(UInt32 id, int cap)
+ {
+ return Delegates.glIsVariantEnabledEXT((UInt32)id, (int)cap);
+ }
+
+ public static
+ Int32 glIsVariantEnabledEXT(Int32 id, int cap)
+ {
+ return Delegates.glIsVariantEnabledEXT((UInt32)id, (int)cap);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVariantBooleanvEXT(UInt32 id, int value, [Out] IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glGetVariantBooleanvEXT((UInt32)id, (int)value, (Int32*)data);
+ }
+ }
+
+ public static
+ void glGetVariantBooleanvEXT(Int32 id, int value, [Out] IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glGetVariantBooleanvEXT((UInt32)id, (int)value, (Int32*)data);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVariantBooleanvEXT(UInt32 id, int value, [Out] Int32[] data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = data)
+ {
+ Delegates.glGetVariantBooleanvEXT((UInt32)id, (int)value, (Int32*)data_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetVariantBooleanvEXT(Int32 id, int value, [Out] Int32[] data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = data)
+ {
+ Delegates.glGetVariantBooleanvEXT((UInt32)id, (int)value, (Int32*)data_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVariantBooleanvEXT(UInt32 id, int value, [Out] out Int32 data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = &data)
+ {
+ Delegates.glGetVariantBooleanvEXT((UInt32)id, (int)value, (Int32*)data_ptr);
+ data = *data_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetVariantBooleanvEXT(Int32 id, int value, [Out] out Int32 data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = &data)
+ {
+ Delegates.glGetVariantBooleanvEXT((UInt32)id, (int)value, (Int32*)data_ptr);
+ data = *data_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVariantIntegervEXT(UInt32 id, int value, [Out] IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glGetVariantIntegervEXT((UInt32)id, (int)value, (Int32*)data);
+ }
+ }
+
+ public static
+ void glGetVariantIntegervEXT(Int32 id, int value, [Out] IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glGetVariantIntegervEXT((UInt32)id, (int)value, (Int32*)data);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVariantIntegervEXT(UInt32 id, int value, [Out] Int32[] data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = data)
+ {
+ Delegates.glGetVariantIntegervEXT((UInt32)id, (int)value, (Int32*)data_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetVariantIntegervEXT(Int32 id, int value, [Out] Int32[] data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = data)
+ {
+ Delegates.glGetVariantIntegervEXT((UInt32)id, (int)value, (Int32*)data_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVariantIntegervEXT(UInt32 id, int value, [Out] out Int32 data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = &data)
+ {
+ Delegates.glGetVariantIntegervEXT((UInt32)id, (int)value, (Int32*)data_ptr);
+ data = *data_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetVariantIntegervEXT(Int32 id, int value, [Out] out Int32 data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = &data)
+ {
+ Delegates.glGetVariantIntegervEXT((UInt32)id, (int)value, (Int32*)data_ptr);
+ data = *data_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVariantFloatvEXT(UInt32 id, int value, [Out] IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glGetVariantFloatvEXT((UInt32)id, (int)value, (Single*)data);
+ }
+ }
+
+ public static
+ void glGetVariantFloatvEXT(Int32 id, int value, [Out] IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glGetVariantFloatvEXT((UInt32)id, (int)value, (Single*)data);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVariantFloatvEXT(UInt32 id, int value, [Out] Single[] data)
+ {
+ unsafe
+ {
+ fixed (Single* data_ptr = data)
+ {
+ Delegates.glGetVariantFloatvEXT((UInt32)id, (int)value, (Single*)data_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetVariantFloatvEXT(Int32 id, int value, [Out] Single[] data)
+ {
+ unsafe
+ {
+ fixed (Single* data_ptr = data)
+ {
+ Delegates.glGetVariantFloatvEXT((UInt32)id, (int)value, (Single*)data_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVariantFloatvEXT(UInt32 id, int value, [Out] out Single data)
+ {
+ unsafe
+ {
+ fixed (Single* data_ptr = &data)
+ {
+ Delegates.glGetVariantFloatvEXT((UInt32)id, (int)value, (Single*)data_ptr);
+ data = *data_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetVariantFloatvEXT(Int32 id, int value, [Out] out Single data)
+ {
+ unsafe
+ {
+ fixed (Single* data_ptr = &data)
+ {
+ Delegates.glGetVariantFloatvEXT((UInt32)id, (int)value, (Single*)data_ptr);
+ data = *data_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVariantPointervEXT(UInt32 id, int value, [Out] IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glGetVariantPointervEXT((UInt32)id, (int)value, (IntPtr)data);
+ }
+ }
+
+ public static
+ void glGetVariantPointervEXT(Int32 id, int value, [Out] IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glGetVariantPointervEXT((UInt32)id, (int)value, (IntPtr)data);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVariantPointervEXT(UInt32 id, int value, [In, Out] object data)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetVariantPointervEXT((UInt32)id, (int)value, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetVariantPointervEXT(Int32 id, int value, [In, Out] object data)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetVariantPointervEXT((UInt32)id, (int)value, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetInvariantBooleanvEXT(UInt32 id, int value, [Out] IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glGetInvariantBooleanvEXT((UInt32)id, (int)value, (Int32*)data);
+ }
+ }
+
+ public static
+ void glGetInvariantBooleanvEXT(Int32 id, int value, [Out] IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glGetInvariantBooleanvEXT((UInt32)id, (int)value, (Int32*)data);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetInvariantBooleanvEXT(UInt32 id, int value, [Out] Int32[] data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = data)
+ {
+ Delegates.glGetInvariantBooleanvEXT((UInt32)id, (int)value, (Int32*)data_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetInvariantBooleanvEXT(Int32 id, int value, [Out] Int32[] data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = data)
+ {
+ Delegates.glGetInvariantBooleanvEXT((UInt32)id, (int)value, (Int32*)data_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetInvariantBooleanvEXT(UInt32 id, int value, [Out] out Int32 data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = &data)
+ {
+ Delegates.glGetInvariantBooleanvEXT((UInt32)id, (int)value, (Int32*)data_ptr);
+ data = *data_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetInvariantBooleanvEXT(Int32 id, int value, [Out] out Int32 data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = &data)
+ {
+ Delegates.glGetInvariantBooleanvEXT((UInt32)id, (int)value, (Int32*)data_ptr);
+ data = *data_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetInvariantIntegervEXT(UInt32 id, int value, [Out] IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glGetInvariantIntegervEXT((UInt32)id, (int)value, (Int32*)data);
+ }
+ }
+
+ public static
+ void glGetInvariantIntegervEXT(Int32 id, int value, [Out] IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glGetInvariantIntegervEXT((UInt32)id, (int)value, (Int32*)data);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetInvariantIntegervEXT(UInt32 id, int value, [Out] Int32[] data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = data)
+ {
+ Delegates.glGetInvariantIntegervEXT((UInt32)id, (int)value, (Int32*)data_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetInvariantIntegervEXT(Int32 id, int value, [Out] Int32[] data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = data)
+ {
+ Delegates.glGetInvariantIntegervEXT((UInt32)id, (int)value, (Int32*)data_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetInvariantIntegervEXT(UInt32 id, int value, [Out] out Int32 data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = &data)
+ {
+ Delegates.glGetInvariantIntegervEXT((UInt32)id, (int)value, (Int32*)data_ptr);
+ data = *data_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetInvariantIntegervEXT(Int32 id, int value, [Out] out Int32 data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = &data)
+ {
+ Delegates.glGetInvariantIntegervEXT((UInt32)id, (int)value, (Int32*)data_ptr);
+ data = *data_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetInvariantFloatvEXT(UInt32 id, int value, [Out] IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glGetInvariantFloatvEXT((UInt32)id, (int)value, (Single*)data);
+ }
+ }
+
+ public static
+ void glGetInvariantFloatvEXT(Int32 id, int value, [Out] IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glGetInvariantFloatvEXT((UInt32)id, (int)value, (Single*)data);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetInvariantFloatvEXT(UInt32 id, int value, [Out] Single[] data)
+ {
+ unsafe
+ {
+ fixed (Single* data_ptr = data)
+ {
+ Delegates.glGetInvariantFloatvEXT((UInt32)id, (int)value, (Single*)data_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetInvariantFloatvEXT(Int32 id, int value, [Out] Single[] data)
+ {
+ unsafe
+ {
+ fixed (Single* data_ptr = data)
+ {
+ Delegates.glGetInvariantFloatvEXT((UInt32)id, (int)value, (Single*)data_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetInvariantFloatvEXT(UInt32 id, int value, [Out] out Single data)
+ {
+ unsafe
+ {
+ fixed (Single* data_ptr = &data)
+ {
+ Delegates.glGetInvariantFloatvEXT((UInt32)id, (int)value, (Single*)data_ptr);
+ data = *data_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetInvariantFloatvEXT(Int32 id, int value, [Out] out Single data)
+ {
+ unsafe
+ {
+ fixed (Single* data_ptr = &data)
+ {
+ Delegates.glGetInvariantFloatvEXT((UInt32)id, (int)value, (Single*)data_ptr);
+ data = *data_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetLocalConstantBooleanvEXT(UInt32 id, int value, [Out] IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (int)value, (Int32*)data);
+ }
+ }
+
+ public static
+ void glGetLocalConstantBooleanvEXT(Int32 id, int value, [Out] IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (int)value, (Int32*)data);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetLocalConstantBooleanvEXT(UInt32 id, int value, [Out] Int32[] data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = data)
+ {
+ Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (int)value, (Int32*)data_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetLocalConstantBooleanvEXT(Int32 id, int value, [Out] Int32[] data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = data)
+ {
+ Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (int)value, (Int32*)data_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetLocalConstantBooleanvEXT(UInt32 id, int value, [Out] out Int32 data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = &data)
+ {
+ Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (int)value, (Int32*)data_ptr);
+ data = *data_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetLocalConstantBooleanvEXT(Int32 id, int value, [Out] out Int32 data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = &data)
+ {
+ Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (int)value, (Int32*)data_ptr);
+ data = *data_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetLocalConstantIntegervEXT(UInt32 id, int value, [Out] IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (int)value, (Int32*)data);
+ }
+ }
+
+ public static
+ void glGetLocalConstantIntegervEXT(Int32 id, int value, [Out] IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (int)value, (Int32*)data);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetLocalConstantIntegervEXT(UInt32 id, int value, [Out] Int32[] data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = data)
+ {
+ Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (int)value, (Int32*)data_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetLocalConstantIntegervEXT(Int32 id, int value, [Out] Int32[] data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = data)
+ {
+ Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (int)value, (Int32*)data_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetLocalConstantIntegervEXT(UInt32 id, int value, [Out] out Int32 data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = &data)
+ {
+ Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (int)value, (Int32*)data_ptr);
+ data = *data_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetLocalConstantIntegervEXT(Int32 id, int value, [Out] out Int32 data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = &data)
+ {
+ Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (int)value, (Int32*)data_ptr);
+ data = *data_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetLocalConstantFloatvEXT(UInt32 id, int value, [Out] IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (int)value, (Single*)data);
+ }
+ }
+
+ public static
+ void glGetLocalConstantFloatvEXT(Int32 id, int value, [Out] IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (int)value, (Single*)data);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetLocalConstantFloatvEXT(UInt32 id, int value, [Out] Single[] data)
+ {
+ unsafe
+ {
+ fixed (Single* data_ptr = data)
+ {
+ Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (int)value, (Single*)data_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetLocalConstantFloatvEXT(Int32 id, int value, [Out] Single[] data)
+ {
+ unsafe
+ {
+ fixed (Single* data_ptr = data)
+ {
+ Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (int)value, (Single*)data_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetLocalConstantFloatvEXT(UInt32 id, int value, [Out] out Single data)
+ {
+ unsafe
+ {
+ fixed (Single* data_ptr = &data)
+ {
+ Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (int)value, (Single*)data_ptr);
+ data = *data_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetLocalConstantFloatvEXT(Int32 id, int value, [Out] out Single data)
+ {
+ unsafe
+ {
+ fixed (Single* data_ptr = &data)
+ {
+ Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (int)value, (Single*)data_ptr);
+ data = *data_ptr;
+ }
+ }
+ }
+
+ public static
+ void glActiveStencilFaceEXT(int face)
+ {
+ Delegates.glActiveStencilFaceEXT((int)face);
+ }
+
+ public static
+ void glDepthBoundsEXT(Double zmin, Double zmax)
+ {
+ Delegates.glDepthBoundsEXT((Double)zmin, (Double)zmax);
+ }
+
+ public static
+ void glBlendEquationSeparateEXT(int modeRGB, int modeAlpha)
+ {
+ Delegates.glBlendEquationSeparateEXT((int)modeRGB, (int)modeAlpha);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glIsRenderbufferEXT(UInt32 renderbuffer)
+ {
+ return Delegates.glIsRenderbufferEXT((UInt32)renderbuffer);
+ }
+
+ public static
+ Int32 glIsRenderbufferEXT(Int32 renderbuffer)
+ {
+ return Delegates.glIsRenderbufferEXT((UInt32)renderbuffer);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glBindRenderbufferEXT(int target, UInt32 renderbuffer)
+ {
+ Delegates.glBindRenderbufferEXT((int)target, (UInt32)renderbuffer);
+ }
+
+ public static
+ void glBindRenderbufferEXT(int target, Int32 renderbuffer)
+ {
+ Delegates.glBindRenderbufferEXT((int)target, (UInt32)renderbuffer);
+ }
+
+ public static
+ void glDeleteRenderbuffersEXT(Int32 n, IntPtr renderbuffers)
+ {
+ unsafe
+ {
+ Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteRenderbuffersEXT(Int32 n, UInt32[] renderbuffers)
+ {
+ unsafe
+ {
+ fixed (UInt32* renderbuffers_ptr = renderbuffers)
+ {
+ Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeleteRenderbuffersEXT(Int32 n, Int32[] renderbuffers)
+ {
+ unsafe
+ {
+ fixed (Int32* renderbuffers_ptr = renderbuffers)
+ {
+ Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteRenderbuffersEXT(Int32 n, ref UInt32 renderbuffers)
+ {
+ unsafe
+ {
+ fixed (UInt32* renderbuffers_ptr = &renderbuffers)
+ {
+ Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeleteRenderbuffersEXT(Int32 n, ref Int32 renderbuffers)
+ {
+ unsafe
+ {
+ fixed (Int32* renderbuffers_ptr = &renderbuffers)
+ {
+ Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGenRenderbuffersEXT(Int32 n, [Out] IntPtr renderbuffers)
+ {
+ unsafe
+ {
+ Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGenRenderbuffersEXT(Int32 n, [Out] UInt32[] renderbuffers)
+ {
+ unsafe
+ {
+ fixed (UInt32* renderbuffers_ptr = renderbuffers)
+ {
+ Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGenRenderbuffersEXT(Int32 n, [Out] Int32[] renderbuffers)
+ {
+ unsafe
+ {
+ fixed (Int32* renderbuffers_ptr = renderbuffers)
+ {
+ Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGenRenderbuffersEXT(Int32 n, [Out] out UInt32 renderbuffers)
+ {
+ unsafe
+ {
+ fixed (UInt32* renderbuffers_ptr = &renderbuffers)
+ {
+ Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr);
+ renderbuffers = *renderbuffers_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGenRenderbuffersEXT(Int32 n, [Out] out Int32 renderbuffers)
+ {
+ unsafe
+ {
+ fixed (Int32* renderbuffers_ptr = &renderbuffers)
+ {
+ Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr);
+ renderbuffers = *renderbuffers_ptr;
+ }
+ }
+ }
+
+ public static
+ void glRenderbufferStorageEXT(int target, int internalformat, Int32 width, Int32 height)
+ {
+ Delegates.glRenderbufferStorageEXT((int)target, (int)internalformat, (Int32)width, (Int32)height);
+ }
+
+ public static
+ void glGetRenderbufferParameterivEXT(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetRenderbufferParameterivEXT((int)target, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetRenderbufferParameterivEXT(int target, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetRenderbufferParameterivEXT((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetRenderbufferParameterivEXT(int target, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetRenderbufferParameterivEXT((int)target, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glIsFramebufferEXT(UInt32 framebuffer)
+ {
+ return Delegates.glIsFramebufferEXT((UInt32)framebuffer);
+ }
+
+ public static
+ Int32 glIsFramebufferEXT(Int32 framebuffer)
+ {
+ return Delegates.glIsFramebufferEXT((UInt32)framebuffer);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glBindFramebufferEXT(int target, UInt32 framebuffer)
+ {
+ Delegates.glBindFramebufferEXT((int)target, (UInt32)framebuffer);
+ }
+
+ public static
+ void glBindFramebufferEXT(int target, Int32 framebuffer)
+ {
+ Delegates.glBindFramebufferEXT((int)target, (UInt32)framebuffer);
+ }
+
+ public static
+ void glDeleteFramebuffersEXT(Int32 n, IntPtr framebuffers)
+ {
+ unsafe
+ {
+ Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteFramebuffersEXT(Int32 n, UInt32[] framebuffers)
+ {
+ unsafe
+ {
+ fixed (UInt32* framebuffers_ptr = framebuffers)
+ {
+ Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeleteFramebuffersEXT(Int32 n, Int32[] framebuffers)
+ {
+ unsafe
+ {
+ fixed (Int32* framebuffers_ptr = framebuffers)
+ {
+ Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteFramebuffersEXT(Int32 n, ref UInt32 framebuffers)
+ {
+ unsafe
+ {
+ fixed (UInt32* framebuffers_ptr = &framebuffers)
+ {
+ Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeleteFramebuffersEXT(Int32 n, ref Int32 framebuffers)
+ {
+ unsafe
+ {
+ fixed (Int32* framebuffers_ptr = &framebuffers)
+ {
+ Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGenFramebuffersEXT(Int32 n, [Out] IntPtr framebuffers)
+ {
+ unsafe
+ {
+ Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGenFramebuffersEXT(Int32 n, [Out] UInt32[] framebuffers)
+ {
+ unsafe
+ {
+ fixed (UInt32* framebuffers_ptr = framebuffers)
+ {
+ Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGenFramebuffersEXT(Int32 n, [Out] Int32[] framebuffers)
+ {
+ unsafe
+ {
+ fixed (Int32* framebuffers_ptr = framebuffers)
+ {
+ Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGenFramebuffersEXT(Int32 n, [Out] out UInt32 framebuffers)
+ {
+ unsafe
+ {
+ fixed (UInt32* framebuffers_ptr = &framebuffers)
+ {
+ Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr);
+ framebuffers = *framebuffers_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGenFramebuffersEXT(Int32 n, [Out] out Int32 framebuffers)
+ {
+ unsafe
+ {
+ fixed (Int32* framebuffers_ptr = &framebuffers)
+ {
+ Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr);
+ framebuffers = *framebuffers_ptr;
+ }
+ }
+ }
+
+ public static
+ int glCheckFramebufferStatusEXT(int target)
+ {
+ return Delegates.glCheckFramebufferStatusEXT((int)target);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glFramebufferTexture1DEXT(int target, int attachment, int textarget, UInt32 texture, Int32 level)
+ {
+ Delegates.glFramebufferTexture1DEXT((int)target, (int)attachment, (int)textarget, (UInt32)texture, (Int32)level);
+ }
+
+ public static
+ void glFramebufferTexture1DEXT(int target, int attachment, int textarget, Int32 texture, Int32 level)
+ {
+ Delegates.glFramebufferTexture1DEXT((int)target, (int)attachment, (int)textarget, (UInt32)texture, (Int32)level);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glFramebufferTexture2DEXT(int target, int attachment, int textarget, UInt32 texture, Int32 level)
+ {
+ Delegates.glFramebufferTexture2DEXT((int)target, (int)attachment, (int)textarget, (UInt32)texture, (Int32)level);
+ }
+
+ public static
+ void glFramebufferTexture2DEXT(int target, int attachment, int textarget, Int32 texture, Int32 level)
+ {
+ Delegates.glFramebufferTexture2DEXT((int)target, (int)attachment, (int)textarget, (UInt32)texture, (Int32)level);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glFramebufferTexture3DEXT(int target, int attachment, int textarget, UInt32 texture, Int32 level, Int32 zoffset)
+ {
+ Delegates.glFramebufferTexture3DEXT((int)target, (int)attachment, (int)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset);
+ }
+
+ public static
+ void glFramebufferTexture3DEXT(int target, int attachment, int textarget, Int32 texture, Int32 level, Int32 zoffset)
+ {
+ Delegates.glFramebufferTexture3DEXT((int)target, (int)attachment, (int)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glFramebufferRenderbufferEXT(int target, int attachment, int renderbuffertarget, UInt32 renderbuffer)
+ {
+ Delegates.glFramebufferRenderbufferEXT((int)target, (int)attachment, (int)renderbuffertarget, (UInt32)renderbuffer);
+ }
+
+ public static
+ void glFramebufferRenderbufferEXT(int target, int attachment, int renderbuffertarget, Int32 renderbuffer)
+ {
+ Delegates.glFramebufferRenderbufferEXT((int)target, (int)attachment, (int)renderbuffertarget, (UInt32)renderbuffer);
+ }
+
+ public static
+ void glGetFramebufferAttachmentParameterivEXT(int target, int attachment, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetFramebufferAttachmentParameterivEXT((int)target, (int)attachment, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetFramebufferAttachmentParameterivEXT(int target, int attachment, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetFramebufferAttachmentParameterivEXT((int)target, (int)attachment, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetFramebufferAttachmentParameterivEXT(int target, int attachment, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetFramebufferAttachmentParameterivEXT((int)target, (int)attachment, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGenerateMipmapEXT(int target)
+ {
+ Delegates.glGenerateMipmapEXT((int)target);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glStencilClearTagEXT(Int32 stencilTagBits, UInt32 stencilClearTag)
+ {
+ Delegates.glStencilClearTagEXT((Int32)stencilTagBits, (UInt32)stencilClearTag);
+ }
+
+ public static
+ void glStencilClearTagEXT(Int32 stencilTagBits, Int32 stencilClearTag)
+ {
+ Delegates.glStencilClearTagEXT((Int32)stencilTagBits, (UInt32)stencilClearTag);
+ }
+
+ public static
+ void glBlitFramebufferEXT(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, int mask, int filter)
+ {
+ Delegates.glBlitFramebufferEXT((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (int)mask, (int)filter);
+ }
+
+ public static
+ void glRenderbufferStorageMultisampleEXT(int target, Int32 samples, int internalformat, Int32 width, Int32 height)
+ {
+ Delegates.glRenderbufferStorageMultisampleEXT((int)target, (Int32)samples, (int)internalformat, (Int32)width, (Int32)height);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetQueryObjecti64vEXT(UInt32 id, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetQueryObjecti64vEXT((UInt32)id, (int)pname, (Int64*)@params);
+ }
+ }
+
+ public static
+ void glGetQueryObjecti64vEXT(Int32 id, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetQueryObjecti64vEXT((UInt32)id, (int)pname, (Int64*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetQueryObjecti64vEXT(UInt32 id, int pname, [Out] Int64[] @params)
+ {
+ unsafe
+ {
+ fixed (Int64* @params_ptr = @params)
+ {
+ Delegates.glGetQueryObjecti64vEXT((UInt32)id, (int)pname, (Int64*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetQueryObjecti64vEXT(Int32 id, int pname, [Out] Int64[] @params)
+ {
+ unsafe
+ {
+ fixed (Int64* @params_ptr = @params)
+ {
+ Delegates.glGetQueryObjecti64vEXT((UInt32)id, (int)pname, (Int64*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetQueryObjecti64vEXT(UInt32 id, int pname, [Out] out Int64 @params)
+ {
+ unsafe
+ {
+ fixed (Int64* @params_ptr = &@params)
+ {
+ Delegates.glGetQueryObjecti64vEXT((UInt32)id, (int)pname, (Int64*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetQueryObjecti64vEXT(Int32 id, int pname, [Out] out Int64 @params)
+ {
+ unsafe
+ {
+ fixed (Int64* @params_ptr = &@params)
+ {
+ Delegates.glGetQueryObjecti64vEXT((UInt32)id, (int)pname, (Int64*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetQueryObjectui64vEXT(UInt32 id, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetQueryObjectui64vEXT((UInt32)id, (int)pname, (UInt64*)@params);
+ }
+ }
+
+ public static
+ void glGetQueryObjectui64vEXT(Int32 id, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetQueryObjectui64vEXT((UInt32)id, (int)pname, (UInt64*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetQueryObjectui64vEXT(UInt32 id, int pname, [Out] UInt64[] @params)
+ {
+ unsafe
+ {
+ fixed (UInt64* @params_ptr = @params)
+ {
+ Delegates.glGetQueryObjectui64vEXT((UInt32)id, (int)pname, (UInt64*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetQueryObjectui64vEXT(Int32 id, int pname, [Out] Int64[] @params)
+ {
+ unsafe
+ {
+ fixed (Int64* @params_ptr = @params)
+ {
+ Delegates.glGetQueryObjectui64vEXT((UInt32)id, (int)pname, (UInt64*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetQueryObjectui64vEXT(UInt32 id, int pname, [Out] out UInt64 @params)
+ {
+ unsafe
+ {
+ fixed (UInt64* @params_ptr = &@params)
+ {
+ Delegates.glGetQueryObjectui64vEXT((UInt32)id, (int)pname, (UInt64*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetQueryObjectui64vEXT(Int32 id, int pname, [Out] out Int64 @params)
+ {
+ unsafe
+ {
+ fixed (Int64* @params_ptr = &@params)
+ {
+ Delegates.glGetQueryObjectui64vEXT((UInt32)id, (int)pname, (UInt64*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramEnvParameters4fvEXT(int target, UInt32 index, Int32 count, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramEnvParameters4fvEXT((int)target, (UInt32)index, (Int32)count, (Single*)@params);
+ }
+ }
+
+ public static
+ void glProgramEnvParameters4fvEXT(int target, Int32 index, Int32 count, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramEnvParameters4fvEXT((int)target, (UInt32)index, (Int32)count, (Single*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramEnvParameters4fvEXT(int target, UInt32 index, Int32 count, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glProgramEnvParameters4fvEXT((int)target, (UInt32)index, (Int32)count, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramEnvParameters4fvEXT(int target, Int32 index, Int32 count, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glProgramEnvParameters4fvEXT((int)target, (UInt32)index, (Int32)count, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramEnvParameters4fvEXT(int target, UInt32 index, Int32 count, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glProgramEnvParameters4fvEXT((int)target, (UInt32)index, (Int32)count, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramEnvParameters4fvEXT(int target, Int32 index, Int32 count, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glProgramEnvParameters4fvEXT((int)target, (UInt32)index, (Int32)count, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramLocalParameters4fvEXT(int target, UInt32 index, Int32 count, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramLocalParameters4fvEXT((int)target, (UInt32)index, (Int32)count, (Single*)@params);
+ }
+ }
+
+ public static
+ void glProgramLocalParameters4fvEXT(int target, Int32 index, Int32 count, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramLocalParameters4fvEXT((int)target, (UInt32)index, (Int32)count, (Single*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramLocalParameters4fvEXT(int target, UInt32 index, Int32 count, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glProgramLocalParameters4fvEXT((int)target, (UInt32)index, (Int32)count, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramLocalParameters4fvEXT(int target, Int32 index, Int32 count, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glProgramLocalParameters4fvEXT((int)target, (UInt32)index, (Int32)count, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramLocalParameters4fvEXT(int target, UInt32 index, Int32 count, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glProgramLocalParameters4fvEXT((int)target, (UInt32)index, (Int32)count, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramLocalParameters4fvEXT(int target, Int32 index, Int32 count, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glProgramLocalParameters4fvEXT((int)target, (UInt32)index, (Int32)count, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glFramebufferTextureEXT(int target, int attachment, UInt32 texture, Int32 level)
+ {
+ Delegates.glFramebufferTextureEXT((int)target, (int)attachment, (UInt32)texture, (Int32)level);
+ }
+
+ public static
+ void glFramebufferTextureEXT(int target, int attachment, Int32 texture, Int32 level)
+ {
+ Delegates.glFramebufferTextureEXT((int)target, (int)attachment, (UInt32)texture, (Int32)level);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glFramebufferTextureLayerEXT(int target, int attachment, UInt32 texture, Int32 level, Int32 layer)
+ {
+ Delegates.glFramebufferTextureLayerEXT((int)target, (int)attachment, (UInt32)texture, (Int32)level, (Int32)layer);
+ }
+
+ public static
+ void glFramebufferTextureLayerEXT(int target, int attachment, Int32 texture, Int32 level, Int32 layer)
+ {
+ Delegates.glFramebufferTextureLayerEXT((int)target, (int)attachment, (UInt32)texture, (Int32)level, (Int32)layer);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glFramebufferTextureFaceEXT(int target, int attachment, UInt32 texture, Int32 level, int face)
+ {
+ Delegates.glFramebufferTextureFaceEXT((int)target, (int)attachment, (UInt32)texture, (Int32)level, (int)face);
+ }
+
+ public static
+ void glFramebufferTextureFaceEXT(int target, int attachment, Int32 texture, Int32 level, int face)
+ {
+ Delegates.glFramebufferTextureFaceEXT((int)target, (int)attachment, (UInt32)texture, (Int32)level, (int)face);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramParameteriEXT(UInt32 program, int pname, Int32 value)
+ {
+ Delegates.glProgramParameteriEXT((UInt32)program, (int)pname, (Int32)value);
+ }
+
+ public static
+ void glProgramParameteriEXT(Int32 program, int pname, Int32 value)
+ {
+ Delegates.glProgramParameteriEXT((UInt32)program, (int)pname, (Int32)value);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI1iEXT(UInt32 index, Int32 x)
+ {
+ Delegates.glVertexAttribI1iEXT((UInt32)index, (Int32)x);
+ }
+
+ public static
+ void glVertexAttribI1iEXT(Int32 index, Int32 x)
+ {
+ Delegates.glVertexAttribI1iEXT((UInt32)index, (Int32)x);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI2iEXT(UInt32 index, Int32 x, Int32 y)
+ {
+ Delegates.glVertexAttribI2iEXT((UInt32)index, (Int32)x, (Int32)y);
+ }
+
+ public static
+ void glVertexAttribI2iEXT(Int32 index, Int32 x, Int32 y)
+ {
+ Delegates.glVertexAttribI2iEXT((UInt32)index, (Int32)x, (Int32)y);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI3iEXT(UInt32 index, Int32 x, Int32 y, Int32 z)
+ {
+ Delegates.glVertexAttribI3iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z);
+ }
+
+ public static
+ void glVertexAttribI3iEXT(Int32 index, Int32 x, Int32 y, Int32 z)
+ {
+ Delegates.glVertexAttribI3iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI4iEXT(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w)
+ {
+ Delegates.glVertexAttribI4iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w);
+ }
+
+ public static
+ void glVertexAttribI4iEXT(Int32 index, Int32 x, Int32 y, Int32 z, Int32 w)
+ {
+ Delegates.glVertexAttribI4iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI1uiEXT(UInt32 index, UInt32 x)
+ {
+ Delegates.glVertexAttribI1uiEXT((UInt32)index, (UInt32)x);
+ }
+
+ public static
+ void glVertexAttribI1uiEXT(Int32 index, Int32 x)
+ {
+ Delegates.glVertexAttribI1uiEXT((UInt32)index, (UInt32)x);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI2uiEXT(UInt32 index, UInt32 x, UInt32 y)
+ {
+ Delegates.glVertexAttribI2uiEXT((UInt32)index, (UInt32)x, (UInt32)y);
+ }
+
+ public static
+ void glVertexAttribI2uiEXT(Int32 index, Int32 x, Int32 y)
+ {
+ Delegates.glVertexAttribI2uiEXT((UInt32)index, (UInt32)x, (UInt32)y);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI3uiEXT(UInt32 index, UInt32 x, UInt32 y, UInt32 z)
+ {
+ Delegates.glVertexAttribI3uiEXT((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z);
+ }
+
+ public static
+ void glVertexAttribI3uiEXT(Int32 index, Int32 x, Int32 y, Int32 z)
+ {
+ Delegates.glVertexAttribI3uiEXT((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI4uiEXT(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w)
+ {
+ Delegates.glVertexAttribI4uiEXT((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w);
+ }
+
+ public static
+ void glVertexAttribI4uiEXT(Int32 index, Int32 x, Int32 y, Int32 z, Int32 w)
+ {
+ Delegates.glVertexAttribI4uiEXT((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI1ivEXT(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribI1ivEXT((UInt32)index, (Int32*)v);
+ }
+ }
+
+ public static
+ void glVertexAttribI1ivEXT(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribI1ivEXT((UInt32)index, (Int32*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI1ivEXT(UInt32 index, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glVertexAttribI1ivEXT((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribI1ivEXT(Int32 index, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glVertexAttribI1ivEXT((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI1ivEXT(UInt32 index, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glVertexAttribI1ivEXT((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribI1ivEXT(Int32 index, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glVertexAttribI1ivEXT((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI2ivEXT(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v);
+ }
+ }
+
+ public static
+ void glVertexAttribI2ivEXT(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI2ivEXT(UInt32 index, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribI2ivEXT(Int32 index, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI2ivEXT(UInt32 index, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribI2ivEXT(Int32 index, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI3ivEXT(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v);
+ }
+ }
+
+ public static
+ void glVertexAttribI3ivEXT(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI3ivEXT(UInt32 index, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribI3ivEXT(Int32 index, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI3ivEXT(UInt32 index, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribI3ivEXT(Int32 index, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI4ivEXT(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v);
+ }
+ }
+
+ public static
+ void glVertexAttribI4ivEXT(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI4ivEXT(UInt32 index, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribI4ivEXT(Int32 index, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI4ivEXT(UInt32 index, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribI4ivEXT(Int32 index, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI1uivEXT(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribI1uivEXT((UInt32)index, (UInt32*)v);
+ }
+ }
+
+ public static
+ void glVertexAttribI1uivEXT(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribI1uivEXT((UInt32)index, (UInt32*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI1uivEXT(UInt32 index, UInt32[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* v_ptr = v)
+ {
+ Delegates.glVertexAttribI1uivEXT((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribI1uivEXT(Int32 index, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glVertexAttribI1uivEXT((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI1uivEXT(UInt32 index, ref UInt32 v)
+ {
+ unsafe
+ {
+ fixed (UInt32* v_ptr = &v)
+ {
+ Delegates.glVertexAttribI1uivEXT((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribI1uivEXT(Int32 index, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glVertexAttribI1uivEXT((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI2uivEXT(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v);
+ }
+ }
+
+ public static
+ void glVertexAttribI2uivEXT(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI2uivEXT(UInt32 index, UInt32[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* v_ptr = v)
+ {
+ Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribI2uivEXT(Int32 index, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI2uivEXT(UInt32 index, ref UInt32 v)
+ {
+ unsafe
+ {
+ fixed (UInt32* v_ptr = &v)
+ {
+ Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribI2uivEXT(Int32 index, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI3uivEXT(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v);
+ }
+ }
+
+ public static
+ void glVertexAttribI3uivEXT(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI3uivEXT(UInt32 index, UInt32[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* v_ptr = v)
+ {
+ Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribI3uivEXT(Int32 index, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI3uivEXT(UInt32 index, ref UInt32 v)
+ {
+ unsafe
+ {
+ fixed (UInt32* v_ptr = &v)
+ {
+ Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribI3uivEXT(Int32 index, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI4uivEXT(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v);
+ }
+ }
+
+ public static
+ void glVertexAttribI4uivEXT(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI4uivEXT(UInt32 index, UInt32[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* v_ptr = v)
+ {
+ Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribI4uivEXT(Int32 index, Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI4uivEXT(UInt32 index, ref UInt32 v)
+ {
+ unsafe
+ {
+ fixed (UInt32* v_ptr = &v)
+ {
+ Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribI4uivEXT(Int32 index, ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI4bvEXT(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v);
+ }
+ }
+
+ public static
+ void glVertexAttribI4bvEXT(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI4bvEXT(UInt32 index, SByte[] v)
+ {
+ unsafe
+ {
+ fixed (SByte* v_ptr = v)
+ {
+ Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribI4bvEXT(Int32 index, Byte[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = v)
+ {
+ Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI4bvEXT(UInt32 index, ref SByte v)
+ {
+ unsafe
+ {
+ fixed (SByte* v_ptr = &v)
+ {
+ Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribI4bvEXT(Int32 index, ref Byte v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = &v)
+ {
+ Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI4svEXT(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttribI4svEXT(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI4svEXT(UInt32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribI4svEXT(Int32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI4svEXT(UInt32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribI4svEXT(Int32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI4ubvEXT(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v);
+ }
+ }
+
+ public static
+ void glVertexAttribI4ubvEXT(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI4ubvEXT(UInt32 index, Byte[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = v)
+ {
+ Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribI4ubvEXT(Int32 index, Byte[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = v)
+ {
+ Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI4ubvEXT(UInt32 index, ref Byte v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = &v)
+ {
+ Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribI4ubvEXT(Int32 index, ref Byte v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = &v)
+ {
+ Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI4usvEXT(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttribI4usvEXT(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI4usvEXT(UInt32 index, UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribI4usvEXT(Int32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribI4usvEXT(UInt32 index, ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribI4usvEXT(Int32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribIPointerEXT(UInt32 index, Int32 size, int type, Int32 stride, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (int)type, (Int32)stride, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glVertexAttribIPointerEXT(Int32 index, Int32 size, int type, Int32 stride, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (int)type, (Int32)stride, (IntPtr)pointer);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribIPointerEXT(UInt32 index, Int32 size, int type, Int32 stride, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (int)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribIPointerEXT(Int32 index, Int32 size, int type, Int32 stride, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (int)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribIivEXT(UInt32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribIivEXT((UInt32)index, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetVertexAttribIivEXT(Int32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribIivEXT((UInt32)index, (int)pname, (Int32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribIivEXT(UInt32 index, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetVertexAttribIivEXT((UInt32)index, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetVertexAttribIivEXT(Int32 index, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetVertexAttribIivEXT((UInt32)index, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribIivEXT(UInt32 index, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetVertexAttribIivEXT((UInt32)index, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetVertexAttribIivEXT(Int32 index, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetVertexAttribIivEXT((UInt32)index, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribIuivEXT(UInt32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribIuivEXT((UInt32)index, (int)pname, (UInt32*)@params);
+ }
+ }
+
+ public static
+ void glGetVertexAttribIuivEXT(Int32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribIuivEXT((UInt32)index, (int)pname, (UInt32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribIuivEXT(UInt32 index, int pname, [Out] UInt32[] @params)
+ {
+ unsafe
+ {
+ fixed (UInt32* @params_ptr = @params)
+ {
+ Delegates.glGetVertexAttribIuivEXT((UInt32)index, (int)pname, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetVertexAttribIuivEXT(Int32 index, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetVertexAttribIuivEXT((UInt32)index, (int)pname, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribIuivEXT(UInt32 index, int pname, [Out] out UInt32 @params)
+ {
+ unsafe
+ {
+ fixed (UInt32* @params_ptr = &@params)
+ {
+ Delegates.glGetVertexAttribIuivEXT((UInt32)index, (int)pname, (UInt32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetVertexAttribIuivEXT(Int32 index, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetVertexAttribIuivEXT((UInt32)index, (int)pname, (UInt32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetUniformuivEXT(UInt32 program, Int32 location, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params);
+ }
+ }
+
+ public static
+ void glGetUniformuivEXT(Int32 program, Int32 location, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetUniformuivEXT(UInt32 program, Int32 location, [Out] UInt32[] @params)
+ {
+ unsafe
+ {
+ fixed (UInt32* @params_ptr = @params)
+ {
+ Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetUniformuivEXT(Int32 program, Int32 location, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetUniformuivEXT(UInt32 program, Int32 location, [Out] out UInt32 @params)
+ {
+ unsafe
+ {
+ fixed (UInt32* @params_ptr = &@params)
+ {
+ Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetUniformuivEXT(Int32 program, Int32 location, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glBindFragDataLocationEXT(UInt32 program, UInt32 color, System.String name)
+ {
+ Delegates.glBindFragDataLocationEXT((UInt32)program, (UInt32)color, (System.String)name);
+ }
+
+ public static
+ void glBindFragDataLocationEXT(Int32 program, Int32 color, System.String name)
+ {
+ Delegates.glBindFragDataLocationEXT((UInt32)program, (UInt32)color, (System.String)name);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glGetFragDataLocationEXT(UInt32 program, System.String name)
+ {
+ return Delegates.glGetFragDataLocationEXT((UInt32)program, (System.String)name);
+ }
+
+ public static
+ Int32 glGetFragDataLocationEXT(Int32 program, System.String name)
+ {
+ return Delegates.glGetFragDataLocationEXT((UInt32)program, (System.String)name);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glUniform1uiEXT(Int32 location, UInt32 v0)
+ {
+ Delegates.glUniform1uiEXT((Int32)location, (UInt32)v0);
+ }
+
+ public static
+ void glUniform1uiEXT(Int32 location, Int32 v0)
+ {
+ Delegates.glUniform1uiEXT((Int32)location, (UInt32)v0);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glUniform2uiEXT(Int32 location, UInt32 v0, UInt32 v1)
+ {
+ Delegates.glUniform2uiEXT((Int32)location, (UInt32)v0, (UInt32)v1);
+ }
+
+ public static
+ void glUniform2uiEXT(Int32 location, Int32 v0, Int32 v1)
+ {
+ Delegates.glUniform2uiEXT((Int32)location, (UInt32)v0, (UInt32)v1);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glUniform3uiEXT(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2)
+ {
+ Delegates.glUniform3uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2);
+ }
+
+ public static
+ void glUniform3uiEXT(Int32 location, Int32 v0, Int32 v1, Int32 v2)
+ {
+ Delegates.glUniform3uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glUniform4uiEXT(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3)
+ {
+ Delegates.glUniform4uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3);
+ }
+
+ public static
+ void glUniform4uiEXT(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3)
+ {
+ Delegates.glUniform4uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3);
+ }
+
+ public static
+ void glUniform1uivEXT(Int32 location, Int32 count, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glUniform1uivEXT(Int32 location, Int32 count, UInt32[] value)
+ {
+ unsafe
+ {
+ fixed (UInt32* value_ptr = value)
+ {
+ Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform1uivEXT(Int32 location, Int32 count, Int32[] value)
+ {
+ unsafe
+ {
+ fixed (Int32* value_ptr = value)
+ {
+ Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glUniform1uivEXT(Int32 location, Int32 count, ref UInt32 value)
+ {
+ unsafe
+ {
+ fixed (UInt32* value_ptr = &value)
+ {
+ Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform1uivEXT(Int32 location, Int32 count, ref Int32 value)
+ {
+ unsafe
+ {
+ fixed (Int32* value_ptr = &value)
+ {
+ Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform2uivEXT(Int32 location, Int32 count, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glUniform2uivEXT(Int32 location, Int32 count, UInt32[] value)
+ {
+ unsafe
+ {
+ fixed (UInt32* value_ptr = value)
+ {
+ Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform2uivEXT(Int32 location, Int32 count, Int32[] value)
+ {
+ unsafe
+ {
+ fixed (Int32* value_ptr = value)
+ {
+ Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glUniform2uivEXT(Int32 location, Int32 count, ref UInt32 value)
+ {
+ unsafe
+ {
+ fixed (UInt32* value_ptr = &value)
+ {
+ Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform2uivEXT(Int32 location, Int32 count, ref Int32 value)
+ {
+ unsafe
+ {
+ fixed (Int32* value_ptr = &value)
+ {
+ Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform3uivEXT(Int32 location, Int32 count, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glUniform3uivEXT(Int32 location, Int32 count, UInt32[] value)
+ {
+ unsafe
+ {
+ fixed (UInt32* value_ptr = value)
+ {
+ Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform3uivEXT(Int32 location, Int32 count, Int32[] value)
+ {
+ unsafe
+ {
+ fixed (Int32* value_ptr = value)
+ {
+ Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glUniform3uivEXT(Int32 location, Int32 count, ref UInt32 value)
+ {
+ unsafe
+ {
+ fixed (UInt32* value_ptr = &value)
+ {
+ Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform3uivEXT(Int32 location, Int32 count, ref Int32 value)
+ {
+ unsafe
+ {
+ fixed (Int32* value_ptr = &value)
+ {
+ Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform4uivEXT(Int32 location, Int32 count, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glUniform4uivEXT(Int32 location, Int32 count, UInt32[] value)
+ {
+ unsafe
+ {
+ fixed (UInt32* value_ptr = value)
+ {
+ Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform4uivEXT(Int32 location, Int32 count, Int32[] value)
+ {
+ unsafe
+ {
+ fixed (Int32* value_ptr = value)
+ {
+ Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glUniform4uivEXT(Int32 location, Int32 count, ref UInt32 value)
+ {
+ unsafe
+ {
+ fixed (UInt32* value_ptr = &value)
+ {
+ Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glUniform4uivEXT(Int32 location, Int32 count, ref Int32 value)
+ {
+ unsafe
+ {
+ fixed (Int32* value_ptr = &value)
+ {
+ Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDrawArraysInstancedEXT(int mode, Int32 start, Int32 count, Int32 primcount)
+ {
+ Delegates.glDrawArraysInstancedEXT((int)mode, (Int32)start, (Int32)count, (Int32)primcount);
+ }
+
+ public static
+ void glDrawElementsInstancedEXT(int mode, Int32 count, int type, IntPtr indices, Int32 primcount)
+ {
+ unsafe
+ {
+ Delegates.glDrawElementsInstancedEXT((int)mode, (Int32)count, (int)type, (IntPtr)indices, (Int32)primcount);
+ }
+ }
+
+ public static
+ void glDrawElementsInstancedEXT(int mode, Int32 count, int type, [In, Out] object indices, Int32 primcount)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glDrawElementsInstancedEXT((int)mode, (Int32)count, (int)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glTexBufferEXT(int target, int internalformat, UInt32 buffer)
+ {
+ Delegates.glTexBufferEXT((int)target, (int)internalformat, (UInt32)buffer);
+ }
+
+ public static
+ void glTexBufferEXT(int target, int internalformat, Int32 buffer)
+ {
+ Delegates.glTexBufferEXT((int)target, (int)internalformat, (UInt32)buffer);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glColorMaskIndexedEXT(UInt32 index, Int32 r, Int32 g, Int32 b, Int32 a)
+ {
+ Delegates.glColorMaskIndexedEXT((UInt32)index, (Int32)r, (Int32)g, (Int32)b, (Int32)a);
+ }
+
+ public static
+ void glColorMaskIndexedEXT(Int32 index, Int32 r, Int32 g, Int32 b, Int32 a)
+ {
+ Delegates.glColorMaskIndexedEXT((UInt32)index, (Int32)r, (Int32)g, (Int32)b, (Int32)a);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetBooleanIndexedvEXT(int target, UInt32 index, [Out] IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glGetBooleanIndexedvEXT((int)target, (UInt32)index, (Int32*)data);
+ }
+ }
+
+ public static
+ void glGetBooleanIndexedvEXT(int target, Int32 index, [Out] IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glGetBooleanIndexedvEXT((int)target, (UInt32)index, (Int32*)data);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetBooleanIndexedvEXT(int target, UInt32 index, [Out] Int32[] data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = data)
+ {
+ Delegates.glGetBooleanIndexedvEXT((int)target, (UInt32)index, (Int32*)data_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetBooleanIndexedvEXT(int target, Int32 index, [Out] Int32[] data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = data)
+ {
+ Delegates.glGetBooleanIndexedvEXT((int)target, (UInt32)index, (Int32*)data_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetBooleanIndexedvEXT(int target, UInt32 index, [Out] out Int32 data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = &data)
+ {
+ Delegates.glGetBooleanIndexedvEXT((int)target, (UInt32)index, (Int32*)data_ptr);
+ data = *data_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetBooleanIndexedvEXT(int target, Int32 index, [Out] out Int32 data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = &data)
+ {
+ Delegates.glGetBooleanIndexedvEXT((int)target, (UInt32)index, (Int32*)data_ptr);
+ data = *data_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetIntegerIndexedvEXT(int target, UInt32 index, [Out] IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glGetIntegerIndexedvEXT((int)target, (UInt32)index, (Int32*)data);
+ }
+ }
+
+ public static
+ void glGetIntegerIndexedvEXT(int target, Int32 index, [Out] IntPtr data)
+ {
+ unsafe
+ {
+ Delegates.glGetIntegerIndexedvEXT((int)target, (UInt32)index, (Int32*)data);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetIntegerIndexedvEXT(int target, UInt32 index, [Out] Int32[] data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = data)
+ {
+ Delegates.glGetIntegerIndexedvEXT((int)target, (UInt32)index, (Int32*)data_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetIntegerIndexedvEXT(int target, Int32 index, [Out] Int32[] data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = data)
+ {
+ Delegates.glGetIntegerIndexedvEXT((int)target, (UInt32)index, (Int32*)data_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetIntegerIndexedvEXT(int target, UInt32 index, [Out] out Int32 data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = &data)
+ {
+ Delegates.glGetIntegerIndexedvEXT((int)target, (UInt32)index, (Int32*)data_ptr);
+ data = *data_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetIntegerIndexedvEXT(int target, Int32 index, [Out] out Int32 data)
+ {
+ unsafe
+ {
+ fixed (Int32* data_ptr = &data)
+ {
+ Delegates.glGetIntegerIndexedvEXT((int)target, (UInt32)index, (Int32*)data_ptr);
+ data = *data_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glEnableIndexedEXT(int target, UInt32 index)
+ {
+ Delegates.glEnableIndexedEXT((int)target, (UInt32)index);
+ }
+
+ public static
+ void glEnableIndexedEXT(int target, Int32 index)
+ {
+ Delegates.glEnableIndexedEXT((int)target, (UInt32)index);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDisableIndexedEXT(int target, UInt32 index)
+ {
+ Delegates.glDisableIndexedEXT((int)target, (UInt32)index);
+ }
+
+ public static
+ void glDisableIndexedEXT(int target, Int32 index)
+ {
+ Delegates.glDisableIndexedEXT((int)target, (UInt32)index);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glIsEnabledIndexedEXT(int target, UInt32 index)
+ {
+ return Delegates.glIsEnabledIndexedEXT((int)target, (UInt32)index);
+ }
+
+ public static
+ Int32 glIsEnabledIndexedEXT(int target, Int32 index)
+ {
+ return Delegates.glIsEnabledIndexedEXT((int)target, (UInt32)index);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glUniformBufferEXT(UInt32 program, Int32 location, UInt32 buffer)
+ {
+ Delegates.glUniformBufferEXT((UInt32)program, (Int32)location, (UInt32)buffer);
+ }
+
+ public static
+ void glUniformBufferEXT(Int32 program, Int32 location, Int32 buffer)
+ {
+ Delegates.glUniformBufferEXT((UInt32)program, (Int32)location, (UInt32)buffer);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glGetUniformBufferSizeEXT(UInt32 program, Int32 location)
+ {
+ return Delegates.glGetUniformBufferSizeEXT((UInt32)program, (Int32)location);
+ }
+
+ public static
+ Int32 glGetUniformBufferSizeEXT(Int32 program, Int32 location)
+ {
+ return Delegates.glGetUniformBufferSizeEXT((UInt32)program, (Int32)location);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ IntPtr glGetUniformOffsetEXT(UInt32 program, Int32 location)
+ {
+ return Delegates.glGetUniformOffsetEXT((UInt32)program, (Int32)location);
+ }
+
+ public static
+ IntPtr glGetUniformOffsetEXT(Int32 program, Int32 location)
+ {
+ return Delegates.glGetUniformOffsetEXT((UInt32)program, (Int32)location);
+ }
+
+ public static
+ void glTexParameterIivEXT(int target, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glTexParameterIivEXT((int)target, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glTexParameterIivEXT(int target, int pname, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glTexParameterIivEXT((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexParameterIivEXT(int target, int pname, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glTexParameterIivEXT((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexParameterIuivEXT(int target, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glTexParameterIuivEXT((int)target, (int)pname, (UInt32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glTexParameterIuivEXT(int target, int pname, UInt32[] @params)
+ {
+ unsafe
+ {
+ fixed (UInt32* @params_ptr = @params)
+ {
+ Delegates.glTexParameterIuivEXT((int)target, (int)pname, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexParameterIuivEXT(int target, int pname, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glTexParameterIuivEXT((int)target, (int)pname, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glTexParameterIuivEXT(int target, int pname, ref UInt32 @params)
+ {
+ unsafe
+ {
+ fixed (UInt32* @params_ptr = &@params)
+ {
+ Delegates.glTexParameterIuivEXT((int)target, (int)pname, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexParameterIuivEXT(int target, int pname, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glTexParameterIuivEXT((int)target, (int)pname, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetTexParameterIivEXT(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetTexParameterIivEXT((int)target, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetTexParameterIivEXT(int target, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetTexParameterIivEXT((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetTexParameterIivEXT(int target, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetTexParameterIivEXT((int)target, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetTexParameterIuivEXT(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetTexParameterIuivEXT((int)target, (int)pname, (UInt32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetTexParameterIuivEXT(int target, int pname, [Out] UInt32[] @params)
+ {
+ unsafe
+ {
+ fixed (UInt32* @params_ptr = @params)
+ {
+ Delegates.glGetTexParameterIuivEXT((int)target, (int)pname, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetTexParameterIuivEXT(int target, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetTexParameterIuivEXT((int)target, (int)pname, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetTexParameterIuivEXT(int target, int pname, [Out] out UInt32 @params)
+ {
+ unsafe
+ {
+ fixed (UInt32* @params_ptr = &@params)
+ {
+ Delegates.glGetTexParameterIuivEXT((int)target, (int)pname, (UInt32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetTexParameterIuivEXT(int target, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetTexParameterIuivEXT((int)target, (int)pname, (UInt32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glClearColorIiEXT(Int32 red, Int32 green, Int32 blue, Int32 alpha)
+ {
+ Delegates.glClearColorIiEXT((Int32)red, (Int32)green, (Int32)blue, (Int32)alpha);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glClearColorIuiEXT(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha)
+ {
+ Delegates.glClearColorIuiEXT((UInt32)red, (UInt32)green, (UInt32)blue, (UInt32)alpha);
+ }
+
+ public static
+ void glClearColorIuiEXT(Int32 red, Int32 green, Int32 blue, Int32 alpha)
+ {
+ Delegates.glClearColorIuiEXT((UInt32)red, (UInt32)green, (UInt32)blue, (UInt32)alpha);
+ }
+
+ public static
+ void glGetTexFilterFuncSGIS(int target, int filter, [Out] IntPtr weights)
+ {
+ unsafe
+ {
+ Delegates.glGetTexFilterFuncSGIS((int)target, (int)filter, (Single*)weights);
+ }
+ }
+
+ public static
+ void glGetTexFilterFuncSGIS(int target, int filter, [Out] Single[] weights)
+ {
+ unsafe
+ {
+ fixed (Single* weights_ptr = weights)
+ {
+ Delegates.glGetTexFilterFuncSGIS((int)target, (int)filter, (Single*)weights_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetTexFilterFuncSGIS(int target, int filter, [Out] out Single weights)
+ {
+ unsafe
+ {
+ fixed (Single* weights_ptr = &weights)
+ {
+ Delegates.glGetTexFilterFuncSGIS((int)target, (int)filter, (Single*)weights_ptr);
+ weights = *weights_ptr;
+ }
+ }
+ }
+
+ public static
+ void glTexFilterFuncSGIS(int target, int filter, Int32 n, IntPtr weights)
+ {
+ unsafe
+ {
+ Delegates.glTexFilterFuncSGIS((int)target, (int)filter, (Int32)n, (Single*)weights);
+ }
+ }
+
+ public static
+ void glTexFilterFuncSGIS(int target, int filter, Int32 n, Single[] weights)
+ {
+ unsafe
+ {
+ fixed (Single* weights_ptr = weights)
+ {
+ Delegates.glTexFilterFuncSGIS((int)target, (int)filter, (Int32)n, (Single*)weights_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexFilterFuncSGIS(int target, int filter, Int32 n, ref Single weights)
+ {
+ unsafe
+ {
+ fixed (Single* weights_ptr = &weights)
+ {
+ Delegates.glTexFilterFuncSGIS((int)target, (int)filter, (Int32)n, (Single*)weights_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPixelTexGenParameteriSGIS(int pname, Int32 param)
+ {
+ Delegates.glPixelTexGenParameteriSGIS((int)pname, (Int32)param);
+ }
+
+ public static
+ void glPixelTexGenParameterivSGIS(int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glPixelTexGenParameterivSGIS((int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glPixelTexGenParameterivSGIS(int pname, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glPixelTexGenParameterivSGIS((int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPixelTexGenParameterivSGIS(int pname, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glPixelTexGenParameterivSGIS((int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPixelTexGenParameterfSGIS(int pname, Single param)
+ {
+ Delegates.glPixelTexGenParameterfSGIS((int)pname, (Single)param);
+ }
+
+ public static
+ void glPixelTexGenParameterfvSGIS(int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glPixelTexGenParameterfvSGIS((int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glPixelTexGenParameterfvSGIS(int pname, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glPixelTexGenParameterfvSGIS((int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPixelTexGenParameterfvSGIS(int pname, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glPixelTexGenParameterfvSGIS((int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetPixelTexGenParameterivSGIS(int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetPixelTexGenParameterivSGIS((int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetPixelTexGenParameterivSGIS(int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetPixelTexGenParameterivSGIS((int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetPixelTexGenParameterivSGIS(int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetPixelTexGenParameterivSGIS((int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetPixelTexGenParameterfvSGIS(int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetPixelTexGenParameterfvSGIS((int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetPixelTexGenParameterfvSGIS(int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetPixelTexGenParameterfvSGIS((int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetPixelTexGenParameterfvSGIS(int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetPixelTexGenParameterfvSGIS((int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glTexImage4DSGIS(int target, Int32 level, int internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, int format, int type, IntPtr pixels)
+ {
+ unsafe
+ {
+ Delegates.glTexImage4DSGIS((int)target, (Int32)level, (int)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (int)format, (int)type, (IntPtr)pixels);
+ }
+ }
+
+ public static
+ void glTexImage4DSGIS(int target, Int32 level, int internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, int format, int type, [In, Out] object pixels)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glTexImage4DSGIS((int)target, (Int32)level, (int)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (int)format, (int)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pixels_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glTexSubImage4DSGIS(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, int format, int type, IntPtr pixels)
+ {
+ unsafe
+ {
+ Delegates.glTexSubImage4DSGIS((int)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (int)format, (int)type, (IntPtr)pixels);
+ }
+ }
+
+ public static
+ void glTexSubImage4DSGIS(int target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, int format, int type, [In, Out] object pixels)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glTexSubImage4DSGIS((int)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (int)format, (int)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pixels_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glDetailTexFuncSGIS(int target, Int32 n, IntPtr points)
+ {
+ unsafe
+ {
+ Delegates.glDetailTexFuncSGIS((int)target, (Int32)n, (Single*)points);
+ }
+ }
+
+ public static
+ void glDetailTexFuncSGIS(int target, Int32 n, Single[] points)
+ {
+ unsafe
+ {
+ fixed (Single* points_ptr = points)
+ {
+ Delegates.glDetailTexFuncSGIS((int)target, (Int32)n, (Single*)points_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDetailTexFuncSGIS(int target, Int32 n, ref Single points)
+ {
+ unsafe
+ {
+ fixed (Single* points_ptr = &points)
+ {
+ Delegates.glDetailTexFuncSGIS((int)target, (Int32)n, (Single*)points_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetDetailTexFuncSGIS(int target, [Out] IntPtr points)
+ {
+ unsafe
+ {
+ Delegates.glGetDetailTexFuncSGIS((int)target, (Single*)points);
+ }
+ }
+
+ public static
+ void glGetDetailTexFuncSGIS(int target, [Out] Single[] points)
+ {
+ unsafe
+ {
+ fixed (Single* points_ptr = points)
+ {
+ Delegates.glGetDetailTexFuncSGIS((int)target, (Single*)points_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetDetailTexFuncSGIS(int target, [Out] out Single points)
+ {
+ unsafe
+ {
+ fixed (Single* points_ptr = &points)
+ {
+ Delegates.glGetDetailTexFuncSGIS((int)target, (Single*)points_ptr);
+ points = *points_ptr;
+ }
+ }
+ }
+
+ public static
+ void glSharpenTexFuncSGIS(int target, Int32 n, IntPtr points)
+ {
+ unsafe
+ {
+ Delegates.glSharpenTexFuncSGIS((int)target, (Int32)n, (Single*)points);
+ }
+ }
+
+ public static
+ void glSharpenTexFuncSGIS(int target, Int32 n, Single[] points)
+ {
+ unsafe
+ {
+ fixed (Single* points_ptr = points)
+ {
+ Delegates.glSharpenTexFuncSGIS((int)target, (Int32)n, (Single*)points_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSharpenTexFuncSGIS(int target, Int32 n, ref Single points)
+ {
+ unsafe
+ {
+ fixed (Single* points_ptr = &points)
+ {
+ Delegates.glSharpenTexFuncSGIS((int)target, (Int32)n, (Single*)points_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetSharpenTexFuncSGIS(int target, [Out] IntPtr points)
+ {
+ unsafe
+ {
+ Delegates.glGetSharpenTexFuncSGIS((int)target, (Single*)points);
+ }
+ }
+
+ public static
+ void glGetSharpenTexFuncSGIS(int target, [Out] Single[] points)
+ {
+ unsafe
+ {
+ fixed (Single* points_ptr = points)
+ {
+ Delegates.glGetSharpenTexFuncSGIS((int)target, (Single*)points_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetSharpenTexFuncSGIS(int target, [Out] out Single points)
+ {
+ unsafe
+ {
+ fixed (Single* points_ptr = &points)
+ {
+ Delegates.glGetSharpenTexFuncSGIS((int)target, (Single*)points_ptr);
+ points = *points_ptr;
+ }
+ }
+ }
+
+ public static
+ void glSampleMaskSGIS(Single value, Int32 invert)
+ {
+ Delegates.glSampleMaskSGIS((Single)value, (Int32)invert);
+ }
+
+ public static
+ void glSamplePatternSGIS(int pattern)
+ {
+ Delegates.glSamplePatternSGIS((int)pattern);
+ }
+
+ public static
+ void glPointParameterfSGIS(int pname, Single param)
+ {
+ Delegates.glPointParameterfSGIS((int)pname, (Single)param);
+ }
+
+ public static
+ void glPointParameterfvSGIS(int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glPointParameterfvSGIS((int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glPointParameterfvSGIS(int pname, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glPointParameterfvSGIS((int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPointParameterfvSGIS(int pname, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glPointParameterfvSGIS((int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glFogFuncSGIS(Int32 n, IntPtr points)
+ {
+ unsafe
+ {
+ Delegates.glFogFuncSGIS((Int32)n, (Single*)points);
+ }
+ }
+
+ public static
+ void glFogFuncSGIS(Int32 n, Single[] points)
+ {
+ unsafe
+ {
+ fixed (Single* points_ptr = points)
+ {
+ Delegates.glFogFuncSGIS((Int32)n, (Single*)points_ptr);
+ }
+ }
+ }
+
+ public static
+ void glFogFuncSGIS(Int32 n, ref Single points)
+ {
+ unsafe
+ {
+ fixed (Single* points_ptr = &points)
+ {
+ Delegates.glFogFuncSGIS((Int32)n, (Single*)points_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetFogFuncSGIS([Out] IntPtr points)
+ {
+ unsafe
+ {
+ Delegates.glGetFogFuncSGIS((Single*)points);
+ }
+ }
+
+ public static
+ void glGetFogFuncSGIS([Out] Single[] points)
+ {
+ unsafe
+ {
+ fixed (Single* points_ptr = points)
+ {
+ Delegates.glGetFogFuncSGIS((Single*)points_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetFogFuncSGIS([Out] out Single points)
+ {
+ unsafe
+ {
+ fixed (Single* points_ptr = &points)
+ {
+ Delegates.glGetFogFuncSGIS((Single*)points_ptr);
+ points = *points_ptr;
+ }
+ }
+ }
+
+ public static
+ void glTextureColorMaskSGIS(Int32 red, Int32 green, Int32 blue, Int32 alpha)
+ {
+ Delegates.glTextureColorMaskSGIS((Int32)red, (Int32)green, (Int32)blue, (Int32)alpha);
+ }
+
+ public static
+ void glColorTableSGI(int target, int internalformat, Int32 width, int format, int type, IntPtr table)
+ {
+ unsafe
+ {
+ Delegates.glColorTableSGI((int)target, (int)internalformat, (Int32)width, (int)format, (int)type, (IntPtr)table);
+ }
+ }
+
+ public static
+ void glColorTableSGI(int target, int internalformat, Int32 width, int format, int type, [In, Out] object table)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle table_ptr = System.Runtime.InteropServices.GCHandle.Alloc(table, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glColorTableSGI((int)target, (int)internalformat, (Int32)width, (int)format, (int)type, (IntPtr)table_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ table_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glColorTableParameterfvSGI(int target, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glColorTableParameterfvSGI((int)target, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glColorTableParameterfvSGI(int target, int pname, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glColorTableParameterfvSGI((int)target, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColorTableParameterfvSGI(int target, int pname, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glColorTableParameterfvSGI((int)target, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColorTableParameterivSGI(int target, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glColorTableParameterivSGI((int)target, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glColorTableParameterivSGI(int target, int pname, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glColorTableParameterivSGI((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColorTableParameterivSGI(int target, int pname, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glColorTableParameterivSGI((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glCopyColorTableSGI(int target, int internalformat, Int32 x, Int32 y, Int32 width)
+ {
+ Delegates.glCopyColorTableSGI((int)target, (int)internalformat, (Int32)x, (Int32)y, (Int32)width);
+ }
+
+ public static
+ void glGetColorTableSGI(int target, int format, int type, [Out] IntPtr table)
+ {
+ unsafe
+ {
+ Delegates.glGetColorTableSGI((int)target, (int)format, (int)type, (IntPtr)table);
+ }
+ }
+
+ public static
+ void glGetColorTableSGI(int target, int format, int type, [In, Out] object table)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle table_ptr = System.Runtime.InteropServices.GCHandle.Alloc(table, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetColorTableSGI((int)target, (int)format, (int)type, (IntPtr)table_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ table_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetColorTableParameterfvSGI(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetColorTableParameterfvSGI((int)target, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetColorTableParameterfvSGI(int target, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetColorTableParameterfvSGI((int)target, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetColorTableParameterfvSGI(int target, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetColorTableParameterfvSGI((int)target, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetColorTableParameterivSGI(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetColorTableParameterivSGI((int)target, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetColorTableParameterivSGI(int target, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetColorTableParameterivSGI((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetColorTableParameterivSGI(int target, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetColorTableParameterivSGI((int)target, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glPixelTexGenSGIX(int mode)
+ {
+ Delegates.glPixelTexGenSGIX((int)mode);
+ }
+
+ public static
+ void glSpriteParameterfSGIX(int pname, Single param)
+ {
+ Delegates.glSpriteParameterfSGIX((int)pname, (Single)param);
+ }
+
+ public static
+ void glSpriteParameterfvSGIX(int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glSpriteParameterfvSGIX((int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glSpriteParameterfvSGIX(int pname, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glSpriteParameterfvSGIX((int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSpriteParameterfvSGIX(int pname, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glSpriteParameterfvSGIX((int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSpriteParameteriSGIX(int pname, Int32 param)
+ {
+ Delegates.glSpriteParameteriSGIX((int)pname, (Int32)param);
+ }
+
+ public static
+ void glSpriteParameterivSGIX(int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glSpriteParameterivSGIX((int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glSpriteParameterivSGIX(int pname, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glSpriteParameterivSGIX((int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSpriteParameterivSGIX(int pname, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glSpriteParameterivSGIX((int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ Int32 glGetInstrumentsSGIX()
+ {
+ return Delegates.glGetInstrumentsSGIX();
+ }
+
+ public static
+ void glInstrumentsBufferSGIX(Int32 size, [Out] IntPtr buffer)
+ {
+ unsafe
+ {
+ Delegates.glInstrumentsBufferSGIX((Int32)size, (Int32*)buffer);
+ }
+ }
+
+ public static
+ void glInstrumentsBufferSGIX(Int32 size, [Out] Int32[] buffer)
+ {
+ unsafe
+ {
+ fixed (Int32* buffer_ptr = buffer)
+ {
+ Delegates.glInstrumentsBufferSGIX((Int32)size, (Int32*)buffer_ptr);
+ }
+ }
+ }
+
+ public static
+ void glInstrumentsBufferSGIX(Int32 size, [Out] out Int32 buffer)
+ {
+ unsafe
+ {
+ fixed (Int32* buffer_ptr = &buffer)
+ {
+ Delegates.glInstrumentsBufferSGIX((Int32)size, (Int32*)buffer_ptr);
+ buffer = *buffer_ptr;
+ }
+ }
+ }
+
+ public static
+ Int32 glPollInstrumentsSGIX([Out] IntPtr marker_p)
+ {
+ unsafe
+ {
+ return Delegates.glPollInstrumentsSGIX((Int32*)marker_p);
+ }
+ }
+
+ public static
+ Int32 glPollInstrumentsSGIX([Out] Int32[] marker_p)
+ {
+ unsafe
+ {
+ fixed (Int32* marker_p_ptr = marker_p)
+ {
+ return Delegates.glPollInstrumentsSGIX((Int32*)marker_p_ptr);
+ }
+ }
+ }
+
+ public static
+ Int32 glPollInstrumentsSGIX([Out] out Int32 marker_p)
+ {
+ unsafe
+ {
+ fixed (Int32* marker_p_ptr = &marker_p)
+ {
+ Int32 retval = Delegates.glPollInstrumentsSGIX((Int32*)marker_p_ptr);
+ marker_p = *marker_p_ptr;
+ return retval;
+ }
+ }
+ }
+
+ public static
+ void glReadInstrumentsSGIX(Int32 marker)
+ {
+ Delegates.glReadInstrumentsSGIX((Int32)marker);
+ }
+
+ public static
+ void glStartInstrumentsSGIX()
+ {
+ Delegates.glStartInstrumentsSGIX();
+ }
+
+ public static
+ void glStopInstrumentsSGIX(Int32 marker)
+ {
+ Delegates.glStopInstrumentsSGIX((Int32)marker);
+ }
+
+ public static
+ void glFrameZoomSGIX(Int32 factor)
+ {
+ Delegates.glFrameZoomSGIX((Int32)factor);
+ }
+
+ public static
+ void glTagSampleBufferSGIX()
+ {
+ Delegates.glTagSampleBufferSGIX();
+ }
+
+ public static
+ void glDeformationMap3dSGIX(int 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)
+ {
+ unsafe
+ {
+ Delegates.glDeformationMap3dSGIX((int)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);
+ }
+ }
+
+ public static
+ void glDeformationMap3dSGIX(int 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)
+ {
+ unsafe
+ {
+ fixed (Double* points_ptr = points)
+ {
+ Delegates.glDeformationMap3dSGIX((int)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeformationMap3dSGIX(int 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)
+ {
+ unsafe
+ {
+ fixed (Double* points_ptr = &points)
+ {
+ Delegates.glDeformationMap3dSGIX((int)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeformationMap3fSGIX(int 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)
+ {
+ unsafe
+ {
+ Delegates.glDeformationMap3fSGIX((int)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);
+ }
+ }
+
+ public static
+ void glDeformationMap3fSGIX(int 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)
+ {
+ unsafe
+ {
+ fixed (Single* points_ptr = points)
+ {
+ Delegates.glDeformationMap3fSGIX((int)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeformationMap3fSGIX(int 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)
+ {
+ unsafe
+ {
+ fixed (Single* points_ptr = &points)
+ {
+ Delegates.glDeformationMap3fSGIX((int)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeformSGIX(int mask)
+ {
+ Delegates.glDeformSGIX((int)mask);
+ }
+
+ public static
+ void glLoadIdentityDeformationMapSGIX(int mask)
+ {
+ Delegates.glLoadIdentityDeformationMapSGIX((int)mask);
+ }
+
+ public static
+ void glReferencePlaneSGIX(IntPtr equation)
+ {
+ unsafe
+ {
+ Delegates.glReferencePlaneSGIX((Double*)equation);
+ }
+ }
+
+ public static
+ void glReferencePlaneSGIX(Double[] equation)
+ {
+ unsafe
+ {
+ fixed (Double* equation_ptr = equation)
+ {
+ Delegates.glReferencePlaneSGIX((Double*)equation_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReferencePlaneSGIX(ref Double equation)
+ {
+ unsafe
+ {
+ fixed (Double* equation_ptr = &equation)
+ {
+ Delegates.glReferencePlaneSGIX((Double*)equation_ptr);
+ }
+ }
+ }
+
+ public static
+ void glFlushRasterSGIX()
+ {
+ Delegates.glFlushRasterSGIX();
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetListParameterfvSGIX(UInt32 list, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetListParameterfvSGIX((UInt32)list, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetListParameterfvSGIX(Int32 list, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetListParameterfvSGIX((UInt32)list, (int)pname, (Single*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetListParameterfvSGIX(UInt32 list, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetListParameterfvSGIX((UInt32)list, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetListParameterfvSGIX(Int32 list, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetListParameterfvSGIX((UInt32)list, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetListParameterfvSGIX(UInt32 list, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetListParameterfvSGIX((UInt32)list, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetListParameterfvSGIX(Int32 list, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetListParameterfvSGIX((UInt32)list, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetListParameterivSGIX(UInt32 list, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetListParameterivSGIX((UInt32)list, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetListParameterivSGIX(Int32 list, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetListParameterivSGIX((UInt32)list, (int)pname, (Int32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetListParameterivSGIX(UInt32 list, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetListParameterivSGIX((UInt32)list, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetListParameterivSGIX(Int32 list, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetListParameterivSGIX((UInt32)list, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetListParameterivSGIX(UInt32 list, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetListParameterivSGIX((UInt32)list, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetListParameterivSGIX(Int32 list, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetListParameterivSGIX((UInt32)list, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glListParameterfSGIX(UInt32 list, int pname, Single param)
+ {
+ Delegates.glListParameterfSGIX((UInt32)list, (int)pname, (Single)param);
+ }
+
+ public static
+ void glListParameterfSGIX(Int32 list, int pname, Single param)
+ {
+ Delegates.glListParameterfSGIX((UInt32)list, (int)pname, (Single)param);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glListParameterfvSGIX(UInt32 list, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glListParameterfvSGIX((UInt32)list, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glListParameterfvSGIX(Int32 list, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glListParameterfvSGIX((UInt32)list, (int)pname, (Single*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glListParameterfvSGIX(UInt32 list, int pname, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glListParameterfvSGIX((UInt32)list, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glListParameterfvSGIX(Int32 list, int pname, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glListParameterfvSGIX((UInt32)list, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glListParameterfvSGIX(UInt32 list, int pname, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glListParameterfvSGIX((UInt32)list, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glListParameterfvSGIX(Int32 list, int pname, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glListParameterfvSGIX((UInt32)list, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glListParameteriSGIX(UInt32 list, int pname, Int32 param)
+ {
+ Delegates.glListParameteriSGIX((UInt32)list, (int)pname, (Int32)param);
+ }
+
+ public static
+ void glListParameteriSGIX(Int32 list, int pname, Int32 param)
+ {
+ Delegates.glListParameteriSGIX((UInt32)list, (int)pname, (Int32)param);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glListParameterivSGIX(UInt32 list, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glListParameterivSGIX((UInt32)list, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glListParameterivSGIX(Int32 list, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glListParameterivSGIX((UInt32)list, (int)pname, (Int32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glListParameterivSGIX(UInt32 list, int pname, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glListParameterivSGIX((UInt32)list, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glListParameterivSGIX(Int32 list, int pname, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glListParameterivSGIX((UInt32)list, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glListParameterivSGIX(UInt32 list, int pname, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glListParameterivSGIX((UInt32)list, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glListParameterivSGIX(Int32 list, int pname, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glListParameterivSGIX((UInt32)list, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glFragmentColorMaterialSGIX(int face, int mode)
+ {
+ Delegates.glFragmentColorMaterialSGIX((int)face, (int)mode);
+ }
+
+ public static
+ void glFragmentLightfSGIX(int light, int pname, Single param)
+ {
+ Delegates.glFragmentLightfSGIX((int)light, (int)pname, (Single)param);
+ }
+
+ public static
+ void glFragmentLightfvSGIX(int light, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glFragmentLightfvSGIX((int)light, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glFragmentLightfvSGIX(int light, int pname, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glFragmentLightfvSGIX((int)light, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glFragmentLightfvSGIX(int light, int pname, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glFragmentLightfvSGIX((int)light, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glFragmentLightiSGIX(int light, int pname, Int32 param)
+ {
+ Delegates.glFragmentLightiSGIX((int)light, (int)pname, (Int32)param);
+ }
+
+ public static
+ void glFragmentLightivSGIX(int light, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glFragmentLightivSGIX((int)light, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glFragmentLightivSGIX(int light, int pname, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glFragmentLightivSGIX((int)light, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glFragmentLightivSGIX(int light, int pname, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glFragmentLightivSGIX((int)light, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glFragmentLightModelfSGIX(int pname, Single param)
+ {
+ Delegates.glFragmentLightModelfSGIX((int)pname, (Single)param);
+ }
+
+ public static
+ void glFragmentLightModelfvSGIX(int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glFragmentLightModelfvSGIX((int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glFragmentLightModelfvSGIX(int pname, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glFragmentLightModelfvSGIX((int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glFragmentLightModelfvSGIX(int pname, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glFragmentLightModelfvSGIX((int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glFragmentLightModeliSGIX(int pname, Int32 param)
+ {
+ Delegates.glFragmentLightModeliSGIX((int)pname, (Int32)param);
+ }
+
+ public static
+ void glFragmentLightModelivSGIX(int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glFragmentLightModelivSGIX((int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glFragmentLightModelivSGIX(int pname, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glFragmentLightModelivSGIX((int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glFragmentLightModelivSGIX(int pname, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glFragmentLightModelivSGIX((int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glFragmentMaterialfSGIX(int face, int pname, Single param)
+ {
+ Delegates.glFragmentMaterialfSGIX((int)face, (int)pname, (Single)param);
+ }
+
+ public static
+ void glFragmentMaterialfvSGIX(int face, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glFragmentMaterialfvSGIX((int)face, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glFragmentMaterialfvSGIX(int face, int pname, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glFragmentMaterialfvSGIX((int)face, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glFragmentMaterialfvSGIX(int face, int pname, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glFragmentMaterialfvSGIX((int)face, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glFragmentMaterialiSGIX(int face, int pname, Int32 param)
+ {
+ Delegates.glFragmentMaterialiSGIX((int)face, (int)pname, (Int32)param);
+ }
+
+ public static
+ void glFragmentMaterialivSGIX(int face, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glFragmentMaterialivSGIX((int)face, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glFragmentMaterialivSGIX(int face, int pname, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glFragmentMaterialivSGIX((int)face, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glFragmentMaterialivSGIX(int face, int pname, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glFragmentMaterialivSGIX((int)face, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetFragmentLightfvSGIX(int light, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetFragmentLightfvSGIX((int)light, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetFragmentLightfvSGIX(int light, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetFragmentLightfvSGIX((int)light, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetFragmentLightfvSGIX(int light, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetFragmentLightfvSGIX((int)light, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetFragmentLightivSGIX(int light, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetFragmentLightivSGIX((int)light, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetFragmentLightivSGIX(int light, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetFragmentLightivSGIX((int)light, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetFragmentLightivSGIX(int light, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetFragmentLightivSGIX((int)light, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetFragmentMaterialfvSGIX(int face, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetFragmentMaterialfvSGIX((int)face, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetFragmentMaterialfvSGIX(int face, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetFragmentMaterialfvSGIX((int)face, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetFragmentMaterialfvSGIX(int face, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetFragmentMaterialfvSGIX((int)face, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetFragmentMaterialivSGIX(int face, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetFragmentMaterialivSGIX((int)face, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetFragmentMaterialivSGIX(int face, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetFragmentMaterialivSGIX((int)face, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetFragmentMaterialivSGIX(int face, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetFragmentMaterialivSGIX((int)face, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glLightEnviSGIX(int pname, Int32 param)
+ {
+ Delegates.glLightEnviSGIX((int)pname, (Int32)param);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glAsyncMarkerSGIX(UInt32 marker)
+ {
+ Delegates.glAsyncMarkerSGIX((UInt32)marker);
+ }
+
+ public static
+ void glAsyncMarkerSGIX(Int32 marker)
+ {
+ Delegates.glAsyncMarkerSGIX((UInt32)marker);
+ }
+
+ public static
+ Int32 glFinishAsyncSGIX([Out] IntPtr markerp)
+ {
+ unsafe
+ {
+ return Delegates.glFinishAsyncSGIX((UInt32*)markerp);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glFinishAsyncSGIX([Out] UInt32[] markerp)
+ {
+ unsafe
+ {
+ fixed (UInt32* markerp_ptr = markerp)
+ {
+ return Delegates.glFinishAsyncSGIX((UInt32*)markerp_ptr);
+ }
+ }
+ }
+
+ public static
+ Int32 glFinishAsyncSGIX([Out] Int32[] markerp)
+ {
+ unsafe
+ {
+ fixed (Int32* markerp_ptr = markerp)
+ {
+ return Delegates.glFinishAsyncSGIX((UInt32*)markerp_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glFinishAsyncSGIX([Out] out UInt32 markerp)
+ {
+ unsafe
+ {
+ fixed (UInt32* markerp_ptr = &markerp)
+ {
+ Int32 retval = Delegates.glFinishAsyncSGIX((UInt32*)markerp_ptr);
+ markerp = *markerp_ptr;
+ return retval;
+ }
+ }
+ }
+
+ public static
+ Int32 glFinishAsyncSGIX([Out] out Int32 markerp)
+ {
+ unsafe
+ {
+ fixed (Int32* markerp_ptr = &markerp)
+ {
+ Int32 retval = Delegates.glFinishAsyncSGIX((UInt32*)markerp_ptr);
+ markerp = *markerp_ptr;
+ return retval;
+ }
+ }
+ }
+
+ public static
+ Int32 glPollAsyncSGIX([Out] IntPtr markerp)
+ {
+ unsafe
+ {
+ return Delegates.glPollAsyncSGIX((UInt32*)markerp);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glPollAsyncSGIX([Out] UInt32[] markerp)
+ {
+ unsafe
+ {
+ fixed (UInt32* markerp_ptr = markerp)
+ {
+ return Delegates.glPollAsyncSGIX((UInt32*)markerp_ptr);
+ }
+ }
+ }
+
+ public static
+ Int32 glPollAsyncSGIX([Out] Int32[] markerp)
+ {
+ unsafe
+ {
+ fixed (Int32* markerp_ptr = markerp)
+ {
+ return Delegates.glPollAsyncSGIX((UInt32*)markerp_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glPollAsyncSGIX([Out] out UInt32 markerp)
+ {
+ unsafe
+ {
+ fixed (UInt32* markerp_ptr = &markerp)
+ {
+ Int32 retval = Delegates.glPollAsyncSGIX((UInt32*)markerp_ptr);
+ markerp = *markerp_ptr;
+ return retval;
+ }
+ }
+ }
+
+ public static
+ Int32 glPollAsyncSGIX([Out] out Int32 markerp)
+ {
+ unsafe
+ {
+ fixed (Int32* markerp_ptr = &markerp)
+ {
+ Int32 retval = Delegates.glPollAsyncSGIX((UInt32*)markerp_ptr);
+ markerp = *markerp_ptr;
+ return retval;
+ }
+ }
+ }
+
+ public static
+ Int32 glGenAsyncMarkersSGIX(Int32 range)
+ {
+ return Delegates.glGenAsyncMarkersSGIX((Int32)range);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteAsyncMarkersSGIX(UInt32 marker, Int32 range)
+ {
+ Delegates.glDeleteAsyncMarkersSGIX((UInt32)marker, (Int32)range);
+ }
+
+ public static
+ void glDeleteAsyncMarkersSGIX(Int32 marker, Int32 range)
+ {
+ Delegates.glDeleteAsyncMarkersSGIX((UInt32)marker, (Int32)range);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glIsAsyncMarkerSGIX(UInt32 marker)
+ {
+ return Delegates.glIsAsyncMarkerSGIX((UInt32)marker);
+ }
+
+ public static
+ Int32 glIsAsyncMarkerSGIX(Int32 marker)
+ {
+ return Delegates.glIsAsyncMarkerSGIX((UInt32)marker);
+ }
+
+ public static
+ void glIglooInterfaceSGIX(int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glIglooInterfaceSGIX((int)pname, (IntPtr)@params);
+ }
+ }
+
+ public static
+ void glIglooInterfaceSGIX(int pname, [In, Out] object @params)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glIglooInterfaceSGIX((int)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ @params_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glImageTransformParameteriHP(int target, int pname, Int32 param)
+ {
+ Delegates.glImageTransformParameteriHP((int)target, (int)pname, (Int32)param);
+ }
+
+ public static
+ void glImageTransformParameterfHP(int target, int pname, Single param)
+ {
+ Delegates.glImageTransformParameterfHP((int)target, (int)pname, (Single)param);
+ }
+
+ public static
+ void glImageTransformParameterivHP(int target, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glImageTransformParameterivHP((int)target, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glImageTransformParameterivHP(int target, int pname, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glImageTransformParameterivHP((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glImageTransformParameterivHP(int target, int pname, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glImageTransformParameterivHP((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glImageTransformParameterfvHP(int target, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glImageTransformParameterfvHP((int)target, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glImageTransformParameterfvHP(int target, int pname, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glImageTransformParameterfvHP((int)target, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glImageTransformParameterfvHP(int target, int pname, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glImageTransformParameterfvHP((int)target, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetImageTransformParameterivHP(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetImageTransformParameterivHP((int)target, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetImageTransformParameterivHP(int target, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetImageTransformParameterivHP((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetImageTransformParameterivHP(int target, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetImageTransformParameterivHP((int)target, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetImageTransformParameterfvHP(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetImageTransformParameterfvHP((int)target, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetImageTransformParameterfvHP(int target, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetImageTransformParameterfvHP((int)target, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetImageTransformParameterfvHP(int target, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetImageTransformParameterfvHP((int)target, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glHintPGI(int target, Int32 mode)
+ {
+ Delegates.glHintPGI((int)target, (Int32)mode);
+ }
+
+ public static
+ void glVertexPointervINTEL(Int32 size, int type, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glVertexPointervINTEL((Int32)size, (int)type, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glVertexPointervINTEL(Int32 size, int type, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glVertexPointervINTEL((Int32)size, (int)type, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glNormalPointervINTEL(int type, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glNormalPointervINTEL((int)type, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glNormalPointervINTEL(int type, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glNormalPointervINTEL((int)type, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glColorPointervINTEL(Int32 size, int type, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glColorPointervINTEL((Int32)size, (int)type, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glColorPointervINTEL(Int32 size, int type, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glColorPointervINTEL((Int32)size, (int)type, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glTexCoordPointervINTEL(Int32 size, int type, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glTexCoordPointervINTEL((Int32)size, (int)type, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glTexCoordPointervINTEL(Int32 size, int type, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glTexCoordPointervINTEL((Int32)size, (int)type, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glFinishTextureSUNX()
+ {
+ Delegates.glFinishTextureSUNX();
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGlobalAlphaFactorbSUN(SByte factor)
+ {
+ Delegates.glGlobalAlphaFactorbSUN((SByte)factor);
+ }
+
+ public static
+ void glGlobalAlphaFactorbSUN(Byte factor)
+ {
+ Delegates.glGlobalAlphaFactorbSUN((SByte)factor);
+ }
+
+ public static
+ void glGlobalAlphaFactorsSUN(Int16 factor)
+ {
+ Delegates.glGlobalAlphaFactorsSUN((Int16)factor);
+ }
+
+ public static
+ void glGlobalAlphaFactoriSUN(Int32 factor)
+ {
+ Delegates.glGlobalAlphaFactoriSUN((Int32)factor);
+ }
+
+ public static
+ void glGlobalAlphaFactorfSUN(Single factor)
+ {
+ Delegates.glGlobalAlphaFactorfSUN((Single)factor);
+ }
+
+ public static
+ void glGlobalAlphaFactordSUN(Double factor)
+ {
+ Delegates.glGlobalAlphaFactordSUN((Double)factor);
+ }
+
+ public static
+ void glGlobalAlphaFactorubSUN(Byte factor)
+ {
+ Delegates.glGlobalAlphaFactorubSUN((Byte)factor);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGlobalAlphaFactorusSUN(UInt16 factor)
+ {
+ Delegates.glGlobalAlphaFactorusSUN((UInt16)factor);
+ }
+
+ public static
+ void glGlobalAlphaFactorusSUN(Int16 factor)
+ {
+ Delegates.glGlobalAlphaFactorusSUN((UInt16)factor);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGlobalAlphaFactoruiSUN(UInt32 factor)
+ {
+ Delegates.glGlobalAlphaFactoruiSUN((UInt32)factor);
+ }
+
+ public static
+ void glGlobalAlphaFactoruiSUN(Int32 factor)
+ {
+ Delegates.glGlobalAlphaFactoruiSUN((UInt32)factor);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiSUN(UInt32 code)
+ {
+ Delegates.glReplacementCodeuiSUN((UInt32)code);
+ }
+
+ public static
+ void glReplacementCodeuiSUN(Int32 code)
+ {
+ Delegates.glReplacementCodeuiSUN((UInt32)code);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeusSUN(UInt16 code)
+ {
+ Delegates.glReplacementCodeusSUN((UInt16)code);
+ }
+
+ public static
+ void glReplacementCodeusSUN(Int16 code)
+ {
+ Delegates.glReplacementCodeusSUN((UInt16)code);
+ }
+
+ public static
+ void glReplacementCodeubSUN(Byte code)
+ {
+ Delegates.glReplacementCodeubSUN((Byte)code);
+ }
+
+ public static
+ void glReplacementCodeuivSUN(IntPtr code)
+ {
+ unsafe
+ {
+ Delegates.glReplacementCodeuivSUN((UInt32*)code);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuivSUN(UInt32[] code)
+ {
+ unsafe
+ {
+ fixed (UInt32* code_ptr = code)
+ {
+ Delegates.glReplacementCodeuivSUN((UInt32*)code_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuivSUN(Int32[] code)
+ {
+ unsafe
+ {
+ fixed (Int32* code_ptr = code)
+ {
+ Delegates.glReplacementCodeuivSUN((UInt32*)code_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuivSUN(ref UInt32 code)
+ {
+ unsafe
+ {
+ fixed (UInt32* code_ptr = &code)
+ {
+ Delegates.glReplacementCodeuivSUN((UInt32*)code_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuivSUN(ref Int32 code)
+ {
+ unsafe
+ {
+ fixed (Int32* code_ptr = &code)
+ {
+ Delegates.glReplacementCodeuivSUN((UInt32*)code_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeusvSUN(IntPtr code)
+ {
+ unsafe
+ {
+ Delegates.glReplacementCodeusvSUN((UInt16*)code);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeusvSUN(UInt16[] code)
+ {
+ unsafe
+ {
+ fixed (UInt16* code_ptr = code)
+ {
+ Delegates.glReplacementCodeusvSUN((UInt16*)code_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeusvSUN(Int16[] code)
+ {
+ unsafe
+ {
+ fixed (Int16* code_ptr = code)
+ {
+ Delegates.glReplacementCodeusvSUN((UInt16*)code_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeusvSUN(ref UInt16 code)
+ {
+ unsafe
+ {
+ fixed (UInt16* code_ptr = &code)
+ {
+ Delegates.glReplacementCodeusvSUN((UInt16*)code_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeusvSUN(ref Int16 code)
+ {
+ unsafe
+ {
+ fixed (Int16* code_ptr = &code)
+ {
+ Delegates.glReplacementCodeusvSUN((UInt16*)code_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeubvSUN(IntPtr code)
+ {
+ unsafe
+ {
+ Delegates.glReplacementCodeubvSUN((Byte*)code);
+ }
+ }
+
+ public static
+ void glReplacementCodeubvSUN(Byte[] code)
+ {
+ unsafe
+ {
+ fixed (Byte* code_ptr = code)
+ {
+ Delegates.glReplacementCodeubvSUN((Byte*)code_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeubvSUN(ref Byte code)
+ {
+ unsafe
+ {
+ fixed (Byte* code_ptr = &code)
+ {
+ Delegates.glReplacementCodeubvSUN((Byte*)code_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodePointerSUN(int type, Int32 stride, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glReplacementCodePointerSUN((int)type, (Int32)stride, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glReplacementCodePointerSUN(int type, Int32 stride, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glReplacementCodePointerSUN((int)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glColor4ubVertex2fSUN(Byte r, Byte g, Byte b, Byte a, Single x, Single y)
+ {
+ Delegates.glColor4ubVertex2fSUN((Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y);
+ }
+
+ public static
+ void glColor4ubVertex2fvSUN(IntPtr c, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glColor4ubVertex2fvSUN((Byte*)c, (Single*)v);
+ }
+ }
+
+ public static
+ void glColor4ubVertex2fvSUN(IntPtr c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glColor4ubVertex2fvSUN((Byte*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4ubVertex2fvSUN(IntPtr c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glColor4ubVertex2fvSUN((Byte*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4ubVertex2fvSUN(Byte[] c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Byte* c_ptr = c)
+ {
+ Delegates.glColor4ubVertex2fvSUN((Byte*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glColor4ubVertex2fvSUN(Byte[] c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glColor4ubVertex2fvSUN((Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4ubVertex2fvSUN(Byte[] c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Byte* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glColor4ubVertex2fvSUN((Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4ubVertex2fvSUN(ref Byte c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Byte* c_ptr = &c)
+ {
+ Delegates.glColor4ubVertex2fvSUN((Byte*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glColor4ubVertex2fvSUN(ref Byte c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glColor4ubVertex2fvSUN((Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4ubVertex2fvSUN(ref Byte c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Byte* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glColor4ubVertex2fvSUN((Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4ubVertex3fSUN(Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z)
+ {
+ Delegates.glColor4ubVertex3fSUN((Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glColor4ubVertex3fvSUN(IntPtr c, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glColor4ubVertex3fvSUN((Byte*)c, (Single*)v);
+ }
+ }
+
+ public static
+ void glColor4ubVertex3fvSUN(IntPtr c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glColor4ubVertex3fvSUN((Byte*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4ubVertex3fvSUN(IntPtr c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glColor4ubVertex3fvSUN((Byte*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4ubVertex3fvSUN(Byte[] c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Byte* c_ptr = c)
+ {
+ Delegates.glColor4ubVertex3fvSUN((Byte*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glColor4ubVertex3fvSUN(Byte[] c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glColor4ubVertex3fvSUN((Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4ubVertex3fvSUN(Byte[] c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Byte* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glColor4ubVertex3fvSUN((Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4ubVertex3fvSUN(ref Byte c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Byte* c_ptr = &c)
+ {
+ Delegates.glColor4ubVertex3fvSUN((Byte*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glColor4ubVertex3fvSUN(ref Byte c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glColor4ubVertex3fvSUN((Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4ubVertex3fvSUN(ref Byte c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Byte* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glColor4ubVertex3fvSUN((Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor3fVertex3fSUN(Single r, Single g, Single b, Single x, Single y, Single z)
+ {
+ Delegates.glColor3fVertex3fSUN((Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glColor3fVertex3fvSUN(IntPtr c, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glColor3fVertex3fvSUN((Single*)c, (Single*)v);
+ }
+ }
+
+ public static
+ void glColor3fVertex3fvSUN(IntPtr c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glColor3fVertex3fvSUN((Single*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor3fVertex3fvSUN(IntPtr c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glColor3fVertex3fvSUN((Single*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor3fVertex3fvSUN(Single[] c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glColor3fVertex3fvSUN((Single*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glColor3fVertex3fvSUN(Single[] c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glColor3fVertex3fvSUN((Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor3fVertex3fvSUN(Single[] c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glColor3fVertex3fvSUN((Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor3fVertex3fvSUN(ref Single c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glColor3fVertex3fvSUN((Single*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glColor3fVertex3fvSUN(ref Single c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glColor3fVertex3fvSUN((Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor3fVertex3fvSUN(ref Single c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glColor3fVertex3fvSUN((Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glNormal3fVertex3fSUN(Single nx, Single ny, Single nz, Single x, Single y, Single z)
+ {
+ Delegates.glNormal3fVertex3fSUN((Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glNormal3fVertex3fvSUN(IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glNormal3fVertex3fvSUN((Single*)n, (Single*)v);
+ }
+ }
+
+ public static
+ void glNormal3fVertex3fvSUN(IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glNormal3fVertex3fvSUN((Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glNormal3fVertex3fvSUN(IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glNormal3fVertex3fvSUN((Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glNormal3fVertex3fvSUN(Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glNormal3fVertex3fvSUN((Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glNormal3fVertex3fvSUN(Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glNormal3fVertex3fvSUN((Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glNormal3fVertex3fvSUN(Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glNormal3fVertex3fvSUN((Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glNormal3fVertex3fvSUN(ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glNormal3fVertex3fvSUN((Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glNormal3fVertex3fvSUN(ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glNormal3fVertex3fvSUN((Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glNormal3fVertex3fvSUN(ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glNormal3fVertex3fvSUN((Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4fNormal3fVertex3fSUN(Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z)
+ {
+ Delegates.glColor4fNormal3fVertex3fSUN((Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glColor4fNormal3fVertex3fvSUN(IntPtr c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c, (Single*)n, (Single*)v);
+ }
+ }
+
+ public static
+ void glColor4fNormal3fVertex3fvSUN(IntPtr c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4fNormal3fVertex3fvSUN(IntPtr c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4fNormal3fVertex3fvSUN(IntPtr c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glColor4fNormal3fVertex3fvSUN(IntPtr c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4fNormal3fVertex3fvSUN(IntPtr c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4fNormal3fVertex3fvSUN(IntPtr c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glColor4fNormal3fVertex3fvSUN(IntPtr c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4fNormal3fVertex3fvSUN(IntPtr c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4fNormal3fVertex3fvSUN(Single[] c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glColor4fNormal3fVertex3fvSUN(Single[] c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4fNormal3fVertex3fvSUN(Single[] c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4fNormal3fVertex3fvSUN(Single[] c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glColor4fNormal3fVertex3fvSUN(Single[] c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4fNormal3fVertex3fvSUN(Single[] c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4fNormal3fVertex3fvSUN(Single[] c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glColor4fNormal3fVertex3fvSUN(Single[] c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4fNormal3fVertex3fvSUN(Single[] c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4fNormal3fVertex3fvSUN(ref Single c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glColor4fNormal3fVertex3fvSUN(ref Single c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4fNormal3fVertex3fvSUN(ref Single c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4fNormal3fVertex3fvSUN(ref Single c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glColor4fNormal3fVertex3fvSUN(ref Single c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4fNormal3fVertex3fvSUN(ref Single c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4fNormal3fVertex3fvSUN(ref Single c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glColor4fNormal3fVertex3fvSUN(ref Single c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4fNormal3fVertex3fvSUN(ref Single c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fVertex3fSUN(Single s, Single t, Single x, Single y, Single z)
+ {
+ Delegates.glTexCoord2fVertex3fSUN((Single)s, (Single)t, (Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glTexCoord2fVertex3fvSUN(IntPtr tc, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTexCoord2fVertex3fvSUN((Single*)tc, (Single*)v);
+ }
+ }
+
+ public static
+ void glTexCoord2fVertex3fvSUN(IntPtr tc, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fVertex3fvSUN((Single*)tc, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fVertex3fvSUN(IntPtr tc, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fVertex3fvSUN((Single*)tc, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fVertex3fvSUN(Single[] tc, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ {
+ Delegates.glTexCoord2fVertex3fvSUN((Single*)tc_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fVertex3fvSUN(Single[] tc, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fVertex3fvSUN((Single*)tc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fVertex3fvSUN(Single[] tc, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fVertex3fvSUN((Single*)tc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fVertex3fvSUN(ref Single tc, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ {
+ Delegates.glTexCoord2fVertex3fvSUN((Single*)tc_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fVertex3fvSUN(ref Single tc, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fVertex3fvSUN((Single*)tc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fVertex3fvSUN(ref Single tc, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fVertex3fvSUN((Single*)tc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fVertex4fSUN(Single s, Single t, Single p, Single q, Single x, Single y, Single z, Single w)
+ {
+ Delegates.glTexCoord4fVertex4fSUN((Single)s, (Single)t, (Single)p, (Single)q, (Single)x, (Single)y, (Single)z, (Single)w);
+ }
+
+ public static
+ void glTexCoord4fVertex4fvSUN(IntPtr tc, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTexCoord4fVertex4fvSUN((Single*)tc, (Single*)v);
+ }
+ }
+
+ public static
+ void glTexCoord4fVertex4fvSUN(IntPtr tc, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord4fVertex4fvSUN((Single*)tc, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fVertex4fvSUN(IntPtr tc, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord4fVertex4fvSUN((Single*)tc, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fVertex4fvSUN(Single[] tc, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ {
+ Delegates.glTexCoord4fVertex4fvSUN((Single*)tc_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fVertex4fvSUN(Single[] tc, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord4fVertex4fvSUN((Single*)tc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fVertex4fvSUN(Single[] tc, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord4fVertex4fvSUN((Single*)tc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fVertex4fvSUN(ref Single tc, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ {
+ Delegates.glTexCoord4fVertex4fvSUN((Single*)tc_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fVertex4fvSUN(ref Single tc, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord4fVertex4fvSUN((Single*)tc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fVertex4fvSUN(ref Single tc, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord4fVertex4fvSUN((Single*)tc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4ubVertex3fSUN(Single s, Single t, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z)
+ {
+ Delegates.glTexCoord2fColor4ubVertex3fSUN((Single)s, (Single)t, (Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glTexCoord2fColor4ubVertex3fvSUN(IntPtr tc, IntPtr c, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc, (Byte*)c, (Single*)v);
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4ubVertex3fvSUN(IntPtr tc, IntPtr c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc, (Byte*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4ubVertex3fvSUN(IntPtr tc, IntPtr c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc, (Byte*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4ubVertex3fvSUN(IntPtr tc, Byte[] c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Byte* c_ptr = c)
+ {
+ Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc, (Byte*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4ubVertex3fvSUN(IntPtr tc, Byte[] c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4ubVertex3fvSUN(IntPtr tc, Byte[] c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Byte* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4ubVertex3fvSUN(IntPtr tc, ref Byte c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Byte* c_ptr = &c)
+ {
+ Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc, (Byte*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4ubVertex3fvSUN(IntPtr tc, ref Byte c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4ubVertex3fvSUN(IntPtr tc, ref Byte c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Byte* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4ubVertex3fvSUN(Single[] tc, IntPtr c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ {
+ Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4ubVertex3fvSUN(Single[] tc, IntPtr c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4ubVertex3fvSUN(Single[] tc, IntPtr c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4ubVertex3fvSUN(Single[] tc, Byte[] c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Byte* c_ptr = c)
+ {
+ Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4ubVertex3fvSUN(Single[] tc, Byte[] c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Byte* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4ubVertex3fvSUN(Single[] tc, Byte[] c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Byte* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4ubVertex3fvSUN(Single[] tc, ref Byte c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Byte* c_ptr = &c)
+ {
+ Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4ubVertex3fvSUN(Single[] tc, ref Byte c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Byte* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4ubVertex3fvSUN(Single[] tc, ref Byte c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Byte* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4ubVertex3fvSUN(ref Single tc, IntPtr c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ {
+ Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4ubVertex3fvSUN(ref Single tc, IntPtr c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4ubVertex3fvSUN(ref Single tc, IntPtr c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4ubVertex3fvSUN(ref Single tc, Byte[] c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Byte* c_ptr = c)
+ {
+ Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4ubVertex3fvSUN(ref Single tc, Byte[] c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Byte* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4ubVertex3fvSUN(ref Single tc, Byte[] c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Byte* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4ubVertex3fvSUN(ref Single tc, ref Byte c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Byte* c_ptr = &c)
+ {
+ Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4ubVertex3fvSUN(ref Single tc, ref Byte c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Byte* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4ubVertex3fvSUN(ref Single tc, ref Byte c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Byte* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor3fVertex3fSUN(Single s, Single t, Single r, Single g, Single b, Single x, Single y, Single z)
+ {
+ Delegates.glTexCoord2fColor3fVertex3fSUN((Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glTexCoord2fColor3fVertex3fvSUN(IntPtr tc, IntPtr c, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)v);
+ }
+ }
+
+ public static
+ void glTexCoord2fColor3fVertex3fvSUN(IntPtr tc, IntPtr c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor3fVertex3fvSUN(IntPtr tc, IntPtr c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor3fVertex3fvSUN(IntPtr tc, Single[] c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor3fVertex3fvSUN(IntPtr tc, Single[] c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor3fVertex3fvSUN(IntPtr tc, Single[] c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor3fVertex3fvSUN(IntPtr tc, ref Single c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor3fVertex3fvSUN(IntPtr tc, ref Single c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor3fVertex3fvSUN(IntPtr tc, ref Single c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor3fVertex3fvSUN(Single[] tc, IntPtr c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ {
+ Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor3fVertex3fvSUN(Single[] tc, IntPtr c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor3fVertex3fvSUN(Single[] tc, IntPtr c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor3fVertex3fvSUN(Single[] tc, Single[] c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor3fVertex3fvSUN(Single[] tc, Single[] c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor3fVertex3fvSUN(Single[] tc, Single[] c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor3fVertex3fvSUN(Single[] tc, ref Single c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor3fVertex3fvSUN(Single[] tc, ref Single c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor3fVertex3fvSUN(Single[] tc, ref Single c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor3fVertex3fvSUN(ref Single tc, IntPtr c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ {
+ Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor3fVertex3fvSUN(ref Single tc, IntPtr c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor3fVertex3fvSUN(ref Single tc, IntPtr c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor3fVertex3fvSUN(ref Single tc, Single[] c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor3fVertex3fvSUN(ref Single tc, Single[] c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor3fVertex3fvSUN(ref Single tc, Single[] c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor3fVertex3fvSUN(ref Single tc, ref Single c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor3fVertex3fvSUN(ref Single tc, ref Single c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor3fVertex3fvSUN(ref Single tc, ref Single c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fNormal3fVertex3fSUN(Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z)
+ {
+ Delegates.glTexCoord2fNormal3fVertex3fSUN((Single)s, (Single)t, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glTexCoord2fNormal3fVertex3fvSUN(IntPtr tc, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc, (Single*)n, (Single*)v);
+ }
+ }
+
+ public static
+ void glTexCoord2fNormal3fVertex3fvSUN(IntPtr tc, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fNormal3fVertex3fvSUN(IntPtr tc, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fNormal3fVertex3fvSUN(IntPtr tc, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fNormal3fVertex3fvSUN(IntPtr tc, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fNormal3fVertex3fvSUN(IntPtr tc, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fNormal3fVertex3fvSUN(IntPtr tc, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fNormal3fVertex3fvSUN(IntPtr tc, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fNormal3fVertex3fvSUN(IntPtr tc, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fNormal3fVertex3fvSUN(Single[] tc, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ {
+ Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fNormal3fVertex3fvSUN(Single[] tc, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fNormal3fVertex3fvSUN(Single[] tc, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fNormal3fVertex3fvSUN(Single[] tc, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fNormal3fVertex3fvSUN(Single[] tc, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fNormal3fVertex3fvSUN(Single[] tc, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fNormal3fVertex3fvSUN(Single[] tc, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fNormal3fVertex3fvSUN(Single[] tc, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fNormal3fVertex3fvSUN(Single[] tc, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fNormal3fVertex3fvSUN(ref Single tc, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ {
+ Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fNormal3fVertex3fvSUN(ref Single tc, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fNormal3fVertex3fvSUN(ref Single tc, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fNormal3fVertex3fvSUN(ref Single tc, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fNormal3fVertex3fvSUN(ref Single tc, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fNormal3fVertex3fvSUN(ref Single tc, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fNormal3fVertex3fvSUN(ref Single tc, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fNormal3fVertex3fvSUN(ref Single tc, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fNormal3fVertex3fvSUN(ref Single tc, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fSUN(Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fSUN((Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr tc, IntPtr c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v);
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr tc, IntPtr c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr tc, IntPtr c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr tc, IntPtr c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr tc, IntPtr c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr tc, IntPtr c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr tc, IntPtr c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr tc, IntPtr c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr tc, IntPtr c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr tc, Single[] c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr tc, Single[] c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr tc, Single[] c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr tc, Single[] c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr tc, Single[] c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr tc, Single[] c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr tc, Single[] c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr tc, Single[] c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr tc, Single[] c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr tc, ref Single c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr tc, ref Single c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr tc, ref Single c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr tc, ref Single c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr tc, ref Single c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr tc, ref Single c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr tc, ref Single c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr tc, ref Single c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr tc, ref Single c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(Single[] tc, IntPtr c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(Single[] tc, IntPtr c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(Single[] tc, IntPtr c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(Single[] tc, IntPtr c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(Single[] tc, IntPtr c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(Single[] tc, IntPtr c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(Single[] tc, IntPtr c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(Single[] tc, IntPtr c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(Single[] tc, IntPtr c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(Single[] tc, Single[] c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(Single[] tc, Single[] c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(Single[] tc, Single[] c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(Single[] tc, Single[] c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(Single[] tc, Single[] c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(Single[] tc, Single[] c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(Single[] tc, Single[] c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(Single[] tc, Single[] c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(Single[] tc, Single[] c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(Single[] tc, ref Single c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(Single[] tc, ref Single c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(Single[] tc, ref Single c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(Single[] tc, ref Single c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(Single[] tc, ref Single c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(Single[] tc, ref Single c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(Single[] tc, ref Single c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(Single[] tc, ref Single c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(Single[] tc, ref Single c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(ref Single tc, IntPtr c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(ref Single tc, IntPtr c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(ref Single tc, IntPtr c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(ref Single tc, IntPtr c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(ref Single tc, IntPtr c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(ref Single tc, IntPtr c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(ref Single tc, IntPtr c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(ref Single tc, IntPtr c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(ref Single tc, IntPtr c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(ref Single tc, Single[] c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(ref Single tc, Single[] c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(ref Single tc, Single[] c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(ref Single tc, Single[] c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(ref Single tc, Single[] c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(ref Single tc, Single[] c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(ref Single tc, Single[] c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(ref Single tc, Single[] c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(ref Single tc, Single[] c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(ref Single tc, ref Single c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(ref Single tc, ref Single c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(ref Single tc, ref Single c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(ref Single tc, ref Single c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(ref Single tc, ref Single c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(ref Single tc, ref Single c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(ref Single tc, ref Single c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(ref Single tc, ref Single c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2fColor4fNormal3fVertex3fvSUN(ref Single tc, ref Single c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fSUN(Single s, Single t, Single p, Single q, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z, Single w)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fSUN((Single)s, (Single)t, (Single)p, (Single)q, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z, (Single)w);
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(IntPtr tc, IntPtr c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v);
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(IntPtr tc, IntPtr c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(IntPtr tc, IntPtr c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(IntPtr tc, IntPtr c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(IntPtr tc, IntPtr c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(IntPtr tc, IntPtr c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(IntPtr tc, IntPtr c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(IntPtr tc, IntPtr c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(IntPtr tc, IntPtr c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(IntPtr tc, Single[] c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(IntPtr tc, Single[] c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(IntPtr tc, Single[] c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(IntPtr tc, Single[] c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(IntPtr tc, Single[] c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(IntPtr tc, Single[] c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(IntPtr tc, Single[] c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(IntPtr tc, Single[] c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(IntPtr tc, Single[] c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(IntPtr tc, ref Single c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(IntPtr tc, ref Single c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(IntPtr tc, ref Single c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(IntPtr tc, ref Single c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(IntPtr tc, ref Single c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(IntPtr tc, ref Single c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(IntPtr tc, ref Single c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(IntPtr tc, ref Single c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(IntPtr tc, ref Single c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(Single[] tc, IntPtr c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(Single[] tc, IntPtr c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(Single[] tc, IntPtr c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(Single[] tc, IntPtr c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(Single[] tc, IntPtr c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(Single[] tc, IntPtr c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(Single[] tc, IntPtr c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(Single[] tc, IntPtr c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(Single[] tc, IntPtr c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(Single[] tc, Single[] c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(Single[] tc, Single[] c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(Single[] tc, Single[] c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(Single[] tc, Single[] c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(Single[] tc, Single[] c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(Single[] tc, Single[] c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(Single[] tc, Single[] c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(Single[] tc, Single[] c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(Single[] tc, Single[] c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(Single[] tc, ref Single c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(Single[] tc, ref Single c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(Single[] tc, ref Single c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(Single[] tc, ref Single c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(Single[] tc, ref Single c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(Single[] tc, ref Single c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(Single[] tc, ref Single c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(Single[] tc, ref Single c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(Single[] tc, ref Single c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(ref Single tc, IntPtr c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(ref Single tc, IntPtr c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(ref Single tc, IntPtr c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(ref Single tc, IntPtr c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(ref Single tc, IntPtr c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(ref Single tc, IntPtr c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(ref Single tc, IntPtr c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(ref Single tc, IntPtr c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(ref Single tc, IntPtr c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(ref Single tc, Single[] c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(ref Single tc, Single[] c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(ref Single tc, Single[] c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(ref Single tc, Single[] c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(ref Single tc, Single[] c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(ref Single tc, Single[] c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(ref Single tc, Single[] c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(ref Single tc, Single[] c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(ref Single tc, Single[] c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(ref Single tc, ref Single c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(ref Single tc, ref Single c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(ref Single tc, ref Single c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(ref Single tc, ref Single c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(ref Single tc, ref Single c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(ref Single tc, ref Single c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(ref Single tc, ref Single c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(ref Single tc, ref Single c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4fColor4fNormal3fVertex4fvSUN(ref Single tc, ref Single c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiVertex3fSUN(UInt32 rc, Single x, Single y, Single z)
+ {
+ Delegates.glReplacementCodeuiVertex3fSUN((UInt32)rc, (Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glReplacementCodeuiVertex3fSUN(Int32 rc, Single x, Single y, Single z)
+ {
+ Delegates.glReplacementCodeuiVertex3fSUN((UInt32)rc, (Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glReplacementCodeuiVertex3fvSUN(IntPtr rc, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v);
+ }
+ }
+
+ public static
+ void glReplacementCodeuiVertex3fvSUN(IntPtr rc, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiVertex3fvSUN(IntPtr rc, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiVertex3fvSUN(UInt32[] rc, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ {
+ Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiVertex3fvSUN(Int32[] rc, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ {
+ Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiVertex3fvSUN(UInt32[] rc, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiVertex3fvSUN(Int32[] rc, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiVertex3fvSUN(UInt32[] rc, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiVertex3fvSUN(Int32[] rc, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiVertex3fvSUN(ref UInt32 rc, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ {
+ Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiVertex3fvSUN(ref Int32 rc, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ {
+ Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiVertex3fvSUN(ref UInt32 rc, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiVertex3fvSUN(ref Int32 rc, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiVertex3fvSUN(ref UInt32 rc, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiVertex3fvSUN(ref Int32 rc, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4ubVertex3fSUN(UInt32 rc, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fSUN((UInt32)rc, (Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glReplacementCodeuiColor4ubVertex3fSUN(Int32 rc, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fSUN((UInt32)rc, (Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(IntPtr rc, IntPtr c, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c, (Single*)v);
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(IntPtr rc, IntPtr c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(IntPtr rc, IntPtr c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(IntPtr rc, Byte[] c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Byte* c_ptr = c)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(IntPtr rc, Byte[] c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(IntPtr rc, Byte[] c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Byte* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(IntPtr rc, ref Byte c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Byte* c_ptr = &c)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(IntPtr rc, ref Byte c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(IntPtr rc, ref Byte c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Byte* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(UInt32[] rc, IntPtr c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(Int32[] rc, IntPtr c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(UInt32[] rc, IntPtr c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(Int32[] rc, IntPtr c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(UInt32[] rc, IntPtr c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(Int32[] rc, IntPtr c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(UInt32[] rc, Byte[] c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Byte* c_ptr = c)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(Int32[] rc, Byte[] c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Byte* c_ptr = c)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(UInt32[] rc, Byte[] c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Byte* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(Int32[] rc, Byte[] c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Byte* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(UInt32[] rc, Byte[] c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Byte* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(Int32[] rc, Byte[] c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Byte* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(UInt32[] rc, ref Byte c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Byte* c_ptr = &c)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(Int32[] rc, ref Byte c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Byte* c_ptr = &c)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(UInt32[] rc, ref Byte c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Byte* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(Int32[] rc, ref Byte c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Byte* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(UInt32[] rc, ref Byte c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Byte* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(Int32[] rc, ref Byte c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Byte* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(ref UInt32 rc, IntPtr c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(ref Int32 rc, IntPtr c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(ref UInt32 rc, IntPtr c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(ref Int32 rc, IntPtr c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(ref UInt32 rc, IntPtr c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(ref Int32 rc, IntPtr c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(ref UInt32 rc, Byte[] c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Byte* c_ptr = c)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(ref Int32 rc, Byte[] c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Byte* c_ptr = c)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(ref UInt32 rc, Byte[] c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Byte* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(ref Int32 rc, Byte[] c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Byte* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(ref UInt32 rc, Byte[] c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Byte* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(ref Int32 rc, Byte[] c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Byte* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(ref UInt32 rc, ref Byte c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Byte* c_ptr = &c)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(ref Int32 rc, ref Byte c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Byte* c_ptr = &c)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(ref UInt32 rc, ref Byte c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Byte* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(ref Int32 rc, ref Byte c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Byte* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(ref UInt32 rc, ref Byte c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Byte* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4ubVertex3fvSUN(ref Int32 rc, ref Byte c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Byte* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor3fVertex3fSUN(UInt32 rc, Single r, Single g, Single b, Single x, Single y, Single z)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fSUN((UInt32)rc, (Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glReplacementCodeuiColor3fVertex3fSUN(Int32 rc, Single r, Single g, Single b, Single x, Single y, Single z)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fSUN((UInt32)rc, (Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(IntPtr rc, IntPtr c, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)v);
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(IntPtr rc, IntPtr c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(IntPtr rc, IntPtr c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(IntPtr rc, Single[] c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(IntPtr rc, Single[] c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(IntPtr rc, Single[] c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(IntPtr rc, ref Single c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(IntPtr rc, ref Single c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(IntPtr rc, ref Single c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(UInt32[] rc, IntPtr c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(Int32[] rc, IntPtr c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(UInt32[] rc, IntPtr c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(Int32[] rc, IntPtr c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(UInt32[] rc, IntPtr c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(Int32[] rc, IntPtr c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(UInt32[] rc, Single[] c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(Int32[] rc, Single[] c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(UInt32[] rc, Single[] c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(Int32[] rc, Single[] c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(UInt32[] rc, Single[] c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(Int32[] rc, Single[] c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(UInt32[] rc, ref Single c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(Int32[] rc, ref Single c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(UInt32[] rc, ref Single c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(Int32[] rc, ref Single c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(UInt32[] rc, ref Single c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(Int32[] rc, ref Single c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(ref UInt32 rc, IntPtr c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(ref Int32 rc, IntPtr c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(ref UInt32 rc, IntPtr c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(ref Int32 rc, IntPtr c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(ref UInt32 rc, IntPtr c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(ref Int32 rc, IntPtr c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(ref UInt32 rc, Single[] c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(ref Int32 rc, Single[] c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(ref UInt32 rc, Single[] c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(ref Int32 rc, Single[] c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(ref UInt32 rc, Single[] c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(ref Int32 rc, Single[] c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(ref UInt32 rc, ref Single c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(ref Int32 rc, ref Single c, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(ref UInt32 rc, ref Single c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(ref Int32 rc, ref Single c, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(ref UInt32 rc, ref Single c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor3fVertex3fvSUN(ref Int32 rc, ref Single c, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiNormal3fVertex3fSUN(UInt32 rc, Single nx, Single ny, Single nz, Single x, Single y, Single z)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fSUN((UInt32)rc, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glReplacementCodeuiNormal3fVertex3fSUN(Int32 rc, Single nx, Single ny, Single nz, Single x, Single y, Single z)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fSUN((UInt32)rc, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(IntPtr rc, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n, (Single*)v);
+ }
+ }
+
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(IntPtr rc, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(IntPtr rc, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(IntPtr rc, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(IntPtr rc, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(IntPtr rc, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(IntPtr rc, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(IntPtr rc, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(IntPtr rc, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(UInt32[] rc, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(Int32[] rc, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(UInt32[] rc, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(Int32[] rc, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(UInt32[] rc, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(Int32[] rc, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(UInt32[] rc, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(Int32[] rc, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(UInt32[] rc, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(Int32[] rc, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(UInt32[] rc, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(Int32[] rc, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(UInt32[] rc, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(Int32[] rc, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(UInt32[] rc, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(Int32[] rc, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(UInt32[] rc, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(Int32[] rc, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(ref Int32 rc, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(ref Int32 rc, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(ref Int32 rc, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(ref UInt32 rc, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(ref Int32 rc, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(ref UInt32 rc, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(ref Int32 rc, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(ref UInt32 rc, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(ref Int32 rc, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(ref UInt32 rc, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(ref Int32 rc, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(ref UInt32 rc, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(ref Int32 rc, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(ref UInt32 rc, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiNormal3fVertex3fvSUN(ref Int32 rc, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fSUN(UInt32 rc, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fSUN(Int32 rc, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n, (Single*)v);
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fSUN(UInt32 rc, Single s, Single t, Single x, Single y, Single z)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fSUN(Int32 rc, Single s, Single t, Single x, Single y, Single z)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(IntPtr rc, IntPtr tc, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)v);
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(IntPtr rc, IntPtr tc, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(IntPtr rc, IntPtr tc, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(IntPtr rc, Single[] tc, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(IntPtr rc, Single[] tc, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(IntPtr rc, Single[] tc, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(IntPtr rc, ref Single tc, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(IntPtr rc, ref Single tc, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(IntPtr rc, ref Single tc, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(UInt32[] rc, IntPtr tc, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(Int32[] rc, IntPtr tc, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(UInt32[] rc, IntPtr tc, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(Int32[] rc, IntPtr tc, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(UInt32[] rc, IntPtr tc, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(Int32[] rc, IntPtr tc, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(UInt32[] rc, Single[] tc, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(Int32[] rc, Single[] tc, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(UInt32[] rc, Single[] tc, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(Int32[] rc, Single[] tc, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(UInt32[] rc, Single[] tc, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(Int32[] rc, Single[] tc, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(UInt32[] rc, ref Single tc, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(Int32[] rc, ref Single tc, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(UInt32[] rc, ref Single tc, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(Int32[] rc, ref Single tc, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(UInt32[] rc, ref Single tc, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(Int32[] rc, ref Single tc, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(ref UInt32 rc, IntPtr tc, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(ref Int32 rc, IntPtr tc, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(ref UInt32 rc, IntPtr tc, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(ref Int32 rc, IntPtr tc, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(ref UInt32 rc, IntPtr tc, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(ref Int32 rc, IntPtr tc, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(ref UInt32 rc, Single[] tc, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(ref Int32 rc, Single[] tc, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(ref UInt32 rc, Single[] tc, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(ref Int32 rc, Single[] tc, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(ref UInt32 rc, Single[] tc, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(ref Int32 rc, Single[] tc, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(ref UInt32 rc, ref Single tc, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(ref Int32 rc, ref Single tc, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(ref UInt32 rc, ref Single tc, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(ref Int32 rc, ref Single tc, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(ref UInt32 rc, ref Single tc, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fVertex3fvSUN(ref Int32 rc, ref Single tc, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN(UInt32 rc, Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN(Int32 rc, Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n, (Single*)v);
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN(UInt32 rc, Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN(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)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, IntPtr c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n, (Single*)v);
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, IntPtr c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, IntPtr c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, IntPtr c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, IntPtr c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, IntPtr c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, IntPtr c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, IntPtr c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, IntPtr c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, Single[] c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, Single[] c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, Single[] c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, Single[] c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, Single[] c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, Single[] c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, Single[] c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, Single[] c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, Single[] c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, ref Single c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, ref Single c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, ref Single c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, ref Single c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, ref Single c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, ref Single c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, ref Single c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, ref Single c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, IntPtr tc, ref Single c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, IntPtr c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, IntPtr c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, IntPtr c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, IntPtr c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, IntPtr c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, IntPtr c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, IntPtr c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, IntPtr c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, IntPtr c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, Single[] c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, Single[] c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, Single[] c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, Single[] c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, Single[] c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, Single[] c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, Single[] c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, Single[] c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, Single[] c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, ref Single c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, ref Single c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, ref Single c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, ref Single c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, ref Single c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, ref Single c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, ref Single c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, ref Single c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, Single[] tc, ref Single c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, IntPtr c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, IntPtr c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, IntPtr c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, IntPtr c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, IntPtr c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, IntPtr c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, IntPtr c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, IntPtr c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, IntPtr c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, Single[] c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, Single[] c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, Single[] c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, Single[] c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, Single[] c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, Single[] c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, Single[] c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, Single[] c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, Single[] c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, ref Single c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, ref Single c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, ref Single c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, ref Single c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, ref Single c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, ref Single c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, ref Single c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, ref Single c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(IntPtr rc, ref Single tc, ref Single c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, IntPtr c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, IntPtr c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, IntPtr c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, IntPtr c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, IntPtr c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, IntPtr c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, IntPtr c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, IntPtr c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, IntPtr c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, IntPtr c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, IntPtr c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, IntPtr c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, IntPtr c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, IntPtr c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, IntPtr c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, IntPtr c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, IntPtr c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, IntPtr c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, Single[] c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, Single[] c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, Single[] c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, Single[] c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, Single[] c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, Single[] c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, Single[] c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, Single[] c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, Single[] c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, Single[] c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, Single[] c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, Single[] c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, Single[] c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, Single[] c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, Single[] c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, Single[] c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, Single[] c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, Single[] c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, ref Single c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, ref Single c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, ref Single c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, ref Single c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, ref Single c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, ref Single c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, ref Single c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, ref Single c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, ref Single c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, ref Single c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, ref Single c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, ref Single c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, ref Single c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, ref Single c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, ref Single c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, ref Single c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, IntPtr tc, ref Single c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, IntPtr tc, ref Single c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, IntPtr c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, IntPtr c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, IntPtr c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, IntPtr c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, IntPtr c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, IntPtr c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, IntPtr c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, IntPtr c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, IntPtr c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, IntPtr c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, IntPtr c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, IntPtr c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, IntPtr c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, IntPtr c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, IntPtr c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, IntPtr c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, IntPtr c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, IntPtr c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, Single[] c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, Single[] c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, Single[] c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, Single[] c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, Single[] c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, Single[] c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, Single[] c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, Single[] c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, Single[] c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, Single[] c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, Single[] c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, Single[] c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, Single[] c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, Single[] c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, Single[] c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, Single[] c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, Single[] c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, Single[] c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, ref Single c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, ref Single c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, ref Single c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, ref Single c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, ref Single c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, ref Single c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, ref Single c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, ref Single c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, ref Single c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, ref Single c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, ref Single c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, ref Single c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, ref Single c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, ref Single c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, ref Single c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, ref Single c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, Single[] tc, ref Single c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, Single[] tc, ref Single c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, IntPtr c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, IntPtr c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, IntPtr c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, IntPtr c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, IntPtr c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, IntPtr c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, IntPtr c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, IntPtr c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, IntPtr c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, IntPtr c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, IntPtr c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, IntPtr c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, IntPtr c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, IntPtr c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, IntPtr c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, IntPtr c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, IntPtr c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, IntPtr c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, Single[] c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, Single[] c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, Single[] c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, Single[] c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, Single[] c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, Single[] c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, Single[] c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, Single[] c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, Single[] c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, Single[] c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, Single[] c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, Single[] c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, Single[] c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, Single[] c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, Single[] c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, Single[] c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, Single[] c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, Single[] c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, ref Single c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, ref Single c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, ref Single c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, ref Single c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, ref Single c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, ref Single c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, ref Single c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, ref Single c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, ref Single c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, ref Single c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, ref Single c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, ref Single c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, ref Single c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, ref Single c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, ref Single c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, ref Single c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32[] rc, ref Single tc, ref Single c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(Int32[] rc, ref Single tc, ref Single c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, IntPtr c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, IntPtr c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, IntPtr c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, IntPtr c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, IntPtr c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, IntPtr c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, IntPtr c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, IntPtr c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, IntPtr c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, IntPtr c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, IntPtr c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, IntPtr c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, IntPtr c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, IntPtr c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, IntPtr c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, IntPtr c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, IntPtr c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, IntPtr c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, Single[] c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, Single[] c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, Single[] c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, Single[] c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, Single[] c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, Single[] c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, Single[] c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, Single[] c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, Single[] c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, Single[] c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, Single[] c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, Single[] c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, Single[] c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, Single[] c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, Single[] c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, Single[] c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, Single[] c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, Single[] c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, ref Single c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, ref Single c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, ref Single c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, ref Single c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, ref Single c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, ref Single c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, ref Single c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, ref Single c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, ref Single c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, ref Single c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, ref Single c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, ref Single c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, ref Single c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, ref Single c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, ref Single c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, ref Single c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, IntPtr tc, ref Single c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, IntPtr tc, ref Single c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, IntPtr c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, IntPtr c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, IntPtr c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, IntPtr c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, IntPtr c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, IntPtr c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, IntPtr c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, IntPtr c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, IntPtr c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, IntPtr c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, IntPtr c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, IntPtr c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, IntPtr c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, IntPtr c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, IntPtr c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, IntPtr c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, IntPtr c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, IntPtr c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, Single[] c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, Single[] c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, Single[] c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, Single[] c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, Single[] c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, Single[] c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, Single[] c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, Single[] c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, Single[] c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, Single[] c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, Single[] c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, Single[] c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, Single[] c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, Single[] c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, Single[] c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, Single[] c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, Single[] c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, Single[] c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, ref Single c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, ref Single c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, ref Single c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, ref Single c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, ref Single c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, ref Single c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, ref Single c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, ref Single c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, ref Single c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, ref Single c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, ref Single c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, ref Single c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, ref Single c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, ref Single c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, ref Single c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, ref Single c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, Single[] tc, ref Single c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, Single[] tc, ref Single c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, IntPtr c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, IntPtr c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, IntPtr c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, IntPtr c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, IntPtr c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, IntPtr c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, IntPtr c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, IntPtr c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, IntPtr c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, IntPtr c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, IntPtr c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, IntPtr c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, IntPtr c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, IntPtr c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, IntPtr c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, IntPtr c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, IntPtr c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, IntPtr c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, Single[] c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, Single[] c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, Single[] c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, Single[] c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, Single[] c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, Single[] c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, Single[] c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, Single[] c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, Single[] c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, Single[] c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, Single[] c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, Single[] c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, Single[] c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, Single[] c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, Single[] c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, Single[] c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, Single[] c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, Single[] c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, ref Single c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, ref Single c, IntPtr n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, ref Single c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, ref Single c, IntPtr n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, ref Single c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, ref Single c, IntPtr n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, ref Single c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, ref Single c, Single[] n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, ref Single c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, ref Single c, Single[] n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, ref Single c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, ref Single c, Single[] n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, ref Single c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, ref Single c, ref Single n, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, ref Single c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, ref Single c, ref Single n, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref UInt32 rc, ref Single tc, ref Single c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (UInt32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref Int32 rc, ref Single tc, ref Single c, ref Single n, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Int32* rc_ptr = &rc)
+ fixed (Single* tc_ptr = &tc)
+ fixed (Single* c_ptr = &c)
+ fixed (Single* n_ptr = &n)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDrawMeshArraysSUN(int mode, Int32 first, Int32 count, Int32 width)
+ {
+ Delegates.glDrawMeshArraysSUN((int)mode, (Int32)first, (Int32)count, (Int32)width);
+ }
+
+ public static
+ void glBlendFuncSeparateINGR(int sfactorRGB, int dfactorRGB, int sfactorAlpha, int dfactorAlpha)
+ {
+ Delegates.glBlendFuncSeparateINGR((int)sfactorRGB, (int)dfactorRGB, (int)sfactorAlpha, (int)dfactorAlpha);
+ }
+
+ public static
+ void glFlushVertexArrayRangeNV()
+ {
+ Delegates.glFlushVertexArrayRangeNV();
+ }
+
+ public static
+ void glVertexArrayRangeNV(Int32 length, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glVertexArrayRangeNV(Int32 length, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glCombinerParameterfvNV(int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glCombinerParameterfvNV((int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glCombinerParameterfvNV(int pname, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glCombinerParameterfvNV((int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glCombinerParameterfvNV(int pname, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glCombinerParameterfvNV((int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glCombinerParameterfNV(int pname, Single param)
+ {
+ Delegates.glCombinerParameterfNV((int)pname, (Single)param);
+ }
+
+ public static
+ void glCombinerParameterivNV(int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glCombinerParameterivNV((int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glCombinerParameterivNV(int pname, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glCombinerParameterivNV((int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glCombinerParameterivNV(int pname, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glCombinerParameterivNV((int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glCombinerParameteriNV(int pname, Int32 param)
+ {
+ Delegates.glCombinerParameteriNV((int)pname, (Int32)param);
+ }
+
+ public static
+ void glCombinerInputNV(int stage, int portion, int variable, int input, int mapping, int componentUsage)
+ {
+ Delegates.glCombinerInputNV((int)stage, (int)portion, (int)variable, (int)input, (int)mapping, (int)componentUsage);
+ }
+
+ public static
+ void glCombinerOutputNV(int stage, int portion, int abOutput, int cdOutput, int sumOutput, int scale, int bias, Int32 abDotProduct, Int32 cdDotProduct, Int32 muxSum)
+ {
+ Delegates.glCombinerOutputNV((int)stage, (int)portion, (int)abOutput, (int)cdOutput, (int)sumOutput, (int)scale, (int)bias, (Int32)abDotProduct, (Int32)cdDotProduct, (Int32)muxSum);
+ }
+
+ public static
+ void glFinalCombinerInputNV(int variable, int input, int mapping, int componentUsage)
+ {
+ Delegates.glFinalCombinerInputNV((int)variable, (int)input, (int)mapping, (int)componentUsage);
+ }
+
+ public static
+ void glGetCombinerInputParameterfvNV(int stage, int portion, int variable, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetCombinerInputParameterfvNV((int)stage, (int)portion, (int)variable, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetCombinerInputParameterfvNV(int stage, int portion, int variable, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetCombinerInputParameterfvNV((int)stage, (int)portion, (int)variable, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetCombinerInputParameterfvNV(int stage, int portion, int variable, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetCombinerInputParameterfvNV((int)stage, (int)portion, (int)variable, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetCombinerInputParameterivNV(int stage, int portion, int variable, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetCombinerInputParameterivNV((int)stage, (int)portion, (int)variable, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetCombinerInputParameterivNV(int stage, int portion, int variable, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetCombinerInputParameterivNV((int)stage, (int)portion, (int)variable, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetCombinerInputParameterivNV(int stage, int portion, int variable, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetCombinerInputParameterivNV((int)stage, (int)portion, (int)variable, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetCombinerOutputParameterfvNV(int stage, int portion, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetCombinerOutputParameterfvNV((int)stage, (int)portion, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetCombinerOutputParameterfvNV(int stage, int portion, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetCombinerOutputParameterfvNV((int)stage, (int)portion, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetCombinerOutputParameterfvNV(int stage, int portion, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetCombinerOutputParameterfvNV((int)stage, (int)portion, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetCombinerOutputParameterivNV(int stage, int portion, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetCombinerOutputParameterivNV((int)stage, (int)portion, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetCombinerOutputParameterivNV(int stage, int portion, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetCombinerOutputParameterivNV((int)stage, (int)portion, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetCombinerOutputParameterivNV(int stage, int portion, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetCombinerOutputParameterivNV((int)stage, (int)portion, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetFinalCombinerInputParameterfvNV(int variable, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetFinalCombinerInputParameterfvNV((int)variable, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetFinalCombinerInputParameterfvNV(int variable, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetFinalCombinerInputParameterfvNV((int)variable, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetFinalCombinerInputParameterfvNV(int variable, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetFinalCombinerInputParameterfvNV((int)variable, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetFinalCombinerInputParameterivNV(int variable, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetFinalCombinerInputParameterivNV((int)variable, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetFinalCombinerInputParameterivNV(int variable, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetFinalCombinerInputParameterivNV((int)variable, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetFinalCombinerInputParameterivNV(int variable, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetFinalCombinerInputParameterivNV((int)variable, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glDeleteFencesNV(Int32 n, IntPtr fences)
+ {
+ unsafe
+ {
+ Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteFencesNV(Int32 n, UInt32[] fences)
+ {
+ unsafe
+ {
+ fixed (UInt32* fences_ptr = fences)
+ {
+ Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeleteFencesNV(Int32 n, Int32[] fences)
+ {
+ unsafe
+ {
+ fixed (Int32* fences_ptr = fences)
+ {
+ Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteFencesNV(Int32 n, ref UInt32 fences)
+ {
+ unsafe
+ {
+ fixed (UInt32* fences_ptr = &fences)
+ {
+ Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeleteFencesNV(Int32 n, ref Int32 fences)
+ {
+ unsafe
+ {
+ fixed (Int32* fences_ptr = &fences)
+ {
+ Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGenFencesNV(Int32 n, [Out] IntPtr fences)
+ {
+ unsafe
+ {
+ Delegates.glGenFencesNV((Int32)n, (UInt32*)fences);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGenFencesNV(Int32 n, [Out] UInt32[] fences)
+ {
+ unsafe
+ {
+ fixed (UInt32* fences_ptr = fences)
+ {
+ Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGenFencesNV(Int32 n, [Out] Int32[] fences)
+ {
+ unsafe
+ {
+ fixed (Int32* fences_ptr = fences)
+ {
+ Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGenFencesNV(Int32 n, [Out] out UInt32 fences)
+ {
+ unsafe
+ {
+ fixed (UInt32* fences_ptr = &fences)
+ {
+ Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr);
+ fences = *fences_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGenFencesNV(Int32 n, [Out] out Int32 fences)
+ {
+ unsafe
+ {
+ fixed (Int32* fences_ptr = &fences)
+ {
+ Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr);
+ fences = *fences_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glIsFenceNV(UInt32 fence)
+ {
+ return Delegates.glIsFenceNV((UInt32)fence);
+ }
+
+ public static
+ Int32 glIsFenceNV(Int32 fence)
+ {
+ return Delegates.glIsFenceNV((UInt32)fence);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glTestFenceNV(UInt32 fence)
+ {
+ return Delegates.glTestFenceNV((UInt32)fence);
+ }
+
+ public static
+ Int32 glTestFenceNV(Int32 fence)
+ {
+ return Delegates.glTestFenceNV((UInt32)fence);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetFenceivNV(UInt32 fence, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetFenceivNV((UInt32)fence, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetFenceivNV(Int32 fence, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetFenceivNV((UInt32)fence, (int)pname, (Int32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetFenceivNV(UInt32 fence, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetFenceivNV((UInt32)fence, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetFenceivNV(Int32 fence, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetFenceivNV((UInt32)fence, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetFenceivNV(UInt32 fence, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetFenceivNV((UInt32)fence, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetFenceivNV(Int32 fence, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetFenceivNV((UInt32)fence, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glFinishFenceNV(UInt32 fence)
+ {
+ Delegates.glFinishFenceNV((UInt32)fence);
+ }
+
+ public static
+ void glFinishFenceNV(Int32 fence)
+ {
+ Delegates.glFinishFenceNV((UInt32)fence);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSetFenceNV(UInt32 fence, int condition)
+ {
+ Delegates.glSetFenceNV((UInt32)fence, (int)condition);
+ }
+
+ public static
+ void glSetFenceNV(Int32 fence, int condition)
+ {
+ Delegates.glSetFenceNV((UInt32)fence, (int)condition);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glMapControlPointsNV(int target, UInt32 index, int type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, Int32 packed, IntPtr points)
+ {
+ unsafe
+ {
+ Delegates.glMapControlPointsNV((int)target, (UInt32)index, (int)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (Int32)packed, (IntPtr)points);
+ }
+ }
+
+ public static
+ void glMapControlPointsNV(int target, Int32 index, int type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, Int32 packed, IntPtr points)
+ {
+ unsafe
+ {
+ Delegates.glMapControlPointsNV((int)target, (UInt32)index, (int)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (Int32)packed, (IntPtr)points);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glMapControlPointsNV(int target, UInt32 index, int type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, Int32 packed, [In, Out] object points)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle points_ptr = System.Runtime.InteropServices.GCHandle.Alloc(points, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMapControlPointsNV((int)target, (UInt32)index, (int)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (Int32)packed, (IntPtr)points_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ points_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glMapControlPointsNV(int target, Int32 index, int type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, Int32 packed, [In, Out] object points)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle points_ptr = System.Runtime.InteropServices.GCHandle.Alloc(points, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMapControlPointsNV((int)target, (UInt32)index, (int)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (Int32)packed, (IntPtr)points_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ points_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glMapParameterivNV(int target, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glMapParameterivNV((int)target, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glMapParameterivNV(int target, int pname, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glMapParameterivNV((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMapParameterivNV(int target, int pname, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glMapParameterivNV((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMapParameterfvNV(int target, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glMapParameterfvNV((int)target, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glMapParameterfvNV(int target, int pname, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glMapParameterfvNV((int)target, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMapParameterfvNV(int target, int pname, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glMapParameterfvNV((int)target, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetMapControlPointsNV(int target, UInt32 index, int type, Int32 ustride, Int32 vstride, Int32 packed, [Out] IntPtr points)
+ {
+ unsafe
+ {
+ Delegates.glGetMapControlPointsNV((int)target, (UInt32)index, (int)type, (Int32)ustride, (Int32)vstride, (Int32)packed, (IntPtr)points);
+ }
+ }
+
+ public static
+ void glGetMapControlPointsNV(int target, Int32 index, int type, Int32 ustride, Int32 vstride, Int32 packed, [Out] IntPtr points)
+ {
+ unsafe
+ {
+ Delegates.glGetMapControlPointsNV((int)target, (UInt32)index, (int)type, (Int32)ustride, (Int32)vstride, (Int32)packed, (IntPtr)points);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetMapControlPointsNV(int target, UInt32 index, int type, Int32 ustride, Int32 vstride, Int32 packed, [In, Out] object points)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle points_ptr = System.Runtime.InteropServices.GCHandle.Alloc(points, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetMapControlPointsNV((int)target, (UInt32)index, (int)type, (Int32)ustride, (Int32)vstride, (Int32)packed, (IntPtr)points_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ points_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetMapControlPointsNV(int target, Int32 index, int type, Int32 ustride, Int32 vstride, Int32 packed, [In, Out] object points)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle points_ptr = System.Runtime.InteropServices.GCHandle.Alloc(points, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetMapControlPointsNV((int)target, (UInt32)index, (int)type, (Int32)ustride, (Int32)vstride, (Int32)packed, (IntPtr)points_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ points_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetMapParameterivNV(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetMapParameterivNV((int)target, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetMapParameterivNV(int target, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetMapParameterivNV((int)target, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetMapParameterivNV(int target, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetMapParameterivNV((int)target, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetMapParameterfvNV(int target, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetMapParameterfvNV((int)target, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetMapParameterfvNV(int target, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetMapParameterfvNV((int)target, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetMapParameterfvNV(int target, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetMapParameterfvNV((int)target, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetMapAttribParameterivNV(int target, UInt32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetMapAttribParameterivNV((int)target, (UInt32)index, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetMapAttribParameterivNV(int target, Int32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetMapAttribParameterivNV((int)target, (UInt32)index, (int)pname, (Int32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetMapAttribParameterivNV(int target, UInt32 index, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetMapAttribParameterivNV((int)target, (UInt32)index, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetMapAttribParameterivNV(int target, Int32 index, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetMapAttribParameterivNV((int)target, (UInt32)index, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetMapAttribParameterivNV(int target, UInt32 index, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetMapAttribParameterivNV((int)target, (UInt32)index, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetMapAttribParameterivNV(int target, Int32 index, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetMapAttribParameterivNV((int)target, (UInt32)index, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetMapAttribParameterfvNV(int target, UInt32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetMapAttribParameterfvNV((int)target, (UInt32)index, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetMapAttribParameterfvNV(int target, Int32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetMapAttribParameterfvNV((int)target, (UInt32)index, (int)pname, (Single*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetMapAttribParameterfvNV(int target, UInt32 index, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetMapAttribParameterfvNV((int)target, (UInt32)index, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetMapAttribParameterfvNV(int target, Int32 index, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetMapAttribParameterfvNV((int)target, (UInt32)index, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetMapAttribParameterfvNV(int target, UInt32 index, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetMapAttribParameterfvNV((int)target, (UInt32)index, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetMapAttribParameterfvNV(int target, Int32 index, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetMapAttribParameterfvNV((int)target, (UInt32)index, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glEvalMapsNV(int target, int mode)
+ {
+ Delegates.glEvalMapsNV((int)target, (int)mode);
+ }
+
+ public static
+ void glCombinerStageParameterfvNV(int stage, int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glCombinerStageParameterfvNV((int)stage, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glCombinerStageParameterfvNV(int stage, int pname, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glCombinerStageParameterfvNV((int)stage, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glCombinerStageParameterfvNV(int stage, int pname, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glCombinerStageParameterfvNV((int)stage, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetCombinerStageParameterfvNV(int stage, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetCombinerStageParameterfvNV((int)stage, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetCombinerStageParameterfvNV(int stage, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetCombinerStageParameterfvNV((int)stage, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetCombinerStageParameterfvNV(int stage, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetCombinerStageParameterfvNV((int)stage, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ Int32 glAreProgramsResidentNV(Int32 n, IntPtr programs, [Out] IntPtr residences)
+ {
+ unsafe
+ {
+ return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs, (Int32*)residences);
+ }
+ }
+
+ public static
+ Int32 glAreProgramsResidentNV(Int32 n, IntPtr programs, [Out] Int32[] residences)
+ {
+ unsafe
+ {
+ fixed (Int32* residences_ptr = residences)
+ {
+ return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs, (Int32*)residences_ptr);
+ }
+ }
+ }
+
+ public static
+ Int32 glAreProgramsResidentNV(Int32 n, IntPtr programs, [Out] out Int32 residences)
+ {
+ unsafe
+ {
+ fixed (Int32* residences_ptr = &residences)
+ {
+ Int32 retval = Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs, (Int32*)residences_ptr);
+ residences = *residences_ptr;
+ return retval;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glAreProgramsResidentNV(Int32 n, UInt32[] programs, [Out] IntPtr residences)
+ {
+ unsafe
+ {
+ fixed (UInt32* programs_ptr = programs)
+ {
+ return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (Int32*)residences);
+ }
+ }
+ }
+
+ public static
+ Int32 glAreProgramsResidentNV(Int32 n, Int32[] programs, [Out] IntPtr residences)
+ {
+ unsafe
+ {
+ fixed (Int32* programs_ptr = programs)
+ {
+ return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (Int32*)residences);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glAreProgramsResidentNV(Int32 n, UInt32[] programs, [Out] Int32[] residences)
+ {
+ unsafe
+ {
+ fixed (UInt32* programs_ptr = programs)
+ fixed (Int32* residences_ptr = residences)
+ {
+ return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (Int32*)residences_ptr);
+ }
+ }
+ }
+
+ public static
+ Int32 glAreProgramsResidentNV(Int32 n, Int32[] programs, [Out] Int32[] residences)
+ {
+ unsafe
+ {
+ fixed (Int32* programs_ptr = programs)
+ fixed (Int32* residences_ptr = residences)
+ {
+ return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (Int32*)residences_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glAreProgramsResidentNV(Int32 n, UInt32[] programs, [Out] out Int32 residences)
+ {
+ unsafe
+ {
+ fixed (UInt32* programs_ptr = programs)
+ fixed (Int32* residences_ptr = &residences)
+ {
+ Int32 retval = Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (Int32*)residences_ptr);
+ residences = *residences_ptr;
+ return retval;
+ }
+ }
+ }
+
+ public static
+ Int32 glAreProgramsResidentNV(Int32 n, Int32[] programs, [Out] out Int32 residences)
+ {
+ unsafe
+ {
+ fixed (Int32* programs_ptr = programs)
+ fixed (Int32* residences_ptr = &residences)
+ {
+ Int32 retval = Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (Int32*)residences_ptr);
+ residences = *residences_ptr;
+ return retval;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glAreProgramsResidentNV(Int32 n, ref UInt32 programs, [Out] IntPtr residences)
+ {
+ unsafe
+ {
+ fixed (UInt32* programs_ptr = &programs)
+ {
+ return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (Int32*)residences);
+ }
+ }
+ }
+
+ public static
+ Int32 glAreProgramsResidentNV(Int32 n, ref Int32 programs, [Out] IntPtr residences)
+ {
+ unsafe
+ {
+ fixed (Int32* programs_ptr = &programs)
+ {
+ return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (Int32*)residences);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glAreProgramsResidentNV(Int32 n, ref UInt32 programs, [Out] Int32[] residences)
+ {
+ unsafe
+ {
+ fixed (UInt32* programs_ptr = &programs)
+ fixed (Int32* residences_ptr = residences)
+ {
+ return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (Int32*)residences_ptr);
+ }
+ }
+ }
+
+ public static
+ Int32 glAreProgramsResidentNV(Int32 n, ref Int32 programs, [Out] Int32[] residences)
+ {
+ unsafe
+ {
+ fixed (Int32* programs_ptr = &programs)
+ fixed (Int32* residences_ptr = residences)
+ {
+ return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (Int32*)residences_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glAreProgramsResidentNV(Int32 n, ref UInt32 programs, [Out] out Int32 residences)
+ {
+ unsafe
+ {
+ fixed (UInt32* programs_ptr = &programs)
+ fixed (Int32* residences_ptr = &residences)
+ {
+ Int32 retval = Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (Int32*)residences_ptr);
+ residences = *residences_ptr;
+ return retval;
+ }
+ }
+ }
+
+ public static
+ Int32 glAreProgramsResidentNV(Int32 n, ref Int32 programs, [Out] out Int32 residences)
+ {
+ unsafe
+ {
+ fixed (Int32* programs_ptr = &programs)
+ fixed (Int32* residences_ptr = &residences)
+ {
+ Int32 retval = Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (Int32*)residences_ptr);
+ residences = *residences_ptr;
+ return retval;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glBindProgramNV(int target, UInt32 id)
+ {
+ Delegates.glBindProgramNV((int)target, (UInt32)id);
+ }
+
+ public static
+ void glBindProgramNV(int target, Int32 id)
+ {
+ Delegates.glBindProgramNV((int)target, (UInt32)id);
+ }
+
+ public static
+ void glDeleteProgramsNV(Int32 n, IntPtr programs)
+ {
+ unsafe
+ {
+ Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteProgramsNV(Int32 n, UInt32[] programs)
+ {
+ unsafe
+ {
+ fixed (UInt32* programs_ptr = programs)
+ {
+ Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeleteProgramsNV(Int32 n, Int32[] programs)
+ {
+ unsafe
+ {
+ fixed (Int32* programs_ptr = programs)
+ {
+ Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteProgramsNV(Int32 n, ref UInt32 programs)
+ {
+ unsafe
+ {
+ fixed (UInt32* programs_ptr = &programs)
+ {
+ Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeleteProgramsNV(Int32 n, ref Int32 programs)
+ {
+ unsafe
+ {
+ fixed (Int32* programs_ptr = &programs)
+ {
+ Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glExecuteProgramNV(int target, UInt32 id, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glExecuteProgramNV((int)target, (UInt32)id, (Single*)@params);
+ }
+ }
+
+ public static
+ void glExecuteProgramNV(int target, Int32 id, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glExecuteProgramNV((int)target, (UInt32)id, (Single*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glExecuteProgramNV(int target, UInt32 id, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glExecuteProgramNV((int)target, (UInt32)id, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glExecuteProgramNV(int target, Int32 id, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glExecuteProgramNV((int)target, (UInt32)id, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glExecuteProgramNV(int target, UInt32 id, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glExecuteProgramNV((int)target, (UInt32)id, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glExecuteProgramNV(int target, Int32 id, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glExecuteProgramNV((int)target, (UInt32)id, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGenProgramsNV(Int32 n, [Out] IntPtr programs)
+ {
+ unsafe
+ {
+ Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGenProgramsNV(Int32 n, [Out] UInt32[] programs)
+ {
+ unsafe
+ {
+ fixed (UInt32* programs_ptr = programs)
+ {
+ Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGenProgramsNV(Int32 n, [Out] Int32[] programs)
+ {
+ unsafe
+ {
+ fixed (Int32* programs_ptr = programs)
+ {
+ Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGenProgramsNV(Int32 n, [Out] out UInt32 programs)
+ {
+ unsafe
+ {
+ fixed (UInt32* programs_ptr = &programs)
+ {
+ Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr);
+ programs = *programs_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGenProgramsNV(Int32 n, [Out] out Int32 programs)
+ {
+ unsafe
+ {
+ fixed (Int32* programs_ptr = &programs)
+ {
+ Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr);
+ programs = *programs_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramParameterdvNV(int target, UInt32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramParameterdvNV((int)target, (UInt32)index, (int)pname, (Double*)@params);
+ }
+ }
+
+ public static
+ void glGetProgramParameterdvNV(int target, Int32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramParameterdvNV((int)target, (UInt32)index, (int)pname, (Double*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramParameterdvNV(int target, UInt32 index, int pname, [Out] Double[] @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = @params)
+ {
+ Delegates.glGetProgramParameterdvNV((int)target, (UInt32)index, (int)pname, (Double*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetProgramParameterdvNV(int target, Int32 index, int pname, [Out] Double[] @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = @params)
+ {
+ Delegates.glGetProgramParameterdvNV((int)target, (UInt32)index, (int)pname, (Double*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramParameterdvNV(int target, UInt32 index, int pname, [Out] out Double @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramParameterdvNV((int)target, (UInt32)index, (int)pname, (Double*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetProgramParameterdvNV(int target, Int32 index, int pname, [Out] out Double @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramParameterdvNV((int)target, (UInt32)index, (int)pname, (Double*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramParameterfvNV(int target, UInt32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramParameterfvNV((int)target, (UInt32)index, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetProgramParameterfvNV(int target, Int32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramParameterfvNV((int)target, (UInt32)index, (int)pname, (Single*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramParameterfvNV(int target, UInt32 index, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetProgramParameterfvNV((int)target, (UInt32)index, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetProgramParameterfvNV(int target, Int32 index, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetProgramParameterfvNV((int)target, (UInt32)index, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramParameterfvNV(int target, UInt32 index, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramParameterfvNV((int)target, (UInt32)index, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetProgramParameterfvNV(int target, Int32 index, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramParameterfvNV((int)target, (UInt32)index, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramivNV(UInt32 id, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramivNV((UInt32)id, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetProgramivNV(Int32 id, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramivNV((UInt32)id, (int)pname, (Int32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramivNV(UInt32 id, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetProgramivNV((UInt32)id, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetProgramivNV(Int32 id, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetProgramivNV((UInt32)id, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramivNV(UInt32 id, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramivNV((UInt32)id, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetProgramivNV(Int32 id, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramivNV((UInt32)id, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramStringNV(UInt32 id, int pname, [Out] IntPtr program)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramStringNV((UInt32)id, (int)pname, (Byte*)program);
+ }
+ }
+
+ public static
+ void glGetProgramStringNV(Int32 id, int pname, [Out] IntPtr program)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramStringNV((UInt32)id, (int)pname, (Byte*)program);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramStringNV(UInt32 id, int pname, [Out] Byte[] program)
+ {
+ unsafe
+ {
+ fixed (Byte* program_ptr = program)
+ {
+ Delegates.glGetProgramStringNV((UInt32)id, (int)pname, (Byte*)program_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetProgramStringNV(Int32 id, int pname, [Out] Byte[] program)
+ {
+ unsafe
+ {
+ fixed (Byte* program_ptr = program)
+ {
+ Delegates.glGetProgramStringNV((UInt32)id, (int)pname, (Byte*)program_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramStringNV(UInt32 id, int pname, [Out] out Byte program)
+ {
+ unsafe
+ {
+ fixed (Byte* program_ptr = &program)
+ {
+ Delegates.glGetProgramStringNV((UInt32)id, (int)pname, (Byte*)program_ptr);
+ program = *program_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetProgramStringNV(Int32 id, int pname, [Out] out Byte program)
+ {
+ unsafe
+ {
+ fixed (Byte* program_ptr = &program)
+ {
+ Delegates.glGetProgramStringNV((UInt32)id, (int)pname, (Byte*)program_ptr);
+ program = *program_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetTrackMatrixivNV(int target, UInt32 address, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetTrackMatrixivNV((int)target, (UInt32)address, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetTrackMatrixivNV(int target, Int32 address, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetTrackMatrixivNV((int)target, (UInt32)address, (int)pname, (Int32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetTrackMatrixivNV(int target, UInt32 address, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetTrackMatrixivNV((int)target, (UInt32)address, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetTrackMatrixivNV(int target, Int32 address, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetTrackMatrixivNV((int)target, (UInt32)address, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetTrackMatrixivNV(int target, UInt32 address, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetTrackMatrixivNV((int)target, (UInt32)address, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetTrackMatrixivNV(int target, Int32 address, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetTrackMatrixivNV((int)target, (UInt32)address, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribdvNV(UInt32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribdvNV((UInt32)index, (int)pname, (Double*)@params);
+ }
+ }
+
+ public static
+ void glGetVertexAttribdvNV(Int32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribdvNV((UInt32)index, (int)pname, (Double*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribdvNV(UInt32 index, int pname, [Out] Double[] @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = @params)
+ {
+ Delegates.glGetVertexAttribdvNV((UInt32)index, (int)pname, (Double*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetVertexAttribdvNV(Int32 index, int pname, [Out] Double[] @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = @params)
+ {
+ Delegates.glGetVertexAttribdvNV((UInt32)index, (int)pname, (Double*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribdvNV(UInt32 index, int pname, [Out] out Double @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = &@params)
+ {
+ Delegates.glGetVertexAttribdvNV((UInt32)index, (int)pname, (Double*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetVertexAttribdvNV(Int32 index, int pname, [Out] out Double @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = &@params)
+ {
+ Delegates.glGetVertexAttribdvNV((UInt32)index, (int)pname, (Double*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribfvNV(UInt32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribfvNV((UInt32)index, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetVertexAttribfvNV(Int32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribfvNV((UInt32)index, (int)pname, (Single*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribfvNV(UInt32 index, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetVertexAttribfvNV((UInt32)index, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetVertexAttribfvNV(Int32 index, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetVertexAttribfvNV((UInt32)index, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribfvNV(UInt32 index, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetVertexAttribfvNV((UInt32)index, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetVertexAttribfvNV(Int32 index, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetVertexAttribfvNV((UInt32)index, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribivNV(UInt32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribivNV((UInt32)index, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetVertexAttribivNV(Int32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribivNV((UInt32)index, (int)pname, (Int32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribivNV(UInt32 index, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetVertexAttribivNV((UInt32)index, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetVertexAttribivNV(Int32 index, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetVertexAttribivNV((UInt32)index, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribivNV(UInt32 index, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetVertexAttribivNV((UInt32)index, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetVertexAttribivNV(Int32 index, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetVertexAttribivNV((UInt32)index, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribPointervNV(UInt32 index, int pname, [Out] IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribPointervNV((UInt32)index, (int)pname, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glGetVertexAttribPointervNV(Int32 index, int pname, [Out] IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribPointervNV((UInt32)index, (int)pname, (IntPtr)pointer);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribPointervNV(UInt32 index, int pname, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetVertexAttribPointervNV((UInt32)index, (int)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glGetVertexAttribPointervNV(Int32 index, int pname, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetVertexAttribPointervNV((UInt32)index, (int)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glIsProgramNV(UInt32 id)
+ {
+ return Delegates.glIsProgramNV((UInt32)id);
+ }
+
+ public static
+ Int32 glIsProgramNV(Int32 id)
+ {
+ return Delegates.glIsProgramNV((UInt32)id);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glLoadProgramNV(int target, UInt32 id, Int32 len, IntPtr program)
+ {
+ unsafe
+ {
+ Delegates.glLoadProgramNV((int)target, (UInt32)id, (Int32)len, (Byte*)program);
+ }
+ }
+
+ public static
+ void glLoadProgramNV(int target, Int32 id, Int32 len, IntPtr program)
+ {
+ unsafe
+ {
+ Delegates.glLoadProgramNV((int)target, (UInt32)id, (Int32)len, (Byte*)program);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glLoadProgramNV(int target, UInt32 id, Int32 len, Byte[] program)
+ {
+ unsafe
+ {
+ fixed (Byte* program_ptr = program)
+ {
+ Delegates.glLoadProgramNV((int)target, (UInt32)id, (Int32)len, (Byte*)program_ptr);
+ }
+ }
+ }
+
+ public static
+ void glLoadProgramNV(int target, Int32 id, Int32 len, Byte[] program)
+ {
+ unsafe
+ {
+ fixed (Byte* program_ptr = program)
+ {
+ Delegates.glLoadProgramNV((int)target, (UInt32)id, (Int32)len, (Byte*)program_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glLoadProgramNV(int target, UInt32 id, Int32 len, ref Byte program)
+ {
+ unsafe
+ {
+ fixed (Byte* program_ptr = &program)
+ {
+ Delegates.glLoadProgramNV((int)target, (UInt32)id, (Int32)len, (Byte*)program_ptr);
+ }
+ }
+ }
+
+ public static
+ void glLoadProgramNV(int target, Int32 id, Int32 len, ref Byte program)
+ {
+ unsafe
+ {
+ fixed (Byte* program_ptr = &program)
+ {
+ Delegates.glLoadProgramNV((int)target, (UInt32)id, (Int32)len, (Byte*)program_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramParameter4dNV(int target, UInt32 index, Double x, Double y, Double z, Double w)
+ {
+ Delegates.glProgramParameter4dNV((int)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
+ }
+
+ public static
+ void glProgramParameter4dNV(int target, Int32 index, Double x, Double y, Double z, Double w)
+ {
+ Delegates.glProgramParameter4dNV((int)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramParameter4dvNV(int target, UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glProgramParameter4dvNV((int)target, (UInt32)index, (Double*)v);
+ }
+ }
+
+ public static
+ void glProgramParameter4dvNV(int target, Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glProgramParameter4dvNV((int)target, (UInt32)index, (Double*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramParameter4dvNV(int target, UInt32 index, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glProgramParameter4dvNV((int)target, (UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramParameter4dvNV(int target, Int32 index, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glProgramParameter4dvNV((int)target, (UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramParameter4dvNV(int target, UInt32 index, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glProgramParameter4dvNV((int)target, (UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramParameter4dvNV(int target, Int32 index, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glProgramParameter4dvNV((int)target, (UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramParameter4fNV(int target, UInt32 index, Single x, Single y, Single z, Single w)
+ {
+ Delegates.glProgramParameter4fNV((int)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
+ }
+
+ public static
+ void glProgramParameter4fNV(int target, Int32 index, Single x, Single y, Single z, Single w)
+ {
+ Delegates.glProgramParameter4fNV((int)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramParameter4fvNV(int target, UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glProgramParameter4fvNV((int)target, (UInt32)index, (Single*)v);
+ }
+ }
+
+ public static
+ void glProgramParameter4fvNV(int target, Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glProgramParameter4fvNV((int)target, (UInt32)index, (Single*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramParameter4fvNV(int target, UInt32 index, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glProgramParameter4fvNV((int)target, (UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramParameter4fvNV(int target, Int32 index, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glProgramParameter4fvNV((int)target, (UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramParameter4fvNV(int target, UInt32 index, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glProgramParameter4fvNV((int)target, (UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramParameter4fvNV(int target, Int32 index, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glProgramParameter4fvNV((int)target, (UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramParameters4dvNV(int target, UInt32 index, UInt32 count, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glProgramParameters4dvNV((int)target, (UInt32)index, (UInt32)count, (Double*)v);
+ }
+ }
+
+ public static
+ void glProgramParameters4dvNV(int target, Int32 index, Int32 count, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glProgramParameters4dvNV((int)target, (UInt32)index, (UInt32)count, (Double*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramParameters4dvNV(int target, UInt32 index, UInt32 count, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glProgramParameters4dvNV((int)target, (UInt32)index, (UInt32)count, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramParameters4dvNV(int target, Int32 index, Int32 count, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glProgramParameters4dvNV((int)target, (UInt32)index, (UInt32)count, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramParameters4dvNV(int target, UInt32 index, UInt32 count, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glProgramParameters4dvNV((int)target, (UInt32)index, (UInt32)count, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramParameters4dvNV(int target, Int32 index, Int32 count, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glProgramParameters4dvNV((int)target, (UInt32)index, (UInt32)count, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramParameters4fvNV(int target, UInt32 index, UInt32 count, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glProgramParameters4fvNV((int)target, (UInt32)index, (UInt32)count, (Single*)v);
+ }
+ }
+
+ public static
+ void glProgramParameters4fvNV(int target, Int32 index, Int32 count, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glProgramParameters4fvNV((int)target, (UInt32)index, (UInt32)count, (Single*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramParameters4fvNV(int target, UInt32 index, UInt32 count, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glProgramParameters4fvNV((int)target, (UInt32)index, (UInt32)count, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramParameters4fvNV(int target, Int32 index, Int32 count, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glProgramParameters4fvNV((int)target, (UInt32)index, (UInt32)count, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramParameters4fvNV(int target, UInt32 index, UInt32 count, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glProgramParameters4fvNV((int)target, (UInt32)index, (UInt32)count, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramParameters4fvNV(int target, Int32 index, Int32 count, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glProgramParameters4fvNV((int)target, (UInt32)index, (UInt32)count, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRequestResidentProgramsNV(Int32 n, IntPtr programs)
+ {
+ unsafe
+ {
+ Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glRequestResidentProgramsNV(Int32 n, UInt32[] programs)
+ {
+ unsafe
+ {
+ fixed (UInt32* programs_ptr = programs)
+ {
+ Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRequestResidentProgramsNV(Int32 n, Int32[] programs)
+ {
+ unsafe
+ {
+ fixed (Int32* programs_ptr = programs)
+ {
+ Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glRequestResidentProgramsNV(Int32 n, ref UInt32 programs)
+ {
+ unsafe
+ {
+ fixed (UInt32* programs_ptr = &programs)
+ {
+ Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs_ptr);
+ }
+ }
+ }
+
+ public static
+ void glRequestResidentProgramsNV(Int32 n, ref Int32 programs)
+ {
+ unsafe
+ {
+ fixed (Int32* programs_ptr = &programs)
+ {
+ Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glTrackMatrixNV(int target, UInt32 address, int matrix, int transform)
+ {
+ Delegates.glTrackMatrixNV((int)target, (UInt32)address, (int)matrix, (int)transform);
+ }
+
+ public static
+ void glTrackMatrixNV(int target, Int32 address, int matrix, int transform)
+ {
+ Delegates.glTrackMatrixNV((int)target, (UInt32)address, (int)matrix, (int)transform);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribPointerNV(UInt32 index, Int32 fsize, int type, Int32 stride, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (int)type, (Int32)stride, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glVertexAttribPointerNV(Int32 index, Int32 fsize, int type, Int32 stride, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (int)type, (Int32)stride, (IntPtr)pointer);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribPointerNV(UInt32 index, Int32 fsize, int type, Int32 stride, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (int)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribPointerNV(Int32 index, Int32 fsize, int type, Int32 stride, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (int)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1dNV(UInt32 index, Double x)
+ {
+ Delegates.glVertexAttrib1dNV((UInt32)index, (Double)x);
+ }
+
+ public static
+ void glVertexAttrib1dNV(Int32 index, Double x)
+ {
+ Delegates.glVertexAttrib1dNV((UInt32)index, (Double)x);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1dvNV(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib1dvNV((UInt32)index, (Double*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib1dvNV(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib1dvNV((UInt32)index, (Double*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1dvNV(UInt32 index, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttrib1dvNV((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib1dvNV(Int32 index, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttrib1dvNV((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1dvNV(UInt32 index, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib1dvNV((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib1dvNV(Int32 index, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib1dvNV((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1fNV(UInt32 index, Single x)
+ {
+ Delegates.glVertexAttrib1fNV((UInt32)index, (Single)x);
+ }
+
+ public static
+ void glVertexAttrib1fNV(Int32 index, Single x)
+ {
+ Delegates.glVertexAttrib1fNV((UInt32)index, (Single)x);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1fvNV(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib1fvNV((UInt32)index, (Single*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib1fvNV(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib1fvNV((UInt32)index, (Single*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1fvNV(UInt32 index, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttrib1fvNV((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib1fvNV(Int32 index, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttrib1fvNV((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1fvNV(UInt32 index, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib1fvNV((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib1fvNV(Int32 index, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib1fvNV((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1sNV(UInt32 index, Int16 x)
+ {
+ Delegates.glVertexAttrib1sNV((UInt32)index, (Int16)x);
+ }
+
+ public static
+ void glVertexAttrib1sNV(Int32 index, Int16 x)
+ {
+ Delegates.glVertexAttrib1sNV((UInt32)index, (Int16)x);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1svNV(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib1svNV((UInt32)index, (Int16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib1svNV(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib1svNV((UInt32)index, (Int16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1svNV(UInt32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib1svNV((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib1svNV(Int32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib1svNV((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1svNV(UInt32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib1svNV((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib1svNV(Int32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib1svNV((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2dNV(UInt32 index, Double x, Double y)
+ {
+ Delegates.glVertexAttrib2dNV((UInt32)index, (Double)x, (Double)y);
+ }
+
+ public static
+ void glVertexAttrib2dNV(Int32 index, Double x, Double y)
+ {
+ Delegates.glVertexAttrib2dNV((UInt32)index, (Double)x, (Double)y);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2dvNV(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib2dvNV(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2dvNV(UInt32 index, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib2dvNV(Int32 index, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2dvNV(UInt32 index, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib2dvNV(Int32 index, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2fNV(UInt32 index, Single x, Single y)
+ {
+ Delegates.glVertexAttrib2fNV((UInt32)index, (Single)x, (Single)y);
+ }
+
+ public static
+ void glVertexAttrib2fNV(Int32 index, Single x, Single y)
+ {
+ Delegates.glVertexAttrib2fNV((UInt32)index, (Single)x, (Single)y);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2fvNV(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib2fvNV(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2fvNV(UInt32 index, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib2fvNV(Int32 index, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2fvNV(UInt32 index, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib2fvNV(Int32 index, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2sNV(UInt32 index, Int16 x, Int16 y)
+ {
+ Delegates.glVertexAttrib2sNV((UInt32)index, (Int16)x, (Int16)y);
+ }
+
+ public static
+ void glVertexAttrib2sNV(Int32 index, Int16 x, Int16 y)
+ {
+ Delegates.glVertexAttrib2sNV((UInt32)index, (Int16)x, (Int16)y);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2svNV(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib2svNV(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2svNV(UInt32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib2svNV(Int32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2svNV(UInt32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib2svNV(Int32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3dNV(UInt32 index, Double x, Double y, Double z)
+ {
+ Delegates.glVertexAttrib3dNV((UInt32)index, (Double)x, (Double)y, (Double)z);
+ }
+
+ public static
+ void glVertexAttrib3dNV(Int32 index, Double x, Double y, Double z)
+ {
+ Delegates.glVertexAttrib3dNV((UInt32)index, (Double)x, (Double)y, (Double)z);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3dvNV(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib3dvNV(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3dvNV(UInt32 index, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib3dvNV(Int32 index, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3dvNV(UInt32 index, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib3dvNV(Int32 index, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3fNV(UInt32 index, Single x, Single y, Single z)
+ {
+ Delegates.glVertexAttrib3fNV((UInt32)index, (Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glVertexAttrib3fNV(Int32 index, Single x, Single y, Single z)
+ {
+ Delegates.glVertexAttrib3fNV((UInt32)index, (Single)x, (Single)y, (Single)z);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3fvNV(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib3fvNV(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3fvNV(UInt32 index, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib3fvNV(Int32 index, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3fvNV(UInt32 index, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib3fvNV(Int32 index, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3sNV(UInt32 index, Int16 x, Int16 y, Int16 z)
+ {
+ Delegates.glVertexAttrib3sNV((UInt32)index, (Int16)x, (Int16)y, (Int16)z);
+ }
+
+ public static
+ void glVertexAttrib3sNV(Int32 index, Int16 x, Int16 y, Int16 z)
+ {
+ Delegates.glVertexAttrib3sNV((UInt32)index, (Int16)x, (Int16)y, (Int16)z);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3svNV(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib3svNV(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3svNV(UInt32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib3svNV(Int32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3svNV(UInt32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib3svNV(Int32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4dNV(UInt32 index, Double x, Double y, Double z, Double w)
+ {
+ Delegates.glVertexAttrib4dNV((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
+ }
+
+ public static
+ void glVertexAttrib4dNV(Int32 index, Double x, Double y, Double z, Double w)
+ {
+ Delegates.glVertexAttrib4dNV((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4dvNV(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4dvNV(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4dvNV(UInt32 index, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4dvNV(Int32 index, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4dvNV(UInt32 index, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4dvNV(Int32 index, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4fNV(UInt32 index, Single x, Single y, Single z, Single w)
+ {
+ Delegates.glVertexAttrib4fNV((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
+ }
+
+ public static
+ void glVertexAttrib4fNV(Int32 index, Single x, Single y, Single z, Single w)
+ {
+ Delegates.glVertexAttrib4fNV((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4fvNV(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4fvNV(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4fvNV(UInt32 index, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4fvNV(Int32 index, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4fvNV(UInt32 index, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4fvNV(Int32 index, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4sNV(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w)
+ {
+ Delegates.glVertexAttrib4sNV((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w);
+ }
+
+ public static
+ void glVertexAttrib4sNV(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w)
+ {
+ Delegates.glVertexAttrib4sNV((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4svNV(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4svNV(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4svNV(UInt32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4svNV(Int32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4svNV(UInt32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4svNV(Int32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4ubNV(UInt32 index, Byte x, Byte y, Byte z, Byte w)
+ {
+ Delegates.glVertexAttrib4ubNV((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w);
+ }
+
+ public static
+ void glVertexAttrib4ubNV(Int32 index, Byte x, Byte y, Byte z, Byte w)
+ {
+ Delegates.glVertexAttrib4ubNV((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4ubvNV(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4ubvNV(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4ubvNV(UInt32 index, Byte[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4ubvNV(Int32 index, Byte[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4ubvNV(UInt32 index, ref Byte v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4ubvNV(Int32 index, ref Byte v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs1dvNV(UInt32 index, Int32 count, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v);
+ }
+ }
+
+ public static
+ void glVertexAttribs1dvNV(Int32 index, Int32 count, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs1dvNV(UInt32 index, Int32 count, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs1dvNV(Int32 index, Int32 count, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs1dvNV(UInt32 index, Int32 count, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs1dvNV(Int32 index, Int32 count, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs1fvNV(UInt32 index, Int32 count, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v);
+ }
+ }
+
+ public static
+ void glVertexAttribs1fvNV(Int32 index, Int32 count, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs1fvNV(UInt32 index, Int32 count, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs1fvNV(Int32 index, Int32 count, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs1fvNV(UInt32 index, Int32 count, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs1fvNV(Int32 index, Int32 count, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs1svNV(UInt32 index, Int32 count, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttribs1svNV(Int32 index, Int32 count, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs1svNV(UInt32 index, Int32 count, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs1svNV(Int32 index, Int32 count, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs1svNV(UInt32 index, Int32 count, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs1svNV(Int32 index, Int32 count, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs2dvNV(UInt32 index, Int32 count, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v);
+ }
+ }
+
+ public static
+ void glVertexAttribs2dvNV(Int32 index, Int32 count, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs2dvNV(UInt32 index, Int32 count, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs2dvNV(Int32 index, Int32 count, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs2dvNV(UInt32 index, Int32 count, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs2dvNV(Int32 index, Int32 count, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs2fvNV(UInt32 index, Int32 count, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v);
+ }
+ }
+
+ public static
+ void glVertexAttribs2fvNV(Int32 index, Int32 count, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs2fvNV(UInt32 index, Int32 count, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs2fvNV(Int32 index, Int32 count, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs2fvNV(UInt32 index, Int32 count, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs2fvNV(Int32 index, Int32 count, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs2svNV(UInt32 index, Int32 count, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttribs2svNV(Int32 index, Int32 count, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs2svNV(UInt32 index, Int32 count, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs2svNV(Int32 index, Int32 count, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs2svNV(UInt32 index, Int32 count, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs2svNV(Int32 index, Int32 count, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs3dvNV(UInt32 index, Int32 count, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v);
+ }
+ }
+
+ public static
+ void glVertexAttribs3dvNV(Int32 index, Int32 count, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs3dvNV(UInt32 index, Int32 count, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs3dvNV(Int32 index, Int32 count, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs3dvNV(UInt32 index, Int32 count, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs3dvNV(Int32 index, Int32 count, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs3fvNV(UInt32 index, Int32 count, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v);
+ }
+ }
+
+ public static
+ void glVertexAttribs3fvNV(Int32 index, Int32 count, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs3fvNV(UInt32 index, Int32 count, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs3fvNV(Int32 index, Int32 count, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs3fvNV(UInt32 index, Int32 count, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs3fvNV(Int32 index, Int32 count, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs3svNV(UInt32 index, Int32 count, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttribs3svNV(Int32 index, Int32 count, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs3svNV(UInt32 index, Int32 count, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs3svNV(Int32 index, Int32 count, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs3svNV(UInt32 index, Int32 count, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs3svNV(Int32 index, Int32 count, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs4dvNV(UInt32 index, Int32 count, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v);
+ }
+ }
+
+ public static
+ void glVertexAttribs4dvNV(Int32 index, Int32 count, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs4dvNV(UInt32 index, Int32 count, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs4dvNV(Int32 index, Int32 count, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs4dvNV(UInt32 index, Int32 count, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs4dvNV(Int32 index, Int32 count, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs4fvNV(UInt32 index, Int32 count, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v);
+ }
+ }
+
+ public static
+ void glVertexAttribs4fvNV(Int32 index, Int32 count, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs4fvNV(UInt32 index, Int32 count, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs4fvNV(Int32 index, Int32 count, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs4fvNV(UInt32 index, Int32 count, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs4fvNV(Int32 index, Int32 count, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs4svNV(UInt32 index, Int32 count, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttribs4svNV(Int32 index, Int32 count, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs4svNV(UInt32 index, Int32 count, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs4svNV(Int32 index, Int32 count, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs4svNV(UInt32 index, Int32 count, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs4svNV(Int32 index, Int32 count, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs4ubvNV(UInt32 index, Int32 count, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v);
+ }
+ }
+
+ public static
+ void glVertexAttribs4ubvNV(Int32 index, Int32 count, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs4ubvNV(UInt32 index, Int32 count, Byte[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = v)
+ {
+ Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs4ubvNV(Int32 index, Int32 count, Byte[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = v)
+ {
+ Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs4ubvNV(UInt32 index, Int32 count, ref Byte v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs4ubvNV(Int32 index, Int32 count, ref Byte v)
+ {
+ unsafe
+ {
+ fixed (Byte* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGenOcclusionQueriesNV(Int32 n, [Out] IntPtr ids)
+ {
+ unsafe
+ {
+ Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGenOcclusionQueriesNV(Int32 n, [Out] UInt32[] ids)
+ {
+ unsafe
+ {
+ fixed (UInt32* ids_ptr = ids)
+ {
+ Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGenOcclusionQueriesNV(Int32 n, [Out] Int32[] ids)
+ {
+ unsafe
+ {
+ fixed (Int32* ids_ptr = ids)
+ {
+ Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGenOcclusionQueriesNV(Int32 n, [Out] out UInt32 ids)
+ {
+ unsafe
+ {
+ fixed (UInt32* ids_ptr = &ids)
+ {
+ Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr);
+ ids = *ids_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGenOcclusionQueriesNV(Int32 n, [Out] out Int32 ids)
+ {
+ unsafe
+ {
+ fixed (Int32* ids_ptr = &ids)
+ {
+ Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr);
+ ids = *ids_ptr;
+ }
+ }
+ }
+
+ public static
+ void glDeleteOcclusionQueriesNV(Int32 n, IntPtr ids)
+ {
+ unsafe
+ {
+ Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteOcclusionQueriesNV(Int32 n, UInt32[] ids)
+ {
+ unsafe
+ {
+ fixed (UInt32* ids_ptr = ids)
+ {
+ Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeleteOcclusionQueriesNV(Int32 n, Int32[] ids)
+ {
+ unsafe
+ {
+ fixed (Int32* ids_ptr = ids)
+ {
+ Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteOcclusionQueriesNV(Int32 n, ref UInt32 ids)
+ {
+ unsafe
+ {
+ fixed (UInt32* ids_ptr = &ids)
+ {
+ Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeleteOcclusionQueriesNV(Int32 n, ref Int32 ids)
+ {
+ unsafe
+ {
+ fixed (Int32* ids_ptr = &ids)
+ {
+ Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glIsOcclusionQueryNV(UInt32 id)
+ {
+ return Delegates.glIsOcclusionQueryNV((UInt32)id);
+ }
+
+ public static
+ Int32 glIsOcclusionQueryNV(Int32 id)
+ {
+ return Delegates.glIsOcclusionQueryNV((UInt32)id);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glBeginOcclusionQueryNV(UInt32 id)
+ {
+ Delegates.glBeginOcclusionQueryNV((UInt32)id);
+ }
+
+ public static
+ void glBeginOcclusionQueryNV(Int32 id)
+ {
+ Delegates.glBeginOcclusionQueryNV((UInt32)id);
+ }
+
+ public static
+ void glEndOcclusionQueryNV()
+ {
+ Delegates.glEndOcclusionQueryNV();
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetOcclusionQueryivNV(UInt32 id, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetOcclusionQueryivNV((UInt32)id, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetOcclusionQueryivNV(Int32 id, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetOcclusionQueryivNV((UInt32)id, (int)pname, (Int32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetOcclusionQueryivNV(UInt32 id, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetOcclusionQueryivNV((UInt32)id, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetOcclusionQueryivNV(Int32 id, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetOcclusionQueryivNV((UInt32)id, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetOcclusionQueryivNV(UInt32 id, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetOcclusionQueryivNV((UInt32)id, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetOcclusionQueryivNV(Int32 id, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetOcclusionQueryivNV((UInt32)id, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetOcclusionQueryuivNV(UInt32 id, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetOcclusionQueryuivNV((UInt32)id, (int)pname, (UInt32*)@params);
+ }
+ }
+
+ public static
+ void glGetOcclusionQueryuivNV(Int32 id, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetOcclusionQueryuivNV((UInt32)id, (int)pname, (UInt32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetOcclusionQueryuivNV(UInt32 id, int pname, [Out] UInt32[] @params)
+ {
+ unsafe
+ {
+ fixed (UInt32* @params_ptr = @params)
+ {
+ Delegates.glGetOcclusionQueryuivNV((UInt32)id, (int)pname, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetOcclusionQueryuivNV(Int32 id, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetOcclusionQueryuivNV((UInt32)id, (int)pname, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetOcclusionQueryuivNV(UInt32 id, int pname, [Out] out UInt32 @params)
+ {
+ unsafe
+ {
+ fixed (UInt32* @params_ptr = &@params)
+ {
+ Delegates.glGetOcclusionQueryuivNV((UInt32)id, (int)pname, (UInt32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetOcclusionQueryuivNV(Int32 id, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetOcclusionQueryuivNV((UInt32)id, (int)pname, (UInt32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glPointParameteriNV(int pname, Int32 param)
+ {
+ Delegates.glPointParameteriNV((int)pname, (Int32)param);
+ }
+
+ public static
+ void glPointParameterivNV(int pname, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glPointParameterivNV((int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glPointParameterivNV(int pname, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glPointParameterivNV((int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPointParameterivNV(int pname, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glPointParameterivNV((int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramNamedParameter4fNV(UInt32 id, Int32 len, IntPtr name, Single x, Single y, Single z, Single w)
+ {
+ unsafe
+ {
+ Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name, (Single)x, (Single)y, (Single)z, (Single)w);
+ }
+ }
+
+ public static
+ void glProgramNamedParameter4fNV(Int32 id, Int32 len, IntPtr name, Single x, Single y, Single z, Single w)
+ {
+ unsafe
+ {
+ Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name, (Single)x, (Single)y, (Single)z, (Single)w);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramNamedParameter4fNV(UInt32 id, Int32 len, Byte[] name, Single x, Single y, Single z, Single w)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = name)
+ {
+ Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single)x, (Single)y, (Single)z, (Single)w);
+ }
+ }
+ }
+
+ public static
+ void glProgramNamedParameter4fNV(Int32 id, Int32 len, Byte[] name, Single x, Single y, Single z, Single w)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = name)
+ {
+ Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single)x, (Single)y, (Single)z, (Single)w);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramNamedParameter4fNV(UInt32 id, Int32 len, ref Byte name, Single x, Single y, Single z, Single w)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = &name)
+ {
+ Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single)x, (Single)y, (Single)z, (Single)w);
+ }
+ }
+ }
+
+ public static
+ void glProgramNamedParameter4fNV(Int32 id, Int32 len, ref Byte name, Single x, Single y, Single z, Single w)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = &name)
+ {
+ Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single)x, (Single)y, (Single)z, (Single)w);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramNamedParameter4dNV(UInt32 id, Int32 len, IntPtr name, Double x, Double y, Double z, Double w)
+ {
+ unsafe
+ {
+ Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name, (Double)x, (Double)y, (Double)z, (Double)w);
+ }
+ }
+
+ public static
+ void glProgramNamedParameter4dNV(Int32 id, Int32 len, IntPtr name, Double x, Double y, Double z, Double w)
+ {
+ unsafe
+ {
+ Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name, (Double)x, (Double)y, (Double)z, (Double)w);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramNamedParameter4dNV(UInt32 id, Int32 len, Byte[] name, Double x, Double y, Double z, Double w)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = name)
+ {
+ Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double)x, (Double)y, (Double)z, (Double)w);
+ }
+ }
+ }
+
+ public static
+ void glProgramNamedParameter4dNV(Int32 id, Int32 len, Byte[] name, Double x, Double y, Double z, Double w)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = name)
+ {
+ Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double)x, (Double)y, (Double)z, (Double)w);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramNamedParameter4dNV(UInt32 id, Int32 len, ref Byte name, Double x, Double y, Double z, Double w)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = &name)
+ {
+ Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double)x, (Double)y, (Double)z, (Double)w);
+ }
+ }
+ }
+
+ public static
+ void glProgramNamedParameter4dNV(Int32 id, Int32 len, ref Byte name, Double x, Double y, Double z, Double w)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = &name)
+ {
+ Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double)x, (Double)y, (Double)z, (Double)w);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramNamedParameter4fvNV(UInt32 id, Int32 len, IntPtr name, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v);
+ }
+ }
+
+ public static
+ void glProgramNamedParameter4fvNV(Int32 id, Int32 len, IntPtr name, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramNamedParameter4fvNV(UInt32 id, Int32 len, IntPtr name, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramNamedParameter4fvNV(Int32 id, Int32 len, IntPtr name, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramNamedParameter4fvNV(UInt32 id, Int32 len, IntPtr name, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramNamedParameter4fvNV(Int32 id, Int32 len, IntPtr name, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramNamedParameter4fvNV(UInt32 id, Int32 len, Byte[] name, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = name)
+ {
+ Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glProgramNamedParameter4fvNV(Int32 id, Int32 len, Byte[] name, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = name)
+ {
+ Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramNamedParameter4fvNV(UInt32 id, Int32 len, Byte[] name, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = name)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramNamedParameter4fvNV(Int32 id, Int32 len, Byte[] name, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = name)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramNamedParameter4fvNV(UInt32 id, Int32 len, Byte[] name, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = name)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramNamedParameter4fvNV(Int32 id, Int32 len, Byte[] name, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = name)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramNamedParameter4fvNV(UInt32 id, Int32 len, ref Byte name, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = &name)
+ {
+ Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v);
+ }
+ }
+ }
+
+ public static
+ void glProgramNamedParameter4fvNV(Int32 id, Int32 len, ref Byte name, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = &name)
+ {
+ Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramNamedParameter4fvNV(UInt32 id, Int32 len, ref Byte name, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = &name)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramNamedParameter4fvNV(Int32 id, Int32 len, ref Byte name, Single[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = &name)
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramNamedParameter4fvNV(UInt32 id, Int32 len, ref Byte name, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = &name)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramNamedParameter4fvNV(Int32 id, Int32 len, ref Byte name, ref Single v)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = &name)
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramNamedParameter4dvNV(UInt32 id, Int32 len, IntPtr name, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v);
+ }
+ }
+
+ public static
+ void glProgramNamedParameter4dvNV(Int32 id, Int32 len, IntPtr name, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramNamedParameter4dvNV(UInt32 id, Int32 len, IntPtr name, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramNamedParameter4dvNV(Int32 id, Int32 len, IntPtr name, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramNamedParameter4dvNV(UInt32 id, Int32 len, IntPtr name, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramNamedParameter4dvNV(Int32 id, Int32 len, IntPtr name, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramNamedParameter4dvNV(UInt32 id, Int32 len, Byte[] name, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = name)
+ {
+ Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v);
+ }
+ }
+ }
+
+ public static
+ void glProgramNamedParameter4dvNV(Int32 id, Int32 len, Byte[] name, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = name)
+ {
+ Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramNamedParameter4dvNV(UInt32 id, Int32 len, Byte[] name, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = name)
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramNamedParameter4dvNV(Int32 id, Int32 len, Byte[] name, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = name)
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramNamedParameter4dvNV(UInt32 id, Int32 len, Byte[] name, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = name)
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramNamedParameter4dvNV(Int32 id, Int32 len, Byte[] name, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = name)
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramNamedParameter4dvNV(UInt32 id, Int32 len, ref Byte name, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = &name)
+ {
+ Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v);
+ }
+ }
+ }
+
+ public static
+ void glProgramNamedParameter4dvNV(Int32 id, Int32 len, ref Byte name, IntPtr v)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = &name)
+ {
+ Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramNamedParameter4dvNV(UInt32 id, Int32 len, ref Byte name, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = &name)
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramNamedParameter4dvNV(Int32 id, Int32 len, ref Byte name, Double[] v)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = &name)
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramNamedParameter4dvNV(UInt32 id, Int32 len, ref Byte name, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = &name)
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramNamedParameter4dvNV(Int32 id, Int32 len, ref Byte name, ref Double v)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = &name)
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramNamedParameterfvNV(UInt32 id, Int32 len, IntPtr name, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetProgramNamedParameterfvNV(Int32 id, Int32 len, IntPtr name, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramNamedParameterfvNV(UInt32 id, Int32 len, IntPtr name, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetProgramNamedParameterfvNV(Int32 id, Int32 len, IntPtr name, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramNamedParameterfvNV(UInt32 id, Int32 len, IntPtr name, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetProgramNamedParameterfvNV(Int32 id, Int32 len, IntPtr name, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramNamedParameterfvNV(UInt32 id, Int32 len, Byte[] name, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = name)
+ {
+ Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params);
+ }
+ }
+ }
+
+ public static
+ void glGetProgramNamedParameterfvNV(Int32 id, Int32 len, Byte[] name, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = name)
+ {
+ Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramNamedParameterfvNV(UInt32 id, Int32 len, Byte[] name, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = name)
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetProgramNamedParameterfvNV(Int32 id, Int32 len, Byte[] name, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = name)
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramNamedParameterfvNV(UInt32 id, Int32 len, Byte[] name, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = name)
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetProgramNamedParameterfvNV(Int32 id, Int32 len, Byte[] name, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = name)
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramNamedParameterfvNV(UInt32 id, Int32 len, ref Byte name, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = &name)
+ {
+ Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params);
+ }
+ }
+ }
+
+ public static
+ void glGetProgramNamedParameterfvNV(Int32 id, Int32 len, ref Byte name, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = &name)
+ {
+ Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramNamedParameterfvNV(UInt32 id, Int32 len, ref Byte name, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = &name)
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetProgramNamedParameterfvNV(Int32 id, Int32 len, ref Byte name, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = &name)
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramNamedParameterfvNV(UInt32 id, Int32 len, ref Byte name, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = &name)
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetProgramNamedParameterfvNV(Int32 id, Int32 len, ref Byte name, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = &name)
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramNamedParameterdvNV(UInt32 id, Int32 len, IntPtr name, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params);
+ }
+ }
+
+ public static
+ void glGetProgramNamedParameterdvNV(Int32 id, Int32 len, IntPtr name, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramNamedParameterdvNV(UInt32 id, Int32 len, IntPtr name, [Out] Double[] @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = @params)
+ {
+ Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetProgramNamedParameterdvNV(Int32 id, Int32 len, IntPtr name, [Out] Double[] @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = @params)
+ {
+ Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramNamedParameterdvNV(UInt32 id, Int32 len, IntPtr name, [Out] out Double @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetProgramNamedParameterdvNV(Int32 id, Int32 len, IntPtr name, [Out] out Double @params)
+ {
+ unsafe
+ {
+ fixed (Double* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramNamedParameterdvNV(UInt32 id, Int32 len, Byte[] name, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = name)
+ {
+ Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params);
+ }
+ }
+ }
+
+ public static
+ void glGetProgramNamedParameterdvNV(Int32 id, Int32 len, Byte[] name, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = name)
+ {
+ Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramNamedParameterdvNV(UInt32 id, Int32 len, Byte[] name, [Out] Double[] @params)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = name)
+ fixed (Double* @params_ptr = @params)
+ {
+ Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetProgramNamedParameterdvNV(Int32 id, Int32 len, Byte[] name, [Out] Double[] @params)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = name)
+ fixed (Double* @params_ptr = @params)
+ {
+ Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramNamedParameterdvNV(UInt32 id, Int32 len, Byte[] name, [Out] out Double @params)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = name)
+ fixed (Double* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetProgramNamedParameterdvNV(Int32 id, Int32 len, Byte[] name, [Out] out Double @params)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = name)
+ fixed (Double* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramNamedParameterdvNV(UInt32 id, Int32 len, ref Byte name, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = &name)
+ {
+ Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params);
+ }
+ }
+ }
+
+ public static
+ void glGetProgramNamedParameterdvNV(Int32 id, Int32 len, ref Byte name, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = &name)
+ {
+ Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramNamedParameterdvNV(UInt32 id, Int32 len, ref Byte name, [Out] Double[] @params)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = &name)
+ fixed (Double* @params_ptr = @params)
+ {
+ Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetProgramNamedParameterdvNV(Int32 id, Int32 len, ref Byte name, [Out] Double[] @params)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = &name)
+ fixed (Double* @params_ptr = @params)
+ {
+ Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramNamedParameterdvNV(UInt32 id, Int32 len, ref Byte name, [Out] out Double @params)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = &name)
+ fixed (Double* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetProgramNamedParameterdvNV(Int32 id, Int32 len, ref Byte name, [Out] out Double @params)
+ {
+ unsafe
+ {
+ fixed (Byte* name_ptr = &name)
+ fixed (Double* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertex2hNV(UInt16 x, UInt16 y)
+ {
+ Delegates.glVertex2hNV((UInt16)x, (UInt16)y);
+ }
+
+ public static
+ void glVertex2hNV(Int16 x, Int16 y)
+ {
+ Delegates.glVertex2hNV((UInt16)x, (UInt16)y);
+ }
+
+ public static
+ void glVertex2hvNV(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertex2hvNV((UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertex2hvNV(UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glVertex2hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertex2hvNV(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertex2hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertex2hvNV(ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glVertex2hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertex2hvNV(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertex2hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertex3hNV(UInt16 x, UInt16 y, UInt16 z)
+ {
+ Delegates.glVertex3hNV((UInt16)x, (UInt16)y, (UInt16)z);
+ }
+
+ public static
+ void glVertex3hNV(Int16 x, Int16 y, Int16 z)
+ {
+ Delegates.glVertex3hNV((UInt16)x, (UInt16)y, (UInt16)z);
+ }
+
+ public static
+ void glVertex3hvNV(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertex3hvNV((UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertex3hvNV(UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glVertex3hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertex3hvNV(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertex3hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertex3hvNV(ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glVertex3hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertex3hvNV(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertex3hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertex4hNV(UInt16 x, UInt16 y, UInt16 z, UInt16 w)
+ {
+ Delegates.glVertex4hNV((UInt16)x, (UInt16)y, (UInt16)z, (UInt16)w);
+ }
+
+ public static
+ void glVertex4hNV(Int16 x, Int16 y, Int16 z, Int16 w)
+ {
+ Delegates.glVertex4hNV((UInt16)x, (UInt16)y, (UInt16)z, (UInt16)w);
+ }
+
+ public static
+ void glVertex4hvNV(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertex4hvNV((UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertex4hvNV(UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glVertex4hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertex4hvNV(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertex4hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertex4hvNV(ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glVertex4hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertex4hvNV(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertex4hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glNormal3hNV(UInt16 nx, UInt16 ny, UInt16 nz)
+ {
+ Delegates.glNormal3hNV((UInt16)nx, (UInt16)ny, (UInt16)nz);
+ }
+
+ public static
+ void glNormal3hNV(Int16 nx, Int16 ny, Int16 nz)
+ {
+ Delegates.glNormal3hNV((UInt16)nx, (UInt16)ny, (UInt16)nz);
+ }
+
+ public static
+ void glNormal3hvNV(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glNormal3hvNV((UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glNormal3hvNV(UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glNormal3hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glNormal3hvNV(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glNormal3hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glNormal3hvNV(ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glNormal3hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glNormal3hvNV(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glNormal3hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glColor3hNV(UInt16 red, UInt16 green, UInt16 blue)
+ {
+ Delegates.glColor3hNV((UInt16)red, (UInt16)green, (UInt16)blue);
+ }
+
+ public static
+ void glColor3hNV(Int16 red, Int16 green, Int16 blue)
+ {
+ Delegates.glColor3hNV((UInt16)red, (UInt16)green, (UInt16)blue);
+ }
+
+ public static
+ void glColor3hvNV(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glColor3hvNV((UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glColor3hvNV(UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glColor3hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor3hvNV(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glColor3hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glColor3hvNV(ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glColor3hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor3hvNV(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glColor3hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glColor4hNV(UInt16 red, UInt16 green, UInt16 blue, UInt16 alpha)
+ {
+ Delegates.glColor4hNV((UInt16)red, (UInt16)green, (UInt16)blue, (UInt16)alpha);
+ }
+
+ public static
+ void glColor4hNV(Int16 red, Int16 green, Int16 blue, Int16 alpha)
+ {
+ Delegates.glColor4hNV((UInt16)red, (UInt16)green, (UInt16)blue, (UInt16)alpha);
+ }
+
+ public static
+ void glColor4hvNV(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glColor4hvNV((UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glColor4hvNV(UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glColor4hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4hvNV(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glColor4hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glColor4hvNV(ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glColor4hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glColor4hvNV(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glColor4hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glTexCoord1hNV(UInt16 s)
+ {
+ Delegates.glTexCoord1hNV((UInt16)s);
+ }
+
+ public static
+ void glTexCoord1hNV(Int16 s)
+ {
+ Delegates.glTexCoord1hNV((UInt16)s);
+ }
+
+ public static
+ void glTexCoord1hvNV(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTexCoord1hvNV((UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glTexCoord1hvNV(UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glTexCoord1hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord1hvNV(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glTexCoord1hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glTexCoord1hvNV(ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glTexCoord1hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord1hvNV(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glTexCoord1hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glTexCoord2hNV(UInt16 s, UInt16 t)
+ {
+ Delegates.glTexCoord2hNV((UInt16)s, (UInt16)t);
+ }
+
+ public static
+ void glTexCoord2hNV(Int16 s, Int16 t)
+ {
+ Delegates.glTexCoord2hNV((UInt16)s, (UInt16)t);
+ }
+
+ public static
+ void glTexCoord2hvNV(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTexCoord2hvNV((UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glTexCoord2hvNV(UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glTexCoord2hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2hvNV(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glTexCoord2hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glTexCoord2hvNV(ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glTexCoord2hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord2hvNV(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glTexCoord2hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glTexCoord3hNV(UInt16 s, UInt16 t, UInt16 r)
+ {
+ Delegates.glTexCoord3hNV((UInt16)s, (UInt16)t, (UInt16)r);
+ }
+
+ public static
+ void glTexCoord3hNV(Int16 s, Int16 t, Int16 r)
+ {
+ Delegates.glTexCoord3hNV((UInt16)s, (UInt16)t, (UInt16)r);
+ }
+
+ public static
+ void glTexCoord3hvNV(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTexCoord3hvNV((UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glTexCoord3hvNV(UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glTexCoord3hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord3hvNV(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glTexCoord3hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glTexCoord3hvNV(ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glTexCoord3hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord3hvNV(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glTexCoord3hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glTexCoord4hNV(UInt16 s, UInt16 t, UInt16 r, UInt16 q)
+ {
+ Delegates.glTexCoord4hNV((UInt16)s, (UInt16)t, (UInt16)r, (UInt16)q);
+ }
+
+ public static
+ void glTexCoord4hNV(Int16 s, Int16 t, Int16 r, Int16 q)
+ {
+ Delegates.glTexCoord4hNV((UInt16)s, (UInt16)t, (UInt16)r, (UInt16)q);
+ }
+
+ public static
+ void glTexCoord4hvNV(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glTexCoord4hvNV((UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glTexCoord4hvNV(UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glTexCoord4hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4hvNV(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glTexCoord4hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glTexCoord4hvNV(ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glTexCoord4hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexCoord4hvNV(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glTexCoord4hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glMultiTexCoord1hNV(int target, UInt16 s)
+ {
+ Delegates.glMultiTexCoord1hNV((int)target, (UInt16)s);
+ }
+
+ public static
+ void glMultiTexCoord1hNV(int target, Int16 s)
+ {
+ Delegates.glMultiTexCoord1hNV((int)target, (UInt16)s);
+ }
+
+ public static
+ void glMultiTexCoord1hvNV(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord1hvNV((int)target, (UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glMultiTexCoord1hvNV(int target, UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord1hvNV((int)target, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord1hvNV(int target, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord1hvNV((int)target, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glMultiTexCoord1hvNV(int target, ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord1hvNV((int)target, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord1hvNV(int target, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord1hvNV((int)target, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glMultiTexCoord2hNV(int target, UInt16 s, UInt16 t)
+ {
+ Delegates.glMultiTexCoord2hNV((int)target, (UInt16)s, (UInt16)t);
+ }
+
+ public static
+ void glMultiTexCoord2hNV(int target, Int16 s, Int16 t)
+ {
+ Delegates.glMultiTexCoord2hNV((int)target, (UInt16)s, (UInt16)t);
+ }
+
+ public static
+ void glMultiTexCoord2hvNV(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord2hvNV((int)target, (UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glMultiTexCoord2hvNV(int target, UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord2hvNV((int)target, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord2hvNV(int target, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord2hvNV((int)target, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glMultiTexCoord2hvNV(int target, ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord2hvNV((int)target, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord2hvNV(int target, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord2hvNV((int)target, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glMultiTexCoord3hNV(int target, UInt16 s, UInt16 t, UInt16 r)
+ {
+ Delegates.glMultiTexCoord3hNV((int)target, (UInt16)s, (UInt16)t, (UInt16)r);
+ }
+
+ public static
+ void glMultiTexCoord3hNV(int target, Int16 s, Int16 t, Int16 r)
+ {
+ Delegates.glMultiTexCoord3hNV((int)target, (UInt16)s, (UInt16)t, (UInt16)r);
+ }
+
+ public static
+ void glMultiTexCoord3hvNV(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord3hvNV((int)target, (UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glMultiTexCoord3hvNV(int target, UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord3hvNV((int)target, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord3hvNV(int target, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord3hvNV((int)target, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glMultiTexCoord3hvNV(int target, ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord3hvNV((int)target, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord3hvNV(int target, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord3hvNV((int)target, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glMultiTexCoord4hNV(int target, UInt16 s, UInt16 t, UInt16 r, UInt16 q)
+ {
+ Delegates.glMultiTexCoord4hNV((int)target, (UInt16)s, (UInt16)t, (UInt16)r, (UInt16)q);
+ }
+
+ public static
+ void glMultiTexCoord4hNV(int target, Int16 s, Int16 t, Int16 r, Int16 q)
+ {
+ Delegates.glMultiTexCoord4hNV((int)target, (UInt16)s, (UInt16)t, (UInt16)r, (UInt16)q);
+ }
+
+ public static
+ void glMultiTexCoord4hvNV(int target, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glMultiTexCoord4hvNV((int)target, (UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glMultiTexCoord4hvNV(int target, UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord4hvNV((int)target, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord4hvNV(int target, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glMultiTexCoord4hvNV((int)target, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glMultiTexCoord4hvNV(int target, ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord4hvNV((int)target, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiTexCoord4hvNV(int target, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glMultiTexCoord4hvNV((int)target, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glFogCoordhNV(UInt16 fog)
+ {
+ Delegates.glFogCoordhNV((UInt16)fog);
+ }
+
+ public static
+ void glFogCoordhNV(Int16 fog)
+ {
+ Delegates.glFogCoordhNV((UInt16)fog);
+ }
+
+ public static
+ void glFogCoordhvNV(IntPtr fog)
+ {
+ unsafe
+ {
+ Delegates.glFogCoordhvNV((UInt16*)fog);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glFogCoordhvNV(UInt16[] fog)
+ {
+ unsafe
+ {
+ fixed (UInt16* fog_ptr = fog)
+ {
+ Delegates.glFogCoordhvNV((UInt16*)fog_ptr);
+ }
+ }
+ }
+
+ public static
+ void glFogCoordhvNV(Int16[] fog)
+ {
+ unsafe
+ {
+ fixed (Int16* fog_ptr = fog)
+ {
+ Delegates.glFogCoordhvNV((UInt16*)fog_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glFogCoordhvNV(ref UInt16 fog)
+ {
+ unsafe
+ {
+ fixed (UInt16* fog_ptr = &fog)
+ {
+ Delegates.glFogCoordhvNV((UInt16*)fog_ptr);
+ }
+ }
+ }
+
+ public static
+ void glFogCoordhvNV(ref Int16 fog)
+ {
+ unsafe
+ {
+ fixed (Int16* fog_ptr = &fog)
+ {
+ Delegates.glFogCoordhvNV((UInt16*)fog_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSecondaryColor3hNV(UInt16 red, UInt16 green, UInt16 blue)
+ {
+ Delegates.glSecondaryColor3hNV((UInt16)red, (UInt16)green, (UInt16)blue);
+ }
+
+ public static
+ void glSecondaryColor3hNV(Int16 red, Int16 green, Int16 blue)
+ {
+ Delegates.glSecondaryColor3hNV((UInt16)red, (UInt16)green, (UInt16)blue);
+ }
+
+ public static
+ void glSecondaryColor3hvNV(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glSecondaryColor3hvNV((UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSecondaryColor3hvNV(UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glSecondaryColor3hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3hvNV(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glSecondaryColor3hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSecondaryColor3hvNV(ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glSecondaryColor3hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColor3hvNV(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glSecondaryColor3hvNV((UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexWeighthNV(UInt16 weight)
+ {
+ Delegates.glVertexWeighthNV((UInt16)weight);
+ }
+
+ public static
+ void glVertexWeighthNV(Int16 weight)
+ {
+ Delegates.glVertexWeighthNV((UInt16)weight);
+ }
+
+ public static
+ void glVertexWeighthvNV(IntPtr weight)
+ {
+ unsafe
+ {
+ Delegates.glVertexWeighthvNV((UInt16*)weight);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexWeighthvNV(UInt16[] weight)
+ {
+ unsafe
+ {
+ fixed (UInt16* weight_ptr = weight)
+ {
+ Delegates.glVertexWeighthvNV((UInt16*)weight_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexWeighthvNV(Int16[] weight)
+ {
+ unsafe
+ {
+ fixed (Int16* weight_ptr = weight)
+ {
+ Delegates.glVertexWeighthvNV((UInt16*)weight_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexWeighthvNV(ref UInt16 weight)
+ {
+ unsafe
+ {
+ fixed (UInt16* weight_ptr = &weight)
+ {
+ Delegates.glVertexWeighthvNV((UInt16*)weight_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexWeighthvNV(ref Int16 weight)
+ {
+ unsafe
+ {
+ fixed (Int16* weight_ptr = &weight)
+ {
+ Delegates.glVertexWeighthvNV((UInt16*)weight_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1hNV(UInt32 index, UInt16 x)
+ {
+ Delegates.glVertexAttrib1hNV((UInt32)index, (UInt16)x);
+ }
+
+ public static
+ void glVertexAttrib1hNV(Int32 index, Int16 x)
+ {
+ Delegates.glVertexAttrib1hNV((UInt32)index, (UInt16)x);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1hvNV(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib1hvNV((UInt32)index, (UInt16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib1hvNV(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib1hvNV((UInt32)index, (UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1hvNV(UInt32 index, UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib1hvNV((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib1hvNV(Int32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib1hvNV((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib1hvNV(UInt32 index, ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib1hvNV((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib1hvNV(Int32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib1hvNV((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2hNV(UInt32 index, UInt16 x, UInt16 y)
+ {
+ Delegates.glVertexAttrib2hNV((UInt32)index, (UInt16)x, (UInt16)y);
+ }
+
+ public static
+ void glVertexAttrib2hNV(Int32 index, Int16 x, Int16 y)
+ {
+ Delegates.glVertexAttrib2hNV((UInt32)index, (UInt16)x, (UInt16)y);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2hvNV(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib2hvNV((UInt32)index, (UInt16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib2hvNV(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib2hvNV((UInt32)index, (UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2hvNV(UInt32 index, UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib2hvNV((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib2hvNV(Int32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib2hvNV((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib2hvNV(UInt32 index, ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib2hvNV((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib2hvNV(Int32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib2hvNV((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3hNV(UInt32 index, UInt16 x, UInt16 y, UInt16 z)
+ {
+ Delegates.glVertexAttrib3hNV((UInt32)index, (UInt16)x, (UInt16)y, (UInt16)z);
+ }
+
+ public static
+ void glVertexAttrib3hNV(Int32 index, Int16 x, Int16 y, Int16 z)
+ {
+ Delegates.glVertexAttrib3hNV((UInt32)index, (UInt16)x, (UInt16)y, (UInt16)z);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3hvNV(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib3hvNV((UInt32)index, (UInt16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib3hvNV(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib3hvNV((UInt32)index, (UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3hvNV(UInt32 index, UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib3hvNV((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib3hvNV(Int32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib3hvNV((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib3hvNV(UInt32 index, ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib3hvNV((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib3hvNV(Int32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib3hvNV((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4hNV(UInt32 index, UInt16 x, UInt16 y, UInt16 z, UInt16 w)
+ {
+ Delegates.glVertexAttrib4hNV((UInt32)index, (UInt16)x, (UInt16)y, (UInt16)z, (UInt16)w);
+ }
+
+ public static
+ void glVertexAttrib4hNV(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w)
+ {
+ Delegates.glVertexAttrib4hNV((UInt32)index, (UInt16)x, (UInt16)y, (UInt16)z, (UInt16)w);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4hvNV(UInt32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4hvNV((UInt32)index, (UInt16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttrib4hvNV(Int32 index, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttrib4hvNV((UInt32)index, (UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4hvNV(UInt32 index, UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4hvNV((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4hvNV(Int32 index, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttrib4hvNV((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttrib4hvNV(UInt32 index, ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4hvNV((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttrib4hvNV(Int32 index, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttrib4hvNV((UInt32)index, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs1hvNV(UInt32 index, Int32 n, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (UInt16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttribs1hvNV(Int32 index, Int32 n, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs1hvNV(UInt32 index, Int32 n, UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs1hvNV(Int32 index, Int32 n, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs1hvNV(UInt32 index, Int32 n, ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs1hvNV(Int32 index, Int32 n, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs2hvNV(UInt32 index, Int32 n, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (UInt16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttribs2hvNV(Int32 index, Int32 n, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs2hvNV(UInt32 index, Int32 n, UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs2hvNV(Int32 index, Int32 n, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs2hvNV(UInt32 index, Int32 n, ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs2hvNV(Int32 index, Int32 n, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs3hvNV(UInt32 index, Int32 n, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (UInt16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttribs3hvNV(Int32 index, Int32 n, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs3hvNV(UInt32 index, Int32 n, UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs3hvNV(Int32 index, Int32 n, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs3hvNV(UInt32 index, Int32 n, ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs3hvNV(Int32 index, Int32 n, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs4hvNV(UInt32 index, Int32 n, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (UInt16*)v);
+ }
+ }
+
+ public static
+ void glVertexAttribs4hvNV(Int32 index, Int32 n, IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (UInt16*)v);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs4hvNV(UInt32 index, Int32 n, UInt16[] v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = v)
+ {
+ Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs4hvNV(Int32 index, Int32 n, Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribs4hvNV(UInt32 index, Int32 n, ref UInt16 v)
+ {
+ unsafe
+ {
+ fixed (UInt16* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexAttribs4hvNV(Int32 index, Int32 n, ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPixelDataRangeNV(int target, Int32 length, [Out] IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glPixelDataRangeNV((int)target, (Int32)length, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glPixelDataRangeNV(int target, Int32 length, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glPixelDataRangeNV((int)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glFlushPixelDataRangeNV(int target)
+ {
+ Delegates.glFlushPixelDataRangeNV((int)target);
+ }
+
+ public static
+ void glPrimitiveRestartNV()
+ {
+ Delegates.glPrimitiveRestartNV();
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glPrimitiveRestartIndexNV(UInt32 index)
+ {
+ Delegates.glPrimitiveRestartIndexNV((UInt32)index);
+ }
+
+ public static
+ void glPrimitiveRestartIndexNV(Int32 index)
+ {
+ Delegates.glPrimitiveRestartIndexNV((UInt32)index);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramLocalParameterI4iNV(int target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w)
+ {
+ Delegates.glProgramLocalParameterI4iNV((int)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w);
+ }
+
+ public static
+ void glProgramLocalParameterI4iNV(int target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w)
+ {
+ Delegates.glProgramLocalParameterI4iNV((int)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramLocalParameterI4ivNV(int target, UInt32 index, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramLocalParameterI4ivNV((int)target, (UInt32)index, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glProgramLocalParameterI4ivNV(int target, Int32 index, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramLocalParameterI4ivNV((int)target, (UInt32)index, (Int32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramLocalParameterI4ivNV(int target, UInt32 index, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glProgramLocalParameterI4ivNV((int)target, (UInt32)index, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramLocalParameterI4ivNV(int target, Int32 index, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glProgramLocalParameterI4ivNV((int)target, (UInt32)index, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramLocalParameterI4ivNV(int target, UInt32 index, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glProgramLocalParameterI4ivNV((int)target, (UInt32)index, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramLocalParameterI4ivNV(int target, Int32 index, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glProgramLocalParameterI4ivNV((int)target, (UInt32)index, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramLocalParametersI4ivNV(int target, UInt32 index, Int32 count, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramLocalParametersI4ivNV((int)target, (UInt32)index, (Int32)count, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glProgramLocalParametersI4ivNV(int target, Int32 index, Int32 count, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramLocalParametersI4ivNV((int)target, (UInt32)index, (Int32)count, (Int32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramLocalParametersI4ivNV(int target, UInt32 index, Int32 count, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glProgramLocalParametersI4ivNV((int)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramLocalParametersI4ivNV(int target, Int32 index, Int32 count, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glProgramLocalParametersI4ivNV((int)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramLocalParametersI4ivNV(int target, UInt32 index, Int32 count, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glProgramLocalParametersI4ivNV((int)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramLocalParametersI4ivNV(int target, Int32 index, Int32 count, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glProgramLocalParametersI4ivNV((int)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramLocalParameterI4uiNV(int target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w)
+ {
+ Delegates.glProgramLocalParameterI4uiNV((int)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w);
+ }
+
+ public static
+ void glProgramLocalParameterI4uiNV(int target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w)
+ {
+ Delegates.glProgramLocalParameterI4uiNV((int)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramLocalParameterI4uivNV(int target, UInt32 index, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramLocalParameterI4uivNV((int)target, (UInt32)index, (UInt32*)@params);
+ }
+ }
+
+ public static
+ void glProgramLocalParameterI4uivNV(int target, Int32 index, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramLocalParameterI4uivNV((int)target, (UInt32)index, (UInt32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramLocalParameterI4uivNV(int target, UInt32 index, UInt32[] @params)
+ {
+ unsafe
+ {
+ fixed (UInt32* @params_ptr = @params)
+ {
+ Delegates.glProgramLocalParameterI4uivNV((int)target, (UInt32)index, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramLocalParameterI4uivNV(int target, Int32 index, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glProgramLocalParameterI4uivNV((int)target, (UInt32)index, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramLocalParameterI4uivNV(int target, UInt32 index, ref UInt32 @params)
+ {
+ unsafe
+ {
+ fixed (UInt32* @params_ptr = &@params)
+ {
+ Delegates.glProgramLocalParameterI4uivNV((int)target, (UInt32)index, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramLocalParameterI4uivNV(int target, Int32 index, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glProgramLocalParameterI4uivNV((int)target, (UInt32)index, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramLocalParametersI4uivNV(int target, UInt32 index, Int32 count, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramLocalParametersI4uivNV((int)target, (UInt32)index, (Int32)count, (UInt32*)@params);
+ }
+ }
+
+ public static
+ void glProgramLocalParametersI4uivNV(int target, Int32 index, Int32 count, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramLocalParametersI4uivNV((int)target, (UInt32)index, (Int32)count, (UInt32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramLocalParametersI4uivNV(int target, UInt32 index, Int32 count, UInt32[] @params)
+ {
+ unsafe
+ {
+ fixed (UInt32* @params_ptr = @params)
+ {
+ Delegates.glProgramLocalParametersI4uivNV((int)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramLocalParametersI4uivNV(int target, Int32 index, Int32 count, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glProgramLocalParametersI4uivNV((int)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramLocalParametersI4uivNV(int target, UInt32 index, Int32 count, ref UInt32 @params)
+ {
+ unsafe
+ {
+ fixed (UInt32* @params_ptr = &@params)
+ {
+ Delegates.glProgramLocalParametersI4uivNV((int)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramLocalParametersI4uivNV(int target, Int32 index, Int32 count, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glProgramLocalParametersI4uivNV((int)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramEnvParameterI4iNV(int target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w)
+ {
+ Delegates.glProgramEnvParameterI4iNV((int)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w);
+ }
+
+ public static
+ void glProgramEnvParameterI4iNV(int target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w)
+ {
+ Delegates.glProgramEnvParameterI4iNV((int)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramEnvParameterI4ivNV(int target, UInt32 index, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramEnvParameterI4ivNV((int)target, (UInt32)index, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glProgramEnvParameterI4ivNV(int target, Int32 index, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramEnvParameterI4ivNV((int)target, (UInt32)index, (Int32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramEnvParameterI4ivNV(int target, UInt32 index, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glProgramEnvParameterI4ivNV((int)target, (UInt32)index, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramEnvParameterI4ivNV(int target, Int32 index, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glProgramEnvParameterI4ivNV((int)target, (UInt32)index, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramEnvParameterI4ivNV(int target, UInt32 index, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glProgramEnvParameterI4ivNV((int)target, (UInt32)index, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramEnvParameterI4ivNV(int target, Int32 index, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glProgramEnvParameterI4ivNV((int)target, (UInt32)index, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramEnvParametersI4ivNV(int target, UInt32 index, Int32 count, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramEnvParametersI4ivNV((int)target, (UInt32)index, (Int32)count, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glProgramEnvParametersI4ivNV(int target, Int32 index, Int32 count, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramEnvParametersI4ivNV((int)target, (UInt32)index, (Int32)count, (Int32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramEnvParametersI4ivNV(int target, UInt32 index, Int32 count, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glProgramEnvParametersI4ivNV((int)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramEnvParametersI4ivNV(int target, Int32 index, Int32 count, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glProgramEnvParametersI4ivNV((int)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramEnvParametersI4ivNV(int target, UInt32 index, Int32 count, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glProgramEnvParametersI4ivNV((int)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramEnvParametersI4ivNV(int target, Int32 index, Int32 count, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glProgramEnvParametersI4ivNV((int)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramEnvParameterI4uiNV(int target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w)
+ {
+ Delegates.glProgramEnvParameterI4uiNV((int)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w);
+ }
+
+ public static
+ void glProgramEnvParameterI4uiNV(int target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w)
+ {
+ Delegates.glProgramEnvParameterI4uiNV((int)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramEnvParameterI4uivNV(int target, UInt32 index, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramEnvParameterI4uivNV((int)target, (UInt32)index, (UInt32*)@params);
+ }
+ }
+
+ public static
+ void glProgramEnvParameterI4uivNV(int target, Int32 index, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramEnvParameterI4uivNV((int)target, (UInt32)index, (UInt32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramEnvParameterI4uivNV(int target, UInt32 index, UInt32[] @params)
+ {
+ unsafe
+ {
+ fixed (UInt32* @params_ptr = @params)
+ {
+ Delegates.glProgramEnvParameterI4uivNV((int)target, (UInt32)index, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramEnvParameterI4uivNV(int target, Int32 index, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glProgramEnvParameterI4uivNV((int)target, (UInt32)index, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramEnvParameterI4uivNV(int target, UInt32 index, ref UInt32 @params)
+ {
+ unsafe
+ {
+ fixed (UInt32* @params_ptr = &@params)
+ {
+ Delegates.glProgramEnvParameterI4uivNV((int)target, (UInt32)index, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramEnvParameterI4uivNV(int target, Int32 index, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glProgramEnvParameterI4uivNV((int)target, (UInt32)index, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramEnvParametersI4uivNV(int target, UInt32 index, Int32 count, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramEnvParametersI4uivNV((int)target, (UInt32)index, (Int32)count, (UInt32*)@params);
+ }
+ }
+
+ public static
+ void glProgramEnvParametersI4uivNV(int target, Int32 index, Int32 count, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramEnvParametersI4uivNV((int)target, (UInt32)index, (Int32)count, (UInt32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramEnvParametersI4uivNV(int target, UInt32 index, Int32 count, UInt32[] @params)
+ {
+ unsafe
+ {
+ fixed (UInt32* @params_ptr = @params)
+ {
+ Delegates.glProgramEnvParametersI4uivNV((int)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramEnvParametersI4uivNV(int target, Int32 index, Int32 count, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glProgramEnvParametersI4uivNV((int)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramEnvParametersI4uivNV(int target, UInt32 index, Int32 count, ref UInt32 @params)
+ {
+ unsafe
+ {
+ fixed (UInt32* @params_ptr = &@params)
+ {
+ Delegates.glProgramEnvParametersI4uivNV((int)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramEnvParametersI4uivNV(int target, Int32 index, Int32 count, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glProgramEnvParametersI4uivNV((int)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramLocalParameterIivNV(int target, UInt32 index, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramLocalParameterIivNV((int)target, (UInt32)index, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetProgramLocalParameterIivNV(int target, Int32 index, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramLocalParameterIivNV((int)target, (UInt32)index, (Int32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramLocalParameterIivNV(int target, UInt32 index, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetProgramLocalParameterIivNV((int)target, (UInt32)index, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetProgramLocalParameterIivNV(int target, Int32 index, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetProgramLocalParameterIivNV((int)target, (UInt32)index, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramLocalParameterIivNV(int target, UInt32 index, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramLocalParameterIivNV((int)target, (UInt32)index, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetProgramLocalParameterIivNV(int target, Int32 index, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramLocalParameterIivNV((int)target, (UInt32)index, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramLocalParameterIuivNV(int target, UInt32 index, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramLocalParameterIuivNV((int)target, (UInt32)index, (UInt32*)@params);
+ }
+ }
+
+ public static
+ void glGetProgramLocalParameterIuivNV(int target, Int32 index, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramLocalParameterIuivNV((int)target, (UInt32)index, (UInt32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramLocalParameterIuivNV(int target, UInt32 index, [Out] UInt32[] @params)
+ {
+ unsafe
+ {
+ fixed (UInt32* @params_ptr = @params)
+ {
+ Delegates.glGetProgramLocalParameterIuivNV((int)target, (UInt32)index, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetProgramLocalParameterIuivNV(int target, Int32 index, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetProgramLocalParameterIuivNV((int)target, (UInt32)index, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramLocalParameterIuivNV(int target, UInt32 index, [Out] out UInt32 @params)
+ {
+ unsafe
+ {
+ fixed (UInt32* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramLocalParameterIuivNV((int)target, (UInt32)index, (UInt32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetProgramLocalParameterIuivNV(int target, Int32 index, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramLocalParameterIuivNV((int)target, (UInt32)index, (UInt32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramEnvParameterIivNV(int target, UInt32 index, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramEnvParameterIivNV((int)target, (UInt32)index, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetProgramEnvParameterIivNV(int target, Int32 index, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramEnvParameterIivNV((int)target, (UInt32)index, (Int32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramEnvParameterIivNV(int target, UInt32 index, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetProgramEnvParameterIivNV((int)target, (UInt32)index, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetProgramEnvParameterIivNV(int target, Int32 index, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetProgramEnvParameterIivNV((int)target, (UInt32)index, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramEnvParameterIivNV(int target, UInt32 index, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramEnvParameterIivNV((int)target, (UInt32)index, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetProgramEnvParameterIivNV(int target, Int32 index, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramEnvParameterIivNV((int)target, (UInt32)index, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramEnvParameterIuivNV(int target, UInt32 index, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramEnvParameterIuivNV((int)target, (UInt32)index, (UInt32*)@params);
+ }
+ }
+
+ public static
+ void glGetProgramEnvParameterIuivNV(int target, Int32 index, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetProgramEnvParameterIuivNV((int)target, (UInt32)index, (UInt32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramEnvParameterIuivNV(int target, UInt32 index, [Out] UInt32[] @params)
+ {
+ unsafe
+ {
+ fixed (UInt32* @params_ptr = @params)
+ {
+ Delegates.glGetProgramEnvParameterIuivNV((int)target, (UInt32)index, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetProgramEnvParameterIuivNV(int target, Int32 index, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetProgramEnvParameterIuivNV((int)target, (UInt32)index, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetProgramEnvParameterIuivNV(int target, UInt32 index, [Out] out UInt32 @params)
+ {
+ unsafe
+ {
+ fixed (UInt32* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramEnvParameterIuivNV((int)target, (UInt32)index, (UInt32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetProgramEnvParameterIuivNV(int target, Int32 index, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramEnvParameterIuivNV((int)target, (UInt32)index, (UInt32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glProgramVertexLimitNV(int target, Int32 limit)
+ {
+ Delegates.glProgramVertexLimitNV((int)target, (Int32)limit);
+ }
+
+ public static
+ void glDepthRangedNV(Double zNear, Double zFar)
+ {
+ Delegates.glDepthRangedNV((Double)zNear, (Double)zFar);
+ }
+
+ public static
+ void glClearDepthdNV(Double depth)
+ {
+ Delegates.glClearDepthdNV((Double)depth);
+ }
+
+ public static
+ void glDepthBoundsdNV(Double zmin, Double zmax)
+ {
+ Delegates.glDepthBoundsdNV((Double)zmin, (Double)zmax);
+ }
+
+ public static
+ void glRenderbufferStorageMultisampleCoverageNV(int target, Int32 coverageSamples, Int32 colorSamples, int internalformat, Int32 width, Int32 height)
+ {
+ Delegates.glRenderbufferStorageMultisampleCoverageNV((int)target, (Int32)coverageSamples, (Int32)colorSamples, (int)internalformat, (Int32)width, (Int32)height);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramBufferParametersfvNV(int target, UInt32 buffer, UInt32 index, Int32 count, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramBufferParametersfvNV((int)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params);
+ }
+ }
+
+ public static
+ void glProgramBufferParametersfvNV(int target, Int32 buffer, Int32 index, Int32 count, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramBufferParametersfvNV((int)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramBufferParametersfvNV(int target, UInt32 buffer, UInt32 index, Int32 count, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glProgramBufferParametersfvNV((int)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramBufferParametersfvNV(int target, Int32 buffer, Int32 index, Int32 count, Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glProgramBufferParametersfvNV((int)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramBufferParametersfvNV(int target, UInt32 buffer, UInt32 index, Int32 count, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glProgramBufferParametersfvNV((int)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramBufferParametersfvNV(int target, Int32 buffer, Int32 index, Int32 count, ref Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glProgramBufferParametersfvNV((int)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramBufferParametersIivNV(int target, UInt32 buffer, UInt32 index, Int32 count, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramBufferParametersIivNV((int)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glProgramBufferParametersIivNV(int target, Int32 buffer, Int32 index, Int32 count, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramBufferParametersIivNV((int)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramBufferParametersIivNV(int target, UInt32 buffer, UInt32 index, Int32 count, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glProgramBufferParametersIivNV((int)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramBufferParametersIivNV(int target, Int32 buffer, Int32 index, Int32 count, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glProgramBufferParametersIivNV((int)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramBufferParametersIivNV(int target, UInt32 buffer, UInt32 index, Int32 count, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glProgramBufferParametersIivNV((int)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramBufferParametersIivNV(int target, Int32 buffer, Int32 index, Int32 count, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glProgramBufferParametersIivNV((int)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramBufferParametersIuivNV(int target, UInt32 buffer, UInt32 index, Int32 count, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramBufferParametersIuivNV((int)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params);
+ }
+ }
+
+ public static
+ void glProgramBufferParametersIuivNV(int target, Int32 buffer, Int32 index, Int32 count, IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glProgramBufferParametersIuivNV((int)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramBufferParametersIuivNV(int target, UInt32 buffer, UInt32 index, Int32 count, UInt32[] @params)
+ {
+ unsafe
+ {
+ fixed (UInt32* @params_ptr = @params)
+ {
+ Delegates.glProgramBufferParametersIuivNV((int)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramBufferParametersIuivNV(int target, Int32 buffer, Int32 index, Int32 count, Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glProgramBufferParametersIuivNV((int)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glProgramBufferParametersIuivNV(int target, UInt32 buffer, UInt32 index, Int32 count, ref UInt32 @params)
+ {
+ unsafe
+ {
+ fixed (UInt32* @params_ptr = &@params)
+ {
+ Delegates.glProgramBufferParametersIuivNV((int)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glProgramBufferParametersIuivNV(int target, Int32 buffer, Int32 index, Int32 count, ref Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glProgramBufferParametersIuivNV((int)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glBeginTransformFeedbackNV(int primitiveMode)
+ {
+ Delegates.glBeginTransformFeedbackNV((int)primitiveMode);
+ }
+
+ public static
+ void glEndTransformFeedbackNV()
+ {
+ Delegates.glEndTransformFeedbackNV();
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glTransformFeedbackAttribsNV(UInt32 count, IntPtr attribs, int bufferMode)
+ {
+ unsafe
+ {
+ Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs, (int)bufferMode);
+ }
+ }
+
+ public static
+ void glTransformFeedbackAttribsNV(Int32 count, IntPtr attribs, int bufferMode)
+ {
+ unsafe
+ {
+ Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs, (int)bufferMode);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glTransformFeedbackAttribsNV(UInt32 count, Int32[] attribs, int bufferMode)
+ {
+ unsafe
+ {
+ fixed (Int32* attribs_ptr = attribs)
+ {
+ Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (int)bufferMode);
+ }
+ }
+ }
+
+ public static
+ void glTransformFeedbackAttribsNV(Int32 count, Int32[] attribs, int bufferMode)
+ {
+ unsafe
+ {
+ fixed (Int32* attribs_ptr = attribs)
+ {
+ Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (int)bufferMode);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glTransformFeedbackAttribsNV(UInt32 count, ref Int32 attribs, int bufferMode)
+ {
+ unsafe
+ {
+ fixed (Int32* attribs_ptr = &attribs)
+ {
+ Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (int)bufferMode);
+ }
+ }
+ }
+
+ public static
+ void glTransformFeedbackAttribsNV(Int32 count, ref Int32 attribs, int bufferMode)
+ {
+ unsafe
+ {
+ fixed (Int32* attribs_ptr = &attribs)
+ {
+ Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (int)bufferMode);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glBindBufferRangeNV(int target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size)
+ {
+ Delegates.glBindBufferRangeNV((int)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size);
+ }
+
+ public static
+ void glBindBufferRangeNV(int target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size)
+ {
+ Delegates.glBindBufferRangeNV((int)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glBindBufferOffsetNV(int target, UInt32 index, UInt32 buffer, IntPtr offset)
+ {
+ Delegates.glBindBufferOffsetNV((int)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset);
+ }
+
+ public static
+ void glBindBufferOffsetNV(int target, Int32 index, Int32 buffer, IntPtr offset)
+ {
+ Delegates.glBindBufferOffsetNV((int)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glBindBufferBaseNV(int target, UInt32 index, UInt32 buffer)
+ {
+ Delegates.glBindBufferBaseNV((int)target, (UInt32)index, (UInt32)buffer);
+ }
+
+ public static
+ void glBindBufferBaseNV(int target, Int32 index, Int32 buffer)
+ {
+ Delegates.glBindBufferBaseNV((int)target, (UInt32)index, (UInt32)buffer);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glTransformFeedbackVaryingsNV(UInt32 program, Int32 count, IntPtr locations, int bufferMode)
+ {
+ unsafe
+ {
+ Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations, (int)bufferMode);
+ }
+ }
+
+ public static
+ void glTransformFeedbackVaryingsNV(Int32 program, Int32 count, IntPtr locations, int bufferMode)
+ {
+ unsafe
+ {
+ Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations, (int)bufferMode);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glTransformFeedbackVaryingsNV(UInt32 program, Int32 count, Int32[] locations, int bufferMode)
+ {
+ unsafe
+ {
+ fixed (Int32* locations_ptr = locations)
+ {
+ Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (int)bufferMode);
+ }
+ }
+ }
+
+ public static
+ void glTransformFeedbackVaryingsNV(Int32 program, Int32 count, Int32[] locations, int bufferMode)
+ {
+ unsafe
+ {
+ fixed (Int32* locations_ptr = locations)
+ {
+ Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (int)bufferMode);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glTransformFeedbackVaryingsNV(UInt32 program, Int32 count, ref Int32 locations, int bufferMode)
+ {
+ unsafe
+ {
+ fixed (Int32* locations_ptr = &locations)
+ {
+ Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (int)bufferMode);
+ }
+ }
+ }
+
+ public static
+ void glTransformFeedbackVaryingsNV(Int32 program, Int32 count, ref Int32 locations, int bufferMode)
+ {
+ unsafe
+ {
+ fixed (Int32* locations_ptr = &locations)
+ {
+ Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (int)bufferMode);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glActiveVaryingNV(UInt32 program, System.String name)
+ {
+ Delegates.glActiveVaryingNV((UInt32)program, (System.String)name);
+ }
+
+ public static
+ void glActiveVaryingNV(Int32 program, System.String name)
+ {
+ Delegates.glActiveVaryingNV((UInt32)program, (System.String)name);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glGetVaryingLocationNV(UInt32 program, System.String name)
+ {
+ return Delegates.glGetVaryingLocationNV((UInt32)program, (System.String)name);
+ }
+
+ public static
+ Int32 glGetVaryingLocationNV(Int32 program, System.String name)
+ {
+ return Delegates.glGetVaryingLocationNV((UInt32)program, (System.String)name);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] IntPtr length, [Out] IntPtr size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+
+ public static
+ void glGetActiveVaryingNV(Int32 program, Int32 index, Int32 bufSize, [Out] IntPtr length, [Out] IntPtr size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] IntPtr length, [Out] IntPtr size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveVaryingNV(Int32 program, Int32 index, Int32 bufSize, [Out] IntPtr length, [Out] IntPtr size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] IntPtr length, [Out] IntPtr size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveVaryingNV(Int32 program, Int32 index, Int32 bufSize, [Out] IntPtr length, [Out] IntPtr size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] IntPtr length, [Out] Int32[] size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = size)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveVaryingNV(Int32 program, Int32 index, Int32 bufSize, [Out] IntPtr length, [Out] Int32[] size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = size)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] IntPtr length, [Out] Int32[] size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveVaryingNV(Int32 program, Int32 index, Int32 bufSize, [Out] IntPtr length, [Out] Int32[] size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] IntPtr length, [Out] Int32[] size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveVaryingNV(Int32 program, Int32 index, Int32 bufSize, [Out] IntPtr length, [Out] Int32[] size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] IntPtr length, [Out] out Int32 size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = &size)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveVaryingNV(Int32 program, Int32 index, Int32 bufSize, [Out] IntPtr length, [Out] out Int32 size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = &size)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] IntPtr length, [Out] out Int32 size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveVaryingNV(Int32 program, Int32 index, Int32 bufSize, [Out] IntPtr length, [Out] out Int32 size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] IntPtr length, [Out] out Int32 size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveVaryingNV(Int32 program, Int32 index, Int32 bufSize, [Out] IntPtr length, [Out] out Int32 size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] IntPtr size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveVaryingNV(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] IntPtr size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] IntPtr size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveVaryingNV(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] IntPtr size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] IntPtr size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveVaryingNV(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] IntPtr size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveVaryingNV(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ public static
+ void glGetActiveVaryingNV(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveVaryingNV(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = &size)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveVaryingNV(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = &size)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveVaryingNV(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveVaryingNV(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ size = *size_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] IntPtr size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveVaryingNV(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] IntPtr size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] IntPtr size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveVaryingNV(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] IntPtr size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] IntPtr size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveVaryingNV(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] IntPtr size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = size)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveVaryingNV(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = size)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveVaryingNV(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveVaryingNV(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ size = *size_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveVaryingNV(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] IntPtr type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ size = *size_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ size = *size_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveVaryingNV(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] int[] type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ size = *size_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ size = *size_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetActiveVaryingNV(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out int type, [Out] System.Text.StringBuilder name)
+ {
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ fixed (int* type_ptr = &type)
+ {
+ Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (int*)type_ptr, (System.Text.StringBuilder)name);
+ length = *length_ptr;
+ size = *size_ptr;
+ type = *type_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetTransformFeedbackVaryingNV(UInt32 program, UInt32 index, [Out] IntPtr location)
+ {
+ unsafe
+ {
+ Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location);
+ }
+ }
+
+ public static
+ void glGetTransformFeedbackVaryingNV(Int32 program, Int32 index, [Out] IntPtr location)
+ {
+ unsafe
+ {
+ Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetTransformFeedbackVaryingNV(UInt32 program, UInt32 index, [Out] Int32[] location)
+ {
+ unsafe
+ {
+ fixed (Int32* location_ptr = location)
+ {
+ Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetTransformFeedbackVaryingNV(Int32 program, Int32 index, [Out] Int32[] location)
+ {
+ unsafe
+ {
+ fixed (Int32* location_ptr = location)
+ {
+ Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetTransformFeedbackVaryingNV(UInt32 program, UInt32 index, [Out] out Int32 location)
+ {
+ unsafe
+ {
+ fixed (Int32* location_ptr = &location)
+ {
+ Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location_ptr);
+ location = *location_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetTransformFeedbackVaryingNV(Int32 program, Int32 index, [Out] out Int32 location)
+ {
+ unsafe
+ {
+ fixed (Int32* location_ptr = &location)
+ {
+ Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location_ptr);
+ location = *location_ptr;
+ }
+ }
+ }
+
+ public static
+ void glResizeBuffersMESA()
+ {
+ Delegates.glResizeBuffersMESA();
+ }
+
+ public static
+ void glWindowPos2dMESA(Double x, Double y)
+ {
+ Delegates.glWindowPos2dMESA((Double)x, (Double)y);
+ }
+
+ public static
+ void glWindowPos2dvMESA(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glWindowPos2dvMESA((Double*)v);
+ }
+ }
+
+ public static
+ void glWindowPos2dvMESA(Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glWindowPos2dvMESA((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos2dvMESA(ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glWindowPos2dvMESA((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos2fMESA(Single x, Single y)
+ {
+ Delegates.glWindowPos2fMESA((Single)x, (Single)y);
+ }
+
+ public static
+ void glWindowPos2fvMESA(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glWindowPos2fvMESA((Single*)v);
+ }
+ }
+
+ public static
+ void glWindowPos2fvMESA(Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glWindowPos2fvMESA((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos2fvMESA(ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glWindowPos2fvMESA((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos2iMESA(Int32 x, Int32 y)
+ {
+ Delegates.glWindowPos2iMESA((Int32)x, (Int32)y);
+ }
+
+ public static
+ void glWindowPos2ivMESA(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glWindowPos2ivMESA((Int32*)v);
+ }
+ }
+
+ public static
+ void glWindowPos2ivMESA(Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glWindowPos2ivMESA((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos2ivMESA(ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glWindowPos2ivMESA((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos2sMESA(Int16 x, Int16 y)
+ {
+ Delegates.glWindowPos2sMESA((Int16)x, (Int16)y);
+ }
+
+ public static
+ void glWindowPos2svMESA(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glWindowPos2svMESA((Int16*)v);
+ }
+ }
+
+ public static
+ void glWindowPos2svMESA(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glWindowPos2svMESA((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos2svMESA(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glWindowPos2svMESA((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos3dMESA(Double x, Double y, Double z)
+ {
+ Delegates.glWindowPos3dMESA((Double)x, (Double)y, (Double)z);
+ }
+
+ public static
+ void glWindowPos3dvMESA(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glWindowPos3dvMESA((Double*)v);
+ }
+ }
+
+ public static
+ void glWindowPos3dvMESA(Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glWindowPos3dvMESA((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos3dvMESA(ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glWindowPos3dvMESA((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos3fMESA(Single x, Single y, Single z)
+ {
+ Delegates.glWindowPos3fMESA((Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glWindowPos3fvMESA(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glWindowPos3fvMESA((Single*)v);
+ }
+ }
+
+ public static
+ void glWindowPos3fvMESA(Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glWindowPos3fvMESA((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos3fvMESA(ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glWindowPos3fvMESA((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos3iMESA(Int32 x, Int32 y, Int32 z)
+ {
+ Delegates.glWindowPos3iMESA((Int32)x, (Int32)y, (Int32)z);
+ }
+
+ public static
+ void glWindowPos3ivMESA(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glWindowPos3ivMESA((Int32*)v);
+ }
+ }
+
+ public static
+ void glWindowPos3ivMESA(Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glWindowPos3ivMESA((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos3ivMESA(ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glWindowPos3ivMESA((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos3sMESA(Int16 x, Int16 y, Int16 z)
+ {
+ Delegates.glWindowPos3sMESA((Int16)x, (Int16)y, (Int16)z);
+ }
+
+ public static
+ void glWindowPos3svMESA(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glWindowPos3svMESA((Int16*)v);
+ }
+ }
+
+ public static
+ void glWindowPos3svMESA(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glWindowPos3svMESA((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos3svMESA(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glWindowPos3svMESA((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos4dMESA(Double x, Double y, Double z, Double w)
+ {
+ Delegates.glWindowPos4dMESA((Double)x, (Double)y, (Double)z, (Double)w);
+ }
+
+ public static
+ void glWindowPos4dvMESA(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glWindowPos4dvMESA((Double*)v);
+ }
+ }
+
+ public static
+ void glWindowPos4dvMESA(Double[] v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = v)
+ {
+ Delegates.glWindowPos4dvMESA((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos4dvMESA(ref Double v)
+ {
+ unsafe
+ {
+ fixed (Double* v_ptr = &v)
+ {
+ Delegates.glWindowPos4dvMESA((Double*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos4fMESA(Single x, Single y, Single z, Single w)
+ {
+ Delegates.glWindowPos4fMESA((Single)x, (Single)y, (Single)z, (Single)w);
+ }
+
+ public static
+ void glWindowPos4fvMESA(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glWindowPos4fvMESA((Single*)v);
+ }
+ }
+
+ public static
+ void glWindowPos4fvMESA(Single[] v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = v)
+ {
+ Delegates.glWindowPos4fvMESA((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos4fvMESA(ref Single v)
+ {
+ unsafe
+ {
+ fixed (Single* v_ptr = &v)
+ {
+ Delegates.glWindowPos4fvMESA((Single*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos4iMESA(Int32 x, Int32 y, Int32 z, Int32 w)
+ {
+ Delegates.glWindowPos4iMESA((Int32)x, (Int32)y, (Int32)z, (Int32)w);
+ }
+
+ public static
+ void glWindowPos4ivMESA(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glWindowPos4ivMESA((Int32*)v);
+ }
+ }
+
+ public static
+ void glWindowPos4ivMESA(Int32[] v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = v)
+ {
+ Delegates.glWindowPos4ivMESA((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos4ivMESA(ref Int32 v)
+ {
+ unsafe
+ {
+ fixed (Int32* v_ptr = &v)
+ {
+ Delegates.glWindowPos4ivMESA((Int32*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos4sMESA(Int16 x, Int16 y, Int16 z, Int16 w)
+ {
+ Delegates.glWindowPos4sMESA((Int16)x, (Int16)y, (Int16)z, (Int16)w);
+ }
+
+ public static
+ void glWindowPos4svMESA(IntPtr v)
+ {
+ unsafe
+ {
+ Delegates.glWindowPos4svMESA((Int16*)v);
+ }
+ }
+
+ public static
+ void glWindowPos4svMESA(Int16[] v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = v)
+ {
+ Delegates.glWindowPos4svMESA((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glWindowPos4svMESA(ref Int16 v)
+ {
+ unsafe
+ {
+ fixed (Int16* v_ptr = &v)
+ {
+ Delegates.glWindowPos4svMESA((Int16*)v_ptr);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawArraysIBM(IntPtr mode, IntPtr first, IntPtr count, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ Delegates.glMultiModeDrawArraysIBM((int*)mode, (Int32*)first, (Int32*)count, (Int32)primcount, (Int32)modestride);
+ }
+ }
+
+ public static
+ void glMultiModeDrawArraysIBM(IntPtr mode, IntPtr first, Int32[] count, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glMultiModeDrawArraysIBM((int*)mode, (Int32*)first, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawArraysIBM(IntPtr mode, IntPtr first, ref Int32 count, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glMultiModeDrawArraysIBM((int*)mode, (Int32*)first, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawArraysIBM(IntPtr mode, Int32[] first, IntPtr count, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = first)
+ {
+ Delegates.glMultiModeDrawArraysIBM((int*)mode, (Int32*)first_ptr, (Int32*)count, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawArraysIBM(IntPtr mode, Int32[] first, Int32[] count, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = first)
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glMultiModeDrawArraysIBM((int*)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawArraysIBM(IntPtr mode, Int32[] first, ref Int32 count, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = first)
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glMultiModeDrawArraysIBM((int*)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawArraysIBM(IntPtr mode, ref Int32 first, IntPtr count, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = &first)
+ {
+ Delegates.glMultiModeDrawArraysIBM((int*)mode, (Int32*)first_ptr, (Int32*)count, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawArraysIBM(IntPtr mode, ref Int32 first, Int32[] count, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = &first)
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glMultiModeDrawArraysIBM((int*)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawArraysIBM(IntPtr mode, ref Int32 first, ref Int32 count, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = &first)
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glMultiModeDrawArraysIBM((int*)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawArraysIBM(int[] mode, IntPtr first, IntPtr count, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (int* mode_ptr = mode)
+ {
+ Delegates.glMultiModeDrawArraysIBM((int*)mode_ptr, (Int32*)first, (Int32*)count, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawArraysIBM(int[] mode, IntPtr first, Int32[] count, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (int* mode_ptr = mode)
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glMultiModeDrawArraysIBM((int*)mode_ptr, (Int32*)first, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawArraysIBM(int[] mode, IntPtr first, ref Int32 count, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (int* mode_ptr = mode)
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glMultiModeDrawArraysIBM((int*)mode_ptr, (Int32*)first, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawArraysIBM(int[] mode, Int32[] first, IntPtr count, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (int* mode_ptr = mode)
+ fixed (Int32* first_ptr = first)
+ {
+ Delegates.glMultiModeDrawArraysIBM((int*)mode_ptr, (Int32*)first_ptr, (Int32*)count, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawArraysIBM(int[] mode, Int32[] first, Int32[] count, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (int* mode_ptr = mode)
+ fixed (Int32* first_ptr = first)
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glMultiModeDrawArraysIBM((int*)mode_ptr, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawArraysIBM(int[] mode, Int32[] first, ref Int32 count, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (int* mode_ptr = mode)
+ fixed (Int32* first_ptr = first)
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glMultiModeDrawArraysIBM((int*)mode_ptr, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawArraysIBM(int[] mode, ref Int32 first, IntPtr count, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (int* mode_ptr = mode)
+ fixed (Int32* first_ptr = &first)
+ {
+ Delegates.glMultiModeDrawArraysIBM((int*)mode_ptr, (Int32*)first_ptr, (Int32*)count, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawArraysIBM(int[] mode, ref Int32 first, Int32[] count, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (int* mode_ptr = mode)
+ fixed (Int32* first_ptr = &first)
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glMultiModeDrawArraysIBM((int*)mode_ptr, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawArraysIBM(int[] mode, ref Int32 first, ref Int32 count, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (int* mode_ptr = mode)
+ fixed (Int32* first_ptr = &first)
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glMultiModeDrawArraysIBM((int*)mode_ptr, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawArraysIBM(ref int mode, IntPtr first, IntPtr count, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (int* mode_ptr = &mode)
+ {
+ Delegates.glMultiModeDrawArraysIBM((int*)mode_ptr, (Int32*)first, (Int32*)count, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawArraysIBM(ref int mode, IntPtr first, Int32[] count, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (int* mode_ptr = &mode)
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glMultiModeDrawArraysIBM((int*)mode_ptr, (Int32*)first, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawArraysIBM(ref int mode, IntPtr first, ref Int32 count, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (int* mode_ptr = &mode)
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glMultiModeDrawArraysIBM((int*)mode_ptr, (Int32*)first, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawArraysIBM(ref int mode, Int32[] first, IntPtr count, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (int* mode_ptr = &mode)
+ fixed (Int32* first_ptr = first)
+ {
+ Delegates.glMultiModeDrawArraysIBM((int*)mode_ptr, (Int32*)first_ptr, (Int32*)count, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawArraysIBM(ref int mode, Int32[] first, Int32[] count, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (int* mode_ptr = &mode)
+ fixed (Int32* first_ptr = first)
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glMultiModeDrawArraysIBM((int*)mode_ptr, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawArraysIBM(ref int mode, Int32[] first, ref Int32 count, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (int* mode_ptr = &mode)
+ fixed (Int32* first_ptr = first)
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glMultiModeDrawArraysIBM((int*)mode_ptr, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawArraysIBM(ref int mode, ref Int32 first, IntPtr count, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (int* mode_ptr = &mode)
+ fixed (Int32* first_ptr = &first)
+ {
+ Delegates.glMultiModeDrawArraysIBM((int*)mode_ptr, (Int32*)first_ptr, (Int32*)count, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawArraysIBM(ref int mode, ref Int32 first, Int32[] count, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (int* mode_ptr = &mode)
+ fixed (Int32* first_ptr = &first)
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glMultiModeDrawArraysIBM((int*)mode_ptr, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawArraysIBM(ref int mode, ref Int32 first, ref Int32 count, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (int* mode_ptr = &mode)
+ fixed (Int32* first_ptr = &first)
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glMultiModeDrawArraysIBM((int*)mode_ptr, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawElementsIBM(IntPtr mode, IntPtr count, int type, IntPtr indices, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ Delegates.glMultiModeDrawElementsIBM((int*)mode, (Int32*)count, (int)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride);
+ }
+ }
+
+ public static
+ void glMultiModeDrawElementsIBM(IntPtr mode, IntPtr count, int type, [In, Out] object indices, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMultiModeDrawElementsIBM((int*)mode, (Int32*)count, (int)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride);
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawElementsIBM(IntPtr mode, Int32[] count, int type, IntPtr indices, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glMultiModeDrawElementsIBM((int*)mode, (Int32*)count_ptr, (int)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawElementsIBM(IntPtr mode, Int32[] count, int type, [In, Out] object indices, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = count)
+ {
+ System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMultiModeDrawElementsIBM((int*)mode, (Int32*)count_ptr, (int)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride);
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawElementsIBM(IntPtr mode, ref Int32 count, int type, IntPtr indices, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glMultiModeDrawElementsIBM((int*)mode, (Int32*)count_ptr, (int)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawElementsIBM(IntPtr mode, ref Int32 count, int type, [In, Out] object indices, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = &count)
+ {
+ System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMultiModeDrawElementsIBM((int*)mode, (Int32*)count_ptr, (int)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride);
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawElementsIBM(int[] mode, IntPtr count, int type, IntPtr indices, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (int* mode_ptr = mode)
+ {
+ Delegates.glMultiModeDrawElementsIBM((int*)mode_ptr, (Int32*)count, (int)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawElementsIBM(int[] mode, IntPtr count, int type, [In, Out] object indices, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (int* mode_ptr = mode)
+ {
+ System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMultiModeDrawElementsIBM((int*)mode_ptr, (Int32*)count, (int)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride);
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawElementsIBM(int[] mode, Int32[] count, int type, IntPtr indices, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (int* mode_ptr = mode)
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glMultiModeDrawElementsIBM((int*)mode_ptr, (Int32*)count_ptr, (int)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawElementsIBM(int[] mode, Int32[] count, int type, [In, Out] object indices, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (int* mode_ptr = mode)
+ fixed (Int32* count_ptr = count)
+ {
+ System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMultiModeDrawElementsIBM((int*)mode_ptr, (Int32*)count_ptr, (int)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride);
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawElementsIBM(int[] mode, ref Int32 count, int type, IntPtr indices, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (int* mode_ptr = mode)
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glMultiModeDrawElementsIBM((int*)mode_ptr, (Int32*)count_ptr, (int)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawElementsIBM(int[] mode, ref Int32 count, int type, [In, Out] object indices, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (int* mode_ptr = mode)
+ fixed (Int32* count_ptr = &count)
+ {
+ System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMultiModeDrawElementsIBM((int*)mode_ptr, (Int32*)count_ptr, (int)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride);
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawElementsIBM(ref int mode, IntPtr count, int type, IntPtr indices, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (int* mode_ptr = &mode)
+ {
+ Delegates.glMultiModeDrawElementsIBM((int*)mode_ptr, (Int32*)count, (int)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawElementsIBM(ref int mode, IntPtr count, int type, [In, Out] object indices, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (int* mode_ptr = &mode)
+ {
+ System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMultiModeDrawElementsIBM((int*)mode_ptr, (Int32*)count, (int)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride);
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawElementsIBM(ref int mode, Int32[] count, int type, IntPtr indices, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (int* mode_ptr = &mode)
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glMultiModeDrawElementsIBM((int*)mode_ptr, (Int32*)count_ptr, (int)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawElementsIBM(ref int mode, Int32[] count, int type, [In, Out] object indices, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (int* mode_ptr = &mode)
+ fixed (Int32* count_ptr = count)
+ {
+ System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMultiModeDrawElementsIBM((int*)mode_ptr, (Int32*)count_ptr, (int)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride);
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawElementsIBM(ref int mode, ref Int32 count, int type, IntPtr indices, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (int* mode_ptr = &mode)
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glMultiModeDrawElementsIBM((int*)mode_ptr, (Int32*)count_ptr, (int)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride);
+ }
+ }
+ }
+
+ public static
+ void glMultiModeDrawElementsIBM(ref int mode, ref Int32 count, int type, [In, Out] object indices, Int32 primcount, Int32 modestride)
+ {
+ unsafe
+ {
+ fixed (int* mode_ptr = &mode)
+ fixed (Int32* count_ptr = &count)
+ {
+ System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMultiModeDrawElementsIBM((int*)mode_ptr, (Int32*)count_ptr, (int)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride);
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ }
+ }
+ }
+
+ public static
+ void glColorPointerListIBM(Int32 size, int type, Int32 stride, IntPtr pointer, Int32 ptrstride)
+ {
+ unsafe
+ {
+ Delegates.glColorPointerListIBM((Int32)size, (int)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride);
+ }
+ }
+
+ public static
+ void glColorPointerListIBM(Int32 size, int type, Int32 stride, [In, Out] object pointer, Int32 ptrstride)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glColorPointerListIBM((Int32)size, (int)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride);
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glSecondaryColorPointerListIBM(Int32 size, int type, Int32 stride, IntPtr pointer, Int32 ptrstride)
+ {
+ unsafe
+ {
+ Delegates.glSecondaryColorPointerListIBM((Int32)size, (int)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride);
+ }
+ }
+
+ public static
+ void glSecondaryColorPointerListIBM(Int32 size, int type, Int32 stride, [In, Out] object pointer, Int32 ptrstride)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glSecondaryColorPointerListIBM((Int32)size, (int)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride);
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glEdgeFlagPointerListIBM(Int32 stride, IntPtr pointer, Int32 ptrstride)
+ {
+ unsafe
+ {
+ Delegates.glEdgeFlagPointerListIBM((Int32)stride, (Int32*)pointer, (Int32)ptrstride);
+ }
+ }
+
+ public static
+ void glEdgeFlagPointerListIBM(Int32 stride, Int32[] pointer, Int32 ptrstride)
+ {
+ unsafe
+ {
+ fixed (Int32* pointer_ptr = pointer)
+ {
+ Delegates.glEdgeFlagPointerListIBM((Int32)stride, (Int32*)pointer_ptr, (Int32)ptrstride);
+ }
+ }
+ }
+
+ public static
+ void glEdgeFlagPointerListIBM(Int32 stride, ref Int32 pointer, Int32 ptrstride)
+ {
+ unsafe
+ {
+ fixed (Int32* pointer_ptr = &pointer)
+ {
+ Delegates.glEdgeFlagPointerListIBM((Int32)stride, (Int32*)pointer_ptr, (Int32)ptrstride);
+ }
+ }
+ }
+
+ public static
+ void glFogCoordPointerListIBM(int type, Int32 stride, IntPtr pointer, Int32 ptrstride)
+ {
+ unsafe
+ {
+ Delegates.glFogCoordPointerListIBM((int)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride);
+ }
+ }
+
+ public static
+ void glFogCoordPointerListIBM(int type, Int32 stride, [In, Out] object pointer, Int32 ptrstride)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glFogCoordPointerListIBM((int)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride);
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glIndexPointerListIBM(int type, Int32 stride, IntPtr pointer, Int32 ptrstride)
+ {
+ unsafe
+ {
+ Delegates.glIndexPointerListIBM((int)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride);
+ }
+ }
+
+ public static
+ void glIndexPointerListIBM(int type, Int32 stride, [In, Out] object pointer, Int32 ptrstride)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glIndexPointerListIBM((int)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride);
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glNormalPointerListIBM(int type, Int32 stride, IntPtr pointer, Int32 ptrstride)
+ {
+ unsafe
+ {
+ Delegates.glNormalPointerListIBM((int)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride);
+ }
+ }
+
+ public static
+ void glNormalPointerListIBM(int type, Int32 stride, [In, Out] object pointer, Int32 ptrstride)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glNormalPointerListIBM((int)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride);
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glTexCoordPointerListIBM(Int32 size, int type, Int32 stride, IntPtr pointer, Int32 ptrstride)
+ {
+ unsafe
+ {
+ Delegates.glTexCoordPointerListIBM((Int32)size, (int)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride);
+ }
+ }
+
+ public static
+ void glTexCoordPointerListIBM(Int32 size, int type, Int32 stride, [In, Out] object pointer, Int32 ptrstride)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glTexCoordPointerListIBM((Int32)size, (int)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride);
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glVertexPointerListIBM(Int32 size, int type, Int32 stride, IntPtr pointer, Int32 ptrstride)
+ {
+ unsafe
+ {
+ Delegates.glVertexPointerListIBM((Int32)size, (int)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride);
+ }
+ }
+
+ public static
+ void glVertexPointerListIBM(Int32 size, int type, Int32 stride, [In, Out] object pointer, Int32 ptrstride)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glVertexPointerListIBM((Int32)size, (int)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride);
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glTbufferMask3DFX(UInt32 mask)
+ {
+ Delegates.glTbufferMask3DFX((UInt32)mask);
+ }
+
+ public static
+ void glTbufferMask3DFX(Int32 mask)
+ {
+ Delegates.glTbufferMask3DFX((UInt32)mask);
+ }
+
+ public static
+ void glTexBumpParameterivATI(int pname, IntPtr param)
+ {
+ unsafe
+ {
+ Delegates.glTexBumpParameterivATI((int)pname, (Int32*)param);
+ }
+ }
+
+ public static
+ void glTexBumpParameterivATI(int pname, Int32[] param)
+ {
+ unsafe
+ {
+ fixed (Int32* param_ptr = param)
+ {
+ Delegates.glTexBumpParameterivATI((int)pname, (Int32*)param_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexBumpParameterivATI(int pname, ref Int32 param)
+ {
+ unsafe
+ {
+ fixed (Int32* param_ptr = ¶m)
+ {
+ Delegates.glTexBumpParameterivATI((int)pname, (Int32*)param_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexBumpParameterfvATI(int pname, IntPtr param)
+ {
+ unsafe
+ {
+ Delegates.glTexBumpParameterfvATI((int)pname, (Single*)param);
+ }
+ }
+
+ public static
+ void glTexBumpParameterfvATI(int pname, Single[] param)
+ {
+ unsafe
+ {
+ fixed (Single* param_ptr = param)
+ {
+ Delegates.glTexBumpParameterfvATI((int)pname, (Single*)param_ptr);
+ }
+ }
+ }
+
+ public static
+ void glTexBumpParameterfvATI(int pname, ref Single param)
+ {
+ unsafe
+ {
+ fixed (Single* param_ptr = ¶m)
+ {
+ Delegates.glTexBumpParameterfvATI((int)pname, (Single*)param_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetTexBumpParameterivATI(int pname, [Out] IntPtr param)
+ {
+ unsafe
+ {
+ Delegates.glGetTexBumpParameterivATI((int)pname, (Int32*)param);
+ }
+ }
+
+ public static
+ void glGetTexBumpParameterivATI(int pname, [Out] Int32[] param)
+ {
+ unsafe
+ {
+ fixed (Int32* param_ptr = param)
+ {
+ Delegates.glGetTexBumpParameterivATI((int)pname, (Int32*)param_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetTexBumpParameterivATI(int pname, [Out] out Int32 param)
+ {
+ unsafe
+ {
+ fixed (Int32* param_ptr = ¶m)
+ {
+ Delegates.glGetTexBumpParameterivATI((int)pname, (Int32*)param_ptr);
+ param = *param_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetTexBumpParameterfvATI(int pname, [Out] IntPtr param)
+ {
+ unsafe
+ {
+ Delegates.glGetTexBumpParameterfvATI((int)pname, (Single*)param);
+ }
+ }
+
+ public static
+ void glGetTexBumpParameterfvATI(int pname, [Out] Single[] param)
+ {
+ unsafe
+ {
+ fixed (Single* param_ptr = param)
+ {
+ Delegates.glGetTexBumpParameterfvATI((int)pname, (Single*)param_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetTexBumpParameterfvATI(int pname, [Out] out Single param)
+ {
+ unsafe
+ {
+ fixed (Single* param_ptr = ¶m)
+ {
+ Delegates.glGetTexBumpParameterfvATI((int)pname, (Single*)param_ptr);
+ param = *param_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glGenFragmentShadersATI(UInt32 range)
+ {
+ return Delegates.glGenFragmentShadersATI((UInt32)range);
+ }
+
+ public static
+ Int32 glGenFragmentShadersATI(Int32 range)
+ {
+ return Delegates.glGenFragmentShadersATI((UInt32)range);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glBindFragmentShaderATI(UInt32 id)
+ {
+ Delegates.glBindFragmentShaderATI((UInt32)id);
+ }
+
+ public static
+ void glBindFragmentShaderATI(Int32 id)
+ {
+ Delegates.glBindFragmentShaderATI((UInt32)id);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteFragmentShaderATI(UInt32 id)
+ {
+ Delegates.glDeleteFragmentShaderATI((UInt32)id);
+ }
+
+ public static
+ void glDeleteFragmentShaderATI(Int32 id)
+ {
+ Delegates.glDeleteFragmentShaderATI((UInt32)id);
+ }
+
+ public static
+ void glBeginFragmentShaderATI()
+ {
+ Delegates.glBeginFragmentShaderATI();
+ }
+
+ public static
+ void glEndFragmentShaderATI()
+ {
+ Delegates.glEndFragmentShaderATI();
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glPassTexCoordATI(UInt32 dst, UInt32 coord, int swizzle)
+ {
+ Delegates.glPassTexCoordATI((UInt32)dst, (UInt32)coord, (int)swizzle);
+ }
+
+ public static
+ void glPassTexCoordATI(Int32 dst, Int32 coord, int swizzle)
+ {
+ Delegates.glPassTexCoordATI((UInt32)dst, (UInt32)coord, (int)swizzle);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSampleMapATI(UInt32 dst, UInt32 interp, int swizzle)
+ {
+ Delegates.glSampleMapATI((UInt32)dst, (UInt32)interp, (int)swizzle);
+ }
+
+ public static
+ void glSampleMapATI(Int32 dst, Int32 interp, int swizzle)
+ {
+ Delegates.glSampleMapATI((UInt32)dst, (UInt32)interp, (int)swizzle);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glColorFragmentOp1ATI(int op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod)
+ {
+ Delegates.glColorFragmentOp1ATI((int)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod);
+ }
+
+ public static
+ void glColorFragmentOp1ATI(int op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod)
+ {
+ Delegates.glColorFragmentOp1ATI((int)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glColorFragmentOp2ATI(int op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod)
+ {
+ Delegates.glColorFragmentOp2ATI((int)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod);
+ }
+
+ public static
+ void glColorFragmentOp2ATI(int op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod)
+ {
+ Delegates.glColorFragmentOp2ATI((int)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glColorFragmentOp3ATI(int 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)
+ {
+ Delegates.glColorFragmentOp3ATI((int)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);
+ }
+
+ public static
+ void glColorFragmentOp3ATI(int 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)
+ {
+ Delegates.glColorFragmentOp3ATI((int)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glAlphaFragmentOp1ATI(int op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod)
+ {
+ Delegates.glAlphaFragmentOp1ATI((int)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod);
+ }
+
+ public static
+ void glAlphaFragmentOp1ATI(int op, Int32 dst, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod)
+ {
+ Delegates.glAlphaFragmentOp1ATI((int)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glAlphaFragmentOp2ATI(int op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod)
+ {
+ Delegates.glAlphaFragmentOp2ATI((int)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod);
+ }
+
+ public static
+ void glAlphaFragmentOp2ATI(int op, Int32 dst, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod)
+ {
+ Delegates.glAlphaFragmentOp2ATI((int)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glAlphaFragmentOp3ATI(int op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod)
+ {
+ Delegates.glAlphaFragmentOp3ATI((int)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod);
+ }
+
+ public static
+ void glAlphaFragmentOp3ATI(int op, Int32 dst, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod, Int32 arg3, Int32 arg3Rep, Int32 arg3Mod)
+ {
+ Delegates.glAlphaFragmentOp3ATI((int)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSetFragmentShaderConstantATI(UInt32 dst, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value);
+ }
+ }
+
+ public static
+ void glSetFragmentShaderConstantATI(Int32 dst, IntPtr value)
+ {
+ unsafe
+ {
+ Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSetFragmentShaderConstantATI(UInt32 dst, Single[] value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = value)
+ {
+ Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSetFragmentShaderConstantATI(Int32 dst, Single[] value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = value)
+ {
+ Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSetFragmentShaderConstantATI(UInt32 dst, ref Single value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = &value)
+ {
+ Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glSetFragmentShaderConstantATI(Int32 dst, ref Single value)
+ {
+ unsafe
+ {
+ fixed (Single* value_ptr = &value)
+ {
+ Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value_ptr);
+ }
+ }
+ }
+
+ public static
+ void glPNTrianglesiATI(int pname, Int32 param)
+ {
+ Delegates.glPNTrianglesiATI((int)pname, (Int32)param);
+ }
+
+ public static
+ void glPNTrianglesfATI(int pname, Single param)
+ {
+ Delegates.glPNTrianglesfATI((int)pname, (Single)param);
+ }
+
+ public static
+ Int32 glNewObjectBufferATI(Int32 size, IntPtr pointer, int usage)
+ {
+ unsafe
+ {
+ return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer, (int)usage);
+ }
+ }
+
+ public static
+ Int32 glNewObjectBufferATI(Int32 size, [In, Out] object pointer, int usage)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (int)usage);
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glIsObjectBufferATI(UInt32 buffer)
+ {
+ return Delegates.glIsObjectBufferATI((UInt32)buffer);
+ }
+
+ public static
+ Int32 glIsObjectBufferATI(Int32 buffer)
+ {
+ return Delegates.glIsObjectBufferATI((UInt32)buffer);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glUpdateObjectBufferATI(UInt32 buffer, UInt32 offset, Int32 size, IntPtr pointer, int preserve)
+ {
+ unsafe
+ {
+ Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer, (int)preserve);
+ }
+ }
+
+ public static
+ void glUpdateObjectBufferATI(Int32 buffer, Int32 offset, Int32 size, IntPtr pointer, int preserve)
+ {
+ unsafe
+ {
+ Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer, (int)preserve);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glUpdateObjectBufferATI(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] object pointer, int preserve)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (int)preserve);
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glUpdateObjectBufferATI(Int32 buffer, Int32 offset, Int32 size, [In, Out] object pointer, int preserve)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (int)preserve);
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetObjectBufferfvATI(UInt32 buffer, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetObjectBufferfvATI((UInt32)buffer, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetObjectBufferfvATI(Int32 buffer, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetObjectBufferfvATI((UInt32)buffer, (int)pname, (Single*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetObjectBufferfvATI(UInt32 buffer, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetObjectBufferfvATI((UInt32)buffer, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetObjectBufferfvATI(Int32 buffer, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetObjectBufferfvATI((UInt32)buffer, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetObjectBufferfvATI(UInt32 buffer, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetObjectBufferfvATI((UInt32)buffer, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetObjectBufferfvATI(Int32 buffer, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetObjectBufferfvATI((UInt32)buffer, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetObjectBufferivATI(UInt32 buffer, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetObjectBufferivATI((UInt32)buffer, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetObjectBufferivATI(Int32 buffer, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetObjectBufferivATI((UInt32)buffer, (int)pname, (Int32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetObjectBufferivATI(UInt32 buffer, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetObjectBufferivATI((UInt32)buffer, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetObjectBufferivATI(Int32 buffer, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetObjectBufferivATI((UInt32)buffer, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetObjectBufferivATI(UInt32 buffer, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetObjectBufferivATI((UInt32)buffer, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetObjectBufferivATI(Int32 buffer, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetObjectBufferivATI((UInt32)buffer, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glFreeObjectBufferATI(UInt32 buffer)
+ {
+ Delegates.glFreeObjectBufferATI((UInt32)buffer);
+ }
+
+ public static
+ void glFreeObjectBufferATI(Int32 buffer)
+ {
+ Delegates.glFreeObjectBufferATI((UInt32)buffer);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glArrayObjectATI(int array, Int32 size, int type, Int32 stride, UInt32 buffer, UInt32 offset)
+ {
+ Delegates.glArrayObjectATI((int)array, (Int32)size, (int)type, (Int32)stride, (UInt32)buffer, (UInt32)offset);
+ }
+
+ public static
+ void glArrayObjectATI(int array, Int32 size, int type, Int32 stride, Int32 buffer, Int32 offset)
+ {
+ Delegates.glArrayObjectATI((int)array, (Int32)size, (int)type, (Int32)stride, (UInt32)buffer, (UInt32)offset);
+ }
+
+ public static
+ void glGetArrayObjectfvATI(int array, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetArrayObjectfvATI((int)array, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetArrayObjectfvATI(int array, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetArrayObjectfvATI((int)array, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetArrayObjectfvATI(int array, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetArrayObjectfvATI((int)array, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetArrayObjectivATI(int array, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetArrayObjectivATI((int)array, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetArrayObjectivATI(int array, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetArrayObjectivATI((int)array, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetArrayObjectivATI(int array, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetArrayObjectivATI((int)array, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVariantArrayObjectATI(UInt32 id, int type, Int32 stride, UInt32 buffer, UInt32 offset)
+ {
+ Delegates.glVariantArrayObjectATI((UInt32)id, (int)type, (Int32)stride, (UInt32)buffer, (UInt32)offset);
+ }
+
+ public static
+ void glVariantArrayObjectATI(Int32 id, int type, Int32 stride, Int32 buffer, Int32 offset)
+ {
+ Delegates.glVariantArrayObjectATI((UInt32)id, (int)type, (Int32)stride, (UInt32)buffer, (UInt32)offset);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVariantArrayObjectfvATI(UInt32 id, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetVariantArrayObjectfvATI(Int32 id, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (int)pname, (Single*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVariantArrayObjectfvATI(UInt32 id, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetVariantArrayObjectfvATI(Int32 id, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVariantArrayObjectfvATI(UInt32 id, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetVariantArrayObjectfvATI(Int32 id, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVariantArrayObjectivATI(UInt32 id, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetVariantArrayObjectivATI((UInt32)id, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetVariantArrayObjectivATI(Int32 id, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetVariantArrayObjectivATI((UInt32)id, (int)pname, (Int32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVariantArrayObjectivATI(UInt32 id, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetVariantArrayObjectivATI((UInt32)id, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetVariantArrayObjectivATI(Int32 id, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetVariantArrayObjectivATI((UInt32)id, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVariantArrayObjectivATI(UInt32 id, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetVariantArrayObjectivATI((UInt32)id, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetVariantArrayObjectivATI(Int32 id, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetVariantArrayObjectivATI((UInt32)id, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glVertexStream1sATI(int stream, Int16 x)
+ {
+ Delegates.glVertexStream1sATI((int)stream, (Int16)x);
+ }
+
+ public static
+ void glVertexStream1svATI(int stream, IntPtr coords)
+ {
+ unsafe
+ {
+ Delegates.glVertexStream1svATI((int)stream, (Int16*)coords);
+ }
+ }
+
+ public static
+ void glVertexStream1svATI(int stream, Int16[] coords)
+ {
+ unsafe
+ {
+ fixed (Int16* coords_ptr = coords)
+ {
+ Delegates.glVertexStream1svATI((int)stream, (Int16*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexStream1svATI(int stream, ref Int16 coords)
+ {
+ unsafe
+ {
+ fixed (Int16* coords_ptr = &coords)
+ {
+ Delegates.glVertexStream1svATI((int)stream, (Int16*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexStream1iATI(int stream, Int32 x)
+ {
+ Delegates.glVertexStream1iATI((int)stream, (Int32)x);
+ }
+
+ public static
+ void glVertexStream1ivATI(int stream, IntPtr coords)
+ {
+ unsafe
+ {
+ Delegates.glVertexStream1ivATI((int)stream, (Int32*)coords);
+ }
+ }
+
+ public static
+ void glVertexStream1ivATI(int stream, Int32[] coords)
+ {
+ unsafe
+ {
+ fixed (Int32* coords_ptr = coords)
+ {
+ Delegates.glVertexStream1ivATI((int)stream, (Int32*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexStream1ivATI(int stream, ref Int32 coords)
+ {
+ unsafe
+ {
+ fixed (Int32* coords_ptr = &coords)
+ {
+ Delegates.glVertexStream1ivATI((int)stream, (Int32*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexStream1fATI(int stream, Single x)
+ {
+ Delegates.glVertexStream1fATI((int)stream, (Single)x);
+ }
+
+ public static
+ void glVertexStream1fvATI(int stream, IntPtr coords)
+ {
+ unsafe
+ {
+ Delegates.glVertexStream1fvATI((int)stream, (Single*)coords);
+ }
+ }
+
+ public static
+ void glVertexStream1fvATI(int stream, Single[] coords)
+ {
+ unsafe
+ {
+ fixed (Single* coords_ptr = coords)
+ {
+ Delegates.glVertexStream1fvATI((int)stream, (Single*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexStream1fvATI(int stream, ref Single coords)
+ {
+ unsafe
+ {
+ fixed (Single* coords_ptr = &coords)
+ {
+ Delegates.glVertexStream1fvATI((int)stream, (Single*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexStream1dATI(int stream, Double x)
+ {
+ Delegates.glVertexStream1dATI((int)stream, (Double)x);
+ }
+
+ public static
+ void glVertexStream1dvATI(int stream, IntPtr coords)
+ {
+ unsafe
+ {
+ Delegates.glVertexStream1dvATI((int)stream, (Double*)coords);
+ }
+ }
+
+ public static
+ void glVertexStream1dvATI(int stream, Double[] coords)
+ {
+ unsafe
+ {
+ fixed (Double* coords_ptr = coords)
+ {
+ Delegates.glVertexStream1dvATI((int)stream, (Double*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexStream1dvATI(int stream, ref Double coords)
+ {
+ unsafe
+ {
+ fixed (Double* coords_ptr = &coords)
+ {
+ Delegates.glVertexStream1dvATI((int)stream, (Double*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexStream2sATI(int stream, Int16 x, Int16 y)
+ {
+ Delegates.glVertexStream2sATI((int)stream, (Int16)x, (Int16)y);
+ }
+
+ public static
+ void glVertexStream2svATI(int stream, IntPtr coords)
+ {
+ unsafe
+ {
+ Delegates.glVertexStream2svATI((int)stream, (Int16*)coords);
+ }
+ }
+
+ public static
+ void glVertexStream2svATI(int stream, Int16[] coords)
+ {
+ unsafe
+ {
+ fixed (Int16* coords_ptr = coords)
+ {
+ Delegates.glVertexStream2svATI((int)stream, (Int16*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexStream2svATI(int stream, ref Int16 coords)
+ {
+ unsafe
+ {
+ fixed (Int16* coords_ptr = &coords)
+ {
+ Delegates.glVertexStream2svATI((int)stream, (Int16*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexStream2iATI(int stream, Int32 x, Int32 y)
+ {
+ Delegates.glVertexStream2iATI((int)stream, (Int32)x, (Int32)y);
+ }
+
+ public static
+ void glVertexStream2ivATI(int stream, IntPtr coords)
+ {
+ unsafe
+ {
+ Delegates.glVertexStream2ivATI((int)stream, (Int32*)coords);
+ }
+ }
+
+ public static
+ void glVertexStream2ivATI(int stream, Int32[] coords)
+ {
+ unsafe
+ {
+ fixed (Int32* coords_ptr = coords)
+ {
+ Delegates.glVertexStream2ivATI((int)stream, (Int32*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexStream2ivATI(int stream, ref Int32 coords)
+ {
+ unsafe
+ {
+ fixed (Int32* coords_ptr = &coords)
+ {
+ Delegates.glVertexStream2ivATI((int)stream, (Int32*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexStream2fATI(int stream, Single x, Single y)
+ {
+ Delegates.glVertexStream2fATI((int)stream, (Single)x, (Single)y);
+ }
+
+ public static
+ void glVertexStream2fvATI(int stream, IntPtr coords)
+ {
+ unsafe
+ {
+ Delegates.glVertexStream2fvATI((int)stream, (Single*)coords);
+ }
+ }
+
+ public static
+ void glVertexStream2fvATI(int stream, Single[] coords)
+ {
+ unsafe
+ {
+ fixed (Single* coords_ptr = coords)
+ {
+ Delegates.glVertexStream2fvATI((int)stream, (Single*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexStream2fvATI(int stream, ref Single coords)
+ {
+ unsafe
+ {
+ fixed (Single* coords_ptr = &coords)
+ {
+ Delegates.glVertexStream2fvATI((int)stream, (Single*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexStream2dATI(int stream, Double x, Double y)
+ {
+ Delegates.glVertexStream2dATI((int)stream, (Double)x, (Double)y);
+ }
+
+ public static
+ void glVertexStream2dvATI(int stream, IntPtr coords)
+ {
+ unsafe
+ {
+ Delegates.glVertexStream2dvATI((int)stream, (Double*)coords);
+ }
+ }
+
+ public static
+ void glVertexStream2dvATI(int stream, Double[] coords)
+ {
+ unsafe
+ {
+ fixed (Double* coords_ptr = coords)
+ {
+ Delegates.glVertexStream2dvATI((int)stream, (Double*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexStream2dvATI(int stream, ref Double coords)
+ {
+ unsafe
+ {
+ fixed (Double* coords_ptr = &coords)
+ {
+ Delegates.glVertexStream2dvATI((int)stream, (Double*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexStream3sATI(int stream, Int16 x, Int16 y, Int16 z)
+ {
+ Delegates.glVertexStream3sATI((int)stream, (Int16)x, (Int16)y, (Int16)z);
+ }
+
+ public static
+ void glVertexStream3svATI(int stream, IntPtr coords)
+ {
+ unsafe
+ {
+ Delegates.glVertexStream3svATI((int)stream, (Int16*)coords);
+ }
+ }
+
+ public static
+ void glVertexStream3svATI(int stream, Int16[] coords)
+ {
+ unsafe
+ {
+ fixed (Int16* coords_ptr = coords)
+ {
+ Delegates.glVertexStream3svATI((int)stream, (Int16*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexStream3svATI(int stream, ref Int16 coords)
+ {
+ unsafe
+ {
+ fixed (Int16* coords_ptr = &coords)
+ {
+ Delegates.glVertexStream3svATI((int)stream, (Int16*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexStream3iATI(int stream, Int32 x, Int32 y, Int32 z)
+ {
+ Delegates.glVertexStream3iATI((int)stream, (Int32)x, (Int32)y, (Int32)z);
+ }
+
+ public static
+ void glVertexStream3ivATI(int stream, IntPtr coords)
+ {
+ unsafe
+ {
+ Delegates.glVertexStream3ivATI((int)stream, (Int32*)coords);
+ }
+ }
+
+ public static
+ void glVertexStream3ivATI(int stream, Int32[] coords)
+ {
+ unsafe
+ {
+ fixed (Int32* coords_ptr = coords)
+ {
+ Delegates.glVertexStream3ivATI((int)stream, (Int32*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexStream3ivATI(int stream, ref Int32 coords)
+ {
+ unsafe
+ {
+ fixed (Int32* coords_ptr = &coords)
+ {
+ Delegates.glVertexStream3ivATI((int)stream, (Int32*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexStream3fATI(int stream, Single x, Single y, Single z)
+ {
+ Delegates.glVertexStream3fATI((int)stream, (Single)x, (Single)y, (Single)z);
+ }
+
+ public static
+ void glVertexStream3fvATI(int stream, IntPtr coords)
+ {
+ unsafe
+ {
+ Delegates.glVertexStream3fvATI((int)stream, (Single*)coords);
+ }
+ }
+
+ public static
+ void glVertexStream3fvATI(int stream, Single[] coords)
+ {
+ unsafe
+ {
+ fixed (Single* coords_ptr = coords)
+ {
+ Delegates.glVertexStream3fvATI((int)stream, (Single*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexStream3fvATI(int stream, ref Single coords)
+ {
+ unsafe
+ {
+ fixed (Single* coords_ptr = &coords)
+ {
+ Delegates.glVertexStream3fvATI((int)stream, (Single*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexStream3dATI(int stream, Double x, Double y, Double z)
+ {
+ Delegates.glVertexStream3dATI((int)stream, (Double)x, (Double)y, (Double)z);
+ }
+
+ public static
+ void glVertexStream3dvATI(int stream, IntPtr coords)
+ {
+ unsafe
+ {
+ Delegates.glVertexStream3dvATI((int)stream, (Double*)coords);
+ }
+ }
+
+ public static
+ void glVertexStream3dvATI(int stream, Double[] coords)
+ {
+ unsafe
+ {
+ fixed (Double* coords_ptr = coords)
+ {
+ Delegates.glVertexStream3dvATI((int)stream, (Double*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexStream3dvATI(int stream, ref Double coords)
+ {
+ unsafe
+ {
+ fixed (Double* coords_ptr = &coords)
+ {
+ Delegates.glVertexStream3dvATI((int)stream, (Double*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexStream4sATI(int stream, Int16 x, Int16 y, Int16 z, Int16 w)
+ {
+ Delegates.glVertexStream4sATI((int)stream, (Int16)x, (Int16)y, (Int16)z, (Int16)w);
+ }
+
+ public static
+ void glVertexStream4svATI(int stream, IntPtr coords)
+ {
+ unsafe
+ {
+ Delegates.glVertexStream4svATI((int)stream, (Int16*)coords);
+ }
+ }
+
+ public static
+ void glVertexStream4svATI(int stream, Int16[] coords)
+ {
+ unsafe
+ {
+ fixed (Int16* coords_ptr = coords)
+ {
+ Delegates.glVertexStream4svATI((int)stream, (Int16*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexStream4svATI(int stream, ref Int16 coords)
+ {
+ unsafe
+ {
+ fixed (Int16* coords_ptr = &coords)
+ {
+ Delegates.glVertexStream4svATI((int)stream, (Int16*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexStream4iATI(int stream, Int32 x, Int32 y, Int32 z, Int32 w)
+ {
+ Delegates.glVertexStream4iATI((int)stream, (Int32)x, (Int32)y, (Int32)z, (Int32)w);
+ }
+
+ public static
+ void glVertexStream4ivATI(int stream, IntPtr coords)
+ {
+ unsafe
+ {
+ Delegates.glVertexStream4ivATI((int)stream, (Int32*)coords);
+ }
+ }
+
+ public static
+ void glVertexStream4ivATI(int stream, Int32[] coords)
+ {
+ unsafe
+ {
+ fixed (Int32* coords_ptr = coords)
+ {
+ Delegates.glVertexStream4ivATI((int)stream, (Int32*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexStream4ivATI(int stream, ref Int32 coords)
+ {
+ unsafe
+ {
+ fixed (Int32* coords_ptr = &coords)
+ {
+ Delegates.glVertexStream4ivATI((int)stream, (Int32*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexStream4fATI(int stream, Single x, Single y, Single z, Single w)
+ {
+ Delegates.glVertexStream4fATI((int)stream, (Single)x, (Single)y, (Single)z, (Single)w);
+ }
+
+ public static
+ void glVertexStream4fvATI(int stream, IntPtr coords)
+ {
+ unsafe
+ {
+ Delegates.glVertexStream4fvATI((int)stream, (Single*)coords);
+ }
+ }
+
+ public static
+ void glVertexStream4fvATI(int stream, Single[] coords)
+ {
+ unsafe
+ {
+ fixed (Single* coords_ptr = coords)
+ {
+ Delegates.glVertexStream4fvATI((int)stream, (Single*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexStream4fvATI(int stream, ref Single coords)
+ {
+ unsafe
+ {
+ fixed (Single* coords_ptr = &coords)
+ {
+ Delegates.glVertexStream4fvATI((int)stream, (Single*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexStream4dATI(int stream, Double x, Double y, Double z, Double w)
+ {
+ Delegates.glVertexStream4dATI((int)stream, (Double)x, (Double)y, (Double)z, (Double)w);
+ }
+
+ public static
+ void glVertexStream4dvATI(int stream, IntPtr coords)
+ {
+ unsafe
+ {
+ Delegates.glVertexStream4dvATI((int)stream, (Double*)coords);
+ }
+ }
+
+ public static
+ void glVertexStream4dvATI(int stream, Double[] coords)
+ {
+ unsafe
+ {
+ fixed (Double* coords_ptr = coords)
+ {
+ Delegates.glVertexStream4dvATI((int)stream, (Double*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glVertexStream4dvATI(int stream, ref Double coords)
+ {
+ unsafe
+ {
+ fixed (Double* coords_ptr = &coords)
+ {
+ Delegates.glVertexStream4dvATI((int)stream, (Double*)coords_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glNormalStream3bATI(int stream, SByte nx, SByte ny, SByte nz)
+ {
+ Delegates.glNormalStream3bATI((int)stream, (SByte)nx, (SByte)ny, (SByte)nz);
+ }
+
+ public static
+ void glNormalStream3bATI(int stream, Byte nx, Byte ny, Byte nz)
+ {
+ Delegates.glNormalStream3bATI((int)stream, (SByte)nx, (SByte)ny, (SByte)nz);
+ }
+
+ public static
+ void glNormalStream3bvATI(int stream, IntPtr coords)
+ {
+ unsafe
+ {
+ Delegates.glNormalStream3bvATI((int)stream, (SByte*)coords);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glNormalStream3bvATI(int stream, SByte[] coords)
+ {
+ unsafe
+ {
+ fixed (SByte* coords_ptr = coords)
+ {
+ Delegates.glNormalStream3bvATI((int)stream, (SByte*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glNormalStream3bvATI(int stream, Byte[] coords)
+ {
+ unsafe
+ {
+ fixed (Byte* coords_ptr = coords)
+ {
+ Delegates.glNormalStream3bvATI((int)stream, (SByte*)coords_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glNormalStream3bvATI(int stream, ref SByte coords)
+ {
+ unsafe
+ {
+ fixed (SByte* coords_ptr = &coords)
+ {
+ Delegates.glNormalStream3bvATI((int)stream, (SByte*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glNormalStream3bvATI(int stream, ref Byte coords)
+ {
+ unsafe
+ {
+ fixed (Byte* coords_ptr = &coords)
+ {
+ Delegates.glNormalStream3bvATI((int)stream, (SByte*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glNormalStream3sATI(int stream, Int16 nx, Int16 ny, Int16 nz)
+ {
+ Delegates.glNormalStream3sATI((int)stream, (Int16)nx, (Int16)ny, (Int16)nz);
+ }
+
+ public static
+ void glNormalStream3svATI(int stream, IntPtr coords)
+ {
+ unsafe
+ {
+ Delegates.glNormalStream3svATI((int)stream, (Int16*)coords);
+ }
+ }
+
+ public static
+ void glNormalStream3svATI(int stream, Int16[] coords)
+ {
+ unsafe
+ {
+ fixed (Int16* coords_ptr = coords)
+ {
+ Delegates.glNormalStream3svATI((int)stream, (Int16*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glNormalStream3svATI(int stream, ref Int16 coords)
+ {
+ unsafe
+ {
+ fixed (Int16* coords_ptr = &coords)
+ {
+ Delegates.glNormalStream3svATI((int)stream, (Int16*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glNormalStream3iATI(int stream, Int32 nx, Int32 ny, Int32 nz)
+ {
+ Delegates.glNormalStream3iATI((int)stream, (Int32)nx, (Int32)ny, (Int32)nz);
+ }
+
+ public static
+ void glNormalStream3ivATI(int stream, IntPtr coords)
+ {
+ unsafe
+ {
+ Delegates.glNormalStream3ivATI((int)stream, (Int32*)coords);
+ }
+ }
+
+ public static
+ void glNormalStream3ivATI(int stream, Int32[] coords)
+ {
+ unsafe
+ {
+ fixed (Int32* coords_ptr = coords)
+ {
+ Delegates.glNormalStream3ivATI((int)stream, (Int32*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glNormalStream3ivATI(int stream, ref Int32 coords)
+ {
+ unsafe
+ {
+ fixed (Int32* coords_ptr = &coords)
+ {
+ Delegates.glNormalStream3ivATI((int)stream, (Int32*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glNormalStream3fATI(int stream, Single nx, Single ny, Single nz)
+ {
+ Delegates.glNormalStream3fATI((int)stream, (Single)nx, (Single)ny, (Single)nz);
+ }
+
+ public static
+ void glNormalStream3fvATI(int stream, IntPtr coords)
+ {
+ unsafe
+ {
+ Delegates.glNormalStream3fvATI((int)stream, (Single*)coords);
+ }
+ }
+
+ public static
+ void glNormalStream3fvATI(int stream, Single[] coords)
+ {
+ unsafe
+ {
+ fixed (Single* coords_ptr = coords)
+ {
+ Delegates.glNormalStream3fvATI((int)stream, (Single*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glNormalStream3fvATI(int stream, ref Single coords)
+ {
+ unsafe
+ {
+ fixed (Single* coords_ptr = &coords)
+ {
+ Delegates.glNormalStream3fvATI((int)stream, (Single*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glNormalStream3dATI(int stream, Double nx, Double ny, Double nz)
+ {
+ Delegates.glNormalStream3dATI((int)stream, (Double)nx, (Double)ny, (Double)nz);
+ }
+
+ public static
+ void glNormalStream3dvATI(int stream, IntPtr coords)
+ {
+ unsafe
+ {
+ Delegates.glNormalStream3dvATI((int)stream, (Double*)coords);
+ }
+ }
+
+ public static
+ void glNormalStream3dvATI(int stream, Double[] coords)
+ {
+ unsafe
+ {
+ fixed (Double* coords_ptr = coords)
+ {
+ Delegates.glNormalStream3dvATI((int)stream, (Double*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glNormalStream3dvATI(int stream, ref Double coords)
+ {
+ unsafe
+ {
+ fixed (Double* coords_ptr = &coords)
+ {
+ Delegates.glNormalStream3dvATI((int)stream, (Double*)coords_ptr);
+ }
+ }
+ }
+
+ public static
+ void glClientActiveVertexStreamATI(int stream)
+ {
+ Delegates.glClientActiveVertexStreamATI((int)stream);
+ }
+
+ public static
+ void glVertexBlendEnviATI(int pname, Int32 param)
+ {
+ Delegates.glVertexBlendEnviATI((int)pname, (Int32)param);
+ }
+
+ public static
+ void glVertexBlendEnvfATI(int pname, Single param)
+ {
+ Delegates.glVertexBlendEnvfATI((int)pname, (Single)param);
+ }
+
+ public static
+ void glElementPointerATI(int type, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glElementPointerATI((int)type, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glElementPointerATI(int type, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glElementPointerATI((int)type, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glDrawElementArrayATI(int mode, Int32 count)
+ {
+ Delegates.glDrawElementArrayATI((int)mode, (Int32)count);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDrawRangeElementArrayATI(int mode, UInt32 start, UInt32 end, Int32 count)
+ {
+ Delegates.glDrawRangeElementArrayATI((int)mode, (UInt32)start, (UInt32)end, (Int32)count);
+ }
+
+ public static
+ void glDrawRangeElementArrayATI(int mode, Int32 start, Int32 end, Int32 count)
+ {
+ Delegates.glDrawRangeElementArrayATI((int)mode, (UInt32)start, (UInt32)end, (Int32)count);
+ }
+
+ public static
+ void glDrawBuffersATI(Int32 n, IntPtr bufs)
+ {
+ unsafe
+ {
+ Delegates.glDrawBuffersATI((Int32)n, (int*)bufs);
+ }
+ }
+
+ public static
+ void glDrawBuffersATI(Int32 n, int[] bufs)
+ {
+ unsafe
+ {
+ fixed (int* bufs_ptr = bufs)
+ {
+ Delegates.glDrawBuffersATI((Int32)n, (int*)bufs_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDrawBuffersATI(Int32 n, ref int bufs)
+ {
+ unsafe
+ {
+ fixed (int* bufs_ptr = &bufs)
+ {
+ Delegates.glDrawBuffersATI((Int32)n, (int*)bufs_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ IntPtr glMapObjectBufferATI(UInt32 buffer)
+ {
+ return Delegates.glMapObjectBufferATI((UInt32)buffer);
+ }
+
+ public static
+ IntPtr glMapObjectBufferATI(Int32 buffer)
+ {
+ return Delegates.glMapObjectBufferATI((UInt32)buffer);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glUnmapObjectBufferATI(UInt32 buffer)
+ {
+ Delegates.glUnmapObjectBufferATI((UInt32)buffer);
+ }
+
+ public static
+ void glUnmapObjectBufferATI(Int32 buffer)
+ {
+ Delegates.glUnmapObjectBufferATI((UInt32)buffer);
+ }
+
+ public static
+ void glStencilOpSeparateATI(int face, int sfail, int dpfail, int dppass)
+ {
+ Delegates.glStencilOpSeparateATI((int)face, (int)sfail, (int)dpfail, (int)dppass);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glStencilFuncSeparateATI(int frontfunc, int backfunc, Int32 @ref, UInt32 mask)
+ {
+ Delegates.glStencilFuncSeparateATI((int)frontfunc, (int)backfunc, (Int32)@ref, (UInt32)mask);
+ }
+
+ public static
+ void glStencilFuncSeparateATI(int frontfunc, int backfunc, Int32 @ref, Int32 mask)
+ {
+ Delegates.glStencilFuncSeparateATI((int)frontfunc, (int)backfunc, (Int32)@ref, (UInt32)mask);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glVertexAttribArrayObjectATI(UInt32 index, Int32 size, int type, Int32 normalized, Int32 stride, UInt32 buffer, UInt32 offset)
+ {
+ Delegates.glVertexAttribArrayObjectATI((UInt32)index, (Int32)size, (int)type, (Int32)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset);
+ }
+
+ public static
+ void glVertexAttribArrayObjectATI(Int32 index, Int32 size, int type, Int32 normalized, Int32 stride, Int32 buffer, Int32 offset)
+ {
+ Delegates.glVertexAttribArrayObjectATI((UInt32)index, (Int32)size, (int)type, (Int32)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribArrayObjectfvATI(UInt32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (int)pname, (Single*)@params);
+ }
+ }
+
+ public static
+ void glGetVertexAttribArrayObjectfvATI(Int32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (int)pname, (Single*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribArrayObjectfvATI(UInt32 index, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetVertexAttribArrayObjectfvATI(Int32 index, int pname, [Out] Single[] @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (int)pname, (Single*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribArrayObjectfvATI(UInt32 index, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetVertexAttribArrayObjectfvATI(Int32 index, int pname, [Out] out Single @params)
+ {
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (int)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribArrayObjectivATI(UInt32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (int)pname, (Int32*)@params);
+ }
+ }
+
+ public static
+ void glGetVertexAttribArrayObjectivATI(Int32 index, int pname, [Out] IntPtr @params)
+ {
+ unsafe
+ {
+ Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (int)pname, (Int32*)@params);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribArrayObjectivATI(UInt32 index, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGetVertexAttribArrayObjectivATI(Int32 index, int pname, [Out] Int32[] @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (int)pname, (Int32*)@params_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGetVertexAttribArrayObjectivATI(UInt32 index, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGetVertexAttribArrayObjectivATI(Int32 index, int pname, [Out] out Int32 @params)
+ {
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (int)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ }
+
+ public static
+ void glElementPointerAPPLE(int type, IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glElementPointerAPPLE((int)type, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glElementPointerAPPLE(int type, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glElementPointerAPPLE((int)type, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glDrawElementArrayAPPLE(int mode, Int32 first, Int32 count)
+ {
+ Delegates.glDrawElementArrayAPPLE((int)mode, (Int32)first, (Int32)count);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDrawRangeElementArrayAPPLE(int mode, UInt32 start, UInt32 end, Int32 first, Int32 count)
+ {
+ Delegates.glDrawRangeElementArrayAPPLE((int)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count);
+ }
+
+ public static
+ void glDrawRangeElementArrayAPPLE(int mode, Int32 start, Int32 end, Int32 first, Int32 count)
+ {
+ Delegates.glDrawRangeElementArrayAPPLE((int)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count);
+ }
+
+ public static
+ void glMultiDrawElementArrayAPPLE(int mode, IntPtr first, IntPtr count, Int32 primcount)
+ {
+ unsafe
+ {
+ Delegates.glMultiDrawElementArrayAPPLE((int)mode, (Int32*)first, (Int32*)count, (Int32)primcount);
+ }
+ }
+
+ public static
+ void glMultiDrawElementArrayAPPLE(int mode, IntPtr first, Int32[] count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glMultiDrawElementArrayAPPLE((int)mode, (Int32*)first, (Int32*)count_ptr, (Int32)primcount);
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawElementArrayAPPLE(int mode, IntPtr first, ref Int32 count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glMultiDrawElementArrayAPPLE((int)mode, (Int32*)first, (Int32*)count_ptr, (Int32)primcount);
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawElementArrayAPPLE(int mode, Int32[] first, IntPtr count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = first)
+ {
+ Delegates.glMultiDrawElementArrayAPPLE((int)mode, (Int32*)first_ptr, (Int32*)count, (Int32)primcount);
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawElementArrayAPPLE(int mode, Int32[] first, Int32[] count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = first)
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glMultiDrawElementArrayAPPLE((int)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawElementArrayAPPLE(int mode, Int32[] first, ref Int32 count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = first)
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glMultiDrawElementArrayAPPLE((int)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawElementArrayAPPLE(int mode, ref Int32 first, IntPtr count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = &first)
+ {
+ Delegates.glMultiDrawElementArrayAPPLE((int)mode, (Int32*)first_ptr, (Int32*)count, (Int32)primcount);
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawElementArrayAPPLE(int mode, ref Int32 first, Int32[] count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = &first)
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glMultiDrawElementArrayAPPLE((int)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawElementArrayAPPLE(int mode, ref Int32 first, ref Int32 count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = &first)
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glMultiDrawElementArrayAPPLE((int)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glMultiDrawRangeElementArrayAPPLE(int mode, UInt32 start, UInt32 end, IntPtr first, IntPtr count, Int32 primcount)
+ {
+ unsafe
+ {
+ Delegates.glMultiDrawRangeElementArrayAPPLE((int)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount);
+ }
+ }
+
+ public static
+ void glMultiDrawRangeElementArrayAPPLE(int mode, Int32 start, Int32 end, IntPtr first, IntPtr count, Int32 primcount)
+ {
+ unsafe
+ {
+ Delegates.glMultiDrawRangeElementArrayAPPLE((int)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glMultiDrawRangeElementArrayAPPLE(int mode, UInt32 start, UInt32 end, IntPtr first, Int32[] count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glMultiDrawRangeElementArrayAPPLE((int)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count_ptr, (Int32)primcount);
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawRangeElementArrayAPPLE(int mode, Int32 start, Int32 end, IntPtr first, Int32[] count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glMultiDrawRangeElementArrayAPPLE((int)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count_ptr, (Int32)primcount);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glMultiDrawRangeElementArrayAPPLE(int mode, UInt32 start, UInt32 end, IntPtr first, ref Int32 count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glMultiDrawRangeElementArrayAPPLE((int)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count_ptr, (Int32)primcount);
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawRangeElementArrayAPPLE(int mode, Int32 start, Int32 end, IntPtr first, ref Int32 count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glMultiDrawRangeElementArrayAPPLE((int)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count_ptr, (Int32)primcount);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glMultiDrawRangeElementArrayAPPLE(int mode, UInt32 start, UInt32 end, Int32[] first, IntPtr count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = first)
+ {
+ Delegates.glMultiDrawRangeElementArrayAPPLE((int)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count, (Int32)primcount);
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawRangeElementArrayAPPLE(int mode, Int32 start, Int32 end, Int32[] first, IntPtr count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = first)
+ {
+ Delegates.glMultiDrawRangeElementArrayAPPLE((int)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count, (Int32)primcount);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glMultiDrawRangeElementArrayAPPLE(int mode, UInt32 start, UInt32 end, Int32[] first, Int32[] count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = first)
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glMultiDrawRangeElementArrayAPPLE((int)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawRangeElementArrayAPPLE(int mode, Int32 start, Int32 end, Int32[] first, Int32[] count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = first)
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glMultiDrawRangeElementArrayAPPLE((int)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glMultiDrawRangeElementArrayAPPLE(int mode, UInt32 start, UInt32 end, Int32[] first, ref Int32 count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = first)
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glMultiDrawRangeElementArrayAPPLE((int)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawRangeElementArrayAPPLE(int mode, Int32 start, Int32 end, Int32[] first, ref Int32 count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = first)
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glMultiDrawRangeElementArrayAPPLE((int)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glMultiDrawRangeElementArrayAPPLE(int mode, UInt32 start, UInt32 end, ref Int32 first, IntPtr count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = &first)
+ {
+ Delegates.glMultiDrawRangeElementArrayAPPLE((int)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count, (Int32)primcount);
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawRangeElementArrayAPPLE(int mode, Int32 start, Int32 end, ref Int32 first, IntPtr count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = &first)
+ {
+ Delegates.glMultiDrawRangeElementArrayAPPLE((int)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count, (Int32)primcount);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glMultiDrawRangeElementArrayAPPLE(int mode, UInt32 start, UInt32 end, ref Int32 first, Int32[] count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = &first)
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glMultiDrawRangeElementArrayAPPLE((int)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawRangeElementArrayAPPLE(int mode, Int32 start, Int32 end, ref Int32 first, Int32[] count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = &first)
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glMultiDrawRangeElementArrayAPPLE((int)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glMultiDrawRangeElementArrayAPPLE(int mode, UInt32 start, UInt32 end, ref Int32 first, ref Int32 count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = &first)
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glMultiDrawRangeElementArrayAPPLE((int)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
+ }
+ }
+ }
+
+ public static
+ void glMultiDrawRangeElementArrayAPPLE(int mode, Int32 start, Int32 end, ref Int32 first, ref Int32 count, Int32 primcount)
+ {
+ unsafe
+ {
+ fixed (Int32* first_ptr = &first)
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glMultiDrawRangeElementArrayAPPLE((int)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
+ }
+ }
+ }
+
+ public static
+ void glGenFencesAPPLE(Int32 n, [Out] IntPtr fences)
+ {
+ unsafe
+ {
+ Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGenFencesAPPLE(Int32 n, [Out] UInt32[] fences)
+ {
+ unsafe
+ {
+ fixed (UInt32* fences_ptr = fences)
+ {
+ Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGenFencesAPPLE(Int32 n, [Out] Int32[] fences)
+ {
+ unsafe
+ {
+ fixed (Int32* fences_ptr = fences)
+ {
+ Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGenFencesAPPLE(Int32 n, [Out] out UInt32 fences)
+ {
+ unsafe
+ {
+ fixed (UInt32* fences_ptr = &fences)
+ {
+ Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
+ fences = *fences_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGenFencesAPPLE(Int32 n, [Out] out Int32 fences)
+ {
+ unsafe
+ {
+ fixed (Int32* fences_ptr = &fences)
+ {
+ Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
+ fences = *fences_ptr;
+ }
+ }
+ }
+
+ public static
+ void glDeleteFencesAPPLE(Int32 n, IntPtr fences)
+ {
+ unsafe
+ {
+ Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteFencesAPPLE(Int32 n, UInt32[] fences)
+ {
+ unsafe
+ {
+ fixed (UInt32* fences_ptr = fences)
+ {
+ Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeleteFencesAPPLE(Int32 n, Int32[] fences)
+ {
+ unsafe
+ {
+ fixed (Int32* fences_ptr = fences)
+ {
+ Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteFencesAPPLE(Int32 n, ref UInt32 fences)
+ {
+ unsafe
+ {
+ fixed (UInt32* fences_ptr = &fences)
+ {
+ Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeleteFencesAPPLE(Int32 n, ref Int32 fences)
+ {
+ unsafe
+ {
+ fixed (Int32* fences_ptr = &fences)
+ {
+ Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glSetFenceAPPLE(UInt32 fence)
+ {
+ Delegates.glSetFenceAPPLE((UInt32)fence);
+ }
+
+ public static
+ void glSetFenceAPPLE(Int32 fence)
+ {
+ Delegates.glSetFenceAPPLE((UInt32)fence);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glIsFenceAPPLE(UInt32 fence)
+ {
+ return Delegates.glIsFenceAPPLE((UInt32)fence);
+ }
+
+ public static
+ Int32 glIsFenceAPPLE(Int32 fence)
+ {
+ return Delegates.glIsFenceAPPLE((UInt32)fence);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glTestFenceAPPLE(UInt32 fence)
+ {
+ return Delegates.glTestFenceAPPLE((UInt32)fence);
+ }
+
+ public static
+ Int32 glTestFenceAPPLE(Int32 fence)
+ {
+ return Delegates.glTestFenceAPPLE((UInt32)fence);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glFinishFenceAPPLE(UInt32 fence)
+ {
+ Delegates.glFinishFenceAPPLE((UInt32)fence);
+ }
+
+ public static
+ void glFinishFenceAPPLE(Int32 fence)
+ {
+ Delegates.glFinishFenceAPPLE((UInt32)fence);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glTestObjectAPPLE(int @object, UInt32 name)
+ {
+ return Delegates.glTestObjectAPPLE((int)@object, (UInt32)name);
+ }
+
+ public static
+ Int32 glTestObjectAPPLE(int @object, Int32 name)
+ {
+ return Delegates.glTestObjectAPPLE((int)@object, (UInt32)name);
+ }
+
+ public static
+ void glFinishObjectAPPLE(int @object, Int32 name)
+ {
+ Delegates.glFinishObjectAPPLE((int)@object, (Int32)name);
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glBindVertexArrayAPPLE(UInt32 array)
+ {
+ Delegates.glBindVertexArrayAPPLE((UInt32)array);
+ }
+
+ public static
+ void glBindVertexArrayAPPLE(Int32 array)
+ {
+ Delegates.glBindVertexArrayAPPLE((UInt32)array);
+ }
+
+ public static
+ void glDeleteVertexArraysAPPLE(Int32 n, IntPtr arrays)
+ {
+ unsafe
+ {
+ Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteVertexArraysAPPLE(Int32 n, UInt32[] arrays)
+ {
+ unsafe
+ {
+ fixed (UInt32* arrays_ptr = arrays)
+ {
+ Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeleteVertexArraysAPPLE(Int32 n, Int32[] arrays)
+ {
+ unsafe
+ {
+ fixed (Int32* arrays_ptr = arrays)
+ {
+ Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glDeleteVertexArraysAPPLE(Int32 n, ref UInt32 arrays)
+ {
+ unsafe
+ {
+ fixed (UInt32* arrays_ptr = &arrays)
+ {
+ Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
+ }
+ }
+ }
+
+ public static
+ void glDeleteVertexArraysAPPLE(Int32 n, ref Int32 arrays)
+ {
+ unsafe
+ {
+ fixed (Int32* arrays_ptr = &arrays)
+ {
+ Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGenVertexArraysAPPLE(Int32 n, [Out] IntPtr arrays)
+ {
+ unsafe
+ {
+ Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays);
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGenVertexArraysAPPLE(Int32 n, [Out] UInt32[] arrays)
+ {
+ unsafe
+ {
+ fixed (UInt32* arrays_ptr = arrays)
+ {
+ Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
+ }
+ }
+ }
+
+ public static
+ void glGenVertexArraysAPPLE(Int32 n, [Out] Int32[] arrays)
+ {
+ unsafe
+ {
+ fixed (Int32* arrays_ptr = arrays)
+ {
+ Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ void glGenVertexArraysAPPLE(Int32 n, [Out] out UInt32 arrays)
+ {
+ unsafe
+ {
+ fixed (UInt32* arrays_ptr = &arrays)
+ {
+ Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
+ arrays = *arrays_ptr;
+ }
+ }
+ }
+
+ public static
+ void glGenVertexArraysAPPLE(Int32 n, [Out] out Int32 arrays)
+ {
+ unsafe
+ {
+ fixed (Int32* arrays_ptr = &arrays)
+ {
+ Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
+ arrays = *arrays_ptr;
+ }
+ }
+ }
+
+ [System.CLSCompliant(false)]
+ public static
+ Int32 glIsVertexArrayAPPLE(UInt32 array)
+ {
+ return Delegates.glIsVertexArrayAPPLE((UInt32)array);
+ }
+
+ public static
+ Int32 glIsVertexArrayAPPLE(Int32 array)
+ {
+ return Delegates.glIsVertexArrayAPPLE((UInt32)array);
+ }
+
+ public static
+ void glVertexArrayRangeAPPLE(Int32 length, [Out] IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glVertexArrayRangeAPPLE(Int32 length, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glFlushVertexArrayRangeAPPLE(Int32 length, [Out] IntPtr pointer)
+ {
+ unsafe
+ {
+ Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer);
+ }
+ }
+
+ public static
+ void glFlushVertexArrayRangeAPPLE(Int32 length, [In, Out] object pointer)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ }
+ }
+
+ public static
+ void glVertexArrayParameteriAPPLE(int pname, Int32 param)
+ {
+ Delegates.glVertexArrayParameteriAPPLE((int)pname, (Int32)param);
+ }
+
+ public static
+ void glBufferParameteriAPPLE(int target, int pname, Int32 param)
+ {
+ Delegates.glBufferParameteriAPPLE((int)target, (int)pname, (Int32)param);
+ }
+
+ public static
+ void glFlushMappedBufferRangeAPPLE(int target, IntPtr offset, IntPtr size)
+ {
+ Delegates.glFlushMappedBufferRangeAPPLE((int)target, (IntPtr)offset, (IntPtr)size);
+ }
+
+ public static
+ void glStringMarkerGREMEDY(Int32 len, IntPtr @string)
+ {
+ unsafe
+ {
+ Delegates.glStringMarkerGREMEDY((Int32)len, (IntPtr)@string);
+ }
+ }
+
+ public static
+ void glStringMarkerGREMEDY(Int32 len, [In, Out] object @string)
+ {
+ unsafe
+ {
+ System.Runtime.InteropServices.GCHandle @string_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@string, System.Runtime.InteropServices.GCHandleType.Pinned);
+ try
+ {
+ Delegates.glStringMarkerGREMEDY((Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ @string_ptr.Free();
+ }
+ }
+ }
+
+ }
+}
diff --git a/Source/Compatibility/Tao/OpenGl/GlHelper.cs b/Source/Compatibility/Tao/OpenGl/GlHelper.cs
new file mode 100644
index 00000000..d49bfd2c
--- /dev/null
+++ b/Source/Compatibility/Tao/OpenGl/GlHelper.cs
@@ -0,0 +1,555 @@
+#region License
+/*
+MIT License
+Copyright ©2003-2007 Tao Framework Team
+http://www.taoframework.com
+All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+#endregion License
+
+#region --- Using Directives ---
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Runtime.InteropServices;
+using System.Reflection;
+using System.Diagnostics;
+using System.Reflection.Emit;
+using System.IO;
+
+#endregion
+
+namespace Tao.OpenGl
+{
+ ///
+ /// OpenGL binding for .NET, implementing OpenGL 2.1, plus extensions.
+ ///
+ ///
+ ///
+ /// This class contains all OpenGL enums and functions defined in the 2.1 specification.
+ /// The official .spec files can be found at: http://opengl.org/registry/.
+ ///
+ ///
+ /// We rely on static initialization to obtain the entry points for OpenGL functions.
+ /// Please ensure that a valid OpenGL context has been made current in the pertinent thread before
+ /// any OpenGL functions are called (toolkits like GLUT, SDL or GLFW will automatically take care of
+ /// the context initialization process). Without a valid OpenGL context, we will only be able
+ /// to retrieve statically exported entry points (typically corresponding to OpenGL version 1.1 under Windows,
+ /// 1.3 under Linux and 1.4 under Windows Vista), and extension methods will need to be loaded manually.
+ ///
+ ///
+ /// If you prefer to have more control on extension loading, you can use the
+ /// ReloadFunctions or ReloadFunction methods to manually force the initialisation of OpenGL entry points.
+ /// The ReloadFunctions method should be called whenever you change an existing visual or pixelformat. This
+ /// generally happens when you change the color/stencil/depth buffer associated with a window (but probably
+ /// not the resolution). This may or may not be necessary under Linux/MacOS, but is generally required for
+ /// Windows.
+ ///
+ ///
+ /// You can use the Gl.IsExtensionSupported method to check whether any given category of extension functions
+ /// exists in the current OpenGL context. The results can be cached to speed up future searches.
+ /// Keep in mind that different OpenGL contexts may support different extensions, and under different entry
+ /// points. Always check if all required extensions are still supported when changing visuals or pixel
+ /// formats.
+ ///
+ ///
+ /// You may retrieve the entry point for an OpenGL function using the Gl.GetDelegate method.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ [Obsolete("Use OpenTK.Graphics.OpenGL instead.")]
+ public static partial class Gl
+ {
+ #region --- Fields ---
+
+ static StringBuilder sb = new StringBuilder();
+ static object gl_lock = new object();
+
+ internal const string Library = "opengl32.dll";
+
+ //private static Dictionary AvailableExtensions = new Dictionary();
+ private static SortedList AvailableExtensions = new SortedList();
+ private static bool rebuildExtensionList;
+
+ private static Type glClass;
+ private static Type delegatesClass;
+ private static Type importsClass;
+ private static FieldInfo[] delegates;
+
+ #endregion
+
+ #region --- Static Constructor ---
+
+ static Gl()
+ {
+ glClass = typeof(Gl);
+ delegatesClass = glClass.GetNestedType("Delegates", BindingFlags.Static | BindingFlags.NonPublic);
+ importsClass = glClass.GetNestedType("Imports", BindingFlags.Static | BindingFlags.NonPublic);
+ // 'Touch' Imports class to force initialization. We don't want anything yet, just to have
+ // this class ready.
+ if (Imports.FunctionMap != null) { }
+ ReloadFunctions();
+ }
+
+ #endregion
+
+ #region --- Methods ---
+
+ #region internal static partial class Imports
+
+ ///
+ /// Contains DllImports for the core OpenGL functions.
+ ///
+ internal static partial class Imports
+ {
+ ///
+ /// Build a string->MethodInfo map to speed up extension loading.
+ ///
+ internal static SortedList FunctionMap; // This is faster than either Dictionary or SortedDictionary
+ static Imports()
+ {
+ MethodInfo[] methods = importsClass.GetMethods(BindingFlags.Static | BindingFlags.NonPublic);
+ FunctionMap = new SortedList(methods.Length);
+ foreach (MethodInfo m in methods)
+ FunctionMap.Add(m.Name, m);
+ }
+ }
+
+ #endregion
+
+ #region public static bool IsExtensionSupported(string name)
+
+ ///
+ /// Determines whether the specified OpenGL extension category is available in
+ /// the current OpenGL context. Equivalent to IsExtensionSupported(name, true)
+ ///
+ /// The string for the OpenGL extension category (eg. "GL_ARB_multitexture")
+ /// True if the specified extension is available, false otherwise.
+ public static bool IsExtensionSupported(string name)
+ {
+ if (rebuildExtensionList)
+ BuildExtensionList();
+
+ lock (gl_lock)
+ {
+ sb.Remove(0, sb.Length);
+ if (!name.StartsWith("GL_"))
+ sb.Append("gl_");
+ sb.Append(name.ToLower());
+
+ // Search the cache for the string.
+ return AvailableExtensions.ContainsKey(sb.ToString());
+ }
+ }
+
+ #endregion
+
+ #region public static Delegate GetDelegate(string name, Type signature)
+
+ ///
+ /// Creates a System.Delegate that can be used to call an OpenGL function, core or extension.
+ ///
+ /// The name of the OpenGL function (eg. "glNewList")
+ /// The signature of the OpenGL function.
+ ///
+ /// A System.Delegate that can be used to call this OpenGL function, or null if the specified
+ /// function name did not correspond to an OpenGL function.
+ ///
+ public static Delegate GetDelegate(string name, Type signature)
+ {
+ MethodInfo m;
+ return GetExtensionDelegate(name, signature) ??
+ (Imports.FunctionMap.TryGetValue((name.Substring(2)), out m) ?
+ Delegate.CreateDelegate(signature, m) : null);
+ }
+
+ #endregion
+
+ #region public static void ReloadFunctions()
+
+ ///
+ /// Loads all OpenGL functions (core and extensions).
+ ///
+ ///
+ ///
+ /// This function will be automatically called the first time you use any opengl function. There is
+ ///
+ ///
+ /// Call this function manually whenever you need to update OpenGL entry points.
+ /// This need may arise if you change the pixelformat/visual, or in case you cannot
+ /// (or do not want) to use the automatic initialization of the GL class.
+ ///
+ ///
+ public static void ReloadFunctions()
+ {
+ // Using reflection is more than 3 times faster than directly loading delegates on the first
+ // run, probably due to code generation overhead. Subsequent runs are faster with direct loading
+ // than with reflection, but the first time is more significant.
+
+ if (delegates == null)
+ delegates = delegatesClass.GetFields(BindingFlags.Static | BindingFlags.NonPublic);
+
+ foreach (FieldInfo f in delegates)
+ f.SetValue(null, GetDelegate(f.Name, f.FieldType));
+
+ rebuildExtensionList = true;
+ }
+
+ static void set(object d, Delegate value)
+ {
+ d = value;
+ }
+
+ #endregion
+
+ #region public static bool ReloadFunction(string function)
+
+ ///
+ /// Tries to reload the given OpenGL function (core or extension).
+ ///
+ /// The name of the OpenGL function (i.e. glShaderSource)
+ /// True if the function was found and reloaded, false otherwise.
+ ///
+ ///
+ /// Use this function if you require greater granularity when loading OpenGL entry points.
+ ///
+ ///
+ /// While the automatic initialisation will load all OpenGL entry points, in some cases
+ /// the initialisation can take place before an OpenGL Context has been established.
+ /// In this case, use this function to load the entry points for the OpenGL functions
+ /// you will need, or use ReloadFunctions() to load all available entry points.
+ ///
+ ///
+ /// This function returns true if the given OpenGL function is supported, false otherwise.
+ ///
+ ///
+ /// To query for supported extensions use the IsExtensionSupported() function instead.
+ ///
+ ///
+ public static bool Load(string function)
+ {
+ FieldInfo f = delegatesClass.GetField(function, BindingFlags.Static | BindingFlags.NonPublic);
+ if (f == null)
+ return false;
+
+ Delegate old = f.GetValue(null) as Delegate;
+ Delegate @new = GetDelegate(f.Name, f.FieldType);
+ if (old.Target != @new.Target)
+ {
+ f.SetValue(null, @new);
+ rebuildExtensionList = true;
+ }
+ return @new != null;
+ }
+
+ #endregion
+
+ #region private static void BuildExtensionList()
+
+ ///
+ /// Builds a cache of all supported extensions.
+ ///
+ private static void BuildExtensionList()
+ {
+ // Assumes there is an opengl context current.
+ AvailableExtensions.Clear();
+ string version_string = Gl.glGetString(Gl.GL_VERSION);
+ if (String.IsNullOrEmpty(version_string))
+ throw new ApplicationException("Failed to retrieve OpenGL version. Is there an opengl context current?");
+
+ string version;
+
+ // Most drivers return the version in the 3 first characters of the version string,
+ // (e.g. on Ati X1950 with Catalyst 7.10 -> "2.0.6956 Release"). However, Mesa seems
+ // to do something strange: "1.4 (2.1 Mesa 7.0.1).".
+ // We'll do some trickery to get the second version number (2.1), but this may break on
+ // some implementations...
+ // This works on Ati, Mesa, Nvidia, but I'd like someone to test on Intel, too.
+ if (version_string.ToLower().Contains("mesa"))
+ {
+ int index = version_string.IndexOf('(');
+ if (index != -1)
+ version = version_string.Substring(index + 1, 3);
+ else
+ version = version_string.TrimStart(' ');
+ }
+ else
+ version = version_string.TrimStart(' ');
+
+ // Ugh, this look ugly.
+ if (version.StartsWith("1.2"))
+ {
+ AvailableExtensions.Add("gl_version_1_1", true);
+ AvailableExtensions.Add("gl_version_1_2", true);
+ }
+ else if (version.StartsWith("1.3"))
+ {
+ AvailableExtensions.Add("gl_version_1_1", true);
+ AvailableExtensions.Add("gl_version_1_2", true);
+ AvailableExtensions.Add("gl_version_1_3", true);
+ }
+ else if (version.StartsWith("1.4"))
+ {
+ AvailableExtensions.Add("gl_version_1_1", true);
+ AvailableExtensions.Add("gl_version_1_2", true);
+ AvailableExtensions.Add("gl_version_1_3", true);
+ AvailableExtensions.Add("gl_version_1_4", true);
+ }
+ else if (version.StartsWith("1.5"))
+ {
+ AvailableExtensions.Add("gl_version_1_1", true);
+ AvailableExtensions.Add("gl_version_1_2", true);
+ AvailableExtensions.Add("gl_version_1_3", true);
+ AvailableExtensions.Add("gl_version_1_4", true);
+ AvailableExtensions.Add("gl_version_1_5", true);
+ }
+ else if (version.StartsWith("2.0"))
+ {
+ AvailableExtensions.Add("gl_version_1_1", true);
+ AvailableExtensions.Add("gl_version_1_2", true);
+ AvailableExtensions.Add("gl_version_1_3", true);
+ AvailableExtensions.Add("gl_version_1_4", true);
+ AvailableExtensions.Add("gl_version_1_5", true);
+ AvailableExtensions.Add("gl_version_2_0", true);
+ }
+ else if (version.StartsWith("2.1"))
+ {
+ AvailableExtensions.Add("gl_version_1_1", true);
+ AvailableExtensions.Add("gl_version_1_2", true);
+ AvailableExtensions.Add("gl_version_1_3", true);
+ AvailableExtensions.Add("gl_version_1_4", true);
+ AvailableExtensions.Add("gl_version_1_5", true);
+ AvailableExtensions.Add("gl_version_2_0", true);
+ AvailableExtensions.Add("gl_version_2_1", true);
+ }
+
+ string extension_string = Gl.glGetString(Gl.GL_EXTENSIONS);
+ if (String.IsNullOrEmpty(extension_string))
+ return; // no extensions are available
+
+ string[] extensions = extension_string.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries);
+ foreach (string ext in extensions)
+ AvailableExtensions.Add(ext.ToLower(), true);
+
+ rebuildExtensionList = false;
+ }
+
+ #endregion
+
+ #endregion
+
+ #region --- GetProcAddress ---
+
+ private static IGetProcAddress getProcAddress;
+
+ internal interface IGetProcAddress
+ {
+ IntPtr GetProcAddress(string function);
+ }
+
+ internal class GetProcAddressWindows : IGetProcAddress
+ {
+ [System.Runtime.InteropServices.DllImport(Library, EntryPoint = "wglGetProcAddress", ExactSpelling = true)]
+ private static extern IntPtr wglGetProcAddress(String lpszProc);
+
+ public IntPtr GetProcAddress(string function)
+ {
+ return wglGetProcAddress(function);
+ }
+ }
+
+ internal class GetProcAddressX11 : IGetProcAddress
+ {
+ [DllImport(Library, EntryPoint = "glXGetProcAddress")]
+ private static extern IntPtr glxGetProcAddress([MarshalAs(UnmanagedType.LPTStr)] string procName);
+
+ public IntPtr GetProcAddress(string function)
+ {
+ return glxGetProcAddress(function);
+ }
+ }
+
+ internal class GetProcAddressOSX : IGetProcAddress
+ {
+ private const string Library = "libdl.dylib";
+
+ [DllImport(Library, EntryPoint = "NSIsSymbolNameDefined")]
+ private static extern bool NSIsSymbolNameDefined(string s);
+ [DllImport(Library, EntryPoint = "NSLookupAndBindSymbol")]
+ private static extern IntPtr NSLookupAndBindSymbol(string s);
+ [DllImport(Library, EntryPoint = "NSAddressOfSymbol")]
+ private static extern IntPtr NSAddressOfSymbol(IntPtr symbol);
+
+ public IntPtr GetProcAddress(string function)
+ {
+ string fname = "_" + function;
+ if (!NSIsSymbolNameDefined(fname))
+ return IntPtr.Zero;
+
+ IntPtr symbol = NSLookupAndBindSymbol(fname);
+ if (symbol != IntPtr.Zero)
+ symbol = NSAddressOfSymbol(symbol);
+
+ return symbol;
+ }
+ }
+
+ #region private static IntPtr GetAddress(string function)
+
+ ///
+ /// Retrieves the entry point for a dynamically exported OpenGL function.
+ ///
+ /// The function string for the OpenGL function (eg. "glNewList")
+ ///
+ /// An IntPtr contaning the address for the entry point, or IntPtr.Zero if the specified
+ /// OpenGL function is not dynamically exported.
+ ///
+ ///
+ ///
+ /// The Marshal.GetDelegateForFunctionPointer method can be used to turn the return value
+ /// into a call-able delegate.
+ ///
+ ///
+ /// This function is cross-platform. It determines the underlying platform and uses the
+ /// correct wgl, glx or agl GetAddress function to retrieve the function pointer.
+ ///
+ ///
+ ///
+ private static IntPtr GetAddress(string function)
+ {
+ if (getProcAddress == null)
+ {
+ if (System.Environment.OSVersion.Platform == PlatformID.Win32NT ||
+ System.Environment.OSVersion.Platform == PlatformID.Win32S ||
+ System.Environment.OSVersion.Platform == PlatformID.Win32Windows ||
+ System.Environment.OSVersion.Platform == PlatformID.WinCE)
+ {
+ getProcAddress = new GetProcAddressWindows();
+ }
+ else if (System.Environment.OSVersion.Platform == PlatformID.Unix ||
+ System.Environment.OSVersion.Platform == (PlatformID)4)
+ {
+ // Distinguish between Unix and Mac OS X kernels.
+ switch (DetectUnixKernel())
+ {
+ case "Unix":
+ case "Linux":
+ getProcAddress = new GetProcAddressX11();
+ break;
+
+ case "Darwin":
+ getProcAddress = new GetProcAddressOSX();
+ break;
+
+ default:
+ throw new PlatformNotSupportedException(
+ DetectUnixKernel() + ": Unknown Unix platform - cannot load extensions. Please report a bug at http://taoframework.com");
+ }
+ }
+ else
+ {
+ throw new PlatformNotSupportedException(
+ "Extension loading is only supported under Mac OS X, Unix/X11 and Windows. We are sorry for the inconvience.");
+ }
+ }
+
+ return getProcAddress.GetProcAddress(function);
+ }
+
+ #endregion
+
+ #region private static string DetectUnixKernel()
+
+ ///
+ /// Executes "uname" which returns a string representing the name of the
+ /// underlying Unix kernel.
+ ///
+ /// "Unix", "Linux", "Darwin" or null.
+ /// Source code from "Mono: A Developer's Notebook"
+ private static string DetectUnixKernel()
+ {
+ ProcessStartInfo startInfo = new ProcessStartInfo();
+ startInfo.Arguments = "-s";
+ startInfo.RedirectStandardOutput = true;
+ startInfo.RedirectStandardError = true;
+ startInfo.UseShellExecute = false;
+ foreach (string unameprog in new string[] { "/usr/bin/uname", "/bin/uname", "uname" })
+ {
+ try
+ {
+ startInfo.FileName = unameprog;
+ Process uname = Process.Start(startInfo);
+ StreamReader stdout = uname.StandardOutput;
+ return stdout.ReadLine().Trim();
+ }
+ catch (System.IO.FileNotFoundException)
+ {
+ // The requested executable doesn't exist, try next one.
+ continue;
+ }
+ catch (System.ComponentModel.Win32Exception)
+ {
+ continue;
+ }
+ }
+ return null;
+ }
+
+ #endregion
+
+ #region internal static Delegate GetExtensionDelegate(string name, Type signature)
+
+ ///
+ /// Creates a System.Delegate that can be used to call a dynamically exported OpenGL function.
+ ///
+ /// The name of the OpenGL function (eg. "glNewList")
+ /// The signature of the OpenGL function.
+ ///
+ /// A System.Delegate that can be used to call this OpenGL function or null
+ /// if the function is not available in the current OpenGL context.
+ ///
+ internal static Delegate GetExtensionDelegate(string name, Type signature)
+ {
+ IntPtr address = GetAddress(name);
+
+ if (address == IntPtr.Zero ||
+ address == new IntPtr(1) || // Workaround for buggy nvidia drivers which return
+ address == new IntPtr(2)) // 1 or 2 instead of IntPtr.Zero for some extensions.
+ {
+ return null;
+ }
+ else
+ {
+ return Marshal.GetDelegateForFunctionPointer(address, signature);
+ }
+ }
+
+ #endregion
+
+ #endregion
+ }
+}
diff --git a/Source/Compatibility/Tao/OpenGl/Glu.cs b/Source/Compatibility/Tao/OpenGl/Glu.cs
new file mode 100644
index 00000000..af86fe22
--- /dev/null
+++ b/Source/Compatibility/Tao/OpenGl/Glu.cs
@@ -0,0 +1,48401 @@
+#region License
+/*
+MIT License
+Copyright ©2003-2006 Tao Framework Team
+http://www.taoframework.com
+All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+#endregion License
+
+using System;
+using System.Runtime.InteropServices;
+using System.Security;
+
+namespace Tao.OpenGl
+{
+ #region Class Documentation
+ ///
+ /// GLU (OpenGL Utility) binding for .NET, implementing GLU 1.3.
+ ///
+ ///
+ ///
+ /// Binds functions and definitions in glu32.dll or libGLU.so.
+ ///
+ ///
+ /// The OpenGL Utility (GLU) library contains several groups of functions that
+ /// complement the core OpenGL interface by providing support for auxiliary features.
+ /// These features include: mipmapping, matrix manipulation, polygon tessellation,
+ /// quadrics, NURBS, and error handling.
+ ///
+ ///
+ /// Mipmapping routines include image scaling and automatic mipmap generation. A
+ /// variety of matrix manipulation functions build projection and viewing matrices,
+ /// or project vertices from one coordinate system to another. Polygon tessellation
+ /// routines convert concave polygons into triangles for easy rendering. Quadrics
+ /// support renders a few basic quadrics such as spheres and cones. NURBS code maps
+ /// complicated NURBS curves and trimmed surfaces into simpler OpenGL evaluators.
+ /// Lastly, an error lookup routine translates OpenGL and GLU error codes into
+ /// strings. GLU library routines may call OpenGL library routines. Thus, an OpenGL
+ /// context should be made current before calling any GLU functions. Otherwise an
+ /// OpenGL error may occur.
+ ///
+ ///
+ /// These utility functions make use of core OpenGL functions, so any OpenGL
+ /// implementation is guaranteed to support the utility functions.
+ ///
+ ///
+ #endregion Class Documentation
+ [Obsolete]
+ public static class Glu
+ {
+ // --- Fields ---
+ #region Private Constants
+ #region CallingConvention CALLING_CONVENTION
+ ///
+ /// Specifies the calling convention.
+ ///
+ ///
+ /// Specifies for Windows and
+ /// Linux, to indicate that the default should be used.
+ ///
+ private const CallingConvention CALLING_CONVENTION = CallingConvention.Winapi;
+ #endregion CallingConvention CALLING_CONVENTION
+ #endregion Private Constants
+
+ #region Public Constants
+ #region Version
+ #region bool GLU_VERSION_1_1
+ ///
+ /// GLU API revision.
+ ///
+ ///
+ /// Specifies GLU 1.1.
+ ///
+ // #define GLU_VERSION_1_1 1
+ public const bool GLU_VERSION_1_1 = true;
+ #endregion bool GLU_VERSION_1_1
+
+ #region bool GLU_VERSION_1_2
+ ///
+ /// GLU API revision.
+ ///
+ ///
+ /// Specifies GLU 1.2.
+ ///
+ // #define GLU_VERSION_1_2 1
+ public const bool GLU_VERSION_1_2 = true;
+ #endregion bool GLU_VERSION_1_2
+
+ #region bool GLU_VERSION_1_3
+ ///
+ /// GLU API revision.
+ ///
+ ///
+ /// Specifies GLU 1.3.
+ ///
+ // #define GLU_VERSION_1_3 1
+ public const bool GLU_VERSION_1_3 = true;
+ #endregion bool GLU_VERSION_1_3
+ #endregion Version
+
+ #region Errors
+ #region int GLU_INVALID_ENUM
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_INVALID_ENUM 100900
+ public const int GLU_INVALID_ENUM = 100900;
+ #endregion int GLU_INVALID_ENUM
+
+ #region int GLU_INVALID_VALUE
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_INVALID_VALUE 100901
+ public const int GLU_INVALID_VALUE = 100901;
+ #endregion int GLU_INVALID_VALUE
+
+ #region int GLU_OUT_OF_MEMORY
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_OUT_OF_MEMORY 100902
+ public const int GLU_OUT_OF_MEMORY = 100902;
+ #endregion int GLU_OUT_OF_MEMORY
+
+ #region int GLU_INCOMPATIBLE_GL_VERSION
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_INCOMPATIBLE_GL_VERSION 100903
+ public const int GLU_INCOMPATIBLE_GL_VERSION = 100903;
+ #endregion int GLU_INCOMPATIBLE_GL_VERSION
+
+ #region int GLU_INVALID_OPERATION
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_INVALID_OPERATION 100904
+ public const int GLU_INVALID_OPERATION = 100904;
+ #endregion int GLU_INVALID_OPERATION
+ #endregion Errors
+
+ #region StringName
+ #region int GLU_VERSION
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_VERSION 100800
+ public const int GLU_VERSION = 100800;
+ #endregion int GLU_VERSION
+
+ #region int GLU_EXTENSIONS
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_EXTENSIONS 100801
+ public const int GLU_EXTENSIONS = 100801;
+ #endregion int GLU_EXTENSIONS
+ #endregion StringName
+
+ #region bool
+ #region int GLU_TRUE
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TRUE GL_TRUE
+ public const int GLU_TRUE = 1;
+ #endregion int GLU_TRUE
+
+ #region int GLU_FALSE
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_FALSE GL_FALSE
+ public const int GLU_FALSE = 0;
+ #endregion int GLU_FALSE
+ #endregion bool
+
+ #region QuadricNormal
+ #region int GLU_SMOOTH
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_SMOOTH 100000
+ public const int GLU_SMOOTH = 100000;
+ #endregion int GLU_SMOOTH
+
+ #region int GLU_FLAT
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_FLAT 100001
+ public const int GLU_FLAT = 100001;
+ #endregion int GLU_FLAT
+
+ #region int GLU_NONE
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NONE 100002
+ public const int GLU_NONE = 100002;
+ #endregion int GLU_NONE
+ #endregion QuadricNormal
+
+ #region QuadricDrawStyle
+ #region int GLU_POINT
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_POINT 100010
+ public const int GLU_POINT = 100010;
+ #endregion int GLU_POINT
+
+ #region int GLU_LINE
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_LINE 100011
+ public const int GLU_LINE = 100011;
+ #endregion int GLU_LINE
+
+ #region int GLU_FILL
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_FILL 100012
+ public const int GLU_FILL = 100012;
+ #endregion int GLU_FILL
+
+ #region int GLU_SILHOUETTE
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_SILHOUETTE 100013
+ public const int GLU_SILHOUETTE = 100013;
+ #endregion int GLU_SILHOUETTE
+ #endregion QuadricDrawStyle
+
+ #region QuadraticOrientation
+ #region int GLU_OUTSIDE
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_OUTSIDE 100020
+ public const int GLU_OUTSIDE = 100020;
+ #endregion int GLU_OUTSIDE
+
+ #region int GLU_INSIDE
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_INSIDE 100021
+ public const int GLU_INSIDE = 100021;
+ #endregion int GLU_INSIDE
+ #endregion QuadraticOrientation
+
+ #region Tesselation Limits
+ #region double GLU_TESS_MAX_COORD
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_MAX_COORD 1.0e150
+ public const double GLU_TESS_MAX_COORD = 1.0e150;
+ #endregion double GLU_TESS_MAX_COORD
+ #endregion Tesselation Limits
+
+ #region TessProperty
+ #region int GLU_TESS_WINDING_RULE
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_WINDING_RULE 100140
+ public const int GLU_TESS_WINDING_RULE = 100140;
+ #endregion int GLU_TESS_WINDING_RULE
+
+ #region int GLU_TESS_BOUNDARY_ONLY
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_BOUNDARY_ONLY 100141
+ public const int GLU_TESS_BOUNDARY_ONLY = 100141;
+ #endregion int GLU_TESS_BOUNDARY_ONLY
+
+ #region int GLU_TESS_TOLERANCE
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_TOLERANCE 100142
+ public const int GLU_TESS_TOLERANCE = 100142;
+ #endregion int GLU_TESS_TOLERANCE
+ #endregion TessProperty
+
+ #region TessWinding
+ #region int GLU_TESS_WINDING_ODD
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_WINDING_ODD 100130
+ public const int GLU_TESS_WINDING_ODD = 100130;
+ #endregion int GLU_TESS_WINDING_ODD
+
+ #region int GLU_TESS_WINDING_NONZERO
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_WINDING_NONZERO 100131
+ public const int GLU_TESS_WINDING_NONZERO = 100131;
+ #endregion int GLU_TESS_WINDING_NONZERO
+
+ #region int GLU_TESS_WINDING_POSITIVE
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_WINDING_POSITIVE 100132
+ public const int GLU_TESS_WINDING_POSITIVE = 100132;
+ #endregion int GLU_TESS_WINDING_POSITIVE
+
+ #region int GLU_TESS_WINDING_NEGATIVE
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_WINDING_NEGATIVE 100133
+ public const int GLU_TESS_WINDING_NEGATIVE = 100133;
+ #endregion int GLU_TESS_WINDING_NEGATIVE
+
+ #region int GLU_TESS_WINDING_ABS_GEQ_TWO
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_WINDING_ABS_GEQ_TWO 100134
+ public const int GLU_TESS_WINDING_ABS_GEQ_TWO = 100134;
+ #endregion int GLU_TESS_WINDING_ABS_GEQ_TWO
+ #endregion TessWinding
+
+ #region TessCallback
+ #region int GLU_TESS_BEGIN
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_BEGIN 100100
+ public const int GLU_TESS_BEGIN = 100100;
+ #endregion int GLU_TESS_BEGIN
+
+ #region int GLU_BEGIN
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_BEGIN 100100
+ public const int GLU_BEGIN = 100100;
+ #endregion int GLU_BEGIN
+
+ #region int GLU_TESS_VERTEX
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_VERTEX 100101
+ public const int GLU_TESS_VERTEX = 100101;
+ #endregion int GLU_TESS_VERTEX
+
+ #region int GLU_VERTEX
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_VERTEX 100101
+ public const int GLU_VERTEX = 100101;
+ #endregion int GLU_VERTEX
+
+ #region int GLU_TESS_END
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_END 100102
+ public const int GLU_TESS_END = 100102;
+ #endregion int GLU_TESS_END
+
+ #region int GLU_END
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_END 100102
+ public const int GLU_END = 100102;
+ #endregion int GLU_END
+
+ #region int GLU_TESS_ERROR
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_ERROR 100103
+ public const int GLU_TESS_ERROR = 100103;
+ #endregion int GLU_TESS_ERROR
+
+ #region int GLU_TESS_EDGE_FLAG
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_EDGE_FLAG 100104
+ public const int GLU_TESS_EDGE_FLAG = 100104;
+ #endregion int GLU_TESS_EDGE_FLAG
+
+ #region int GLU_EDGE_FLAG
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_EDGE_FLAG 100104
+ public const int GLU_EDGE_FLAG = 100104;
+ #endregion int GLU_EDGE_FLAG
+
+ #region int GLU_TESS_COMBINE
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_COMBINE 100105
+ public const int GLU_TESS_COMBINE = 100105;
+ #endregion int GLU_TESS_COMBINE
+
+ #region int GLU_TESS_BEGIN_DATA
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_BEGIN_DATA 100106
+ public const int GLU_TESS_BEGIN_DATA = 100106;
+ #endregion int GLU_TESS_BEGIN_DATA
+
+ #region int GLU_TESS_VERTEX_DATA
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_VERTEX_DATA 100107
+ public const int GLU_TESS_VERTEX_DATA = 100107;
+ #endregion int GLU_TESS_VERTEX_DATA
+
+ #region int GLU_TESS_END_DATA
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_END_DATA 100108
+ public const int GLU_TESS_END_DATA = 100108;
+ #endregion int GLU_TESS_END_DATA
+
+ #region int GLU_TESS_ERROR_DATA
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_ERROR_DATA 100109
+ public const int GLU_TESS_ERROR_DATA = 100109;
+ #endregion int GLU_TESS_ERROR_DATA
+
+ #region int GLU_TESS_EDGE_FLAG_DATA
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_EDGE_FLAG_DATA 100110
+ public const int GLU_TESS_EDGE_FLAG_DATA = 100110;
+ #endregion int GLU_TESS_EDGE_FLAG_DATA
+
+ #region int GLU_TESS_COMBINE_DATA
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_COMBINE_DATA 100111
+ public const int GLU_TESS_COMBINE_DATA = 100111;
+ #endregion int GLU_TESS_COMBINE_DATA
+ #endregion TessCallback
+
+ #region TessError
+ #region int GLU_TESS_ERROR1
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_ERROR1 100151
+ public const int GLU_TESS_ERROR1 = 100151;
+ #endregion int GLU_TESS_ERROR1
+
+ #region int GLU_TESS_ERROR2
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_ERROR2 100152
+ public const int GLU_TESS_ERROR2 = 100152;
+ #endregion int GLU_TESS_ERROR2
+
+ #region int GLU_TESS_ERROR3
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_ERROR3 100153
+ public const int GLU_TESS_ERROR3 = 100153;
+ #endregion int GLU_TESS_ERROR3
+
+ #region int GLU_TESS_ERROR4
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_ERROR4 100154
+ public const int GLU_TESS_ERROR4 = 100154;
+ #endregion int GLU_TESS_ERROR4
+
+ #region int GLU_TESS_ERROR5
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_ERROR5 100155
+ public const int GLU_TESS_ERROR5 = 100155;
+ #endregion int GLU_TESS_ERROR5
+
+ #region int GLU_TESS_ERROR6
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_ERROR6 100156
+ public const int GLU_TESS_ERROR6 = 100156;
+ #endregion int GLU_TESS_ERROR6
+
+ #region int GLU_TESS_ERROR7
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_ERROR7 100157
+ public const int GLU_TESS_ERROR7 = 100157;
+ #endregion int GLU_TESS_ERROR7
+
+ #region int GLU_TESS_ERROR8
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_ERROR8 100158
+ public const int GLU_TESS_ERROR8 = 100158;
+ #endregion int GLU_TESS_ERROR8
+
+ #region int GLU_TESS_MISSING_BEGIN_POLYGON
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_MISSING_BEGIN_POLYGON GLU_TESS_ERROR1
+ public const int GLU_TESS_MISSING_BEGIN_POLYGON = GLU_TESS_ERROR1;
+ #endregion int GLU_TESS_MISSING_BEGIN_POLYGON
+
+ #region int GLU_TESS_MISSING_BEGIN_CONTOUR
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_MISSING_BEGIN_CONTOUR GLU_TESS_ERROR2
+ public const int GLU_TESS_MISSING_BEGIN_CONTOUR = GLU_TESS_ERROR2;
+ #endregion int GLU_TESS_MISSING_BEGIN_CONTOUR
+
+ #region int GLU_TESS_MISSING_END_POLYGON
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_MISSING_END_POLYGON GLU_TESS_ERROR3
+ public const int GLU_TESS_MISSING_END_POLYGON = GLU_TESS_ERROR3;
+ #endregion int GLU_TESS_MISSING_END_POLYGON
+
+ #region int GLU_TESS_MISSING_END_CONTOUR
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_MISSING_END_CONTOUR GLU_TESS_ERROR4
+ public const int GLU_TESS_MISSING_END_CONTOUR = GLU_TESS_ERROR4;
+ #endregion int GLU_TESS_MISSING_END_CONTOUR
+
+ #region int GLU_TESS_COORD_TOO_LARGE
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_COORD_TOO_LARGE GLU_TESS_ERROR5
+ public const int GLU_TESS_COORD_TOO_LARGE = GLU_TESS_ERROR5;
+ #endregion int GLU_TESS_COORD_TOO_LARGE
+
+ #region int GLU_TESS_NEED_COMBINE_CALLBACK
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_TESS_NEED_COMBINE_CALLBACK GLU_TESS_ERROR6
+ public const int GLU_TESS_NEED_COMBINE_CALLBACK = GLU_TESS_ERROR6;
+ #endregion int GLU_TESS_NEED_COMBINE_CALLBACK
+ #endregion TessError
+
+ #region NurbsProperty
+ #region int GLU_AUTO_LOAD_MATRIX
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_AUTO_LOAD_MATRIX 100200
+ public const int GLU_AUTO_LOAD_MATRIX = 100200;
+ #endregion int GLU_AUTO_LOAD_MATRIX
+
+ #region int GLU_CULLING
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_CULLING 100201
+ public const int GLU_CULLING = 100201;
+ #endregion int GLU_CULLING
+
+ #region int GLU_PARAMETRIC_TOLERANCE
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_PARAMETRIC_TOLERANCE 100202
+ public const int GLU_PARAMETRIC_TOLERANCE = 100202;
+ #endregion int GLU_PARAMETRIC_TOLERANCE
+
+ #region int GLU_SAMPLING_TOLERANCE
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_SAMPLING_TOLERANCE 100203
+ public const int GLU_SAMPLING_TOLERANCE = 100203;
+ #endregion int GLU_SAMPLING_TOLERANCE
+
+ #region int GLU_DISPLAY_MODE
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_DISPLAY_MODE 100204
+ public const int GLU_DISPLAY_MODE = 100204;
+ #endregion int GLU_DISPLAY_MODE
+
+ #region int GLU_SAMPLING_METHOD
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_SAMPLING_METHOD 100205
+ public const int GLU_SAMPLING_METHOD = 100205;
+ #endregion int GLU_SAMPLING_METHOD
+
+ #region int GLU_U_STEP
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_U_STEP 100206
+ public const int GLU_U_STEP = 100206;
+ #endregion int GLU_U_STEP
+
+ #region int GLU_V_STEP
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_V_STEP 100207
+ public const int GLU_V_STEP = 100207;
+ #endregion int GLU_V_STEP
+
+ #region int GLU_NURBS_MODE
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_MODE 100160
+ public const int GLU_NURBS_MODE = 100160;
+ #endregion int GLU_NURBS_MODE
+
+ #region int GLU_NURBS_MODE_EXT
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_MODE_EXT 100160
+ public const int GLU_NURBS_MODE_EXT = 100160;
+ #endregion int GLU_NURBS_MODE_EXT
+
+ #region int GLU_NURBS_TESSELLATOR
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_TESSELLATOR 100161
+ public const int GLU_NURBS_TESSELLATOR = 100161;
+ #endregion int GLU_NURBS_TESSELLATOR
+
+ #region int GLU_NURBS_TESSELLATOR_EXT
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_TESSELLATOR_EXT 100161
+ public const int GLU_NURBS_TESSELLATOR_EXT = 100161;
+ #endregion int GLU_NURBS_TESSELLATOR_EXT
+
+ #region int GLU_NURBS_RENDERER
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_RENDERER 100162
+ public const int GLU_NURBS_RENDERER = 100162;
+ #endregion int GLU_NURBS_RENDERER
+
+ #region int GLU_NURBS_RENDERER_EXT
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_RENDERER_EXT 100162
+ public const int GLU_NURBS_RENDERER_EXT = 100162;
+ #endregion int GLU_NURBS_RENDERER_EXT
+ #endregion NurbsProperty
+
+ #region NurbsSampling
+ #region int GLU_OBJECT_PARAMETRIC_ERROR
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_OBJECT_PARAMETRIC_ERROR 100208
+ public const int GLU_OBJECT_PARAMETRIC_ERROR = 100208;
+ #endregion int GLU_OBJECT_PARAMETRIC_ERROR
+
+ #region int GLU_OBJECT_PARAMETRIC_ERROR_EXT
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_OBJECT_PARAMETRIC_ERROR_EXT 100208
+ public const int GLU_OBJECT_PARAMETRIC_ERROR_EXT = 100208;
+ #endregion int GLU_OBJECT_PARAMETRIC_ERROR_EXT
+
+ #region int GLU_OBJECT_PATH_LENGTH
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_OBJECT_PATH_LENGTH 100209
+ public const int GLU_OBJECT_PATH_LENGTH = 100209;
+ #endregion int GLU_OBJECT_PATH_LENGTH
+
+ #region int GLU_OBJECT_PATH_LENGTH_EXT
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_OBJECT_PATH_LENGTH_EXT 100209
+ public const int GLU_OBJECT_PATH_LENGTH_EXT = 100209;
+ #endregion int GLU_OBJECT_PATH_LENGTH_EXT
+
+ #region int GLU_PATH_LENGTH
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_PATH_LENGTH 100215
+ public const int GLU_PATH_LENGTH = 100215;
+ #endregion int GLU_PATH_LENGTH
+
+ #region int GLU_PARAMETRIC_ERROR
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_PARAMETRIC_ERROR 100216
+ public const int GLU_PARAMETRIC_ERROR = 100216;
+ #endregion int GLU_PARAMETRIC_ERROR
+
+ #region int GLU_DOMAIN_DISTANCE
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_DOMAIN_DISTANCE 100217
+ public const int GLU_DOMAIN_DISTANCE = 100217;
+ #endregion int GLU_DOMAIN_DISTANCE
+ #endregion NurbsSampling
+
+ #region NurbsTrim
+ #region int GLU_MAP1_TRIM_2
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_MAP1_TRIM_2 100210
+ public const int GLU_MAP1_TRIM_2 = 100210;
+ #endregion int GLU_MAP1_TRIM_2
+
+ #region int GLU_MAP1_TRIM_3
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_MAP1_TRIM_3 100211
+ public const int GLU_MAP1_TRIM_3 = 100211;
+ #endregion int GLU_MAP1_TRIM_3
+ #endregion NurbsTrim
+
+ #region NurbsDisplay
+ #region int GLU_OUTLINE_POLYGON
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_OUTLINE_POLYGON 100240
+ public const int GLU_OUTLINE_POLYGON = 100240;
+ #endregion int GLU_OUTLINE_POLYGON
+
+ #region int GLU_OUTLINE_PATCH
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_OUTLINE_PATCH 100241
+ public const int GLU_OUTLINE_PATCH = 100241;
+ #endregion int GLU_OUTLINE_PATCH
+ #endregion NurbsDisplay
+
+ #region NurbsCallback
+ #region int GLU_NURBS_ERROR
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR 100103
+ public const int GLU_NURBS_ERROR = 100103;
+ #endregion int GLU_NURBS_ERROR
+
+ #region int GLU_ERROR
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_ERROR 100103
+ public const int GLU_ERROR = 100103;
+ #endregion int GLU_ERROR
+
+ #region int GLU_NURBS_BEGIN
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_BEGIN 100164
+ public const int GLU_NURBS_BEGIN = 100164;
+ #endregion int GLU_NURBS_BEGIN
+
+ #region int GLU_NURBS_BEGIN_EXT
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_BEGIN_EXT 100164
+ public const int GLU_NURBS_BEGIN_EXT = 100164;
+ #endregion int GLU_NURBS_BEGIN_EXT
+
+ #region int GLU_NURBS_VERTEX
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_VERTEX 100165
+ public const int GLU_NURBS_VERTEX = 100165;
+ #endregion int GLU_NURBS_VERTEX
+
+ #region int GLU_NURBS_VERTEX_EXT
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_VERTEX_EXT 100165
+ public const int GLU_NURBS_VERTEX_EXT = 100165;
+ #endregion int GLU_NURBS_VERTEX_EXT
+
+ #region int GLU_NURBS_NORMAL
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_NORMAL 100166
+ public const int GLU_NURBS_NORMAL = 100166;
+ #endregion int GLU_NURBS_NORMAL
+
+ #region int GLU_NURBS_NORMAL_EXT
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_NORMAL_EXT 100166
+ public const int GLU_NURBS_NORMAL_EXT = 100166;
+ #endregion int GLU_NURBS_NORMAL_EXT
+
+ #region int GLU_NURBS_COLOR
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_COLOR 100167
+ public const int GLU_NURBS_COLOR = 100167;
+ #endregion int GLU_NURBS_COLOR
+
+ #region int GLU_NURBS_COLOR_EXT
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_COLOR_EXT 100167
+ public const int GLU_NURBS_COLOR_EXT = 100167;
+ #endregion int GLU_NURBS_COLOR_EXT
+
+ #region int GLU_NURBS_TEXTURE_COORD
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_TEXTURE_COORD 100168
+ public const int GLU_NURBS_TEXTURE_COORD = 100168;
+ #endregion int GLU_NURBS_TEXTURE_COORD
+
+ #region int GLU_NURBS_TEX_COORD_EXT
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_TEX_COORD_EXT 100168
+ public const int GLU_NURBS_TEX_COORD_EXT = 100168;
+ #endregion int GLU_NURBS_TEX_COORD_EXT
+
+ #region int GLU_NURBS_END
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_END 100169
+ public const int GLU_NURBS_END = 100169;
+ #endregion int GLU_NURBS_END
+
+ #region int GLU_NURBS_END_EXT
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_END_EXT 100169
+ public const int GLU_NURBS_END_EXT = 100169;
+ #endregion int GLU_NURBS_END_EXT
+
+ #region int GLU_NURBS_BEGIN_DATA
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_BEGIN_DATA 100170
+ public const int GLU_NURBS_BEGIN_DATA = 100170;
+ #endregion int GLU_NURBS_BEGIN_DATA
+
+ #region int GLU_NURBS_BEGIN_DATA_EXT
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_BEGIN_DATA_EXT 100170
+ public const int GLU_NURBS_BEGIN_DATA_EXT = 100170;
+ #endregion int GLU_NURBS_BEGIN_DATA_EXT
+
+ #region int GLU_NURBS_VERTEX_DATA
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_VERTEX_DATA 100171
+ public const int GLU_NURBS_VERTEX_DATA = 100171;
+ #endregion int GLU_NURBS_VERTEX_DATA
+
+ #region int GLU_NURBS_VERTEX_DATA_EXT
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_VERTEX_DATA_EXT 100171
+ public const int GLU_NURBS_VERTEX_DATA_EXT = 100171;
+ #endregion int GLU_NURBS_VERTEX_DATA_EXT
+
+ #region int GLU_NURBS_NORMAL_DATA
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_NORMAL_DATA 100172
+ public const int GLU_NURBS_NORMAL_DATA = 100172;
+ #endregion int GLU_NURBS_NORMAL_DATA
+
+ #region int GLU_NURBS_NORMAL_DATA_EXT
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_NORMAL_DATA_EXT 100172
+ public const int GLU_NURBS_NORMAL_DATA_EXT = 100172;
+ #endregion int GLU_NURBS_NORMAL_DATA_EXT
+
+ #region int GLU_NURBS_COLOR_DATA
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_COLOR_DATA 100173
+ public const int GLU_NURBS_COLOR_DATA = 100173;
+ #endregion int GLU_NURBS_COLOR_DATA
+
+ #region int GLU_NURBS_COLOR_DATA_EXT
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_COLOR_DATA_EXT 100173
+ public const int GLU_NURBS_COLOR_DATA_EXT = 100173;
+ #endregion int GLU_NURBS_COLOR_DATA_EXT
+
+ #region int GLU_NURBS_TEXTURE_COORD_DATA
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_TEXTURE_COORD_DATA 100174
+ public const int GLU_NURBS_TEXTURE_COORD_DATA = 100174;
+ #endregion int GLU_NURBS_TEXTURE_COORD_DATA
+
+ #region int GLU_NURBS_TEX_COORD_DATA_EXT
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_TEX_COORD_DATA_EXT 100174
+ public const int GLU_NURBS_TEX_COORD_DATA_EXT = 100174;
+ #endregion int GLU_NURBS_TEX_COORD_DATA_EXT
+
+ #region int GLU_NURBS_END_DATA
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_END_DATA 100175
+ public const int GLU_NURBS_END_DATA = 100175;
+ #endregion int GLU_NURBS_END_DATA
+
+ #region int GLU_NURBS_END_DATA_EXT
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_END_DATA_EXT 100175
+ public const int GLU_NURBS_END_DATA_EXT = 100175;
+ #endregion int GLU_NURBS_END_DATA_EXT
+ #endregion NurbsCallback
+
+ #region NurbsErrors
+ #region int GLU_NURBS_ERROR1
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR1 100251
+ public const int GLU_NURBS_ERROR1 = 100251;
+ #endregion int GLU_NURBS_ERROR1
+
+ #region int GLU_NURBS_ERROR2
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR2 100252
+ public const int GLU_NURBS_ERROR2 = 100252;
+ #endregion int GLU_NURBS_ERROR2
+
+ #region int GLU_NURBS_ERROR3
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR3 100253
+ public const int GLU_NURBS_ERROR3 = 100253;
+ #endregion int GLU_NURBS_ERROR3
+
+ #region int GLU_NURBS_ERROR4
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR4 100254
+ public const int GLU_NURBS_ERROR4 = 100254;
+ #endregion int GLU_NURBS_ERROR4
+
+ #region int GLU_NURBS_ERROR5
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR5 100255
+ public const int GLU_NURBS_ERROR5 = 100255;
+ #endregion int GLU_NURBS_ERROR5
+
+ #region int GLU_NURBS_ERROR6
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR6 100256
+ public const int GLU_NURBS_ERROR6 = 100256;
+ #endregion int GLU_NURBS_ERROR6
+
+ #region int GLU_NURBS_ERROR7
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR7 100257
+ public const int GLU_NURBS_ERROR7 = 100257;
+ #endregion int GLU_NURBS_ERROR7
+
+ #region int GLU_NURBS_ERROR8
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR8 100258
+ public const int GLU_NURBS_ERROR8 = 100258;
+ #endregion int GLU_NURBS_ERROR8
+
+ #region int GLU_NURBS_ERROR9
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR9 100259
+ public const int GLU_NURBS_ERROR9 = 100259;
+ #endregion int GLU_NURBS_ERROR9
+
+ #region int GLU_NURBS_ERROR10
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR10 100260
+ public const int GLU_NURBS_ERROR10 = 100260;
+ #endregion int GLU_NURBS_ERROR10
+
+ #region int GLU_NURBS_ERROR11
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR11 100261
+ public const int GLU_NURBS_ERROR11 = 100261;
+ #endregion int GLU_NURBS_ERROR11
+
+ #region int GLU_NURBS_ERROR12
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR12 100262
+ public const int GLU_NURBS_ERROR12 = 100262;
+ #endregion int GLU_NURBS_ERROR12
+
+ #region int GLU_NURBS_ERROR13
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR13 100263
+ public const int GLU_NURBS_ERROR13 = 100263;
+ #endregion int GLU_NURBS_ERROR13
+
+ #region int GLU_NURBS_ERROR14
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR14 100264
+ public const int GLU_NURBS_ERROR14 = 100264;
+ #endregion int GLU_NURBS_ERROR14
+
+ #region int GLU_NURBS_ERROR15
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR15 100265
+ public const int GLU_NURBS_ERROR15 = 100265;
+ #endregion int GLU_NURBS_ERROR15
+
+ #region int GLU_NURBS_ERROR16
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR16 100266
+ public const int GLU_NURBS_ERROR16 = 100266;
+ #endregion int GLU_NURBS_ERROR16
+
+ #region int GLU_NURBS_ERROR17
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR17 100267
+ public const int GLU_NURBS_ERROR17 = 100267;
+ #endregion int GLU_NURBS_ERROR17
+
+ #region int GLU_NURBS_ERROR18
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR18 100268
+ public const int GLU_NURBS_ERROR18 = 100268;
+ #endregion int GLU_NURBS_ERROR18
+
+ #region int GLU_NURBS_ERROR19
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR19 100269
+ public const int GLU_NURBS_ERROR19 = 100269;
+ #endregion int GLU_NURBS_ERROR19
+
+ #region int GLU_NURBS_ERROR20
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR20 100270
+ public const int GLU_NURBS_ERROR20 = 100270;
+ #endregion int GLU_NURBS_ERROR20
+
+ #region int GLU_NURBS_ERROR21
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR21 100271
+ public const int GLU_NURBS_ERROR21 = 100271;
+ #endregion int GLU_NURBS_ERROR21
+
+ #region int GLU_NURBS_ERROR22
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR22 100272
+ public const int GLU_NURBS_ERROR22 = 100272;
+ #endregion int GLU_NURBS_ERROR22
+
+ #region int GLU_NURBS_ERROR23
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR23 100273
+ public const int GLU_NURBS_ERROR23 = 100273;
+ #endregion int GLU_NURBS_ERROR23
+
+ #region int GLU_NURBS_ERROR24
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR24 100274
+ public const int GLU_NURBS_ERROR24 = 100274;
+ #endregion int GLU_NURBS_ERROR24
+
+ #region int GLU_NURBS_ERROR25
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR25 100275
+ public const int GLU_NURBS_ERROR25 = 100275;
+ #endregion int GLU_NURBS_ERROR25
+
+ #region int GLU_NURBS_ERROR26
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR26 100276
+ public const int GLU_NURBS_ERROR26 = 100276;
+ #endregion int GLU_NURBS_ERROR26
+
+ #region int GLU_NURBS_ERROR27
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR27 100277
+ public const int GLU_NURBS_ERROR27 = 100277;
+ #endregion int GLU_NURBS_ERROR27
+
+ #region int GLU_NURBS_ERROR28
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR28 100278
+ public const int GLU_NURBS_ERROR28 = 100278;
+ #endregion int GLU_NURBS_ERROR28
+
+ #region int GLU_NURBS_ERROR29
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR29 100279
+ public const int GLU_NURBS_ERROR29 = 100279;
+ #endregion int GLU_NURBS_ERROR29
+
+ #region int GLU_NURBS_ERROR30
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR30 100280
+ public const int GLU_NURBS_ERROR30 = 100280;
+ #endregion int GLU_NURBS_ERROR30
+
+ #region int GLU_NURBS_ERROR31
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR31 100281
+ public const int GLU_NURBS_ERROR31 = 100281;
+ #endregion int GLU_NURBS_ERROR31
+
+ #region int GLU_NURBS_ERROR32
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR32 100282
+ public const int GLU_NURBS_ERROR32 = 100282;
+ #endregion int GLU_NURBS_ERROR32
+
+ #region int GLU_NURBS_ERROR33
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR33 100283
+ public const int GLU_NURBS_ERROR33 = 100283;
+ #endregion int GLU_NURBS_ERROR33
+
+ #region int GLU_NURBS_ERROR34
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR34 100284
+ public const int GLU_NURBS_ERROR34 = 100284;
+ #endregion int GLU_NURBS_ERROR34
+
+ #region int GLU_NURBS_ERROR35
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR35 100285
+ public const int GLU_NURBS_ERROR35 = 100285;
+ #endregion int GLU_NURBS_ERROR35
+
+ #region int GLU_NURBS_ERROR36
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR36 100286
+ public const int GLU_NURBS_ERROR36 = 100286;
+ #endregion int GLU_NURBS_ERROR36
+
+ #region int GLU_NURBS_ERROR37
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_NURBS_ERROR37 100287
+ public const int GLU_NURBS_ERROR37 = 100287;
+ #endregion int GLU_NURBS_ERROR37
+ #endregion NurbsErrors
+
+ #region Contours types
+ #region int GLU_CW
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_CW 100120
+ public const int GLU_CW = 100120;
+ #endregion int GLU_CW
+
+ #region int GLU_CCW
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_CCW 100121
+ public const int GLU_CCW = 100121;
+ #endregion int GLU_CCW
+
+ #region int GLU_INTERIOR
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_INTERIOR 100122
+ public const int GLU_INTERIOR = 100122;
+ #endregion int GLU_INTERIOR
+
+ #region int GLU_EXTERIOR
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_EXTERIOR 100123
+ public const int GLU_EXTERIOR = 100123;
+ #endregion int GLU_EXTERIOR
+
+ #region int GLU_UNKNOWN
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_UNKNOWN 100124
+ public const int GLU_UNKNOWN = 100124;
+ #endregion int GLU_UNKNOWN
+ #endregion Contours types
+
+ #region Extensions
+ #region int GLU_EXT_object_space_tess
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_EXT_object_space_tess 1
+ public const int GLU_EXT_object_space_tess = 1;
+ #endregion int GLU_EXT_object_space_tess
+
+ #region int GLU_EXT_nurbs_tessellator
+ ///
+ /// Unknown. Unable to locate definitive documentation on this constant.
+ ///
+ // #define GLU_EXT_nurbs_tessellator 1
+ public const int GLU_EXT_nurbs_tessellator = 1;
+ #endregion int GLU_EXT_nurbs_tessellator
+ #endregion Extensions
+ #endregion Public Constants
+
+ #region Public Structs
+ #region GLUnurbs
+ ///
+ /// Defines a GLU NURBS object.
+ ///
+ [StructLayout(LayoutKind.Sequential)]
+ public struct GLUnurbs
+ {
+ ///
+ /// Keeps the struct from being garbage collected prematurely.
+ ///
+ private IntPtr Data;
+ }
+ #endregion GLUnurbs
+
+ #region GLUquadric
+ ///
+ /// Defines a GLU quadric object.
+ ///
+ [StructLayout(LayoutKind.Sequential)]
+ public struct GLUquadric
+ {
+ ///
+ /// Keeps the struct from being garbage collected prematurely.
+ ///
+ private IntPtr Data;
+ }
+ #endregion GLUquadric
+
+ #region GLUtesselator
+ ///
+ /// Defines a GLU tesselator object.
+ ///
+ [StructLayout(LayoutKind.Sequential)]
+ public struct GLUtesselator
+ {
+ ///
+ /// Keeps the struct from being garbage collected prematurely.
+ ///
+ private IntPtr Data;
+ }
+ #endregion GLUtesselator
+
+ #region GLUnurbsObj
+ ///
+ /// Defines a GLU NURBS object.
+ ///
+ [StructLayout(LayoutKind.Sequential)]
+ public struct GLUnurbsObj
+ {
+ ///
+ /// Keeps the struct from being garbage collected prematurely.
+ ///
+ private IntPtr Data;
+ }
+ #endregion GLUnurbsObj
+
+ #region GLUquadricObj
+ ///
+ /// Defines a GLU quadric object.
+ ///
+ [StructLayout(LayoutKind.Sequential)]
+ public struct GLUquadricObj
+ {
+ ///
+ /// Keeps the struct from being garbage collected prematurely.
+ ///
+ private IntPtr Data;
+ }
+ #endregion GLUquadricObj
+
+ #region GLUtesselatorObj
+ ///
+ /// Defines a GLU tesselator object.
+ ///
+ [StructLayout(LayoutKind.Sequential)]
+ public struct GLUtesselatorObj
+ {
+ ///
+ /// Keeps the struct from being garbage collected prematurely.
+ ///
+ private IntPtr Data;
+ }
+ #endregion GLUtesselatorObj
+
+ #region GLUtriangulatorObj
+ ///
+ /// Defines a GLU triangulator object.
+ ///
+ [StructLayout(LayoutKind.Sequential)]
+ public struct GLUtriangulatorObj
+ {
+ ///
+ /// Keeps the struct from being garbage collected prematurely.
+ ///
+ private IntPtr Data;
+ }
+ #endregion GLUtriangulatorObj
+ #endregion Public Structs
+
+ #region Private Fields
+ // These fields hold references to any callbacks used so as to prevent the garbage
+ // collector from sweeping the delegates even though the application may not be done
+ // with them.
+ private static NurbsBeginCallback nurbsBeginCallback;
+ private static NurbsBeginDataCallback nurbsBeginDataCallback;
+ private static NurbsColorCallback nurbsColorCallback;
+ private static NurbsColorDataCallback nurbsColorDataCallback;
+ private static NurbsEndCallback nurbsEndCallback;
+ private static NurbsEndDataCallback nurbsEndDataCallback;
+ private static NurbsErrorCallback nurbsErrorCallback;
+ private static NurbsNormalCallback nurbsNormalCallback;
+ private static NurbsNormalDataCallback nurbsNormalDataCallback;
+ private static NurbsTexCoordCallback nurbsTexCoordCallback;
+ private static NurbsTexCoordDataCallback nurbsTexCoordDataCallback;
+ private static NurbsVertexCallback nurbsVertexCallback;
+ private static NurbsVertexDataCallback nurbsVertexDataCallback;
+ private static QuadricErrorCallback quadricErrorCallback;
+ private static TessBeginCallback tessBeginCallback;
+ private static TessBeginDataCallback tessBeginDataCallback;
+ private static TessCombineCallback tessCombineCallback;
+ private static TessCombineCallback1 tessCombineCallback1;
+ private static TessCombineDataCallback tessCombineDataCallback;
+ private static TessEdgeFlagCallback tessEdgeFlagCallback;
+ private static TessEdgeFlagDataCallback tessEdgeFlagDataCallback;
+ private static TessEndCallback tessEndCallback;
+ private static TessEndDataCallback tessEndDataCallback;
+ private static TessErrorCallback tessErrorCallback;
+ private static TessErrorDataCallback tessErrorDataCallback;
+ private static TessVertexCallback tessVertexCallback;
+ private static TessVertexCallback1 tessVertexCallback1;
+ private static TessVertexDataCallback tessVertexDataCallback;
+ #endregion Private Fields
+
+ // --- Public Delegates ---
+ #region NurbsBeginCallback(int type)
+ ///
+ /// Callback (delegate) for use with .
+ ///
+ ///
+ // void begin(GLenum type);
+ public delegate void NurbsBeginCallback(int type);
+ #endregion NurbsBeginCallback(int type)
+
+ #region NurbsBeginDataCallback(int type, [In] IntPtr[] userData)
+ ///
+ /// Callback (delegate) for use with .
+ ///
+ ///
+ // void beginData(GLenum type, void *userData);
+ public delegate void NurbsBeginDataCallback(int type, [In] IntPtr[] userData);
+ #endregion NurbsBeginDataCallback(int type, [In] IntPtr[] userData)
+
+ #region NurbsColorCallback([In] float[] colorData)
+ ///
+ /// Callback (delegate) for use with .
+ ///
+ ///
+ // void color(GLfloat *color);
+ public delegate void NurbsColorCallback([In] float[] colorData);
+ #endregion NurbsColorCallback([In] float[] colorData)
+
+ #region NurbsColorDataCallback([In] float[] colorData, [In] IntPtr[] userData)
+ ///
+ /// Callback (delegate) for use with .
+ ///
+ ///
+ // void colorData(GLfloat *color, void *userData);
+ public delegate void NurbsColorDataCallback([In] float[] colorData, [In] IntPtr[] userData);
+ #endregion NurbsColorDataCallback([In] float[] colorData, [In] IntPtr[] userData)
+
+ #region NurbsEndCallback()
+ ///
+ /// Callback (delegate) for use with .
+ ///
+ ///
+ // void end(void);
+ public delegate void NurbsEndCallback();
+ #endregion NurbsEndCallback()
+
+ #region NurbsEndDataCallback([In] IntPtr[] userData)
+ ///
+ /// Callback (delegate) for use with .
+ ///
+ ///
+ // void endData(void *userData);
+ public delegate void NurbsEndDataCallback([In] IntPtr[] userData);
+ #endregion NurbsEndDataCallback([In] IntPtr[] userData)
+
+ #region NurbsErrorCallback(int type)
+ ///
+ /// Callback (delegate) for use with .
+ ///
+ ///
+ // typedef void (CALLBACK* GLUnurbsErrorProc) (GLenum);
+ public delegate void NurbsErrorCallback(int type);
+ #endregion NurbsErrorCallback(int type)
+
+ #region NurbsNormalCallback([In] float[] normalData)
+ ///
+ /// Callback (delegate) for use with .
+ ///
+ ///
+ // void normal(GLfloat *normal);
+ public delegate void NurbsNormalCallback([In] float[] normalData);
+ #endregion NurbsNormalCallback([In] float[] normalData)
+
+ #region NurbsNormalDataCallback([In] float[] normalData, [In] IntPtr[] userData)
+ ///
+ /// Callback (delegate) for use with .
+ ///
+ ///
+ // void normalData(GLfloat *normal, void *userData);
+ public delegate void NurbsNormalDataCallback([In] float[] normalData, [In] IntPtr[] userData);
+ #endregion NurbsNormalDataCallback([In] float[] normalData, [In] IntPtr[] userData)
+
+ #region NurbsTexCoordCallback([In] float[] texCoord)
+ ///
+ /// Callback (delegate) for use with .
+ ///
+ ///
+ // void texCoord(GLfloat *tex coord);
+ public delegate void NurbsTexCoordCallback([In] float[] texCoord);
+ #endregion NurbsTexCoordCallback([In] float[] texCoord)
+
+ #region NurbsTexCoordDataCallback([In] float[] texCoord, [In] IntPtr[] userData)
+ ///
+ /// Callback (delegate) for use with .
+ ///
+ ///
+ // void texCoordData(GLfloat *tex coord, void *userData);
+ public delegate void NurbsTexCoordDataCallback([In] float[] texCoord, [In] IntPtr[] userData);
+ #endregion NurbsTexCoordDataCallback([In] float[] texCoord, [In] IntPtr[] userData)
+
+ #region NurbsVertexCallback([In] float[] vertexData)
+ ///
+ /// Callback (delegate) for use with .
+ ///
+ ///
+ // void vertex(GLfloat *vertex);
+ public delegate void NurbsVertexCallback([In] float[] vertexData);
+ #endregion NurbsVertexCallback([In] float[] vertexData)
+
+ #region NurbsVertexDataCallback([In] float[] vertexData, [In] IntPtr[] userData)
+ ///
+ /// Callback (delegate) for use with .
+ ///
+ ///
+ // void vertexData(GLfloat *vertex, void *userData);
+ public delegate void NurbsVertexDataCallback([In] float[] vertexData, [In] IntPtr[] userData);
+ #endregion NurbsVertexDataCallback([In] float[] vertexData, [In] IntPtr[] userData)
+
+ #region QuadricErrorCallback(int errorCode)
+ ///
+ /// Callback (delegate) for use with .
+ ///
+ ///
+ // typedef void (CALLBACK* GLUquadricErrorProc) (GLenum);
+ public delegate void QuadricErrorCallback(int errorCode);
+ #endregion QuadricErrorCallback(int errorCode)
+
+ #region TessBeginCallback(int type)
+ ///
+ /// Callback (delegate) for use with .
+ ///
+ ///
+ // typedef void (CALLBACK* GLUtessBeginProc) (GLenum);
+ public delegate void TessBeginCallback(int type);
+ #endregion TessBeginCallback(int type)
+
+ #region TessBeginDataCallback(int type, [In] IntPtr polygonData)
+ ///
+ /// Callback (delegate) for use with .
+ ///
+ ///
+ // typedef void (CALLBACK* GLUtessBeginDataProc) (GLenum, void *);
+ public delegate void TessBeginDataCallback(int type, [In] IntPtr polygonData);
+ #endregion TessBeginDataCallback(int type, [In] IntPtr polygonData)
+
+ #region TessCombineCallback([In] double[] coordinates, [In] IntPtr[] vertexData, [In] float[] weight, [Out] IntPtr[] outData)
+ ///
+ /// Callback (delegate) for use with .
+ ///
+ ///
+ // typedef void (CALLBACK* GLUtessCombineProc) (GLdouble[3], void*[4], GLfloat[4], void**);
+ public delegate void TessCombineCallback([In] double[] coordinates, [In] IntPtr[] vertexData, [In] float[] weight, [Out] IntPtr[] outData);
+ #endregion TessCombineCallback([In] double[] coordinates, [In] IntPtr[] vertexData, [In] float[] weight, [Out] IntPtr[] outData)
+
+ #region TessCombineCallback1([In] double[] coordinates, [In] double[][] vertexData, [In] float[] weight, [Out] double[] outData)
+ ///
+ /// Callback (delegate) for use with .
+ ///
+ ///
+ // typedef void (CALLBACK* GLUtessCombineProc) (GLdouble[3], void*[4], GLfloat[4], void**);
+ public delegate void TessCombineCallback1([MarshalAs(UnmanagedType.LPArray, SizeConst = 3)] [In] double[] coordinates, [MarshalAs(UnmanagedType.LPArray, SizeConst = 4)] [In] double[] vertexData, [MarshalAs(UnmanagedType.LPArray, SizeConst = 4)] [In] float[] weight, [Out] double[] outData);
+ #endregion TessCombineCallback1([In] double[] coordinates, [In] double[][] vertexData, [In] float[] weight, [Out] double[] outData)
+
+ #region TessCombineDataCallback([In] double[] coordinates, [In] IntPtr[] vertexData, [In] float[] weight, [Out] IntPtr[] outData, [In] IntPtr polygonData)
+ ///
+ /// Callback (delegate) for use with .
+ ///
+ ///
+ // typedef void (CALLBACK* GLUtessCombineDataProc) (GLdouble[3], void*[4], GLfloat[4], void**, void*);
+ public delegate void TessCombineDataCallback([In] double[] coordinates, [In] IntPtr[] vertexData, [In] float[] weight, [Out] IntPtr[] outData, [In] IntPtr polygonData);
+ #endregion TessCombineDataCallback([In] double[] coordinates, [In] IntPtr[] vertexData, [In] float[] weight, [Out] IntPtr[] outData, [In] IntPtr polygonData)
+
+ #region TessEdgeFlagCallback(int flag)
+ ///
+ /// Callback (delegate) for use with .
+ ///
+ ///
+ // typedef void (CALLBACK* GLUtessEdgeFlagProc) (GLboolean);
+ public delegate void TessEdgeFlagCallback(int flag);
+ #endregion TessEdgeFlagCallback(int flag)
+
+ #region TessEdgeFlagDataCallback(int flag, [In] IntPtr polygonData)
+ ///
+ /// Callback (delegate) for use with .
+ ///
+ ///
+ // typedef void (CALLBACK* GLUtessEdgeFlagDataProc) (GLboolean, void *);
+ public delegate void TessEdgeFlagDataCallback(int flag, [In] IntPtr polygonData);
+ #endregion TessEdgeFlagDataCallback(int flag, [In] IntPtr polygonData)
+
+ #region TessEndCallback()
+ ///
+ /// Callback (delegate) for use with .
+ ///
+ ///
+ // typedef void (CALLBACK* GLUtessEndProc) (void);
+ public delegate void TessEndCallback();
+ #endregion TessEndCallback()
+
+ #region TessEndDataCallback([In] IntPtr polygonData)
+ ///
+ /// Callback (delegate) for use with .
+ ///
+ ///
+ // typedef void (CALLBACK* GLUtessEndDataProc) (void *);
+ public delegate void TessEndDataCallback(IntPtr polygonData);
+ #endregion TessEndDataCallback(IntPtr polygonData)
+
+ #region TessErrorCallback(int errorCode)
+ ///
+ /// Callback (delegate) for use with .
+ ///
+ ///
+ // typedef void (CALLBACK* GLUtessErrorProc) (GLenum);
+ public delegate void TessErrorCallback(int errorCode);
+ #endregion TessErrorCallback(int errorCode)
+
+ #region TessErrorDataCallback(int errorCode, [In] IntPtr polygonData)
+ ///
+ /// Callback (delegate) for use with .
+ ///
+ ///
+ // typedef void (CALLBACK* GLUtessErrorDataProc) (GLenum, void *);
+ public delegate void TessErrorDataCallback(int errorCode, [In] IntPtr polygonData);
+ #endregion TessErrorDataCallback(int errorCode, [In] IntPtr polygonData)
+
+ #region TessVertexCallback([In] IntPtr vertexData)
+ ///
+ /// Callback (delegate) for use with .
+ ///
+ ///
+ // typedef void (CALLBACK* GLUtessVertexProc) (void *);
+ public delegate void TessVertexCallback([In] IntPtr vertexData);
+ #endregion TessVertexCallback([In] IntPtr vertexData)
+
+ #region TessVertexCallback1([In] double[] vertexData)
+ ///
+ /// Callback (delegate) for use with .
+ ///
+ ///
+ // typedef void (CALLBACK* GLUtessVertexProc) (void *);
+ public delegate void TessVertexCallback1([In] double[] vertexData);
+ #endregion TessVertexCallback1([In] double[] vertexData)
+
+ #region TessVertexDataCallback([In] IntPtr vertexData, [In] IntPtr polygonData)
+ ///
+ /// Callback (delegate) for use with .
+ ///
+ ///
+ // typedef void (CALLBACK* GLUtessVertexDataProc) (void *, void *);
+ public delegate void TessVertexDataCallback([In] IntPtr vertexData, [In] IntPtr polygonData);
+ #endregion TessVertexDataCallback([In] IntPtr vertexData, [In] IntPtr polygonData)
+
+ // --- Private Externs ---
+ #region __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsBeginCallback func)
+ ///
+ /// Called from .
+ ///
+ ///
+ /// This method is not CLS-compliant due to naming conventions.
+ ///
+ // void APIENTRY gluNurbsCallback(GLUnurbs *nobj, GLenum which, void (CALLBACK* fn)());
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION, EntryPoint = "gluNurbsCallback"), SuppressUnmanagedCodeSecurity]
+ private static extern void __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsBeginCallback func);
+ #endregion __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsBeginCallback func)
+
+ #region __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsBeginDataCallback func)
+ ///
+ /// Called from .
+ ///
+ ///
+ /// This method is not CLS-compliant due to naming conventions.
+ ///
+ // void APIENTRY gluNurbsCallback(GLUnurbs *nobj, GLenum which, void (CALLBACK* fn)());
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION, EntryPoint = "gluNurbsCallback"), SuppressUnmanagedCodeSecurity]
+ private static extern void __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsBeginDataCallback func);
+ #endregion __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsBeginDataCallback func)
+
+ #region __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsColorCallback func)
+ ///
+ /// Called from .
+ ///
+ ///
+ /// This method is not CLS-compliant due to naming conventions.
+ ///
+ // void APIENTRY gluNurbsCallback(GLUnurbs *nobj, GLenum which, void (CALLBACK* fn)());
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION, EntryPoint = "gluNurbsCallback"), SuppressUnmanagedCodeSecurity]
+ private static extern void __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsColorCallback func);
+ #endregion __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsColorCallback func)
+
+ #region __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsColorDataCallback func)
+ ///
+ /// Called from .
+ ///
+ ///
+ /// This method is not CLS-compliant due to naming conventions.
+ ///
+ // void APIENTRY gluNurbsCallback(GLUnurbs *nobj, GLenum which, void (CALLBACK* fn)());
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION, EntryPoint = "gluNurbsCallback"), SuppressUnmanagedCodeSecurity]
+ private static extern void __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsColorDataCallback func);
+ #endregion __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsColorDataCallback func)
+
+ #region __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsEndCallback func)
+ ///
+ /// Called from .
+ ///
+ ///
+ /// This method is not CLS-compliant due to naming conventions.
+ ///
+ // void APIENTRY gluNurbsCallback(GLUnurbs *nobj, GLenum which, void (CALLBACK* fn)());
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION, EntryPoint = "gluNurbsCallback"), SuppressUnmanagedCodeSecurity]
+ private static extern void __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsEndCallback func);
+ #endregion __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsEndCallback func)
+
+ #region __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsEndDataCallback func)
+ ///
+ /// Called from .
+ ///
+ ///
+ /// This method is not CLS-compliant due to naming conventions.
+ ///
+ // void APIENTRY gluNurbsCallback(GLUnurbs *nobj, GLenum which, void (CALLBACK* fn)());
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION, EntryPoint = "gluNurbsCallback"), SuppressUnmanagedCodeSecurity]
+ private static extern void __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsEndDataCallback func);
+ #endregion __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsEndDataCallback func)
+
+ #region __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsErrorCallback func)
+ ///
+ /// Called from .
+ ///
+ ///
+ /// This method is not CLS-compliant due to naming conventions.
+ ///
+ // void APIENTRY gluNurbsCallback(GLUnurbs *nobj, GLenum which, void (CALLBACK* fn)());
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION, EntryPoint = "gluNurbsCallback"), SuppressUnmanagedCodeSecurity]
+ private static extern void __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsErrorCallback func);
+ #endregion __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsErrorCallback func)
+
+ #region __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsNormalCallback func)
+ ///
+ /// Called from .
+ ///
+ ///
+ /// This method is not CLS-compliant due to naming conventions.
+ ///
+ // void APIENTRY gluNurbsCallback(GLUnurbs *nobj, GLenum which, void (CALLBACK* fn)());
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION, EntryPoint = "gluNurbsCallback"), SuppressUnmanagedCodeSecurity]
+ private static extern void __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsNormalCallback func);
+ #endregion __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsNormalCallback func)
+
+ #region __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsNormalDataCallback func)
+ ///
+ /// Called from .
+ ///
+ ///
+ /// This method is not CLS-compliant due to naming conventions.
+ ///
+ // void APIENTRY gluNurbsCallback(GLUnurbs *nobj, GLenum which, void (CALLBACK* fn)());
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION, EntryPoint = "gluNurbsCallback"), SuppressUnmanagedCodeSecurity]
+ private static extern void __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsNormalDataCallback func);
+ #endregion __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsNormalDataCallback func)
+
+ #region __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsTexCoordCallback func)
+ ///
+ /// Called from .
+ ///
+ ///
+ /// This method is not CLS-compliant due to naming conventions.
+ ///
+ // void APIENTRY gluNurbsCallback(GLUnurbs *nobj, GLenum which, void (CALLBACK* fn)());
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION, EntryPoint = "gluNurbsCallback"), SuppressUnmanagedCodeSecurity]
+ private static extern void __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsTexCoordCallback func);
+ #endregion __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsTexCoordCallback func)
+
+ #region __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsTexCoordDataCallback func)
+ ///
+ /// Called from .
+ ///
+ ///
+ /// This method is not CLS-compliant due to naming conventions.
+ ///
+ // void APIENTRY gluNurbsCallback(GLUnurbs *nobj, GLenum which, void (CALLBACK* fn)());
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION, EntryPoint = "gluNurbsCallback"), SuppressUnmanagedCodeSecurity]
+ private static extern void __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsTexCoordDataCallback func);
+ #endregion __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsTexCoordDataCallback func)
+
+ #region __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsVertexCallback func)
+ ///
+ /// Called from .
+ ///
+ ///
+ /// This method is not CLS-compliant due to naming conventions.
+ ///
+ // void APIENTRY gluNurbsCallback(GLUnurbs *nobj, GLenum which, void (CALLBACK* fn)());
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION, EntryPoint = "gluNurbsCallback"), SuppressUnmanagedCodeSecurity]
+ private static extern void __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsVertexCallback func);
+ #endregion __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsVertexCallback func)
+
+ #region __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsVertexDataCallback func)
+ ///
+ /// Called from .
+ ///
+ ///
+ /// This method is not CLS-compliant due to naming conventions.
+ ///
+ // void APIENTRY gluNurbsCallback(GLUnurbs *nobj, GLenum which, void (CALLBACK* fn)());
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION, EntryPoint = "gluNurbsCallback"), SuppressUnmanagedCodeSecurity]
+ private static extern void __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsVertexDataCallback func);
+ #endregion __gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsVertexDataCallback func)
+
+ #region __gluQuadricCallback([In] GLUquadric quad, int which, [In] QuadricErrorCallback func)
+ ///
+ /// Called from .
+ ///
+ ///
+ /// This method is not CLS-compliant due to naming conventions.
+ ///
+ // void APIENTRY gluQuadricCallback(GLUquadric *qobj, GLenum which, void (CALLBACK* fn)());
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION, EntryPoint = "gluQuadricCallback"), SuppressUnmanagedCodeSecurity]
+ private static extern void __gluQuadricCallback([In] GLUquadric quad, int which, [In] QuadricErrorCallback func);
+ #endregion __gluQuadricCallback([In] GLUquadric quad, int which, [In] QuadricErrorCallback func)
+
+ #region __gluTessCallback([In] GLUtesselator tess, int which, [In] TessBeginCallback func)
+ ///
+ /// Called from .
+ ///
+ ///
+ /// This method is not CLS-compliant due to naming conventions.
+ ///
+ // void APIENTRY gluTessCallback(GLUtesselator *tess, GLenum which, void (CALLBACK *fn)());
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION, EntryPoint = "gluTessCallback"), SuppressUnmanagedCodeSecurity]
+ private static extern void __gluTessCallback([In] GLUtesselator tess, int which, [In] TessBeginCallback func);
+ #endregion __gluTessCallback([In] GLUtesselator tess, int which, [In] TessBeginCallback func)
+
+ #region __gluTessCallback([In] GLUtesselator tess, int which, [In] TessBeginDataCallback func)
+ ///
+ /// Called from .
+ ///
+ ///
+ /// This method is not CLS-compliant due to naming conventions.
+ ///
+ // void APIENTRY gluTessCallback(GLUtesselator *tess, GLenum which, void (CALLBACK *fn)());
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION, EntryPoint = "gluTessCallback"), SuppressUnmanagedCodeSecurity]
+ private static extern void __gluTessCallback([In] GLUtesselator tess, int which, [In] TessBeginDataCallback func);
+ #endregion __gluTessCallback([In] GLUtesselator tess, int which, [In] TessBeginDataCallback func)
+
+ #region __gluTessCallback([In] GLUtesselator tess, int which, [In] TessCombineCallback func)
+ ///
+ /// Called from .
+ ///
+ ///
+ /// This method is not CLS-compliant due to naming conventions.
+ ///
+ // void APIENTRY gluTessCallback(GLUtesselator *tess, GLenum which, void (CALLBACK *fn)());
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION, EntryPoint = "gluTessCallback"), SuppressUnmanagedCodeSecurity]
+ private static extern void __gluTessCallback([In] GLUtesselator tess, int which, [In] TessCombineCallback func);
+ #endregion __gluTessCallback([In] GLUtesselator tess, int which, [In] TessCombineCallback func)
+
+ #region __gluTessCallback([In] GLUtesselator tess, int which, [In] TessCombineCallback1 func)
+ ///
+ /// Called from .
+ ///
+ ///
+ /// This method is not CLS-compliant due to naming conventions.
+ ///
+ // void APIENTRY gluTessCallback(GLUtesselator *tess, GLenum which, void (CALLBACK *fn)());
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION, EntryPoint = "gluTessCallback"), SuppressUnmanagedCodeSecurity]
+ private static extern void __gluTessCallback([In] GLUtesselator tess, int which, [In] TessCombineCallback1 func);
+ #endregion __gluTessCallback([In] GLUtesselator tess, int which, [In] TessCombineCallback1 func)
+
+ #region __gluTessCallback([In] GLUtesselator tess, int which, [In] TessCombineDataCallback func)
+ ///
+ /// Called from .
+ ///
+ ///
+ /// This method is not CLS-compliant due to naming conventions.
+ ///
+ // void APIENTRY gluTessCallback(GLUtesselator *tess, GLenum which, void (CALLBACK *fn)());
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION, EntryPoint = "gluTessCallback"), SuppressUnmanagedCodeSecurity]
+ private static extern void __gluTessCallback([In] GLUtesselator tess, int which, [In] TessCombineDataCallback func);
+ #endregion __gluTessCallback([In] GLUtesselator tess, int which, [In] TessCombineDataCallback func)
+
+ #region __gluTessCallback([In] GLUtesselator tess, int which, [In] TessEdgeFlagCallback func)
+ ///
+ /// Called from .
+ ///
+ ///
+ /// This method is not CLS-compliant due to naming conventions.
+ ///
+ // void APIENTRY gluTessCallback(GLUtesselator *tess, GLenum which, void (CALLBACK *fn)());
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION, EntryPoint = "gluTessCallback"), SuppressUnmanagedCodeSecurity]
+ private static extern void __gluTessCallback([In] GLUtesselator tess, int which, [In] TessEdgeFlagCallback func);
+ #endregion __gluTessCallback([In] GLUtesselator tess, int which, [In] TessEdgeFlagCallback func)
+
+ #region __gluTessCallback([In] GLUtesselator tess, int which, [In] TessEdgeFlagDataCallback func)
+ ///
+ /// Called from .
+ ///
+ ///
+ /// This method is not CLS-compliant due to naming conventions.
+ ///
+ // void APIENTRY gluTessCallback(GLUtesselator *tess, GLenum which, void (CALLBACK *fn)());
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION, EntryPoint = "gluTessCallback"), SuppressUnmanagedCodeSecurity]
+ private static extern void __gluTessCallback([In] GLUtesselator tess, int which, [In] TessEdgeFlagDataCallback func);
+ #endregion __gluTessCallback([In] GLUtesselator tess, int which, [In] TessEdgeFlagDataCallback func)
+
+ #region __gluTessCallback([In] GLUtesselator tess, int which, [In] TessEndCallback func)
+ ///
+ /// Called from .
+ ///
+ ///
+ /// This method is not CLS-compliant due to naming conventions.
+ ///
+ // void APIENTRY gluTessCallback(GLUtesselator *tess, GLenum which, void (CALLBACK *fn)());
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION, EntryPoint = "gluTessCallback"), SuppressUnmanagedCodeSecurity]
+ private static extern void __gluTessCallback([In] GLUtesselator tess, int which, [In] TessEndCallback func);
+ #endregion __gluTessCallback([In] GLUtesselator tess, int which, [In] TessEndCallback func)
+
+ #region __gluTessCallback([In] GLUtesselator tess, int which, [In] TessEndDataCallback func)
+ ///
+ /// Called from .
+ ///
+ ///
+ /// This method is not CLS-compliant due to naming conventions.
+ ///
+ // void APIENTRY gluTessCallback(GLUtesselator *tess, GLenum which, void (CALLBACK *fn)());
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION, EntryPoint = "gluTessCallback"), SuppressUnmanagedCodeSecurity]
+ private static extern void __gluTessCallback([In] GLUtesselator tess, int which, [In] TessEndDataCallback func);
+ #endregion __gluTessCallback([In] GLUtesselator tess, int which, [In] TessEndDataCallback func)
+
+ #region __gluTessCallback([In] GLUtesselator tess, int which, [In] TessErrorCallback func)
+ ///
+ /// Called from .
+ ///
+ ///
+ /// This method is not CLS-compliant due to naming conventions.
+ ///
+ // void APIENTRY gluTessCallback(GLUtesselator *tess, GLenum which, void (CALLBACK *fn)());
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION, EntryPoint = "gluTessCallback"), SuppressUnmanagedCodeSecurity]
+ private static extern void __gluTessCallback([In] GLUtesselator tess, int which, [In] TessErrorCallback func);
+ #endregion __gluTessCallback([In] GLUtesselator tess, int which, [In] TessErrorCallback func)
+
+ #region __gluTessCallback([In] GLUtesselator tess, int which, [In] TessErrorDataCallback func)
+ ///
+ /// Called from .
+ ///
+ ///
+ /// This method is not CLS-compliant due to naming conventions.
+ ///
+ // void APIENTRY gluTessCallback(GLUtesselator *tess, GLenum which, void (CALLBACK *fn)());
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION, EntryPoint = "gluTessCallback"), SuppressUnmanagedCodeSecurity]
+ private static extern void __gluTessCallback([In] GLUtesselator tess, int which, [In] TessErrorDataCallback func);
+ #endregion __gluTessCallback([In] GLUtesselator tess, int which, [In] TessErrorDataCallback func)
+
+ #region __gluTessCallback([In] GLUtesselator tess, int which, [In] TessVertexCallback func)
+ ///
+ /// Called from .
+ ///
+ ///
+ /// This method is not CLS-compliant due to naming conventions.
+ ///
+ // void APIENTRY gluTessCallback(GLUtesselator *tess, GLenum which, void (CALLBACK *fn)());
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION, EntryPoint = "gluTessCallback"), SuppressUnmanagedCodeSecurity]
+ private static extern void __gluTessCallback([In] GLUtesselator tess, int which, [In] TessVertexCallback func);
+ #endregion __gluTessCallback([In] GLUtesselator tess, int which, [In] TessVertexCallback func)
+
+ #region __gluTessCallback([In] GLUtesselator tess, int which, [In] TessVertexCallback1 func)
+ ///
+ /// Called from .
+ ///
+ ///
+ /// This method is not CLS-compliant due to naming conventions.
+ ///
+ // void APIENTRY gluTessCallback(GLUtesselator *tess, GLenum which, void (CALLBACK *fn)());
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION, EntryPoint = "gluTessCallback"), SuppressUnmanagedCodeSecurity]
+ private static extern void __gluTessCallback([In] GLUtesselator tess, int which, [In] TessVertexCallback1 func);
+ #endregion __gluTessCallback([In] GLUtesselator tess, int which, [In] TessVertexCallback1 func)
+
+ #region __gluTessCallback([In] GLUtesselator tess, int which, [In] TessVertexDataCallback func)
+ ///
+ /// Called from .
+ ///
+ ///
+ /// This method is not CLS-compliant due to naming conventions.
+ ///
+ // void APIENTRY gluTessCallback(GLUtesselator *tess, GLenum which, void (CALLBACK *fn)());
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION, EntryPoint = "gluTessCallback"), SuppressUnmanagedCodeSecurity]
+ private static extern void __gluTessCallback([In] GLUtesselator tess, int which, [In] TessVertexDataCallback func);
+ #endregion __gluTessCallback([In] GLUtesselator tess, int which, [In] TessVertexDataCallback func)
+
+ // --- Public Externs ---
+ #region gluBeginCurve([In] GLUnurbs nurb)
+ ///
+ /// Delimits a Non-Uniform Rational B-Spline (NURBS) curve definition.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ ///
+ /// Use gluBeginCurve to mark the beginning of a NURBS curve definition.
+ /// After calling gluBeginCurve, make one or more calls to
+ /// to define the attributes of the curve. Exactly
+ /// one of the calls to must have a curve type of
+ /// or . To
+ /// mark the end of the NURBS curve definition, call .
+ ///
+ ///
+ /// OpenGL evaluators are used to render the NURBS curve as a series of line
+ /// segments. Evaluator state is preserved during rendering with
+ /// Gl.glPushAttrib(Gl.GL_EVAL_BIT) and Gl.glPopAttrib. For
+ /// information on exactly what state these calls preserve, see
+ /// .
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following commands render a textured NURBS curve with normals; texture
+ /// coordinates and normals are also specified as NURBS curves:
+ ///
+ ///
+ ///
+ /// Glu.gluBeginCurve(nobj);
+ /// Glu.gluNurbsCurve(nobj, ..., Gl.GL_MAP1_TEXTURE_COORD_2);
+ /// Glu.gluNurbsCurve(nobj, ..., Gl.GL_MAP1_NORMAL);
+ /// Glu.gluNurbsCurve(nobj, ..., Gl.GL_MAP1_VERTEX_4);
+ /// Glu.gluEndCurve(nobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluBeginCurve(GLUnurbs *nobj);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluBeginCurve([In] GLUnurbs nurb);
+ #endregion gluBeginCurve([In] GLUnurbs nurb)
+
+ #region gluBeginPolygon([In] GLUtesselator tess)
+ ///
+ /// Delimits a polygon description.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ ///
+ /// gluBeginPolygon delimits the definition of a nonconvex polygon. To
+ /// define such a polygon, first call gluBeginPolygon. Then define the
+ /// contours of the polygon by calling for each
+ /// vertex and to start each new contour. Finally,
+ /// call to signal the end of the definition. See
+ /// the and reference
+ /// pages for more details.
+ ///
+ ///
+ /// Once is called, the polygon is tessellated, and
+ /// the resulting triangles are described through callbacks. See
+ /// for descriptions of the callback functions.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// This command is obsolete and is provided for backward compatibility only.
+ /// Calls to gluBeginPolygon are mapped to
+ /// followed by
+ /// . Calls to
+ /// are mapped to followed by
+ /// .
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// A quadrilateral with a triangular hole in it can be described like this:
+ ///
+ ///
+ ///
+ /// Glu.gluBeginPolygon(tobj);
+ /// Glu.gluTessVertex(tobj, v1, v1);
+ /// Glu.gluTessVertex(tobj, v2, v2);
+ /// Glu.gluTessVertex(tobj, v3, v3);
+ /// Glu.gluTessVertex(tobj, v4, v4);
+ /// Glu.gluNextContour(tobj, Glu.GLU_INTERIOR);
+ /// Glu.gluTessVertex(tobj, v5, v5);
+ /// Glu.gluTessVertex(tobj, v6, v6);
+ /// Glu.gluTessVertex(tobj, v7, v7);
+ /// Glu.gluEndPolygon(tobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluBeginPolygon(GLUtesselator *tess);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluBeginPolygon([In] GLUtesselator tess);
+ #endregion gluBeginPolygon([In] GLUtesselator tess)
+
+ #region gluBeginSurface([In] GLUnurbs nurb)
+ ///
+ /// Delimits a NURBS surface definition.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ ///
+ /// Use gluBeginSurface to mark the beginning of a NURBS surface
+ /// definition. After calling gluBeginSurface, make one or more calls to
+ /// to define the attributes of the surface.
+ /// Exactly one of these calls to must have a
+ /// surface type of or
+ /// . To mark the end of the NURBS surface
+ /// definition, call .
+ ///
+ ///
+ /// Trimming of NURBS surfaces is supported with ,
+ /// , , and
+ /// . See the reference
+ /// page for details.
+ ///
+ ///
+ /// OpenGL evaluators are used to render the NURBS surface as a set of polygons.
+ /// Evaluator state is preserved during rendering with
+ /// Gl.glPushAttrib(Gl.GL_EVAL_BIT) and Gl.glPopAttrib(). See the
+ /// reference page for details on exactly what
+ /// state these calls preserve.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following commands render a textured NURBS surface with normals; the
+ /// texture coordinates and normals are also described as NURBS surfaces:
+ ///
+ ///
+ ///
+ /// Glu.gluBeginSurface(nobj);
+ /// Glu.gluNurbsSurface(nobj, ..., Gl.GL_MAP2_TEXTURE_COORD_2);
+ /// Glu.gluNurbsSurface(nobj, ..., Gl.GL_MAP2_NORMAL);
+ /// Glu.gluNurbsSurface(nobj, ..., Gl.GL_MAP2_VERTEX_4);
+ /// Glu.gluEndSurface(nobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluBeginSurface(GLUnurbs *nobj);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluBeginSurface([In] GLUnurbs nurb);
+ #endregion gluBeginSurface([In] GLUnurbs nurb)
+
+ #region gluBeginTrim([In] GLUnurbs nurb)
+ ///
+ /// Delimits a NURBS trimming loop definition.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ ///
+ /// Use gluBeginTrim to mark the beginning of a trimming loop, and
+ /// to mark the end of a trimming loop. A trimming
+ /// loop is a set of oriented curve segments (forming a closed curve) that define
+ /// boundaries of a NURBS surface. You include these trimming loops in the
+ /// definition of a NURBS surface, between calls to
+ /// and .
+ ///
+ ///
+ /// The definition for a NURBS surface can contain many trimming loops. For
+ /// example, if you wrote a definition for a NURBS surface that resembled a
+ /// rectangle with a hole punched out, the definition would contain two trimming
+ /// loops. One loop would define the outer edge of the rectangle; the other
+ /// would define the hole punched out of the rectangle. The definitions of each
+ /// of these trimming loops would be bracketed by a gluBeginTrim and
+ /// pair.
+ ///
+ ///
+ /// The definition of a single closed trimming loop can consist of multiple curve
+ /// segments, each described as a piecewise linear curve (see
+ /// ) or as a single NURBS curve (see
+ /// ), or as a combination of both in any order. The
+ /// only library calls that can appear in a trimming loop definition (between the
+ /// calls to gluBeginTrim and ) are
+ /// and .
+ ///
+ ///
+ /// The area of the NURBS surface that is displayed is the region in the domain
+ /// to the left of the trimming curve as the curve parameter increases. Thus,
+ /// the retained region of the NURBS surface is inside a counterclockwise
+ /// trimming loop and outside a clockwise trimming loop. For the rectangle
+ /// mentioned earlier, the trimming loop for the outer edge of the rectangle runs
+ /// counterclockwise, while the trimming loop for the punched-out hole runs
+ /// clockwise.
+ ///
+ ///
+ /// If you use more than one curve to define a single trimming loop, the curve
+ /// segments must form a closed loop (that is, the endpoint of each curve must be
+ /// the starting point of the next curve, and the endpoint of the final curve
+ /// must be the starting point of the first curve). If the endpoints of the
+ /// curve are sufficiently close together but not exactly coincident, they will
+ /// be coerced to match. If the endpoints are not sufficiently close, an error
+ /// results (see ).
+ ///
+ ///
+ /// If a trimming loop definition contains multiple curves, the direction of the
+ /// curves must be consistent (that is, the inside must be to the left of all of
+ /// the curves). Nested trimming loops are legal as long as the curve
+ /// orientations alternate correctly. If trimming curves are self-intersecting,
+ /// or intersect one another, an error results.
+ ///
+ ///
+ /// If no trimming information is given for a NURBS surface, the entire surface
+ /// is drawn.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// This code fragment defines a trimming loop that consists of one piecewise
+ /// linear curve, and two NURBS curves:
+ ///
+ ///
+ ///
+ /// Glu.gluBeginTrim(nobj);
+ /// Glu.gluPwlCurve(..., Glu.GLU_MAP1_TRIM_2);
+ /// Glu.gluNurbsCurve(..., Glu.GLU_MAP1_TRIM_2);
+ /// Glu.gluNurbsCurve(..., Glu.GLU_MAP1_TRIM_3);
+ /// Glu.gluEndTrim(nobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluBeginTrim(GLUnurbs *nobj);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluBeginTrim([In] GLUnurbs nurb);
+ #endregion gluBeginTrim([In] GLUnurbs nurb)
+
+ #region int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] byte[] data)
+ ///
+ /// Builds a subset of one-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// or 4 or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// or .
+ ///
+ ///
+ /// Specifies the width in pixels of the texture image. This should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmapLevels builds a subset of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half until size 1×1 is reached. At each level, each texel
+ /// in the halved mipmap level is an average of the corresponding two texels in
+ /// the larger mipmap level. is called to load
+ /// these mipmap levels from min to max. If max is larger
+ /// than the highest mipmap level for the texture of the specified size, then a
+ /// GLU error code is returned (see ) and nothing is
+ /// loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, the following
+ /// levels are possible: 16×1, 8×1, 4×1, 2×1, 1×1. These correspond to levels 2
+ /// through 6 respectively. If min is 3 and max is 5, then only
+ /// mipmap levels 8×1, 4×1 and 2×1 are loaded. However, if max is 7 then
+ /// an error is returned and nothing is loaded since max is larger than
+ /// the highest mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2((width)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for level parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild1DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] byte[] data);
+ #endregion int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] byte[] data)
+
+ #region int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] byte[ , ] data)
+ ///
+ /// Builds a subset of one-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// or 4 or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// or .
+ ///
+ ///
+ /// Specifies the width in pixels of the texture image. This should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmapLevels builds a subset of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half until size 1×1 is reached. At each level, each texel
+ /// in the halved mipmap level is an average of the corresponding two texels in
+ /// the larger mipmap level. is called to load
+ /// these mipmap levels from min to max. If max is larger
+ /// than the highest mipmap level for the texture of the specified size, then a
+ /// GLU error code is returned (see ) and nothing is
+ /// loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, the following
+ /// levels are possible: 16×1, 8×1, 4×1, 2×1, 1×1. These correspond to levels 2
+ /// through 6 respectively. If min is 3 and max is 5, then only
+ /// mipmap levels 8×1, 4×1 and 2×1 are loaded. However, if max is 7 then
+ /// an error is returned and nothing is loaded since max is larger than
+ /// the highest mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2((width)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for level parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild1DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] byte[,] data);
+ #endregion int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] byte[ , ] data)
+
+ #region int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] byte[ , , ] data)
+ ///
+ /// Builds a subset of one-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// or 4 or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// or .
+ ///
+ ///
+ /// Specifies the width in pixels of the texture image. This should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmapLevels builds a subset of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half until size 1×1 is reached. At each level, each texel
+ /// in the halved mipmap level is an average of the corresponding two texels in
+ /// the larger mipmap level. is called to load
+ /// these mipmap levels from min to max. If max is larger
+ /// than the highest mipmap level for the texture of the specified size, then a
+ /// GLU error code is returned (see ) and nothing is
+ /// loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, the following
+ /// levels are possible: 16×1, 8×1, 4×1, 2×1, 1×1. These correspond to levels 2
+ /// through 6 respectively. If min is 3 and max is 5, then only
+ /// mipmap levels 8×1, 4×1 and 2×1 are loaded. However, if max is 7 then
+ /// an error is returned and nothing is loaded since max is larger than
+ /// the highest mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2((width)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for level parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild1DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] byte[, ,] data);
+ #endregion int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] byte[ , , ] data)
+
+ #region int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] double[] data)
+ ///
+ /// Builds a subset of one-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// or 4 or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// or .
+ ///
+ ///
+ /// Specifies the width in pixels of the texture image. This should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmapLevels builds a subset of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half until size 1×1 is reached. At each level, each texel
+ /// in the halved mipmap level is an average of the corresponding two texels in
+ /// the larger mipmap level. is called to load
+ /// these mipmap levels from min to max. If max is larger
+ /// than the highest mipmap level for the texture of the specified size, then a
+ /// GLU error code is returned (see ) and nothing is
+ /// loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, the following
+ /// levels are possible: 16×1, 8×1, 4×1, 2×1, 1×1. These correspond to levels 2
+ /// through 6 respectively. If min is 3 and max is 5, then only
+ /// mipmap levels 8×1, 4×1 and 2×1 are loaded. However, if max is 7 then
+ /// an error is returned and nothing is loaded since max is larger than
+ /// the highest mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2((width)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for level parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild1DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] double[] data);
+ #endregion int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] double[] data)
+
+ #region int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] double[ , ] data)
+ ///
+ /// Builds a subset of one-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// or 4 or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// or .
+ ///
+ ///
+ /// Specifies the width in pixels of the texture image. This should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmapLevels builds a subset of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half until size 1×1 is reached. At each level, each texel
+ /// in the halved mipmap level is an average of the corresponding two texels in
+ /// the larger mipmap level. is called to load
+ /// these mipmap levels from min to max. If max is larger
+ /// than the highest mipmap level for the texture of the specified size, then a
+ /// GLU error code is returned (see ) and nothing is
+ /// loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, the following
+ /// levels are possible: 16×1, 8×1, 4×1, 2×1, 1×1. These correspond to levels 2
+ /// through 6 respectively. If min is 3 and max is 5, then only
+ /// mipmap levels 8×1, 4×1 and 2×1 are loaded. However, if max is 7 then
+ /// an error is returned and nothing is loaded since max is larger than
+ /// the highest mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2((width)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for level parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild1DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] double[,] data);
+ #endregion int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] double[ , ] data)
+
+ #region int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] double[ , , ] data)
+ ///
+ /// Builds a subset of one-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// or 4 or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// or .
+ ///
+ ///
+ /// Specifies the width in pixels of the texture image. This should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmapLevels builds a subset of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half until size 1×1 is reached. At each level, each texel
+ /// in the halved mipmap level is an average of the corresponding two texels in
+ /// the larger mipmap level. is called to load
+ /// these mipmap levels from min to max. If max is larger
+ /// than the highest mipmap level for the texture of the specified size, then a
+ /// GLU error code is returned (see ) and nothing is
+ /// loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, the following
+ /// levels are possible: 16×1, 8×1, 4×1, 2×1, 1×1. These correspond to levels 2
+ /// through 6 respectively. If min is 3 and max is 5, then only
+ /// mipmap levels 8×1, 4×1 and 2×1 are loaded. However, if max is 7 then
+ /// an error is returned and nothing is loaded since max is larger than
+ /// the highest mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2((width)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for level parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild1DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] double[, ,] data);
+ #endregion int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] double[ , , ] data)
+
+ #region int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] short[] data)
+ ///
+ /// Builds a subset of one-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// or 4 or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// or .
+ ///
+ ///
+ /// Specifies the width in pixels of the texture image. This should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmapLevels builds a subset of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half until size 1×1 is reached. At each level, each texel
+ /// in the halved mipmap level is an average of the corresponding two texels in
+ /// the larger mipmap level. is called to load
+ /// these mipmap levels from min to max. If max is larger
+ /// than the highest mipmap level for the texture of the specified size, then a
+ /// GLU error code is returned (see ) and nothing is
+ /// loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, the following
+ /// levels are possible: 16×1, 8×1, 4×1, 2×1, 1×1. These correspond to levels 2
+ /// through 6 respectively. If min is 3 and max is 5, then only
+ /// mipmap levels 8×1, 4×1 and 2×1 are loaded. However, if max is 7 then
+ /// an error is returned and nothing is loaded since max is larger than
+ /// the highest mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2((width)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for level parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild1DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] short[] data);
+ #endregion int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] short[] data)
+
+ #region int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] short[ , ] data)
+ ///
+ /// Builds a subset of one-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// or 4 or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// or .
+ ///
+ ///
+ /// Specifies the width in pixels of the texture image. This should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmapLevels builds a subset of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half until size 1×1 is reached. At each level, each texel
+ /// in the halved mipmap level is an average of the corresponding two texels in
+ /// the larger mipmap level. is called to load
+ /// these mipmap levels from min to max. If max is larger
+ /// than the highest mipmap level for the texture of the specified size, then a
+ /// GLU error code is returned (see ) and nothing is
+ /// loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, the following
+ /// levels are possible: 16×1, 8×1, 4×1, 2×1, 1×1. These correspond to levels 2
+ /// through 6 respectively. If min is 3 and max is 5, then only
+ /// mipmap levels 8×1, 4×1 and 2×1 are loaded. However, if max is 7 then
+ /// an error is returned and nothing is loaded since max is larger than
+ /// the highest mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2((width)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for level parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild1DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] short[,] data);
+ #endregion int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] short[ , ] data)
+
+ #region int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] short[ , , ] data)
+ ///
+ /// Builds a subset of one-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// or 4 or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// or .
+ ///
+ ///
+ /// Specifies the width in pixels of the texture image. This should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmapLevels builds a subset of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half until size 1×1 is reached. At each level, each texel
+ /// in the halved mipmap level is an average of the corresponding two texels in
+ /// the larger mipmap level. is called to load
+ /// these mipmap levels from min to max. If max is larger
+ /// than the highest mipmap level for the texture of the specified size, then a
+ /// GLU error code is returned (see ) and nothing is
+ /// loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, the following
+ /// levels are possible: 16×1, 8×1, 4×1, 2×1, 1×1. These correspond to levels 2
+ /// through 6 respectively. If min is 3 and max is 5, then only
+ /// mipmap levels 8×1, 4×1 and 2×1 are loaded. However, if max is 7 then
+ /// an error is returned and nothing is loaded since max is larger than
+ /// the highest mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2((width)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for level parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild1DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] short[, ,] data);
+ #endregion int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] short[ , , ] data)
+
+ #region int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] int[] data)
+ ///
+ /// Builds a subset of one-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// or 4 or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// or .
+ ///
+ ///
+ /// Specifies the width in pixels of the texture image. This should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmapLevels builds a subset of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half until size 1×1 is reached. At each level, each texel
+ /// in the halved mipmap level is an average of the corresponding two texels in
+ /// the larger mipmap level. is called to load
+ /// these mipmap levels from min to max. If max is larger
+ /// than the highest mipmap level for the texture of the specified size, then a
+ /// GLU error code is returned (see ) and nothing is
+ /// loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, the following
+ /// levels are possible: 16×1, 8×1, 4×1, 2×1, 1×1. These correspond to levels 2
+ /// through 6 respectively. If min is 3 and max is 5, then only
+ /// mipmap levels 8×1, 4×1 and 2×1 are loaded. However, if max is 7 then
+ /// an error is returned and nothing is loaded since max is larger than
+ /// the highest mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2((width)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for level parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild1DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] int[] data);
+ #endregion int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] int[] data)
+
+ #region int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] int[ , ] data)
+ ///
+ /// Builds a subset of one-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// or 4 or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// or .
+ ///
+ ///
+ /// Specifies the width in pixels of the texture image. This should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmapLevels builds a subset of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half until size 1×1 is reached. At each level, each texel
+ /// in the halved mipmap level is an average of the corresponding two texels in
+ /// the larger mipmap level. is called to load
+ /// these mipmap levels from min to max. If max is larger
+ /// than the highest mipmap level for the texture of the specified size, then a
+ /// GLU error code is returned (see ) and nothing is
+ /// loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, the following
+ /// levels are possible: 16×1, 8×1, 4×1, 2×1, 1×1. These correspond to levels 2
+ /// through 6 respectively. If min is 3 and max is 5, then only
+ /// mipmap levels 8×1, 4×1 and 2×1 are loaded. However, if max is 7 then
+ /// an error is returned and nothing is loaded since max is larger than
+ /// the highest mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2((width)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for level parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild1DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] int[,] data);
+ #endregion int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] int[ , ] data)
+
+ #region int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] int[ , , ] data)
+ ///
+ /// Builds a subset of one-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// or 4 or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// or .
+ ///
+ ///
+ /// Specifies the width in pixels of the texture image. This should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmapLevels builds a subset of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half until size 1×1 is reached. At each level, each texel
+ /// in the halved mipmap level is an average of the corresponding two texels in
+ /// the larger mipmap level. is called to load
+ /// these mipmap levels from min to max. If max is larger
+ /// than the highest mipmap level for the texture of the specified size, then a
+ /// GLU error code is returned (see ) and nothing is
+ /// loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, the following
+ /// levels are possible: 16×1, 8×1, 4×1, 2×1, 1×1. These correspond to levels 2
+ /// through 6 respectively. If min is 3 and max is 5, then only
+ /// mipmap levels 8×1, 4×1 and 2×1 are loaded. However, if max is 7 then
+ /// an error is returned and nothing is loaded since max is larger than
+ /// the highest mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2((width)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for level parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild1DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] int[, ,] data);
+ #endregion int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] int[ , , ] data)
+
+ #region int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] float[] data)
+ ///
+ /// Builds a subset of one-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// or 4 or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// or .
+ ///
+ ///
+ /// Specifies the width in pixels of the texture image. This should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmapLevels builds a subset of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half until size 1×1 is reached. At each level, each texel
+ /// in the halved mipmap level is an average of the corresponding two texels in
+ /// the larger mipmap level. is called to load
+ /// these mipmap levels from min to max. If max is larger
+ /// than the highest mipmap level for the texture of the specified size, then a
+ /// GLU error code is returned (see ) and nothing is
+ /// loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, the following
+ /// levels are possible: 16×1, 8×1, 4×1, 2×1, 1×1. These correspond to levels 2
+ /// through 6 respectively. If min is 3 and max is 5, then only
+ /// mipmap levels 8×1, 4×1 and 2×1 are loaded. However, if max is 7 then
+ /// an error is returned and nothing is loaded since max is larger than
+ /// the highest mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2((width)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for level parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild1DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] float[] data);
+ #endregion int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] float[] data)
+
+ #region int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] float[ , ] data)
+ ///
+ /// Builds a subset of one-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// or 4 or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// or .
+ ///
+ ///
+ /// Specifies the width in pixels of the texture image. This should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmapLevels builds a subset of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half until size 1×1 is reached. At each level, each texel
+ /// in the halved mipmap level is an average of the corresponding two texels in
+ /// the larger mipmap level. is called to load
+ /// these mipmap levels from min to max. If max is larger
+ /// than the highest mipmap level for the texture of the specified size, then a
+ /// GLU error code is returned (see ) and nothing is
+ /// loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, the following
+ /// levels are possible: 16×1, 8×1, 4×1, 2×1, 1×1. These correspond to levels 2
+ /// through 6 respectively. If min is 3 and max is 5, then only
+ /// mipmap levels 8×1, 4×1 and 2×1 are loaded. However, if max is 7 then
+ /// an error is returned and nothing is loaded since max is larger than
+ /// the highest mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2((width)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for level parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild1DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] float[,] data);
+ #endregion int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] float[ , ] data)
+
+ #region int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] float[ , , ] data)
+ ///
+ /// Builds a subset of one-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// or 4 or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// or .
+ ///
+ ///
+ /// Specifies the width in pixels of the texture image. This should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmapLevels builds a subset of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half until size 1×1 is reached. At each level, each texel
+ /// in the halved mipmap level is an average of the corresponding two texels in
+ /// the larger mipmap level. is called to load
+ /// these mipmap levels from min to max. If max is larger
+ /// than the highest mipmap level for the texture of the specified size, then a
+ /// GLU error code is returned (see ) and nothing is
+ /// loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, the following
+ /// levels are possible: 16×1, 8×1, 4×1, 2×1, 1×1. These correspond to levels 2
+ /// through 6 respectively. If min is 3 and max is 5, then only
+ /// mipmap levels 8×1, 4×1 and 2×1 are loaded. However, if max is 7 then
+ /// an error is returned and nothing is loaded since max is larger than
+ /// the highest mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2((width)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for level parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild1DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] float[, ,] data);
+ #endregion int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] float[ , , ] data)
+
+ #region int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] ushort[] data)
+ ///
+ /// Builds a subset of one-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// or 4 or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// or .
+ ///
+ ///
+ /// Specifies the width in pixels of the texture image. This should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmapLevels builds a subset of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half until size 1×1 is reached. At each level, each texel
+ /// in the halved mipmap level is an average of the corresponding two texels in
+ /// the larger mipmap level. is called to load
+ /// these mipmap levels from min to max. If max is larger
+ /// than the highest mipmap level for the texture of the specified size, then a
+ /// GLU error code is returned (see ) and nothing is
+ /// loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, the following
+ /// levels are possible: 16×1, 8×1, 4×1, 2×1, 1×1. These correspond to levels 2
+ /// through 6 respectively. If min is 3 and max is 5, then only
+ /// mipmap levels 8×1, 4×1 and 2×1 are loaded. However, if max is 7 then
+ /// an error is returned and nothing is loaded since max is larger than
+ /// the highest mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2((width)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for level parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild1DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] ushort[] data);
+ #endregion int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] ushort[] data)
+
+ #region int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] ushort[ , ] data)
+ ///
+ /// Builds a subset of one-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// or 4 or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// or .
+ ///
+ ///
+ /// Specifies the width in pixels of the texture image. This should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmapLevels builds a subset of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half until size 1×1 is reached. At each level, each texel
+ /// in the halved mipmap level is an average of the corresponding two texels in
+ /// the larger mipmap level. is called to load
+ /// these mipmap levels from min to max. If max is larger
+ /// than the highest mipmap level for the texture of the specified size, then a
+ /// GLU error code is returned (see ) and nothing is
+ /// loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, the following
+ /// levels are possible: 16×1, 8×1, 4×1, 2×1, 1×1. These correspond to levels 2
+ /// through 6 respectively. If min is 3 and max is 5, then only
+ /// mipmap levels 8×1, 4×1 and 2×1 are loaded. However, if max is 7 then
+ /// an error is returned and nothing is loaded since max is larger than
+ /// the highest mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2((width)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for level parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild1DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] ushort[,] data);
+ #endregion int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] ushort[ , ] data)
+
+ #region int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] ushort[ , , ] data)
+ ///
+ /// Builds a subset of one-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// or 4 or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// or .
+ ///
+ ///
+ /// Specifies the width in pixels of the texture image. This should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmapLevels builds a subset of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half until size 1×1 is reached. At each level, each texel
+ /// in the halved mipmap level is an average of the corresponding two texels in
+ /// the larger mipmap level. is called to load
+ /// these mipmap levels from min to max. If max is larger
+ /// than the highest mipmap level for the texture of the specified size, then a
+ /// GLU error code is returned (see ) and nothing is
+ /// loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, the following
+ /// levels are possible: 16×1, 8×1, 4×1, 2×1, 1×1. These correspond to levels 2
+ /// through 6 respectively. If min is 3 and max is 5, then only
+ /// mipmap levels 8×1, 4×1 and 2×1 are loaded. However, if max is 7 then
+ /// an error is returned and nothing is loaded since max is larger than
+ /// the highest mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2((width)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for level parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild1DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] ushort[, ,] data);
+ #endregion int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] ushort[ , , ] data)
+
+ #region int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] uint[] data)
+ ///
+ /// Builds a subset of one-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// or 4 or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// or .
+ ///
+ ///
+ /// Specifies the width in pixels of the texture image. This should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmapLevels builds a subset of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half until size 1×1 is reached. At each level, each texel
+ /// in the halved mipmap level is an average of the corresponding two texels in
+ /// the larger mipmap level. is called to load
+ /// these mipmap levels from min to max. If max is larger
+ /// than the highest mipmap level for the texture of the specified size, then a
+ /// GLU error code is returned (see ) and nothing is
+ /// loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, the following
+ /// levels are possible: 16×1, 8×1, 4×1, 2×1, 1×1. These correspond to levels 2
+ /// through 6 respectively. If min is 3 and max is 5, then only
+ /// mipmap levels 8×1, 4×1 and 2×1 are loaded. However, if max is 7 then
+ /// an error is returned and nothing is loaded since max is larger than
+ /// the highest mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2((width)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for level parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild1DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] uint[] data);
+ #endregion int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] uint[] data)
+
+ #region int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] uint[ , ] data)
+ ///
+ /// Builds a subset of one-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// or 4 or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// or .
+ ///
+ ///
+ /// Specifies the width in pixels of the texture image. This should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmapLevels builds a subset of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half until size 1×1 is reached. At each level, each texel
+ /// in the halved mipmap level is an average of the corresponding two texels in
+ /// the larger mipmap level. is called to load
+ /// these mipmap levels from min to max. If max is larger
+ /// than the highest mipmap level for the texture of the specified size, then a
+ /// GLU error code is returned (see ) and nothing is
+ /// loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, the following
+ /// levels are possible: 16×1, 8×1, 4×1, 2×1, 1×1. These correspond to levels 2
+ /// through 6 respectively. If min is 3 and max is 5, then only
+ /// mipmap levels 8×1, 4×1 and 2×1 are loaded. However, if max is 7 then
+ /// an error is returned and nothing is loaded since max is larger than
+ /// the highest mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2((width)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for level parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild1DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] uint[,] data);
+ #endregion int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] uint[ , ] data)
+
+ #region int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] uint[ , , ] data)
+ ///
+ /// Builds a subset of one-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// or 4 or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// or .
+ ///
+ ///
+ /// Specifies the width in pixels of the texture image. This should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmapLevels builds a subset of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half until size 1×1 is reached. At each level, each texel
+ /// in the halved mipmap level is an average of the corresponding two texels in
+ /// the larger mipmap level. is called to load
+ /// these mipmap levels from min to max. If max is larger
+ /// than the highest mipmap level for the texture of the specified size, then a
+ /// GLU error code is returned (see ) and nothing is
+ /// loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, the following
+ /// levels are possible: 16×1, 8×1, 4×1, 2×1, 1×1. These correspond to levels 2
+ /// through 6 respectively. If min is 3 and max is 5, then only
+ /// mipmap levels 8×1, 4×1 and 2×1 are loaded. However, if max is 7 then
+ /// an error is returned and nothing is loaded since max is larger than
+ /// the highest mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2((width)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for level parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild1DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] uint[, ,] data);
+ #endregion int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] uint[ , , ] data)
+
+ #region int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] IntPtr data)
+ ///
+ /// Builds a subset of one-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// or 4 or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// or .
+ ///
+ ///
+ /// Specifies the width in pixels of the texture image. This should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmapLevels builds a subset of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half until size 1×1 is reached. At each level, each texel
+ /// in the halved mipmap level is an average of the corresponding two texels in
+ /// the larger mipmap level. is called to load
+ /// these mipmap levels from min to max. If max is larger
+ /// than the highest mipmap level for the texture of the specified size, then a
+ /// GLU error code is returned (see ) and nothing is
+ /// loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, the following
+ /// levels are possible: 16×1, 8×1, 4×1, 2×1, 1×1. These correspond to levels 2
+ /// through 6 respectively. If min is 3 and max is 5, then only
+ /// mipmap levels 8×1, 4×1 and 2×1 are loaded. However, if max is 7 then
+ /// an error is returned and nothing is loaded since max is larger than
+ /// the highest mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2((width)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for level parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild1DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] IntPtr data);
+ #endregion int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] IntPtr data)
+
+ #region int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] void *data)
+ ///
+ /// Builds a subset of one-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// or 4 or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// or .
+ ///
+ ///
+ /// Specifies the width in pixels of the texture image. This should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmapLevels builds a subset of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half until size 1×1 is reached. At each level, each texel
+ /// in the halved mipmap level is an average of the corresponding two texels in
+ /// the larger mipmap level. is called to load
+ /// these mipmap levels from min to max. If max is larger
+ /// than the highest mipmap level for the texture of the specified size, then a
+ /// GLU error code is returned (see ) and nothing is
+ /// loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, the following
+ /// levels are possible: 16×1, 8×1, 4×1, 2×1, 1×1. These correspond to levels 2
+ /// through 6 respectively. If min is 3 and max is 5, then only
+ /// mipmap levels 8×1, 4×1 and 2×1 are loaded. However, if max is 7 then
+ /// an error is returned and nothing is loaded since max is larger than
+ /// the highest mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2((width)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for level parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild1DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] void* data);
+ #endregion int gluBuild1DMipmapLevels(int target, int internalFormat, int width, int format, int type, int level, int min, int max, [In] void *data)
+
+ #region int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] byte[] data)
+ ///
+ /// Builds a one-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmaps builds a series of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width of data is checked to see if it is a power
+ /// of 2. If not, a copy of data is scaled up or down to the nearest
+ /// power of 2. (If width is exactly between powers of 2, then the copy
+ /// of data will scale upwards.) This copy will be used for subsequent
+ /// mipmapping operations described below. For example, if width is 57
+ /// then a copy of data will scale up to 64 before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, width
+ /// is continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half until size 1×1 is reached. At each level, each texel in the halved
+ /// mipmap level is an average of the corresponding two texels in the larger
+ /// mipmap level.
+ ///
+ ///
+ /// glTexImage1D is called to load each of these mipmap levels. Level 0
+ /// is a copy of data. The highest level is log2(width). For
+ /// example, if width is 64 and the implementation can store a texture of
+ /// this size, the following mipmap levels are built: 64×1, 32×1, 16×1, 8×1, 4×1,
+ /// 2×1 and 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for the type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for the data parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// Note that there is no direct way of querying the maximum level. This can be
+ /// derived indirectly via . First,
+ /// query for the width actually used at level 0. (The width may not be equal to
+ /// width since proxy textures might have scaled it to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(width).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater, and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if format or type
+ /// are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] byte[] data);
+ #endregion int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] byte[] data)
+
+ #region int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] byte[ , ] data)
+ ///
+ /// Builds a one-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmaps builds a series of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width of data is checked to see if it is a power
+ /// of 2. If not, a copy of data is scaled up or down to the nearest
+ /// power of 2. (If width is exactly between powers of 2, then the copy
+ /// of data will scale upwards.) This copy will be used for subsequent
+ /// mipmapping operations described below. For example, if width is 57
+ /// then a copy of data will scale up to 64 before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, width
+ /// is continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half until size 1×1 is reached. At each level, each texel in the halved
+ /// mipmap level is an average of the corresponding two texels in the larger
+ /// mipmap level.
+ ///
+ ///
+ /// glTexImage1D is called to load each of these mipmap levels. Level 0
+ /// is a copy of data. The highest level is log2(width). For
+ /// example, if width is 64 and the implementation can store a texture of
+ /// this size, the following mipmap levels are built: 64×1, 32×1, 16×1, 8×1, 4×1,
+ /// 2×1 and 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for the type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for the data parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// Note that there is no direct way of querying the maximum level. This can be
+ /// derived indirectly via . First,
+ /// query for the width actually used at level 0. (The width may not be equal to
+ /// width since proxy textures might have scaled it to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(width).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater, and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if format or type
+ /// are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] byte[,] data);
+ #endregion int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] byte[ , ] data)
+
+ #region int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] byte[ , , ] data)
+ ///
+ /// Builds a one-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmaps builds a series of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width of data is checked to see if it is a power
+ /// of 2. If not, a copy of data is scaled up or down to the nearest
+ /// power of 2. (If width is exactly between powers of 2, then the copy
+ /// of data will scale upwards.) This copy will be used for subsequent
+ /// mipmapping operations described below. For example, if width is 57
+ /// then a copy of data will scale up to 64 before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, width
+ /// is continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half until size 1×1 is reached. At each level, each texel in the halved
+ /// mipmap level is an average of the corresponding two texels in the larger
+ /// mipmap level.
+ ///
+ ///
+ /// glTexImage1D is called to load each of these mipmap levels. Level 0
+ /// is a copy of data. The highest level is log2(width). For
+ /// example, if width is 64 and the implementation can store a texture of
+ /// this size, the following mipmap levels are built: 64×1, 32×1, 16×1, 8×1, 4×1,
+ /// 2×1 and 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for the type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for the data parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// Note that there is no direct way of querying the maximum level. This can be
+ /// derived indirectly via . First,
+ /// query for the width actually used at level 0. (The width may not be equal to
+ /// width since proxy textures might have scaled it to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(width).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater, and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if format or type
+ /// are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] byte[, ,] data);
+ #endregion int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] byte[ , , ] data)
+
+ #region int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] double[] data)
+ ///
+ /// Builds a one-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmaps builds a series of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width of data is checked to see if it is a power
+ /// of 2. If not, a copy of data is scaled up or down to the nearest
+ /// power of 2. (If width is exactly between powers of 2, then the copy
+ /// of data will scale upwards.) This copy will be used for subsequent
+ /// mipmapping operations described below. For example, if width is 57
+ /// then a copy of data will scale up to 64 before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, width
+ /// is continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half until size 1×1 is reached. At each level, each texel in the halved
+ /// mipmap level is an average of the corresponding two texels in the larger
+ /// mipmap level.
+ ///
+ ///
+ /// glTexImage1D is called to load each of these mipmap levels. Level 0
+ /// is a copy of data. The highest level is log2(width). For
+ /// example, if width is 64 and the implementation can store a texture of
+ /// this size, the following mipmap levels are built: 64×1, 32×1, 16×1, 8×1, 4×1,
+ /// 2×1 and 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for the type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for the data parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// Note that there is no direct way of querying the maximum level. This can be
+ /// derived indirectly via . First,
+ /// query for the width actually used at level 0. (The width may not be equal to
+ /// width since proxy textures might have scaled it to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(width).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater, and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if format or type
+ /// are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] double[] data);
+ #endregion int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] double[] data)
+
+ #region int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] double[ , ] data)
+ ///
+ /// Builds a one-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmaps builds a series of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width of data is checked to see if it is a power
+ /// of 2. If not, a copy of data is scaled up or down to the nearest
+ /// power of 2. (If width is exactly between powers of 2, then the copy
+ /// of data will scale upwards.) This copy will be used for subsequent
+ /// mipmapping operations described below. For example, if width is 57
+ /// then a copy of data will scale up to 64 before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, width
+ /// is continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half until size 1×1 is reached. At each level, each texel in the halved
+ /// mipmap level is an average of the corresponding two texels in the larger
+ /// mipmap level.
+ ///
+ ///
+ /// glTexImage1D is called to load each of these mipmap levels. Level 0
+ /// is a copy of data. The highest level is log2(width). For
+ /// example, if width is 64 and the implementation can store a texture of
+ /// this size, the following mipmap levels are built: 64×1, 32×1, 16×1, 8×1, 4×1,
+ /// 2×1 and 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for the type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for the data parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// Note that there is no direct way of querying the maximum level. This can be
+ /// derived indirectly via . First,
+ /// query for the width actually used at level 0. (The width may not be equal to
+ /// width since proxy textures might have scaled it to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(width).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater, and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if format or type
+ /// are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] double[,] data);
+ #endregion int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] double[ , ] data)
+
+ #region int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] double[ , , ] data)
+ ///
+ /// Builds a one-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmaps builds a series of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width of data is checked to see if it is a power
+ /// of 2. If not, a copy of data is scaled up or down to the nearest
+ /// power of 2. (If width is exactly between powers of 2, then the copy
+ /// of data will scale upwards.) This copy will be used for subsequent
+ /// mipmapping operations described below. For example, if width is 57
+ /// then a copy of data will scale up to 64 before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, width
+ /// is continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half until size 1×1 is reached. At each level, each texel in the halved
+ /// mipmap level is an average of the corresponding two texels in the larger
+ /// mipmap level.
+ ///
+ ///
+ /// glTexImage1D is called to load each of these mipmap levels. Level 0
+ /// is a copy of data. The highest level is log2(width). For
+ /// example, if width is 64 and the implementation can store a texture of
+ /// this size, the following mipmap levels are built: 64×1, 32×1, 16×1, 8×1, 4×1,
+ /// 2×1 and 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for the type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for the data parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// Note that there is no direct way of querying the maximum level. This can be
+ /// derived indirectly via . First,
+ /// query for the width actually used at level 0. (The width may not be equal to
+ /// width since proxy textures might have scaled it to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(width).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater, and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if format or type
+ /// are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] double[, ,] data);
+ #endregion int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] double[ , , ] data)
+
+ #region int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] short[] data)
+ ///
+ /// Builds a one-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmaps builds a series of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width of data is checked to see if it is a power
+ /// of 2. If not, a copy of data is scaled up or down to the nearest
+ /// power of 2. (If width is exactly between powers of 2, then the copy
+ /// of data will scale upwards.) This copy will be used for subsequent
+ /// mipmapping operations described below. For example, if width is 57
+ /// then a copy of data will scale up to 64 before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, width
+ /// is continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half until size 1×1 is reached. At each level, each texel in the halved
+ /// mipmap level is an average of the corresponding two texels in the larger
+ /// mipmap level.
+ ///
+ ///
+ /// glTexImage1D is called to load each of these mipmap levels. Level 0
+ /// is a copy of data. The highest level is log2(width). For
+ /// example, if width is 64 and the implementation can store a texture of
+ /// this size, the following mipmap levels are built: 64×1, 32×1, 16×1, 8×1, 4×1,
+ /// 2×1 and 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for the type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for the data parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// Note that there is no direct way of querying the maximum level. This can be
+ /// derived indirectly via . First,
+ /// query for the width actually used at level 0. (The width may not be equal to
+ /// width since proxy textures might have scaled it to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(width).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater, and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if format or type
+ /// are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] short[] data);
+ #endregion int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] short[] data)
+
+ #region int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] short[ , ] data)
+ ///
+ /// Builds a one-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmaps builds a series of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width of data is checked to see if it is a power
+ /// of 2. If not, a copy of data is scaled up or down to the nearest
+ /// power of 2. (If width is exactly between powers of 2, then the copy
+ /// of data will scale upwards.) This copy will be used for subsequent
+ /// mipmapping operations described below. For example, if width is 57
+ /// then a copy of data will scale up to 64 before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, width
+ /// is continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half until size 1×1 is reached. At each level, each texel in the halved
+ /// mipmap level is an average of the corresponding two texels in the larger
+ /// mipmap level.
+ ///
+ ///
+ /// glTexImage1D is called to load each of these mipmap levels. Level 0
+ /// is a copy of data. The highest level is log2(width). For
+ /// example, if width is 64 and the implementation can store a texture of
+ /// this size, the following mipmap levels are built: 64×1, 32×1, 16×1, 8×1, 4×1,
+ /// 2×1 and 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for the type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for the data parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// Note that there is no direct way of querying the maximum level. This can be
+ /// derived indirectly via . First,
+ /// query for the width actually used at level 0. (The width may not be equal to
+ /// width since proxy textures might have scaled it to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(width).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater, and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if format or type
+ /// are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] short[,] data);
+ #endregion int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] short[ , ] data)
+
+ #region int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] short[ , , ] data)
+ ///
+ /// Builds a one-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmaps builds a series of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width of data is checked to see if it is a power
+ /// of 2. If not, a copy of data is scaled up or down to the nearest
+ /// power of 2. (If width is exactly between powers of 2, then the copy
+ /// of data will scale upwards.) This copy will be used for subsequent
+ /// mipmapping operations described below. For example, if width is 57
+ /// then a copy of data will scale up to 64 before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, width
+ /// is continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half until size 1×1 is reached. At each level, each texel in the halved
+ /// mipmap level is an average of the corresponding two texels in the larger
+ /// mipmap level.
+ ///
+ ///
+ /// glTexImage1D is called to load each of these mipmap levels. Level 0
+ /// is a copy of data. The highest level is log2(width). For
+ /// example, if width is 64 and the implementation can store a texture of
+ /// this size, the following mipmap levels are built: 64×1, 32×1, 16×1, 8×1, 4×1,
+ /// 2×1 and 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for the type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for the data parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// Note that there is no direct way of querying the maximum level. This can be
+ /// derived indirectly via . First,
+ /// query for the width actually used at level 0. (The width may not be equal to
+ /// width since proxy textures might have scaled it to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(width).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater, and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if format or type
+ /// are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] short[, ,] data);
+ #endregion int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] short[ , , ] data)
+
+ #region int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] int[] data)
+ ///
+ /// Builds a one-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmaps builds a series of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width of data is checked to see if it is a power
+ /// of 2. If not, a copy of data is scaled up or down to the nearest
+ /// power of 2. (If width is exactly between powers of 2, then the copy
+ /// of data will scale upwards.) This copy will be used for subsequent
+ /// mipmapping operations described below. For example, if width is 57
+ /// then a copy of data will scale up to 64 before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, width
+ /// is continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half until size 1×1 is reached. At each level, each texel in the halved
+ /// mipmap level is an average of the corresponding two texels in the larger
+ /// mipmap level.
+ ///
+ ///
+ /// glTexImage1D is called to load each of these mipmap levels. Level 0
+ /// is a copy of data. The highest level is log2(width). For
+ /// example, if width is 64 and the implementation can store a texture of
+ /// this size, the following mipmap levels are built: 64×1, 32×1, 16×1, 8×1, 4×1,
+ /// 2×1 and 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for the type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for the data parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// Note that there is no direct way of querying the maximum level. This can be
+ /// derived indirectly via . First,
+ /// query for the width actually used at level 0. (The width may not be equal to
+ /// width since proxy textures might have scaled it to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(width).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater, and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if format or type
+ /// are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] int[] data);
+ #endregion int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] int[] data)
+
+ #region int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] int[ , ] data)
+ ///
+ /// Builds a one-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmaps builds a series of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width of data is checked to see if it is a power
+ /// of 2. If not, a copy of data is scaled up or down to the nearest
+ /// power of 2. (If width is exactly between powers of 2, then the copy
+ /// of data will scale upwards.) This copy will be used for subsequent
+ /// mipmapping operations described below. For example, if width is 57
+ /// then a copy of data will scale up to 64 before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, width
+ /// is continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half until size 1×1 is reached. At each level, each texel in the halved
+ /// mipmap level is an average of the corresponding two texels in the larger
+ /// mipmap level.
+ ///
+ ///
+ /// glTexImage1D is called to load each of these mipmap levels. Level 0
+ /// is a copy of data. The highest level is log2(width). For
+ /// example, if width is 64 and the implementation can store a texture of
+ /// this size, the following mipmap levels are built: 64×1, 32×1, 16×1, 8×1, 4×1,
+ /// 2×1 and 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for the type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for the data parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// Note that there is no direct way of querying the maximum level. This can be
+ /// derived indirectly via . First,
+ /// query for the width actually used at level 0. (The width may not be equal to
+ /// width since proxy textures might have scaled it to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(width).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater, and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if format or type
+ /// are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] int[,] data);
+ #endregion int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] int[ , ] data)
+
+ #region int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] int[ , , ] data)
+ ///
+ /// Builds a one-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmaps builds a series of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width of data is checked to see if it is a power
+ /// of 2. If not, a copy of data is scaled up or down to the nearest
+ /// power of 2. (If width is exactly between powers of 2, then the copy
+ /// of data will scale upwards.) This copy will be used for subsequent
+ /// mipmapping operations described below. For example, if width is 57
+ /// then a copy of data will scale up to 64 before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, width
+ /// is continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half until size 1×1 is reached. At each level, each texel in the halved
+ /// mipmap level is an average of the corresponding two texels in the larger
+ /// mipmap level.
+ ///
+ ///
+ /// glTexImage1D is called to load each of these mipmap levels. Level 0
+ /// is a copy of data. The highest level is log2(width). For
+ /// example, if width is 64 and the implementation can store a texture of
+ /// this size, the following mipmap levels are built: 64×1, 32×1, 16×1, 8×1, 4×1,
+ /// 2×1 and 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for the type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for the data parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// Note that there is no direct way of querying the maximum level. This can be
+ /// derived indirectly via . First,
+ /// query for the width actually used at level 0. (The width may not be equal to
+ /// width since proxy textures might have scaled it to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(width).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater, and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if format or type
+ /// are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] int[, ,] data);
+ #endregion int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] int[ , , ] data)
+
+ #region int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] float[] data)
+ ///
+ /// Builds a one-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmaps builds a series of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width of data is checked to see if it is a power
+ /// of 2. If not, a copy of data is scaled up or down to the nearest
+ /// power of 2. (If width is exactly between powers of 2, then the copy
+ /// of data will scale upwards.) This copy will be used for subsequent
+ /// mipmapping operations described below. For example, if width is 57
+ /// then a copy of data will scale up to 64 before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, width
+ /// is continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half until size 1×1 is reached. At each level, each texel in the halved
+ /// mipmap level is an average of the corresponding two texels in the larger
+ /// mipmap level.
+ ///
+ ///
+ /// glTexImage1D is called to load each of these mipmap levels. Level 0
+ /// is a copy of data. The highest level is log2(width). For
+ /// example, if width is 64 and the implementation can store a texture of
+ /// this size, the following mipmap levels are built: 64×1, 32×1, 16×1, 8×1, 4×1,
+ /// 2×1 and 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for the type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for the data parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// Note that there is no direct way of querying the maximum level. This can be
+ /// derived indirectly via . First,
+ /// query for the width actually used at level 0. (The width may not be equal to
+ /// width since proxy textures might have scaled it to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(width).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater, and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if format or type
+ /// are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] float[] data);
+ #endregion int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] float[] data)
+
+ #region int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] float[ , ] data)
+ ///
+ /// Builds a one-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmaps builds a series of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width of data is checked to see if it is a power
+ /// of 2. If not, a copy of data is scaled up or down to the nearest
+ /// power of 2. (If width is exactly between powers of 2, then the copy
+ /// of data will scale upwards.) This copy will be used for subsequent
+ /// mipmapping operations described below. For example, if width is 57
+ /// then a copy of data will scale up to 64 before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, width
+ /// is continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half until size 1×1 is reached. At each level, each texel in the halved
+ /// mipmap level is an average of the corresponding two texels in the larger
+ /// mipmap level.
+ ///
+ ///
+ /// glTexImage1D is called to load each of these mipmap levels. Level 0
+ /// is a copy of data. The highest level is log2(width). For
+ /// example, if width is 64 and the implementation can store a texture of
+ /// this size, the following mipmap levels are built: 64×1, 32×1, 16×1, 8×1, 4×1,
+ /// 2×1 and 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for the type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for the data parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// Note that there is no direct way of querying the maximum level. This can be
+ /// derived indirectly via . First,
+ /// query for the width actually used at level 0. (The width may not be equal to
+ /// width since proxy textures might have scaled it to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(width).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater, and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if format or type
+ /// are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] float[,] data);
+ #endregion int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] float[ , ] data)
+
+ #region int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] float[ , , ] data)
+ ///
+ /// Builds a one-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmaps builds a series of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width of data is checked to see if it is a power
+ /// of 2. If not, a copy of data is scaled up or down to the nearest
+ /// power of 2. (If width is exactly between powers of 2, then the copy
+ /// of data will scale upwards.) This copy will be used for subsequent
+ /// mipmapping operations described below. For example, if width is 57
+ /// then a copy of data will scale up to 64 before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, width
+ /// is continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half until size 1×1 is reached. At each level, each texel in the halved
+ /// mipmap level is an average of the corresponding two texels in the larger
+ /// mipmap level.
+ ///
+ ///
+ /// glTexImage1D is called to load each of these mipmap levels. Level 0
+ /// is a copy of data. The highest level is log2(width). For
+ /// example, if width is 64 and the implementation can store a texture of
+ /// this size, the following mipmap levels are built: 64×1, 32×1, 16×1, 8×1, 4×1,
+ /// 2×1 and 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for the type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for the data parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// Note that there is no direct way of querying the maximum level. This can be
+ /// derived indirectly via . First,
+ /// query for the width actually used at level 0. (The width may not be equal to
+ /// width since proxy textures might have scaled it to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(width).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater, and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if format or type
+ /// are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] float[, ,] data);
+ #endregion int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] float[ , , ] data)
+
+ #region int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] ushort[] data)
+ ///
+ /// Builds a one-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmaps builds a series of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width of data is checked to see if it is a power
+ /// of 2. If not, a copy of data is scaled up or down to the nearest
+ /// power of 2. (If width is exactly between powers of 2, then the copy
+ /// of data will scale upwards.) This copy will be used for subsequent
+ /// mipmapping operations described below. For example, if width is 57
+ /// then a copy of data will scale up to 64 before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, width
+ /// is continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half until size 1×1 is reached. At each level, each texel in the halved
+ /// mipmap level is an average of the corresponding two texels in the larger
+ /// mipmap level.
+ ///
+ ///
+ /// glTexImage1D is called to load each of these mipmap levels. Level 0
+ /// is a copy of data. The highest level is log2(width). For
+ /// example, if width is 64 and the implementation can store a texture of
+ /// this size, the following mipmap levels are built: 64×1, 32×1, 16×1, 8×1, 4×1,
+ /// 2×1 and 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for the type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for the data parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// Note that there is no direct way of querying the maximum level. This can be
+ /// derived indirectly via . First,
+ /// query for the width actually used at level 0. (The width may not be equal to
+ /// width since proxy textures might have scaled it to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(width).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater, and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if format or type
+ /// are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] ushort[] data);
+ #endregion int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] ushort[] data)
+
+ #region int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] ushort[ , ] data)
+ ///
+ /// Builds a one-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmaps builds a series of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width of data is checked to see if it is a power
+ /// of 2. If not, a copy of data is scaled up or down to the nearest
+ /// power of 2. (If width is exactly between powers of 2, then the copy
+ /// of data will scale upwards.) This copy will be used for subsequent
+ /// mipmapping operations described below. For example, if width is 57
+ /// then a copy of data will scale up to 64 before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, width
+ /// is continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half until size 1×1 is reached. At each level, each texel in the halved
+ /// mipmap level is an average of the corresponding two texels in the larger
+ /// mipmap level.
+ ///
+ ///
+ /// glTexImage1D is called to load each of these mipmap levels. Level 0
+ /// is a copy of data. The highest level is log2(width). For
+ /// example, if width is 64 and the implementation can store a texture of
+ /// this size, the following mipmap levels are built: 64×1, 32×1, 16×1, 8×1, 4×1,
+ /// 2×1 and 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for the type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for the data parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// Note that there is no direct way of querying the maximum level. This can be
+ /// derived indirectly via . First,
+ /// query for the width actually used at level 0. (The width may not be equal to
+ /// width since proxy textures might have scaled it to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(width).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater, and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if format or type
+ /// are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] ushort[,] data);
+ #endregion int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] ushort[ , ] data)
+
+ #region int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] ushort[ , , ] data)
+ ///
+ /// Builds a one-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmaps builds a series of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width of data is checked to see if it is a power
+ /// of 2. If not, a copy of data is scaled up or down to the nearest
+ /// power of 2. (If width is exactly between powers of 2, then the copy
+ /// of data will scale upwards.) This copy will be used for subsequent
+ /// mipmapping operations described below. For example, if width is 57
+ /// then a copy of data will scale up to 64 before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, width
+ /// is continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half until size 1×1 is reached. At each level, each texel in the halved
+ /// mipmap level is an average of the corresponding two texels in the larger
+ /// mipmap level.
+ ///
+ ///
+ /// glTexImage1D is called to load each of these mipmap levels. Level 0
+ /// is a copy of data. The highest level is log2(width). For
+ /// example, if width is 64 and the implementation can store a texture of
+ /// this size, the following mipmap levels are built: 64×1, 32×1, 16×1, 8×1, 4×1,
+ /// 2×1 and 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for the type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for the data parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// Note that there is no direct way of querying the maximum level. This can be
+ /// derived indirectly via . First,
+ /// query for the width actually used at level 0. (The width may not be equal to
+ /// width since proxy textures might have scaled it to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(width).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater, and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if format or type
+ /// are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] ushort[, ,] data);
+ #endregion int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] ushort[ , , ] data)
+
+ #region int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] uint[] data)
+ ///
+ /// Builds a one-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmaps builds a series of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width of data is checked to see if it is a power
+ /// of 2. If not, a copy of data is scaled up or down to the nearest
+ /// power of 2. (If width is exactly between powers of 2, then the copy
+ /// of data will scale upwards.) This copy will be used for subsequent
+ /// mipmapping operations described below. For example, if width is 57
+ /// then a copy of data will scale up to 64 before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, width
+ /// is continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half until size 1×1 is reached. At each level, each texel in the halved
+ /// mipmap level is an average of the corresponding two texels in the larger
+ /// mipmap level.
+ ///
+ ///
+ /// glTexImage1D is called to load each of these mipmap levels. Level 0
+ /// is a copy of data. The highest level is log2(width). For
+ /// example, if width is 64 and the implementation can store a texture of
+ /// this size, the following mipmap levels are built: 64×1, 32×1, 16×1, 8×1, 4×1,
+ /// 2×1 and 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for the type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for the data parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// Note that there is no direct way of querying the maximum level. This can be
+ /// derived indirectly via . First,
+ /// query for the width actually used at level 0. (The width may not be equal to
+ /// width since proxy textures might have scaled it to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(width).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater, and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if format or type
+ /// are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] uint[] data);
+ #endregion int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] uint[] data)
+
+ #region int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] uint[ , ] data)
+ ///
+ /// Builds a one-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmaps builds a series of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width of data is checked to see if it is a power
+ /// of 2. If not, a copy of data is scaled up or down to the nearest
+ /// power of 2. (If width is exactly between powers of 2, then the copy
+ /// of data will scale upwards.) This copy will be used for subsequent
+ /// mipmapping operations described below. For example, if width is 57
+ /// then a copy of data will scale up to 64 before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, width
+ /// is continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half until size 1×1 is reached. At each level, each texel in the halved
+ /// mipmap level is an average of the corresponding two texels in the larger
+ /// mipmap level.
+ ///
+ ///
+ /// glTexImage1D is called to load each of these mipmap levels. Level 0
+ /// is a copy of data. The highest level is log2(width). For
+ /// example, if width is 64 and the implementation can store a texture of
+ /// this size, the following mipmap levels are built: 64×1, 32×1, 16×1, 8×1, 4×1,
+ /// 2×1 and 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for the type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for the data parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// Note that there is no direct way of querying the maximum level. This can be
+ /// derived indirectly via . First,
+ /// query for the width actually used at level 0. (The width may not be equal to
+ /// width since proxy textures might have scaled it to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(width).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater, and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if format or type
+ /// are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] uint[,] data);
+ #endregion int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] uint[ , ] data)
+
+ #region int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] uint[ , , ] data)
+ ///
+ /// Builds a one-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmaps builds a series of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width of data is checked to see if it is a power
+ /// of 2. If not, a copy of data is scaled up or down to the nearest
+ /// power of 2. (If width is exactly between powers of 2, then the copy
+ /// of data will scale upwards.) This copy will be used for subsequent
+ /// mipmapping operations described below. For example, if width is 57
+ /// then a copy of data will scale up to 64 before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, width
+ /// is continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half until size 1×1 is reached. At each level, each texel in the halved
+ /// mipmap level is an average of the corresponding two texels in the larger
+ /// mipmap level.
+ ///
+ ///
+ /// glTexImage1D is called to load each of these mipmap levels. Level 0
+ /// is a copy of data. The highest level is log2(width). For
+ /// example, if width is 64 and the implementation can store a texture of
+ /// this size, the following mipmap levels are built: 64×1, 32×1, 16×1, 8×1, 4×1,
+ /// 2×1 and 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for the type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for the data parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// Note that there is no direct way of querying the maximum level. This can be
+ /// derived indirectly via . First,
+ /// query for the width actually used at level 0. (The width may not be equal to
+ /// width since proxy textures might have scaled it to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(width).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater, and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if format or type
+ /// are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] uint[, ,] data);
+ #endregion int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] uint[ , , ] data)
+
+ #region int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] IntPtr data)
+ ///
+ /// Builds a one-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmaps builds a series of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width of data is checked to see if it is a power
+ /// of 2. If not, a copy of data is scaled up or down to the nearest
+ /// power of 2. (If width is exactly between powers of 2, then the copy
+ /// of data will scale upwards.) This copy will be used for subsequent
+ /// mipmapping operations described below. For example, if width is 57
+ /// then a copy of data will scale up to 64 before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, width
+ /// is continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half until size 1×1 is reached. At each level, each texel in the halved
+ /// mipmap level is an average of the corresponding two texels in the larger
+ /// mipmap level.
+ ///
+ ///
+ /// glTexImage1D is called to load each of these mipmap levels. Level 0
+ /// is a copy of data. The highest level is log2(width). For
+ /// example, if width is 64 and the implementation can store a texture of
+ /// this size, the following mipmap levels are built: 64×1, 32×1, 16×1, 8×1, 4×1,
+ /// 2×1 and 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for the type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for the data parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// Note that there is no direct way of querying the maximum level. This can be
+ /// derived indirectly via . First,
+ /// query for the width actually used at level 0. (The width may not be equal to
+ /// width since proxy textures might have scaled it to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(width).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater, and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if format or type
+ /// are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] IntPtr data);
+ #endregion int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] IntPtr data)
+
+ #region int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] void *data)
+ ///
+ /// Builds a one-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild1DMipmaps builds a series of prefiltered one-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width of data is checked to see if it is a power
+ /// of 2. If not, a copy of data is scaled up or down to the nearest
+ /// power of 2. (If width is exactly between powers of 2, then the copy
+ /// of data will scale upwards.) This copy will be used for subsequent
+ /// mipmapping operations described below. For example, if width is 57
+ /// then a copy of data will scale up to 64 before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, width
+ /// is continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half until size 1×1 is reached. At each level, each texel in the halved
+ /// mipmap level is an average of the corresponding two texels in the larger
+ /// mipmap level.
+ ///
+ ///
+ /// glTexImage1D is called to load each of these mipmap levels. Level 0
+ /// is a copy of data. The highest level is log2(width). For
+ /// example, if width is 64 and the implementation can store a texture of
+ /// this size, the following mipmap levels are built: 64×1, 32×1, 16×1, 8×1, 4×1,
+ /// 2×1 and 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for the type parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for the data parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// Note that there is no direct way of querying the maximum level. This can be
+ /// derived indirectly via . First,
+ /// query for the width actually used at level 0. (The width may not be equal to
+ /// width since proxy textures might have scaled it to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(width).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater, and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width is < 1.
+ ///
+ ///
+ /// is returned if format or type
+ /// are not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild1DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] void* data);
+ #endregion int gluBuild1DMipmaps(int target, int internalFormat, int width, int format, int type, [In] void *data)
+
+ #region int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] byte[] data)
+ ///
+ /// Builds a subset of two-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the height, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmapLevels builds a subset of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding four texels in the larger mipmap level. (In the case of
+ /// rectangular images, the decimation will ultimately reach an N×1 or 1×N
+ /// configuration. Here, two texels are averaged instead.)
+ /// is called to load these mipmap levels from
+ /// min to max. If max is larger than the highest mipmap
+ /// level for the texture of the specified size, then a GLU error code is
+ /// returned (see ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16 and height is
+ /// 8, the following levels are possible: 16×8, 8×4, 4×2, 2×1, 1×1. These
+ /// correspond to levels 2 through 6 respectively. If min is 3 and
+ /// max is 5, then only mipmap levels 8×4, 4×2 and 2×1 are loaded.
+ /// However, if max is 7 then an error is returned and nothing is loaded
+ /// since max is larger than the highest mipmap level which is, in this
+ /// case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild2DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] byte[] data);
+ #endregion int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] byte[] data)
+
+ #region int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] byte[ , ] data)
+ ///
+ /// Builds a subset of two-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the height, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmapLevels builds a subset of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding four texels in the larger mipmap level. (In the case of
+ /// rectangular images, the decimation will ultimately reach an N×1 or 1×N
+ /// configuration. Here, two texels are averaged instead.)
+ /// is called to load these mipmap levels from
+ /// min to max. If max is larger than the highest mipmap
+ /// level for the texture of the specified size, then a GLU error code is
+ /// returned (see ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16 and height is
+ /// 8, the following levels are possible: 16×8, 8×4, 4×2, 2×1, 1×1. These
+ /// correspond to levels 2 through 6 respectively. If min is 3 and
+ /// max is 5, then only mipmap levels 8×4, 4×2 and 2×1 are loaded.
+ /// However, if max is 7 then an error is returned and nothing is loaded
+ /// since max is larger than the highest mipmap level which is, in this
+ /// case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild2DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] byte[,] data);
+ #endregion int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] byte[ , ] data)
+
+ #region int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] byte[ , , ] data)
+ ///
+ /// Builds a subset of two-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the height, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmapLevels builds a subset of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding four texels in the larger mipmap level. (In the case of
+ /// rectangular images, the decimation will ultimately reach an N×1 or 1×N
+ /// configuration. Here, two texels are averaged instead.)
+ /// is called to load these mipmap levels from
+ /// min to max. If max is larger than the highest mipmap
+ /// level for the texture of the specified size, then a GLU error code is
+ /// returned (see ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16 and height is
+ /// 8, the following levels are possible: 16×8, 8×4, 4×2, 2×1, 1×1. These
+ /// correspond to levels 2 through 6 respectively. If min is 3 and
+ /// max is 5, then only mipmap levels 8×4, 4×2 and 2×1 are loaded.
+ /// However, if max is 7 then an error is returned and nothing is loaded
+ /// since max is larger than the highest mipmap level which is, in this
+ /// case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild2DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] byte[, ,] data);
+ #endregion int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] byte[ , , ] data)
+
+ #region int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] double[] data)
+ ///
+ /// Builds a subset of two-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the height, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmapLevels builds a subset of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding four texels in the larger mipmap level. (In the case of
+ /// rectangular images, the decimation will ultimately reach an N×1 or 1×N
+ /// configuration. Here, two texels are averaged instead.)
+ /// is called to load these mipmap levels from
+ /// min to max. If max is larger than the highest mipmap
+ /// level for the texture of the specified size, then a GLU error code is
+ /// returned (see ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16 and height is
+ /// 8, the following levels are possible: 16×8, 8×4, 4×2, 2×1, 1×1. These
+ /// correspond to levels 2 through 6 respectively. If min is 3 and
+ /// max is 5, then only mipmap levels 8×4, 4×2 and 2×1 are loaded.
+ /// However, if max is 7 then an error is returned and nothing is loaded
+ /// since max is larger than the highest mipmap level which is, in this
+ /// case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild2DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] double[] data);
+ #endregion int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] double[] data)
+
+ #region int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] double[ , ] data)
+ ///
+ /// Builds a subset of two-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the height, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmapLevels builds a subset of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding four texels in the larger mipmap level. (In the case of
+ /// rectangular images, the decimation will ultimately reach an N×1 or 1×N
+ /// configuration. Here, two texels are averaged instead.)
+ /// is called to load these mipmap levels from
+ /// min to max. If max is larger than the highest mipmap
+ /// level for the texture of the specified size, then a GLU error code is
+ /// returned (see ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16 and height is
+ /// 8, the following levels are possible: 16×8, 8×4, 4×2, 2×1, 1×1. These
+ /// correspond to levels 2 through 6 respectively. If min is 3 and
+ /// max is 5, then only mipmap levels 8×4, 4×2 and 2×1 are loaded.
+ /// However, if max is 7 then an error is returned and nothing is loaded
+ /// since max is larger than the highest mipmap level which is, in this
+ /// case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild2DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] double[,] data);
+ #endregion int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] double[ , ] data)
+
+ #region int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] double[ , , ] data)
+ ///
+ /// Builds a subset of two-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the height, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmapLevels builds a subset of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding four texels in the larger mipmap level. (In the case of
+ /// rectangular images, the decimation will ultimately reach an N×1 or 1×N
+ /// configuration. Here, two texels are averaged instead.)
+ /// is called to load these mipmap levels from
+ /// min to max. If max is larger than the highest mipmap
+ /// level for the texture of the specified size, then a GLU error code is
+ /// returned (see ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16 and height is
+ /// 8, the following levels are possible: 16×8, 8×4, 4×2, 2×1, 1×1. These
+ /// correspond to levels 2 through 6 respectively. If min is 3 and
+ /// max is 5, then only mipmap levels 8×4, 4×2 and 2×1 are loaded.
+ /// However, if max is 7 then an error is returned and nothing is loaded
+ /// since max is larger than the highest mipmap level which is, in this
+ /// case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild2DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] double[, ,] data);
+ #endregion int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] double[ , , ] data)
+
+ #region int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] short[] data)
+ ///
+ /// Builds a subset of two-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the height, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmapLevels builds a subset of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding four texels in the larger mipmap level. (In the case of
+ /// rectangular images, the decimation will ultimately reach an N×1 or 1×N
+ /// configuration. Here, two texels are averaged instead.)
+ /// is called to load these mipmap levels from
+ /// min to max. If max is larger than the highest mipmap
+ /// level for the texture of the specified size, then a GLU error code is
+ /// returned (see ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16 and height is
+ /// 8, the following levels are possible: 16×8, 8×4, 4×2, 2×1, 1×1. These
+ /// correspond to levels 2 through 6 respectively. If min is 3 and
+ /// max is 5, then only mipmap levels 8×4, 4×2 and 2×1 are loaded.
+ /// However, if max is 7 then an error is returned and nothing is loaded
+ /// since max is larger than the highest mipmap level which is, in this
+ /// case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild2DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] short[] data);
+ #endregion int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] short[] data)
+
+ #region int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] short[ , ] data)
+ ///
+ /// Builds a subset of two-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the height, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmapLevels builds a subset of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding four texels in the larger mipmap level. (In the case of
+ /// rectangular images, the decimation will ultimately reach an N×1 or 1×N
+ /// configuration. Here, two texels are averaged instead.)
+ /// is called to load these mipmap levels from
+ /// min to max. If max is larger than the highest mipmap
+ /// level for the texture of the specified size, then a GLU error code is
+ /// returned (see ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16 and height is
+ /// 8, the following levels are possible: 16×8, 8×4, 4×2, 2×1, 1×1. These
+ /// correspond to levels 2 through 6 respectively. If min is 3 and
+ /// max is 5, then only mipmap levels 8×4, 4×2 and 2×1 are loaded.
+ /// However, if max is 7 then an error is returned and nothing is loaded
+ /// since max is larger than the highest mipmap level which is, in this
+ /// case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild2DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] short[,] data);
+ #endregion int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] short[ , ] data)
+
+ #region int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] short[ , , ] data)
+ ///
+ /// Builds a subset of two-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the height, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmapLevels builds a subset of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding four texels in the larger mipmap level. (In the case of
+ /// rectangular images, the decimation will ultimately reach an N×1 or 1×N
+ /// configuration. Here, two texels are averaged instead.)
+ /// is called to load these mipmap levels from
+ /// min to max. If max is larger than the highest mipmap
+ /// level for the texture of the specified size, then a GLU error code is
+ /// returned (see ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16 and height is
+ /// 8, the following levels are possible: 16×8, 8×4, 4×2, 2×1, 1×1. These
+ /// correspond to levels 2 through 6 respectively. If min is 3 and
+ /// max is 5, then only mipmap levels 8×4, 4×2 and 2×1 are loaded.
+ /// However, if max is 7 then an error is returned and nothing is loaded
+ /// since max is larger than the highest mipmap level which is, in this
+ /// case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild2DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] short[, ,] data);
+ #endregion int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] short[ , , ] data)
+
+ #region int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] int[] data)
+ ///
+ /// Builds a subset of two-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the height, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmapLevels builds a subset of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding four texels in the larger mipmap level. (In the case of
+ /// rectangular images, the decimation will ultimately reach an N×1 or 1×N
+ /// configuration. Here, two texels are averaged instead.)
+ /// is called to load these mipmap levels from
+ /// min to max. If max is larger than the highest mipmap
+ /// level for the texture of the specified size, then a GLU error code is
+ /// returned (see ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16 and height is
+ /// 8, the following levels are possible: 16×8, 8×4, 4×2, 2×1, 1×1. These
+ /// correspond to levels 2 through 6 respectively. If min is 3 and
+ /// max is 5, then only mipmap levels 8×4, 4×2 and 2×1 are loaded.
+ /// However, if max is 7 then an error is returned and nothing is loaded
+ /// since max is larger than the highest mipmap level which is, in this
+ /// case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild2DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] int[] data);
+ #endregion int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] int[] data)
+
+ #region int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] int[ , ] data)
+ ///
+ /// Builds a subset of two-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the height, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmapLevels builds a subset of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding four texels in the larger mipmap level. (In the case of
+ /// rectangular images, the decimation will ultimately reach an N×1 or 1×N
+ /// configuration. Here, two texels are averaged instead.)
+ /// is called to load these mipmap levels from
+ /// min to max. If max is larger than the highest mipmap
+ /// level for the texture of the specified size, then a GLU error code is
+ /// returned (see ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16 and height is
+ /// 8, the following levels are possible: 16×8, 8×4, 4×2, 2×1, 1×1. These
+ /// correspond to levels 2 through 6 respectively. If min is 3 and
+ /// max is 5, then only mipmap levels 8×4, 4×2 and 2×1 are loaded.
+ /// However, if max is 7 then an error is returned and nothing is loaded
+ /// since max is larger than the highest mipmap level which is, in this
+ /// case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild2DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] int[,] data);
+ #endregion int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] int[ , ] data)
+
+ #region int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] int[ , , ] data)
+ ///
+ /// Builds a subset of two-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the height, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmapLevels builds a subset of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding four texels in the larger mipmap level. (In the case of
+ /// rectangular images, the decimation will ultimately reach an N×1 or 1×N
+ /// configuration. Here, two texels are averaged instead.)
+ /// is called to load these mipmap levels from
+ /// min to max. If max is larger than the highest mipmap
+ /// level for the texture of the specified size, then a GLU error code is
+ /// returned (see ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16 and height is
+ /// 8, the following levels are possible: 16×8, 8×4, 4×2, 2×1, 1×1. These
+ /// correspond to levels 2 through 6 respectively. If min is 3 and
+ /// max is 5, then only mipmap levels 8×4, 4×2 and 2×1 are loaded.
+ /// However, if max is 7 then an error is returned and nothing is loaded
+ /// since max is larger than the highest mipmap level which is, in this
+ /// case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild2DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] int[, ,] data);
+ #endregion int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] int[ , , ] data)
+
+ #region int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] float[] data)
+ ///
+ /// Builds a subset of two-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the height, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmapLevels builds a subset of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding four texels in the larger mipmap level. (In the case of
+ /// rectangular images, the decimation will ultimately reach an N×1 or 1×N
+ /// configuration. Here, two texels are averaged instead.)
+ /// is called to load these mipmap levels from
+ /// min to max. If max is larger than the highest mipmap
+ /// level for the texture of the specified size, then a GLU error code is
+ /// returned (see ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16 and height is
+ /// 8, the following levels are possible: 16×8, 8×4, 4×2, 2×1, 1×1. These
+ /// correspond to levels 2 through 6 respectively. If min is 3 and
+ /// max is 5, then only mipmap levels 8×4, 4×2 and 2×1 are loaded.
+ /// However, if max is 7 then an error is returned and nothing is loaded
+ /// since max is larger than the highest mipmap level which is, in this
+ /// case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild2DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] float[] data);
+ #endregion int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] float[] data)
+
+ #region int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] float[ , ] data)
+ ///
+ /// Builds a subset of two-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the height, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmapLevels builds a subset of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding four texels in the larger mipmap level. (In the case of
+ /// rectangular images, the decimation will ultimately reach an N×1 or 1×N
+ /// configuration. Here, two texels are averaged instead.)
+ /// is called to load these mipmap levels from
+ /// min to max. If max is larger than the highest mipmap
+ /// level for the texture of the specified size, then a GLU error code is
+ /// returned (see ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16 and height is
+ /// 8, the following levels are possible: 16×8, 8×4, 4×2, 2×1, 1×1. These
+ /// correspond to levels 2 through 6 respectively. If min is 3 and
+ /// max is 5, then only mipmap levels 8×4, 4×2 and 2×1 are loaded.
+ /// However, if max is 7 then an error is returned and nothing is loaded
+ /// since max is larger than the highest mipmap level which is, in this
+ /// case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild2DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] float[,] data);
+ #endregion int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] float[ , ] data)
+
+ #region int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] float[ , , ] data)
+ ///
+ /// Builds a subset of two-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the height, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmapLevels builds a subset of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding four texels in the larger mipmap level. (In the case of
+ /// rectangular images, the decimation will ultimately reach an N×1 or 1×N
+ /// configuration. Here, two texels are averaged instead.)
+ /// is called to load these mipmap levels from
+ /// min to max. If max is larger than the highest mipmap
+ /// level for the texture of the specified size, then a GLU error code is
+ /// returned (see ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16 and height is
+ /// 8, the following levels are possible: 16×8, 8×4, 4×2, 2×1, 1×1. These
+ /// correspond to levels 2 through 6 respectively. If min is 3 and
+ /// max is 5, then only mipmap levels 8×4, 4×2 and 2×1 are loaded.
+ /// However, if max is 7 then an error is returned and nothing is loaded
+ /// since max is larger than the highest mipmap level which is, in this
+ /// case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild2DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] float[, ,] data);
+ #endregion int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] float[ , , ] data)
+
+ #region int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] ushort[] data)
+ ///
+ /// Builds a subset of two-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the height, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmapLevels builds a subset of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding four texels in the larger mipmap level. (In the case of
+ /// rectangular images, the decimation will ultimately reach an N×1 or 1×N
+ /// configuration. Here, two texels are averaged instead.)
+ /// is called to load these mipmap levels from
+ /// min to max. If max is larger than the highest mipmap
+ /// level for the texture of the specified size, then a GLU error code is
+ /// returned (see ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16 and height is
+ /// 8, the following levels are possible: 16×8, 8×4, 4×2, 2×1, 1×1. These
+ /// correspond to levels 2 through 6 respectively. If min is 3 and
+ /// max is 5, then only mipmap levels 8×4, 4×2 and 2×1 are loaded.
+ /// However, if max is 7 then an error is returned and nothing is loaded
+ /// since max is larger than the highest mipmap level which is, in this
+ /// case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild2DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] ushort[] data);
+ #endregion int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] ushort[] data)
+
+ #region int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] ushort[ , ] data)
+ ///
+ /// Builds a subset of two-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the height, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmapLevels builds a subset of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding four texels in the larger mipmap level. (In the case of
+ /// rectangular images, the decimation will ultimately reach an N×1 or 1×N
+ /// configuration. Here, two texels are averaged instead.)
+ /// is called to load these mipmap levels from
+ /// min to max. If max is larger than the highest mipmap
+ /// level for the texture of the specified size, then a GLU error code is
+ /// returned (see ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16 and height is
+ /// 8, the following levels are possible: 16×8, 8×4, 4×2, 2×1, 1×1. These
+ /// correspond to levels 2 through 6 respectively. If min is 3 and
+ /// max is 5, then only mipmap levels 8×4, 4×2 and 2×1 are loaded.
+ /// However, if max is 7 then an error is returned and nothing is loaded
+ /// since max is larger than the highest mipmap level which is, in this
+ /// case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild2DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] ushort[,] data);
+ #endregion int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] ushort[ , ] data)
+
+ #region int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] ushort[ , , ] data)
+ ///
+ /// Builds a subset of two-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the height, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmapLevels builds a subset of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding four texels in the larger mipmap level. (In the case of
+ /// rectangular images, the decimation will ultimately reach an N×1 or 1×N
+ /// configuration. Here, two texels are averaged instead.)
+ /// is called to load these mipmap levels from
+ /// min to max. If max is larger than the highest mipmap
+ /// level for the texture of the specified size, then a GLU error code is
+ /// returned (see ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16 and height is
+ /// 8, the following levels are possible: 16×8, 8×4, 4×2, 2×1, 1×1. These
+ /// correspond to levels 2 through 6 respectively. If min is 3 and
+ /// max is 5, then only mipmap levels 8×4, 4×2 and 2×1 are loaded.
+ /// However, if max is 7 then an error is returned and nothing is loaded
+ /// since max is larger than the highest mipmap level which is, in this
+ /// case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild2DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] ushort[, ,] data);
+ #endregion int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] ushort[ , , ] data)
+
+ #region int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] uint[] data)
+ ///
+ /// Builds a subset of two-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the height, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmapLevels builds a subset of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding four texels in the larger mipmap level. (In the case of
+ /// rectangular images, the decimation will ultimately reach an N×1 or 1×N
+ /// configuration. Here, two texels are averaged instead.)
+ /// is called to load these mipmap levels from
+ /// min to max. If max is larger than the highest mipmap
+ /// level for the texture of the specified size, then a GLU error code is
+ /// returned (see ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16 and height is
+ /// 8, the following levels are possible: 16×8, 8×4, 4×2, 2×1, 1×1. These
+ /// correspond to levels 2 through 6 respectively. If min is 3 and
+ /// max is 5, then only mipmap levels 8×4, 4×2 and 2×1 are loaded.
+ /// However, if max is 7 then an error is returned and nothing is loaded
+ /// since max is larger than the highest mipmap level which is, in this
+ /// case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild2DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] uint[] data);
+ #endregion int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] uint[] data)
+
+ #region int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] uint[ , ] data)
+ ///
+ /// Builds a subset of two-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the height, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmapLevels builds a subset of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding four texels in the larger mipmap level. (In the case of
+ /// rectangular images, the decimation will ultimately reach an N×1 or 1×N
+ /// configuration. Here, two texels are averaged instead.)
+ /// is called to load these mipmap levels from
+ /// min to max. If max is larger than the highest mipmap
+ /// level for the texture of the specified size, then a GLU error code is
+ /// returned (see ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16 and height is
+ /// 8, the following levels are possible: 16×8, 8×4, 4×2, 2×1, 1×1. These
+ /// correspond to levels 2 through 6 respectively. If min is 3 and
+ /// max is 5, then only mipmap levels 8×4, 4×2 and 2×1 are loaded.
+ /// However, if max is 7 then an error is returned and nothing is loaded
+ /// since max is larger than the highest mipmap level which is, in this
+ /// case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild2DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] uint[,] data);
+ #endregion int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] uint[ , ] data)
+
+ #region int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] uint[ , , ] data)
+ ///
+ /// Builds a subset of two-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the height, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmapLevels builds a subset of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding four texels in the larger mipmap level. (In the case of
+ /// rectangular images, the decimation will ultimately reach an N×1 or 1×N
+ /// configuration. Here, two texels are averaged instead.)
+ /// is called to load these mipmap levels from
+ /// min to max. If max is larger than the highest mipmap
+ /// level for the texture of the specified size, then a GLU error code is
+ /// returned (see ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16 and height is
+ /// 8, the following levels are possible: 16×8, 8×4, 4×2, 2×1, 1×1. These
+ /// correspond to levels 2 through 6 respectively. If min is 3 and
+ /// max is 5, then only mipmap levels 8×4, 4×2 and 2×1 are loaded.
+ /// However, if max is 7 then an error is returned and nothing is loaded
+ /// since max is larger than the highest mipmap level which is, in this
+ /// case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild2DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] uint[, ,] data);
+ #endregion int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] uint[ , , ] data)
+
+ #region int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] IntPtr data)
+ ///
+ /// Builds a subset of two-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the height, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmapLevels builds a subset of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding four texels in the larger mipmap level. (In the case of
+ /// rectangular images, the decimation will ultimately reach an N×1 or 1×N
+ /// configuration. Here, two texels are averaged instead.)
+ /// is called to load these mipmap levels from
+ /// min to max. If max is larger than the highest mipmap
+ /// level for the texture of the specified size, then a GLU error code is
+ /// returned (see ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16 and height is
+ /// 8, the following levels are possible: 16×8, 8×4, 4×2, 2×1, 1×1. These
+ /// correspond to levels 2 through 6 respectively. If min is 3 and
+ /// max is 5, then only mipmap levels 8×4, 4×2 and 2×1 are loaded.
+ /// However, if max is 7 then an error is returned and nothing is loaded
+ /// since max is larger than the highest mipmap level which is, in this
+ /// case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild2DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] IntPtr data);
+ #endregion int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] IntPtr data)
+
+ #region int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] void *data)
+ ///
+ /// Builds a subset of two-dimensional mipmap levels.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the width, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the height, in pixels, of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmapLevels builds a subset of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding four texels in the larger mipmap level. (In the case of
+ /// rectangular images, the decimation will ultimately reach an N×1 or 1×N
+ /// configuration. Here, two texels are averaged instead.)
+ /// is called to load these mipmap levels from
+ /// min to max. If max is larger than the highest mipmap
+ /// level for the texture of the specified size, then a GLU error code is
+ /// returned (see ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16 and height is
+ /// 8, the following levels are possible: 16×8, 8×4, 4×2, 2×1, 1×1. These
+ /// correspond to levels 2 through 6 respectively. If min is 3 and
+ /// max is 5, then only mipmap levels 8×4, 4×2 and 2×1 are loaded.
+ /// However, if max is 7 then an error is returned and nothing is loaded
+ /// since max is larger than the highest mipmap level which is, in this
+ /// case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild2DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] void* data);
+ #endregion int gluBuild2DMipmapLevels(int target, int internalFormat, int width, int height, int format, int type, int level, int min, int max, [In] void *data)
+
+ #region int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] byte[] data)
+ ///
+ /// Builds a two-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmaps builds a series of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for
+ /// the antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width and height of data are checked to
+ /// see if they are a power of 2. If not, a copy of data (not data
+ /// itself), is scaled up or down to the nearest power of 2. This copy will be
+ /// used for subsequent mipmapping operations described below. (If width
+ /// or height is exactly between powers of 2, then the copy of data
+ /// will scale upwards.) For example, if width is 57 and height is
+ /// 23 then a copy of data will scale up to 64 in width and down to
+ /// 16 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, both
+ /// dimensions are continually halved until it fits. (If the OpenGL version is
+ /// <= 1.0, both maximum texture dimensions are clamped to the value returned
+ /// by with the argument
+ /// .)
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along both dimensions until size 1×1 is reached. At each level, each
+ /// texel in the halved mipmap level is an average of the corresponding four
+ /// texels in the larger mipmap level. (In the case of rectangular images, the
+ /// decimation will ultimately reach an N×1 or 1×N configuration. Here, two
+ /// texels are averaged instead.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height)). For example, if width is 64 and
+ /// height is 16 and the implementation can store a texture of this size,
+ /// the following mipmap levels are built: 64×16, 32×8, 16×4, 8×2, 4×1, 2×1 and
+ /// 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width and height actually used at level 0. (The width and height may not
+ /// be equal to width and height respectively since proxy textures
+ /// might have scaled them to fit the implementation.) Then the maximum level
+ /// can be derived from the formula log2(max(width,height)).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] byte[] data);
+ #endregion int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] byte[] data)
+
+ #region int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] byte[ , ] data)
+ ///
+ /// Builds a two-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmaps builds a series of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for
+ /// the antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width and height of data are checked to
+ /// see if they are a power of 2. If not, a copy of data (not data
+ /// itself), is scaled up or down to the nearest power of 2. This copy will be
+ /// used for subsequent mipmapping operations described below. (If width
+ /// or height is exactly between powers of 2, then the copy of data
+ /// will scale upwards.) For example, if width is 57 and height is
+ /// 23 then a copy of data will scale up to 64 in width and down to
+ /// 16 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, both
+ /// dimensions are continually halved until it fits. (If the OpenGL version is
+ /// <= 1.0, both maximum texture dimensions are clamped to the value returned
+ /// by with the argument
+ /// .)
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along both dimensions until size 1×1 is reached. At each level, each
+ /// texel in the halved mipmap level is an average of the corresponding four
+ /// texels in the larger mipmap level. (In the case of rectangular images, the
+ /// decimation will ultimately reach an N×1 or 1×N configuration. Here, two
+ /// texels are averaged instead.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height)). For example, if width is 64 and
+ /// height is 16 and the implementation can store a texture of this size,
+ /// the following mipmap levels are built: 64×16, 32×8, 16×4, 8×2, 4×1, 2×1 and
+ /// 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width and height actually used at level 0. (The width and height may not
+ /// be equal to width and height respectively since proxy textures
+ /// might have scaled them to fit the implementation.) Then the maximum level
+ /// can be derived from the formula log2(max(width,height)).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] byte[,] data);
+ #endregion int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] byte[ , ] data)
+
+ #region int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] byte[ , , ] data)
+ ///
+ /// Builds a two-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmaps builds a series of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for
+ /// the antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width and height of data are checked to
+ /// see if they are a power of 2. If not, a copy of data (not data
+ /// itself), is scaled up or down to the nearest power of 2. This copy will be
+ /// used for subsequent mipmapping operations described below. (If width
+ /// or height is exactly between powers of 2, then the copy of data
+ /// will scale upwards.) For example, if width is 57 and height is
+ /// 23 then a copy of data will scale up to 64 in width and down to
+ /// 16 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, both
+ /// dimensions are continually halved until it fits. (If the OpenGL version is
+ /// <= 1.0, both maximum texture dimensions are clamped to the value returned
+ /// by with the argument
+ /// .)
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along both dimensions until size 1×1 is reached. At each level, each
+ /// texel in the halved mipmap level is an average of the corresponding four
+ /// texels in the larger mipmap level. (In the case of rectangular images, the
+ /// decimation will ultimately reach an N×1 or 1×N configuration. Here, two
+ /// texels are averaged instead.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height)). For example, if width is 64 and
+ /// height is 16 and the implementation can store a texture of this size,
+ /// the following mipmap levels are built: 64×16, 32×8, 16×4, 8×2, 4×1, 2×1 and
+ /// 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width and height actually used at level 0. (The width and height may not
+ /// be equal to width and height respectively since proxy textures
+ /// might have scaled them to fit the implementation.) Then the maximum level
+ /// can be derived from the formula log2(max(width,height)).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] byte[, ,] data);
+ #endregion int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] byte[ , , ] data)
+
+ #region int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] double[] data)
+ ///
+ /// Builds a two-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmaps builds a series of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for
+ /// the antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width and height of data are checked to
+ /// see if they are a power of 2. If not, a copy of data (not data
+ /// itself), is scaled up or down to the nearest power of 2. This copy will be
+ /// used for subsequent mipmapping operations described below. (If width
+ /// or height is exactly between powers of 2, then the copy of data
+ /// will scale upwards.) For example, if width is 57 and height is
+ /// 23 then a copy of data will scale up to 64 in width and down to
+ /// 16 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, both
+ /// dimensions are continually halved until it fits. (If the OpenGL version is
+ /// <= 1.0, both maximum texture dimensions are clamped to the value returned
+ /// by with the argument
+ /// .)
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along both dimensions until size 1×1 is reached. At each level, each
+ /// texel in the halved mipmap level is an average of the corresponding four
+ /// texels in the larger mipmap level. (In the case of rectangular images, the
+ /// decimation will ultimately reach an N×1 or 1×N configuration. Here, two
+ /// texels are averaged instead.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height)). For example, if width is 64 and
+ /// height is 16 and the implementation can store a texture of this size,
+ /// the following mipmap levels are built: 64×16, 32×8, 16×4, 8×2, 4×1, 2×1 and
+ /// 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width and height actually used at level 0. (The width and height may not
+ /// be equal to width and height respectively since proxy textures
+ /// might have scaled them to fit the implementation.) Then the maximum level
+ /// can be derived from the formula log2(max(width,height)).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] double[] data);
+ #endregion int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] double[] data)
+
+ #region int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] double[ , ] data)
+ ///
+ /// Builds a two-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmaps builds a series of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for
+ /// the antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width and height of data are checked to
+ /// see if they are a power of 2. If not, a copy of data (not data
+ /// itself), is scaled up or down to the nearest power of 2. This copy will be
+ /// used for subsequent mipmapping operations described below. (If width
+ /// or height is exactly between powers of 2, then the copy of data
+ /// will scale upwards.) For example, if width is 57 and height is
+ /// 23 then a copy of data will scale up to 64 in width and down to
+ /// 16 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, both
+ /// dimensions are continually halved until it fits. (If the OpenGL version is
+ /// <= 1.0, both maximum texture dimensions are clamped to the value returned
+ /// by with the argument
+ /// .)
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along both dimensions until size 1×1 is reached. At each level, each
+ /// texel in the halved mipmap level is an average of the corresponding four
+ /// texels in the larger mipmap level. (In the case of rectangular images, the
+ /// decimation will ultimately reach an N×1 or 1×N configuration. Here, two
+ /// texels are averaged instead.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height)). For example, if width is 64 and
+ /// height is 16 and the implementation can store a texture of this size,
+ /// the following mipmap levels are built: 64×16, 32×8, 16×4, 8×2, 4×1, 2×1 and
+ /// 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width and height actually used at level 0. (The width and height may not
+ /// be equal to width and height respectively since proxy textures
+ /// might have scaled them to fit the implementation.) Then the maximum level
+ /// can be derived from the formula log2(max(width,height)).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] double[,] data);
+ #endregion int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] double[ , ] data)
+
+ #region int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] double[ , , ] data)
+ ///
+ /// Builds a two-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmaps builds a series of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for
+ /// the antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width and height of data are checked to
+ /// see if they are a power of 2. If not, a copy of data (not data
+ /// itself), is scaled up or down to the nearest power of 2. This copy will be
+ /// used for subsequent mipmapping operations described below. (If width
+ /// or height is exactly between powers of 2, then the copy of data
+ /// will scale upwards.) For example, if width is 57 and height is
+ /// 23 then a copy of data will scale up to 64 in width and down to
+ /// 16 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, both
+ /// dimensions are continually halved until it fits. (If the OpenGL version is
+ /// <= 1.0, both maximum texture dimensions are clamped to the value returned
+ /// by with the argument
+ /// .)
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along both dimensions until size 1×1 is reached. At each level, each
+ /// texel in the halved mipmap level is an average of the corresponding four
+ /// texels in the larger mipmap level. (In the case of rectangular images, the
+ /// decimation will ultimately reach an N×1 or 1×N configuration. Here, two
+ /// texels are averaged instead.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height)). For example, if width is 64 and
+ /// height is 16 and the implementation can store a texture of this size,
+ /// the following mipmap levels are built: 64×16, 32×8, 16×4, 8×2, 4×1, 2×1 and
+ /// 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width and height actually used at level 0. (The width and height may not
+ /// be equal to width and height respectively since proxy textures
+ /// might have scaled them to fit the implementation.) Then the maximum level
+ /// can be derived from the formula log2(max(width,height)).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] double[, ,] data);
+ #endregion int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] double[ , , ] data)
+
+ #region int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] short[] data)
+ ///
+ /// Builds a two-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmaps builds a series of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for
+ /// the antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width and height of data are checked to
+ /// see if they are a power of 2. If not, a copy of data (not data
+ /// itself), is scaled up or down to the nearest power of 2. This copy will be
+ /// used for subsequent mipmapping operations described below. (If width
+ /// or height is exactly between powers of 2, then the copy of data
+ /// will scale upwards.) For example, if width is 57 and height is
+ /// 23 then a copy of data will scale up to 64 in width and down to
+ /// 16 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, both
+ /// dimensions are continually halved until it fits. (If the OpenGL version is
+ /// <= 1.0, both maximum texture dimensions are clamped to the value returned
+ /// by with the argument
+ /// .)
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along both dimensions until size 1×1 is reached. At each level, each
+ /// texel in the halved mipmap level is an average of the corresponding four
+ /// texels in the larger mipmap level. (In the case of rectangular images, the
+ /// decimation will ultimately reach an N×1 or 1×N configuration. Here, two
+ /// texels are averaged instead.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height)). For example, if width is 64 and
+ /// height is 16 and the implementation can store a texture of this size,
+ /// the following mipmap levels are built: 64×16, 32×8, 16×4, 8×2, 4×1, 2×1 and
+ /// 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width and height actually used at level 0. (The width and height may not
+ /// be equal to width and height respectively since proxy textures
+ /// might have scaled them to fit the implementation.) Then the maximum level
+ /// can be derived from the formula log2(max(width,height)).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] short[] data);
+ #endregion int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] short[] data)
+
+ #region int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] short[ , ] data)
+ ///
+ /// Builds a two-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmaps builds a series of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for
+ /// the antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width and height of data are checked to
+ /// see if they are a power of 2. If not, a copy of data (not data
+ /// itself), is scaled up or down to the nearest power of 2. This copy will be
+ /// used for subsequent mipmapping operations described below. (If width
+ /// or height is exactly between powers of 2, then the copy of data
+ /// will scale upwards.) For example, if width is 57 and height is
+ /// 23 then a copy of data will scale up to 64 in width and down to
+ /// 16 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, both
+ /// dimensions are continually halved until it fits. (If the OpenGL version is
+ /// <= 1.0, both maximum texture dimensions are clamped to the value returned
+ /// by with the argument
+ /// .)
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along both dimensions until size 1×1 is reached. At each level, each
+ /// texel in the halved mipmap level is an average of the corresponding four
+ /// texels in the larger mipmap level. (In the case of rectangular images, the
+ /// decimation will ultimately reach an N×1 or 1×N configuration. Here, two
+ /// texels are averaged instead.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height)). For example, if width is 64 and
+ /// height is 16 and the implementation can store a texture of this size,
+ /// the following mipmap levels are built: 64×16, 32×8, 16×4, 8×2, 4×1, 2×1 and
+ /// 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width and height actually used at level 0. (The width and height may not
+ /// be equal to width and height respectively since proxy textures
+ /// might have scaled them to fit the implementation.) Then the maximum level
+ /// can be derived from the formula log2(max(width,height)).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] short[,] data);
+ #endregion int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] short[ , ] data)
+
+ #region int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] short[ , , ] data)
+ ///
+ /// Builds a two-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmaps builds a series of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for
+ /// the antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width and height of data are checked to
+ /// see if they are a power of 2. If not, a copy of data (not data
+ /// itself), is scaled up or down to the nearest power of 2. This copy will be
+ /// used for subsequent mipmapping operations described below. (If width
+ /// or height is exactly between powers of 2, then the copy of data
+ /// will scale upwards.) For example, if width is 57 and height is
+ /// 23 then a copy of data will scale up to 64 in width and down to
+ /// 16 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, both
+ /// dimensions are continually halved until it fits. (If the OpenGL version is
+ /// <= 1.0, both maximum texture dimensions are clamped to the value returned
+ /// by with the argument
+ /// .)
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along both dimensions until size 1×1 is reached. At each level, each
+ /// texel in the halved mipmap level is an average of the corresponding four
+ /// texels in the larger mipmap level. (In the case of rectangular images, the
+ /// decimation will ultimately reach an N×1 or 1×N configuration. Here, two
+ /// texels are averaged instead.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height)). For example, if width is 64 and
+ /// height is 16 and the implementation can store a texture of this size,
+ /// the following mipmap levels are built: 64×16, 32×8, 16×4, 8×2, 4×1, 2×1 and
+ /// 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width and height actually used at level 0. (The width and height may not
+ /// be equal to width and height respectively since proxy textures
+ /// might have scaled them to fit the implementation.) Then the maximum level
+ /// can be derived from the formula log2(max(width,height)).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] short[, ,] data);
+ #endregion int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] short[ , , ] data)
+
+ #region int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] int[] data)
+ ///
+ /// Builds a two-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmaps builds a series of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for
+ /// the antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width and height of data are checked to
+ /// see if they are a power of 2. If not, a copy of data (not data
+ /// itself), is scaled up or down to the nearest power of 2. This copy will be
+ /// used for subsequent mipmapping operations described below. (If width
+ /// or height is exactly between powers of 2, then the copy of data
+ /// will scale upwards.) For example, if width is 57 and height is
+ /// 23 then a copy of data will scale up to 64 in width and down to
+ /// 16 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, both
+ /// dimensions are continually halved until it fits. (If the OpenGL version is
+ /// <= 1.0, both maximum texture dimensions are clamped to the value returned
+ /// by with the argument
+ /// .)
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along both dimensions until size 1×1 is reached. At each level, each
+ /// texel in the halved mipmap level is an average of the corresponding four
+ /// texels in the larger mipmap level. (In the case of rectangular images, the
+ /// decimation will ultimately reach an N×1 or 1×N configuration. Here, two
+ /// texels are averaged instead.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height)). For example, if width is 64 and
+ /// height is 16 and the implementation can store a texture of this size,
+ /// the following mipmap levels are built: 64×16, 32×8, 16×4, 8×2, 4×1, 2×1 and
+ /// 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width and height actually used at level 0. (The width and height may not
+ /// be equal to width and height respectively since proxy textures
+ /// might have scaled them to fit the implementation.) Then the maximum level
+ /// can be derived from the formula log2(max(width,height)).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] int[] data);
+ #endregion int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] int[] data)
+
+ #region int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] int[ , ] data)
+ ///
+ /// Builds a two-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmaps builds a series of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for
+ /// the antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width and height of data are checked to
+ /// see if they are a power of 2. If not, a copy of data (not data
+ /// itself), is scaled up or down to the nearest power of 2. This copy will be
+ /// used for subsequent mipmapping operations described below. (If width
+ /// or height is exactly between powers of 2, then the copy of data
+ /// will scale upwards.) For example, if width is 57 and height is
+ /// 23 then a copy of data will scale up to 64 in width and down to
+ /// 16 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, both
+ /// dimensions are continually halved until it fits. (If the OpenGL version is
+ /// <= 1.0, both maximum texture dimensions are clamped to the value returned
+ /// by with the argument
+ /// .)
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along both dimensions until size 1×1 is reached. At each level, each
+ /// texel in the halved mipmap level is an average of the corresponding four
+ /// texels in the larger mipmap level. (In the case of rectangular images, the
+ /// decimation will ultimately reach an N×1 or 1×N configuration. Here, two
+ /// texels are averaged instead.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height)). For example, if width is 64 and
+ /// height is 16 and the implementation can store a texture of this size,
+ /// the following mipmap levels are built: 64×16, 32×8, 16×4, 8×2, 4×1, 2×1 and
+ /// 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width and height actually used at level 0. (The width and height may not
+ /// be equal to width and height respectively since proxy textures
+ /// might have scaled them to fit the implementation.) Then the maximum level
+ /// can be derived from the formula log2(max(width,height)).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] int[,] data);
+ #endregion int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] int[ , ] data)
+
+ #region int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] int[ , , ] data)
+ ///
+ /// Builds a two-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmaps builds a series of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for
+ /// the antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width and height of data are checked to
+ /// see if they are a power of 2. If not, a copy of data (not data
+ /// itself), is scaled up or down to the nearest power of 2. This copy will be
+ /// used for subsequent mipmapping operations described below. (If width
+ /// or height is exactly between powers of 2, then the copy of data
+ /// will scale upwards.) For example, if width is 57 and height is
+ /// 23 then a copy of data will scale up to 64 in width and down to
+ /// 16 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, both
+ /// dimensions are continually halved until it fits. (If the OpenGL version is
+ /// <= 1.0, both maximum texture dimensions are clamped to the value returned
+ /// by with the argument
+ /// .)
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along both dimensions until size 1×1 is reached. At each level, each
+ /// texel in the halved mipmap level is an average of the corresponding four
+ /// texels in the larger mipmap level. (In the case of rectangular images, the
+ /// decimation will ultimately reach an N×1 or 1×N configuration. Here, two
+ /// texels are averaged instead.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height)). For example, if width is 64 and
+ /// height is 16 and the implementation can store a texture of this size,
+ /// the following mipmap levels are built: 64×16, 32×8, 16×4, 8×2, 4×1, 2×1 and
+ /// 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width and height actually used at level 0. (The width and height may not
+ /// be equal to width and height respectively since proxy textures
+ /// might have scaled them to fit the implementation.) Then the maximum level
+ /// can be derived from the formula log2(max(width,height)).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] int[, ,] data);
+ #endregion int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] int[ , , ] data)
+
+ #region int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] float[] data)
+ ///
+ /// Builds a two-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmaps builds a series of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for
+ /// the antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width and height of data are checked to
+ /// see if they are a power of 2. If not, a copy of data (not data
+ /// itself), is scaled up or down to the nearest power of 2. This copy will be
+ /// used for subsequent mipmapping operations described below. (If width
+ /// or height is exactly between powers of 2, then the copy of data
+ /// will scale upwards.) For example, if width is 57 and height is
+ /// 23 then a copy of data will scale up to 64 in width and down to
+ /// 16 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, both
+ /// dimensions are continually halved until it fits. (If the OpenGL version is
+ /// <= 1.0, both maximum texture dimensions are clamped to the value returned
+ /// by with the argument
+ /// .)
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along both dimensions until size 1×1 is reached. At each level, each
+ /// texel in the halved mipmap level is an average of the corresponding four
+ /// texels in the larger mipmap level. (In the case of rectangular images, the
+ /// decimation will ultimately reach an N×1 or 1×N configuration. Here, two
+ /// texels are averaged instead.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height)). For example, if width is 64 and
+ /// height is 16 and the implementation can store a texture of this size,
+ /// the following mipmap levels are built: 64×16, 32×8, 16×4, 8×2, 4×1, 2×1 and
+ /// 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width and height actually used at level 0. (The width and height may not
+ /// be equal to width and height respectively since proxy textures
+ /// might have scaled them to fit the implementation.) Then the maximum level
+ /// can be derived from the formula log2(max(width,height)).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] float[] data);
+ #endregion int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] float[] data)
+
+ #region int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] float[ , ] data)
+ ///
+ /// Builds a two-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmaps builds a series of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for
+ /// the antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width and height of data are checked to
+ /// see if they are a power of 2. If not, a copy of data (not data
+ /// itself), is scaled up or down to the nearest power of 2. This copy will be
+ /// used for subsequent mipmapping operations described below. (If width
+ /// or height is exactly between powers of 2, then the copy of data
+ /// will scale upwards.) For example, if width is 57 and height is
+ /// 23 then a copy of data will scale up to 64 in width and down to
+ /// 16 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, both
+ /// dimensions are continually halved until it fits. (If the OpenGL version is
+ /// <= 1.0, both maximum texture dimensions are clamped to the value returned
+ /// by with the argument
+ /// .)
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along both dimensions until size 1×1 is reached. At each level, each
+ /// texel in the halved mipmap level is an average of the corresponding four
+ /// texels in the larger mipmap level. (In the case of rectangular images, the
+ /// decimation will ultimately reach an N×1 or 1×N configuration. Here, two
+ /// texels are averaged instead.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height)). For example, if width is 64 and
+ /// height is 16 and the implementation can store a texture of this size,
+ /// the following mipmap levels are built: 64×16, 32×8, 16×4, 8×2, 4×1, 2×1 and
+ /// 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width and height actually used at level 0. (The width and height may not
+ /// be equal to width and height respectively since proxy textures
+ /// might have scaled them to fit the implementation.) Then the maximum level
+ /// can be derived from the formula log2(max(width,height)).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] float[,] data);
+ #endregion int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] float[ , ] data)
+
+ #region int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] float[ , , ] data)
+ ///
+ /// Builds a two-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmaps builds a series of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for
+ /// the antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width and height of data are checked to
+ /// see if they are a power of 2. If not, a copy of data (not data
+ /// itself), is scaled up or down to the nearest power of 2. This copy will be
+ /// used for subsequent mipmapping operations described below. (If width
+ /// or height is exactly between powers of 2, then the copy of data
+ /// will scale upwards.) For example, if width is 57 and height is
+ /// 23 then a copy of data will scale up to 64 in width and down to
+ /// 16 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, both
+ /// dimensions are continually halved until it fits. (If the OpenGL version is
+ /// <= 1.0, both maximum texture dimensions are clamped to the value returned
+ /// by with the argument
+ /// .)
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along both dimensions until size 1×1 is reached. At each level, each
+ /// texel in the halved mipmap level is an average of the corresponding four
+ /// texels in the larger mipmap level. (In the case of rectangular images, the
+ /// decimation will ultimately reach an N×1 or 1×N configuration. Here, two
+ /// texels are averaged instead.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height)). For example, if width is 64 and
+ /// height is 16 and the implementation can store a texture of this size,
+ /// the following mipmap levels are built: 64×16, 32×8, 16×4, 8×2, 4×1, 2×1 and
+ /// 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width and height actually used at level 0. (The width and height may not
+ /// be equal to width and height respectively since proxy textures
+ /// might have scaled them to fit the implementation.) Then the maximum level
+ /// can be derived from the formula log2(max(width,height)).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] float[, ,] data);
+ #endregion int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] float[ , , ] data)
+
+ #region int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] ushort[] data)
+ ///
+ /// Builds a two-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmaps builds a series of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for
+ /// the antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width and height of data are checked to
+ /// see if they are a power of 2. If not, a copy of data (not data
+ /// itself), is scaled up or down to the nearest power of 2. This copy will be
+ /// used for subsequent mipmapping operations described below. (If width
+ /// or height is exactly between powers of 2, then the copy of data
+ /// will scale upwards.) For example, if width is 57 and height is
+ /// 23 then a copy of data will scale up to 64 in width and down to
+ /// 16 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, both
+ /// dimensions are continually halved until it fits. (If the OpenGL version is
+ /// <= 1.0, both maximum texture dimensions are clamped to the value returned
+ /// by with the argument
+ /// .)
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along both dimensions until size 1×1 is reached. At each level, each
+ /// texel in the halved mipmap level is an average of the corresponding four
+ /// texels in the larger mipmap level. (In the case of rectangular images, the
+ /// decimation will ultimately reach an N×1 or 1×N configuration. Here, two
+ /// texels are averaged instead.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height)). For example, if width is 64 and
+ /// height is 16 and the implementation can store a texture of this size,
+ /// the following mipmap levels are built: 64×16, 32×8, 16×4, 8×2, 4×1, 2×1 and
+ /// 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width and height actually used at level 0. (The width and height may not
+ /// be equal to width and height respectively since proxy textures
+ /// might have scaled them to fit the implementation.) Then the maximum level
+ /// can be derived from the formula log2(max(width,height)).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] ushort[] data);
+ #endregion int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] ushort[] data)
+
+ #region int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] ushort[ , ] data)
+ ///
+ /// Builds a two-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmaps builds a series of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for
+ /// the antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width and height of data are checked to
+ /// see if they are a power of 2. If not, a copy of data (not data
+ /// itself), is scaled up or down to the nearest power of 2. This copy will be
+ /// used for subsequent mipmapping operations described below. (If width
+ /// or height is exactly between powers of 2, then the copy of data
+ /// will scale upwards.) For example, if width is 57 and height is
+ /// 23 then a copy of data will scale up to 64 in width and down to
+ /// 16 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, both
+ /// dimensions are continually halved until it fits. (If the OpenGL version is
+ /// <= 1.0, both maximum texture dimensions are clamped to the value returned
+ /// by with the argument
+ /// .)
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along both dimensions until size 1×1 is reached. At each level, each
+ /// texel in the halved mipmap level is an average of the corresponding four
+ /// texels in the larger mipmap level. (In the case of rectangular images, the
+ /// decimation will ultimately reach an N×1 or 1×N configuration. Here, two
+ /// texels are averaged instead.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height)). For example, if width is 64 and
+ /// height is 16 and the implementation can store a texture of this size,
+ /// the following mipmap levels are built: 64×16, 32×8, 16×4, 8×2, 4×1, 2×1 and
+ /// 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width and height actually used at level 0. (The width and height may not
+ /// be equal to width and height respectively since proxy textures
+ /// might have scaled them to fit the implementation.) Then the maximum level
+ /// can be derived from the formula log2(max(width,height)).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] ushort[,] data);
+ #endregion int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] ushort[ , ] data)
+
+ #region int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] ushort[ , , ] data)
+ ///
+ /// Builds a two-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmaps builds a series of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for
+ /// the antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width and height of data are checked to
+ /// see if they are a power of 2. If not, a copy of data (not data
+ /// itself), is scaled up or down to the nearest power of 2. This copy will be
+ /// used for subsequent mipmapping operations described below. (If width
+ /// or height is exactly between powers of 2, then the copy of data
+ /// will scale upwards.) For example, if width is 57 and height is
+ /// 23 then a copy of data will scale up to 64 in width and down to
+ /// 16 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, both
+ /// dimensions are continually halved until it fits. (If the OpenGL version is
+ /// <= 1.0, both maximum texture dimensions are clamped to the value returned
+ /// by with the argument
+ /// .)
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along both dimensions until size 1×1 is reached. At each level, each
+ /// texel in the halved mipmap level is an average of the corresponding four
+ /// texels in the larger mipmap level. (In the case of rectangular images, the
+ /// decimation will ultimately reach an N×1 or 1×N configuration. Here, two
+ /// texels are averaged instead.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height)). For example, if width is 64 and
+ /// height is 16 and the implementation can store a texture of this size,
+ /// the following mipmap levels are built: 64×16, 32×8, 16×4, 8×2, 4×1, 2×1 and
+ /// 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width and height actually used at level 0. (The width and height may not
+ /// be equal to width and height respectively since proxy textures
+ /// might have scaled them to fit the implementation.) Then the maximum level
+ /// can be derived from the formula log2(max(width,height)).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] ushort[, ,] data);
+ #endregion int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] ushort[ , , ] data)
+
+ #region int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] uint[] data)
+ ///
+ /// Builds a two-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmaps builds a series of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for
+ /// the antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width and height of data are checked to
+ /// see if they are a power of 2. If not, a copy of data (not data
+ /// itself), is scaled up or down to the nearest power of 2. This copy will be
+ /// used for subsequent mipmapping operations described below. (If width
+ /// or height is exactly between powers of 2, then the copy of data
+ /// will scale upwards.) For example, if width is 57 and height is
+ /// 23 then a copy of data will scale up to 64 in width and down to
+ /// 16 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, both
+ /// dimensions are continually halved until it fits. (If the OpenGL version is
+ /// <= 1.0, both maximum texture dimensions are clamped to the value returned
+ /// by with the argument
+ /// .)
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along both dimensions until size 1×1 is reached. At each level, each
+ /// texel in the halved mipmap level is an average of the corresponding four
+ /// texels in the larger mipmap level. (In the case of rectangular images, the
+ /// decimation will ultimately reach an N×1 or 1×N configuration. Here, two
+ /// texels are averaged instead.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height)). For example, if width is 64 and
+ /// height is 16 and the implementation can store a texture of this size,
+ /// the following mipmap levels are built: 64×16, 32×8, 16×4, 8×2, 4×1, 2×1 and
+ /// 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width and height actually used at level 0. (The width and height may not
+ /// be equal to width and height respectively since proxy textures
+ /// might have scaled them to fit the implementation.) Then the maximum level
+ /// can be derived from the formula log2(max(width,height)).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] uint[] data);
+ #endregion int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] uint[] data)
+
+ #region int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] uint[ , ] data)
+ ///
+ /// Builds a two-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmaps builds a series of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for
+ /// the antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width and height of data are checked to
+ /// see if they are a power of 2. If not, a copy of data (not data
+ /// itself), is scaled up or down to the nearest power of 2. This copy will be
+ /// used for subsequent mipmapping operations described below. (If width
+ /// or height is exactly between powers of 2, then the copy of data
+ /// will scale upwards.) For example, if width is 57 and height is
+ /// 23 then a copy of data will scale up to 64 in width and down to
+ /// 16 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, both
+ /// dimensions are continually halved until it fits. (If the OpenGL version is
+ /// <= 1.0, both maximum texture dimensions are clamped to the value returned
+ /// by with the argument
+ /// .)
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along both dimensions until size 1×1 is reached. At each level, each
+ /// texel in the halved mipmap level is an average of the corresponding four
+ /// texels in the larger mipmap level. (In the case of rectangular images, the
+ /// decimation will ultimately reach an N×1 or 1×N configuration. Here, two
+ /// texels are averaged instead.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height)). For example, if width is 64 and
+ /// height is 16 and the implementation can store a texture of this size,
+ /// the following mipmap levels are built: 64×16, 32×8, 16×4, 8×2, 4×1, 2×1 and
+ /// 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width and height actually used at level 0. (The width and height may not
+ /// be equal to width and height respectively since proxy textures
+ /// might have scaled them to fit the implementation.) Then the maximum level
+ /// can be derived from the formula log2(max(width,height)).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] uint[,] data);
+ #endregion int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] uint[ , ] data)
+
+ #region int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] uint[ , , ] data)
+ ///
+ /// Builds a two-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmaps builds a series of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for
+ /// the antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width and height of data are checked to
+ /// see if they are a power of 2. If not, a copy of data (not data
+ /// itself), is scaled up or down to the nearest power of 2. This copy will be
+ /// used for subsequent mipmapping operations described below. (If width
+ /// or height is exactly between powers of 2, then the copy of data
+ /// will scale upwards.) For example, if width is 57 and height is
+ /// 23 then a copy of data will scale up to 64 in width and down to
+ /// 16 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, both
+ /// dimensions are continually halved until it fits. (If the OpenGL version is
+ /// <= 1.0, both maximum texture dimensions are clamped to the value returned
+ /// by with the argument
+ /// .)
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along both dimensions until size 1×1 is reached. At each level, each
+ /// texel in the halved mipmap level is an average of the corresponding four
+ /// texels in the larger mipmap level. (In the case of rectangular images, the
+ /// decimation will ultimately reach an N×1 or 1×N configuration. Here, two
+ /// texels are averaged instead.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height)). For example, if width is 64 and
+ /// height is 16 and the implementation can store a texture of this size,
+ /// the following mipmap levels are built: 64×16, 32×8, 16×4, 8×2, 4×1, 2×1 and
+ /// 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width and height actually used at level 0. (The width and height may not
+ /// be equal to width and height respectively since proxy textures
+ /// might have scaled them to fit the implementation.) Then the maximum level
+ /// can be derived from the formula log2(max(width,height)).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] uint[, ,] data);
+ #endregion int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] uint[ , , ] data)
+
+ #region int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] IntPtr data)
+ ///
+ /// Builds a two-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmaps builds a series of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for
+ /// the antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width and height of data are checked to
+ /// see if they are a power of 2. If not, a copy of data (not data
+ /// itself), is scaled up or down to the nearest power of 2. This copy will be
+ /// used for subsequent mipmapping operations described below. (If width
+ /// or height is exactly between powers of 2, then the copy of data
+ /// will scale upwards.) For example, if width is 57 and height is
+ /// 23 then a copy of data will scale up to 64 in width and down to
+ /// 16 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, both
+ /// dimensions are continually halved until it fits. (If the OpenGL version is
+ /// <= 1.0, both maximum texture dimensions are clamped to the value returned
+ /// by with the argument
+ /// .)
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along both dimensions until size 1×1 is reached. At each level, each
+ /// texel in the halved mipmap level is an average of the corresponding four
+ /// texels in the larger mipmap level. (In the case of rectangular images, the
+ /// decimation will ultimately reach an N×1 or 1×N configuration. Here, two
+ /// texels are averaged instead.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height)). For example, if width is 64 and
+ /// height is 16 and the implementation can store a texture of this size,
+ /// the following mipmap levels are built: 64×16, 32×8, 16×4, 8×2, 4×1, 2×1 and
+ /// 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width and height actually used at level 0. (The width and height may not
+ /// be equal to width and height respectively since proxy textures
+ /// might have scaled them to fit the implementation.) Then the maximum level
+ /// can be derived from the formula log2(max(width,height)).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] IntPtr data);
+ #endregion int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] IntPtr data)
+
+ #region int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] void *data)
+ ///
+ /// Builds a two-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild2DMipmaps builds a series of prefiltered two-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for
+ /// the antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width and height of data are checked to
+ /// see if they are a power of 2. If not, a copy of data (not data
+ /// itself), is scaled up or down to the nearest power of 2. This copy will be
+ /// used for subsequent mipmapping operations described below. (If width
+ /// or height is exactly between powers of 2, then the copy of data
+ /// will scale upwards.) For example, if width is 57 and height is
+ /// 23 then a copy of data will scale up to 64 in width and down to
+ /// 16 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, both
+ /// dimensions are continually halved until it fits. (If the OpenGL version is
+ /// <= 1.0, both maximum texture dimensions are clamped to the value returned
+ /// by with the argument
+ /// .)
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along both dimensions until size 1×1 is reached. At each level, each
+ /// texel in the halved mipmap level is an average of the corresponding four
+ /// texels in the larger mipmap level. (In the case of rectangular images, the
+ /// decimation will ultimately reach an N×1 or 1×N configuration. Here, two
+ /// texels are averaged instead.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height)). For example, if width is 64 and
+ /// height is 16 and the implementation can store a texture of this size,
+ /// the following mipmap levels are built: 64×16, 32×8, 16×4, 8×2, 4×1, 2×1 and
+ /// 1×1. These correspond to levels 0 through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width and height actually used at level 0. (The width and height may not
+ /// be equal to width and height respectively since proxy textures
+ /// might have scaled them to fit the implementation.) Then the maximum level
+ /// can be derived from the formula log2(max(width,height)).
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater and if the GLU version is 1.3 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width or height
+ /// is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] void* data);
+ #endregion int gluBuild2DMipmaps(int target, int internalFormat, int width, int height, int format, int type, [In] void *data)
+
+ #region int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] byte[] data)
+ ///
+ /// Builds a subset of three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the depth of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmapLevels builds a subset of prefiltered
+ /// three-dimensional texture maps of decreasing resolutions called a mipmap.
+ /// This is used for the antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding eight texels in the larger mipmap level. (If exactly
+ /// one of the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ /// is called to load these mipmap levels from min to max. If
+ /// max is larger than the highest mipmap level for the texture of the
+ /// specified size, then a GLU error code is returned (see
+ /// ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, height is 8
+ /// and depth is 4, the following levels are possible: 16×8×4, 8×4×2,
+ /// 4×2×1, 2×1×1, 1×1×1. These correspond to levels 2 through 6 respectively.
+ /// If min is 3 and max is 5, then only mipmap levels 8×4×2,
+ /// 4×2×1 and 2×1×1 are loaded. However, if max is 7 then an error is
+ /// returned and nothing is loaded since max is larger than the highest
+ /// mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height,depth)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild3DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] byte[] data);
+ #endregion int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] byte[] data)
+
+ #region int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] byte[ , ] data)
+ ///
+ /// Builds a subset of three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the depth of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmapLevels builds a subset of prefiltered
+ /// three-dimensional texture maps of decreasing resolutions called a mipmap.
+ /// This is used for the antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding eight texels in the larger mipmap level. (If exactly
+ /// one of the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ /// is called to load these mipmap levels from min to max. If
+ /// max is larger than the highest mipmap level for the texture of the
+ /// specified size, then a GLU error code is returned (see
+ /// ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, height is 8
+ /// and depth is 4, the following levels are possible: 16×8×4, 8×4×2,
+ /// 4×2×1, 2×1×1, 1×1×1. These correspond to levels 2 through 6 respectively.
+ /// If min is 3 and max is 5, then only mipmap levels 8×4×2,
+ /// 4×2×1 and 2×1×1 are loaded. However, if max is 7 then an error is
+ /// returned and nothing is loaded since max is larger than the highest
+ /// mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height,depth)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild3DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] byte[,] data);
+ #endregion int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] byte[ , ] data)
+
+ #region int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] byte[ , , ] data)
+ ///
+ /// Builds a subset of three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the depth of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmapLevels builds a subset of prefiltered
+ /// three-dimensional texture maps of decreasing resolutions called a mipmap.
+ /// This is used for the antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding eight texels in the larger mipmap level. (If exactly
+ /// one of the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ /// is called to load these mipmap levels from min to max. If
+ /// max is larger than the highest mipmap level for the texture of the
+ /// specified size, then a GLU error code is returned (see
+ /// ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, height is 8
+ /// and depth is 4, the following levels are possible: 16×8×4, 8×4×2,
+ /// 4×2×1, 2×1×1, 1×1×1. These correspond to levels 2 through 6 respectively.
+ /// If min is 3 and max is 5, then only mipmap levels 8×4×2,
+ /// 4×2×1 and 2×1×1 are loaded. However, if max is 7 then an error is
+ /// returned and nothing is loaded since max is larger than the highest
+ /// mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height,depth)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild3DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] byte[, ,] data);
+ #endregion int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] byte[ , , ] data)
+
+ #region int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] double[] data)
+ ///
+ /// Builds a subset of three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the depth of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmapLevels builds a subset of prefiltered
+ /// three-dimensional texture maps of decreasing resolutions called a mipmap.
+ /// This is used for the antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding eight texels in the larger mipmap level. (If exactly
+ /// one of the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ /// is called to load these mipmap levels from min to max. If
+ /// max is larger than the highest mipmap level for the texture of the
+ /// specified size, then a GLU error code is returned (see
+ /// ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, height is 8
+ /// and depth is 4, the following levels are possible: 16×8×4, 8×4×2,
+ /// 4×2×1, 2×1×1, 1×1×1. These correspond to levels 2 through 6 respectively.
+ /// If min is 3 and max is 5, then only mipmap levels 8×4×2,
+ /// 4×2×1 and 2×1×1 are loaded. However, if max is 7 then an error is
+ /// returned and nothing is loaded since max is larger than the highest
+ /// mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height,depth)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild3DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] double[] data);
+ #endregion int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] double[] data)
+
+ #region int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] double[ , ] data)
+ ///
+ /// Builds a subset of three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the depth of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmapLevels builds a subset of prefiltered
+ /// three-dimensional texture maps of decreasing resolutions called a mipmap.
+ /// This is used for the antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding eight texels in the larger mipmap level. (If exactly
+ /// one of the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ /// is called to load these mipmap levels from min to max. If
+ /// max is larger than the highest mipmap level for the texture of the
+ /// specified size, then a GLU error code is returned (see
+ /// ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, height is 8
+ /// and depth is 4, the following levels are possible: 16×8×4, 8×4×2,
+ /// 4×2×1, 2×1×1, 1×1×1. These correspond to levels 2 through 6 respectively.
+ /// If min is 3 and max is 5, then only mipmap levels 8×4×2,
+ /// 4×2×1 and 2×1×1 are loaded. However, if max is 7 then an error is
+ /// returned and nothing is loaded since max is larger than the highest
+ /// mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height,depth)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild3DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] double[,] data);
+ #endregion int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] double[ , ] data)
+
+ #region int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] double[ , , ] data)
+ ///
+ /// Builds a subset of three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the depth of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmapLevels builds a subset of prefiltered
+ /// three-dimensional texture maps of decreasing resolutions called a mipmap.
+ /// This is used for the antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding eight texels in the larger mipmap level. (If exactly
+ /// one of the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ /// is called to load these mipmap levels from min to max. If
+ /// max is larger than the highest mipmap level for the texture of the
+ /// specified size, then a GLU error code is returned (see
+ /// ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, height is 8
+ /// and depth is 4, the following levels are possible: 16×8×4, 8×4×2,
+ /// 4×2×1, 2×1×1, 1×1×1. These correspond to levels 2 through 6 respectively.
+ /// If min is 3 and max is 5, then only mipmap levels 8×4×2,
+ /// 4×2×1 and 2×1×1 are loaded. However, if max is 7 then an error is
+ /// returned and nothing is loaded since max is larger than the highest
+ /// mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height,depth)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild3DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] double[, ,] data);
+ #endregion int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] double[ , , ] data)
+
+ #region int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] short[] data)
+ ///
+ /// Builds a subset of three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the depth of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmapLevels builds a subset of prefiltered
+ /// three-dimensional texture maps of decreasing resolutions called a mipmap.
+ /// This is used for the antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding eight texels in the larger mipmap level. (If exactly
+ /// one of the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ /// is called to load these mipmap levels from min to max. If
+ /// max is larger than the highest mipmap level for the texture of the
+ /// specified size, then a GLU error code is returned (see
+ /// ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, height is 8
+ /// and depth is 4, the following levels are possible: 16×8×4, 8×4×2,
+ /// 4×2×1, 2×1×1, 1×1×1. These correspond to levels 2 through 6 respectively.
+ /// If min is 3 and max is 5, then only mipmap levels 8×4×2,
+ /// 4×2×1 and 2×1×1 are loaded. However, if max is 7 then an error is
+ /// returned and nothing is loaded since max is larger than the highest
+ /// mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height,depth)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild3DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] short[] data);
+ #endregion int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] short[] data)
+
+ #region int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] short[ , ] data)
+ ///
+ /// Builds a subset of three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the depth of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmapLevels builds a subset of prefiltered
+ /// three-dimensional texture maps of decreasing resolutions called a mipmap.
+ /// This is used for the antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding eight texels in the larger mipmap level. (If exactly
+ /// one of the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ /// is called to load these mipmap levels from min to max. If
+ /// max is larger than the highest mipmap level for the texture of the
+ /// specified size, then a GLU error code is returned (see
+ /// ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, height is 8
+ /// and depth is 4, the following levels are possible: 16×8×4, 8×4×2,
+ /// 4×2×1, 2×1×1, 1×1×1. These correspond to levels 2 through 6 respectively.
+ /// If min is 3 and max is 5, then only mipmap levels 8×4×2,
+ /// 4×2×1 and 2×1×1 are loaded. However, if max is 7 then an error is
+ /// returned and nothing is loaded since max is larger than the highest
+ /// mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height,depth)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild3DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] short[,] data);
+ #endregion int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] short[ , ] data)
+
+ #region int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] short[ , , ] data)
+ ///
+ /// Builds a subset of three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the depth of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmapLevels builds a subset of prefiltered
+ /// three-dimensional texture maps of decreasing resolutions called a mipmap.
+ /// This is used for the antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding eight texels in the larger mipmap level. (If exactly
+ /// one of the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ /// is called to load these mipmap levels from min to max. If
+ /// max is larger than the highest mipmap level for the texture of the
+ /// specified size, then a GLU error code is returned (see
+ /// ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, height is 8
+ /// and depth is 4, the following levels are possible: 16×8×4, 8×4×2,
+ /// 4×2×1, 2×1×1, 1×1×1. These correspond to levels 2 through 6 respectively.
+ /// If min is 3 and max is 5, then only mipmap levels 8×4×2,
+ /// 4×2×1 and 2×1×1 are loaded. However, if max is 7 then an error is
+ /// returned and nothing is loaded since max is larger than the highest
+ /// mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height,depth)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild3DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] short[, ,] data);
+ #endregion int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] short[ , , ] data)
+
+ #region int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] int[] data)
+ ///
+ /// Builds a subset of three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the depth of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmapLevels builds a subset of prefiltered
+ /// three-dimensional texture maps of decreasing resolutions called a mipmap.
+ /// This is used for the antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding eight texels in the larger mipmap level. (If exactly
+ /// one of the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ /// is called to load these mipmap levels from min to max. If
+ /// max is larger than the highest mipmap level for the texture of the
+ /// specified size, then a GLU error code is returned (see
+ /// ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, height is 8
+ /// and depth is 4, the following levels are possible: 16×8×4, 8×4×2,
+ /// 4×2×1, 2×1×1, 1×1×1. These correspond to levels 2 through 6 respectively.
+ /// If min is 3 and max is 5, then only mipmap levels 8×4×2,
+ /// 4×2×1 and 2×1×1 are loaded. However, if max is 7 then an error is
+ /// returned and nothing is loaded since max is larger than the highest
+ /// mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height,depth)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild3DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] int[] data);
+ #endregion int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] int[] data)
+
+ #region int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] int[ , ] data)
+ ///
+ /// Builds a subset of three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the depth of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmapLevels builds a subset of prefiltered
+ /// three-dimensional texture maps of decreasing resolutions called a mipmap.
+ /// This is used for the antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding eight texels in the larger mipmap level. (If exactly
+ /// one of the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ /// is called to load these mipmap levels from min to max. If
+ /// max is larger than the highest mipmap level for the texture of the
+ /// specified size, then a GLU error code is returned (see
+ /// ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, height is 8
+ /// and depth is 4, the following levels are possible: 16×8×4, 8×4×2,
+ /// 4×2×1, 2×1×1, 1×1×1. These correspond to levels 2 through 6 respectively.
+ /// If min is 3 and max is 5, then only mipmap levels 8×4×2,
+ /// 4×2×1 and 2×1×1 are loaded. However, if max is 7 then an error is
+ /// returned and nothing is loaded since max is larger than the highest
+ /// mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height,depth)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild3DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] int[,] data);
+ #endregion int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] int[ , ] data)
+
+ #region int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] int[ , , ] data)
+ ///
+ /// Builds a subset of three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the depth of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmapLevels builds a subset of prefiltered
+ /// three-dimensional texture maps of decreasing resolutions called a mipmap.
+ /// This is used for the antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding eight texels in the larger mipmap level. (If exactly
+ /// one of the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ /// is called to load these mipmap levels from min to max. If
+ /// max is larger than the highest mipmap level for the texture of the
+ /// specified size, then a GLU error code is returned (see
+ /// ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, height is 8
+ /// and depth is 4, the following levels are possible: 16×8×4, 8×4×2,
+ /// 4×2×1, 2×1×1, 1×1×1. These correspond to levels 2 through 6 respectively.
+ /// If min is 3 and max is 5, then only mipmap levels 8×4×2,
+ /// 4×2×1 and 2×1×1 are loaded. However, if max is 7 then an error is
+ /// returned and nothing is loaded since max is larger than the highest
+ /// mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height,depth)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild3DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] int[, ,] data);
+ #endregion int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] int[ , , ] data)
+
+ #region int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] float[] data)
+ ///
+ /// Builds a subset of three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the depth of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmapLevels builds a subset of prefiltered
+ /// three-dimensional texture maps of decreasing resolutions called a mipmap.
+ /// This is used for the antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding eight texels in the larger mipmap level. (If exactly
+ /// one of the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ /// is called to load these mipmap levels from min to max. If
+ /// max is larger than the highest mipmap level for the texture of the
+ /// specified size, then a GLU error code is returned (see
+ /// ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, height is 8
+ /// and depth is 4, the following levels are possible: 16×8×4, 8×4×2,
+ /// 4×2×1, 2×1×1, 1×1×1. These correspond to levels 2 through 6 respectively.
+ /// If min is 3 and max is 5, then only mipmap levels 8×4×2,
+ /// 4×2×1 and 2×1×1 are loaded. However, if max is 7 then an error is
+ /// returned and nothing is loaded since max is larger than the highest
+ /// mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height,depth)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild3DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] float[] data);
+ #endregion int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] float[] data)
+
+ #region int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] float[ , ] data)
+ ///
+ /// Builds a subset of three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the depth of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmapLevels builds a subset of prefiltered
+ /// three-dimensional texture maps of decreasing resolutions called a mipmap.
+ /// This is used for the antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding eight texels in the larger mipmap level. (If exactly
+ /// one of the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ /// is called to load these mipmap levels from min to max. If
+ /// max is larger than the highest mipmap level for the texture of the
+ /// specified size, then a GLU error code is returned (see
+ /// ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, height is 8
+ /// and depth is 4, the following levels are possible: 16×8×4, 8×4×2,
+ /// 4×2×1, 2×1×1, 1×1×1. These correspond to levels 2 through 6 respectively.
+ /// If min is 3 and max is 5, then only mipmap levels 8×4×2,
+ /// 4×2×1 and 2×1×1 are loaded. However, if max is 7 then an error is
+ /// returned and nothing is loaded since max is larger than the highest
+ /// mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height,depth)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild3DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] float[,] data);
+ #endregion int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] float[ , ] data)
+
+ #region int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] float[ , , ] data)
+ ///
+ /// Builds a subset of three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the depth of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmapLevels builds a subset of prefiltered
+ /// three-dimensional texture maps of decreasing resolutions called a mipmap.
+ /// This is used for the antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding eight texels in the larger mipmap level. (If exactly
+ /// one of the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ /// is called to load these mipmap levels from min to max. If
+ /// max is larger than the highest mipmap level for the texture of the
+ /// specified size, then a GLU error code is returned (see
+ /// ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, height is 8
+ /// and depth is 4, the following levels are possible: 16×8×4, 8×4×2,
+ /// 4×2×1, 2×1×1, 1×1×1. These correspond to levels 2 through 6 respectively.
+ /// If min is 3 and max is 5, then only mipmap levels 8×4×2,
+ /// 4×2×1 and 2×1×1 are loaded. However, if max is 7 then an error is
+ /// returned and nothing is loaded since max is larger than the highest
+ /// mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height,depth)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild3DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] float[, ,] data);
+ #endregion int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] float[ , , ] data)
+
+ #region int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] ushort[] data)
+ ///
+ /// Builds a subset of three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the depth of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmapLevels builds a subset of prefiltered
+ /// three-dimensional texture maps of decreasing resolutions called a mipmap.
+ /// This is used for the antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding eight texels in the larger mipmap level. (If exactly
+ /// one of the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ /// is called to load these mipmap levels from min to max. If
+ /// max is larger than the highest mipmap level for the texture of the
+ /// specified size, then a GLU error code is returned (see
+ /// ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, height is 8
+ /// and depth is 4, the following levels are possible: 16×8×4, 8×4×2,
+ /// 4×2×1, 2×1×1, 1×1×1. These correspond to levels 2 through 6 respectively.
+ /// If min is 3 and max is 5, then only mipmap levels 8×4×2,
+ /// 4×2×1 and 2×1×1 are loaded. However, if max is 7 then an error is
+ /// returned and nothing is loaded since max is larger than the highest
+ /// mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height,depth)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild3DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] ushort[] data);
+ #endregion int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] ushort[] data)
+
+ #region int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] ushort[ , ] data)
+ ///
+ /// Builds a subset of three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the depth of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmapLevels builds a subset of prefiltered
+ /// three-dimensional texture maps of decreasing resolutions called a mipmap.
+ /// This is used for the antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding eight texels in the larger mipmap level. (If exactly
+ /// one of the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ /// is called to load these mipmap levels from min to max. If
+ /// max is larger than the highest mipmap level for the texture of the
+ /// specified size, then a GLU error code is returned (see
+ /// ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, height is 8
+ /// and depth is 4, the following levels are possible: 16×8×4, 8×4×2,
+ /// 4×2×1, 2×1×1, 1×1×1. These correspond to levels 2 through 6 respectively.
+ /// If min is 3 and max is 5, then only mipmap levels 8×4×2,
+ /// 4×2×1 and 2×1×1 are loaded. However, if max is 7 then an error is
+ /// returned and nothing is loaded since max is larger than the highest
+ /// mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height,depth)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild3DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] ushort[,] data);
+ #endregion int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] ushort[ , ] data)
+
+ #region int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] ushort[ , , ] data)
+ ///
+ /// Builds a subset of three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the depth of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmapLevels builds a subset of prefiltered
+ /// three-dimensional texture maps of decreasing resolutions called a mipmap.
+ /// This is used for the antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding eight texels in the larger mipmap level. (If exactly
+ /// one of the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ /// is called to load these mipmap levels from min to max. If
+ /// max is larger than the highest mipmap level for the texture of the
+ /// specified size, then a GLU error code is returned (see
+ /// ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, height is 8
+ /// and depth is 4, the following levels are possible: 16×8×4, 8×4×2,
+ /// 4×2×1, 2×1×1, 1×1×1. These correspond to levels 2 through 6 respectively.
+ /// If min is 3 and max is 5, then only mipmap levels 8×4×2,
+ /// 4×2×1 and 2×1×1 are loaded. However, if max is 7 then an error is
+ /// returned and nothing is loaded since max is larger than the highest
+ /// mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height,depth)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild3DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] ushort[, ,] data);
+ #endregion int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] ushort[ , , ] data)
+
+ #region int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] uint[] data)
+ ///
+ /// Builds a subset of three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the depth of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmapLevels builds a subset of prefiltered
+ /// three-dimensional texture maps of decreasing resolutions called a mipmap.
+ /// This is used for the antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding eight texels in the larger mipmap level. (If exactly
+ /// one of the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ /// is called to load these mipmap levels from min to max. If
+ /// max is larger than the highest mipmap level for the texture of the
+ /// specified size, then a GLU error code is returned (see
+ /// ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, height is 8
+ /// and depth is 4, the following levels are possible: 16×8×4, 8×4×2,
+ /// 4×2×1, 2×1×1, 1×1×1. These correspond to levels 2 through 6 respectively.
+ /// If min is 3 and max is 5, then only mipmap levels 8×4×2,
+ /// 4×2×1 and 2×1×1 are loaded. However, if max is 7 then an error is
+ /// returned and nothing is loaded since max is larger than the highest
+ /// mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height,depth)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild3DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] uint[] data);
+ #endregion int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] uint[] data)
+
+ #region int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] uint[ , ] data)
+ ///
+ /// Builds a subset of three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the depth of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmapLevels builds a subset of prefiltered
+ /// three-dimensional texture maps of decreasing resolutions called a mipmap.
+ /// This is used for the antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding eight texels in the larger mipmap level. (If exactly
+ /// one of the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ /// is called to load these mipmap levels from min to max. If
+ /// max is larger than the highest mipmap level for the texture of the
+ /// specified size, then a GLU error code is returned (see
+ /// ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, height is 8
+ /// and depth is 4, the following levels are possible: 16×8×4, 8×4×2,
+ /// 4×2×1, 2×1×1, 1×1×1. These correspond to levels 2 through 6 respectively.
+ /// If min is 3 and max is 5, then only mipmap levels 8×4×2,
+ /// 4×2×1 and 2×1×1 are loaded. However, if max is 7 then an error is
+ /// returned and nothing is loaded since max is larger than the highest
+ /// mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height,depth)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild3DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] uint[,] data);
+ #endregion int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] uint[ , ] data)
+
+ #region int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] uint[ , , ] data)
+ ///
+ /// Builds a subset of three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the depth of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmapLevels builds a subset of prefiltered
+ /// three-dimensional texture maps of decreasing resolutions called a mipmap.
+ /// This is used for the antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding eight texels in the larger mipmap level. (If exactly
+ /// one of the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ /// is called to load these mipmap levels from min to max. If
+ /// max is larger than the highest mipmap level for the texture of the
+ /// specified size, then a GLU error code is returned (see
+ /// ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, height is 8
+ /// and depth is 4, the following levels are possible: 16×8×4, 8×4×2,
+ /// 4×2×1, 2×1×1, 1×1×1. These correspond to levels 2 through 6 respectively.
+ /// If min is 3 and max is 5, then only mipmap levels 8×4×2,
+ /// 4×2×1 and 2×1×1 are loaded. However, if max is 7 then an error is
+ /// returned and nothing is loaded since max is larger than the highest
+ /// mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height,depth)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild3DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] uint[, ,] data);
+ #endregion int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] uint[ , , ] data)
+
+ #region int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] IntPtr data)
+ ///
+ /// Builds a subset of three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the depth of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmapLevels builds a subset of prefiltered
+ /// three-dimensional texture maps of decreasing resolutions called a mipmap.
+ /// This is used for the antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding eight texels in the larger mipmap level. (If exactly
+ /// one of the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ /// is called to load these mipmap levels from min to max. If
+ /// max is larger than the highest mipmap level for the texture of the
+ /// specified size, then a GLU error code is returned (see
+ /// ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, height is 8
+ /// and depth is 4, the following levels are possible: 16×8×4, 8×4×2,
+ /// 4×2×1, 2×1×1, 1×1×1. These correspond to levels 2 through 6 respectively.
+ /// If min is 3 and max is 5, then only mipmap levels 8×4×2,
+ /// 4×2×1 and 2×1×1 are loaded. However, if max is 7 then an error is
+ /// returned and nothing is loaded since max is larger than the highest
+ /// mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height,depth)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild3DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] IntPtr data);
+ #endregion int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] IntPtr data)
+
+ #region int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] void *data)
+ ///
+ /// Builds a subset of three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the height of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies, in pixels, the depth of the texture image. Should be a power of 2.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies the mipmap level of the image data.
+ ///
+ ///
+ /// Specifies the minimum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies the maximum mipmap level to pass to .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmapLevels builds a subset of prefiltered
+ /// three-dimensional texture maps of decreasing resolutions called a mipmap.
+ /// This is used for the antialiasing of texture mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// A series of mipmap levels from min to max is built by
+ /// decimating data in half along both dimensions until size 1×1×1 is
+ /// reached. At each level, each texel in the halved mipmap level is an average
+ /// of the corresponding eight texels in the larger mipmap level. (If exactly
+ /// one of the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ /// is called to load these mipmap levels from min to max. If
+ /// max is larger than the highest mipmap level for the texture of the
+ /// specified size, then a GLU error code is returned (see
+ /// ) and nothing is loaded.
+ ///
+ ///
+ /// For example, if level is 2 and width is 16, height is 8
+ /// and depth is 4, the following levels are possible: 16×8×4, 8×4×2,
+ /// 4×2×1, 2×1×1, 1×1×1. These correspond to levels 2 through 6 respectively.
+ /// If min is 3 and max is 5, then only mipmap levels 8×4×2,
+ /// 4×2×1 and 2×1×1 are loaded. However, if max is 7 then an error is
+ /// returned and nothing is loaded since max is larger than the highest
+ /// mipmap level which is, in this case, 6.
+ ///
+ ///
+ /// The highest mipmap level can be derived from the formula
+ /// log2(max(width,height,depth)*(2^level)).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluBuild3DMipmapLevels is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if level > min,
+ /// min < 0, max < min or max is > the
+ /// highest mipmap level for data.
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] void* data);
+ #endregion int gluBuild3DMipmapLevels(int target, int internalFormat, int width, int height, int depth, int format, int type, int level, int min, int max, [In] void *data)
+
+ #region int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] byte[] data)
+ ///
+ /// Builds a three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the depth in pixels of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmaps builds a series of prefiltered three-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width, height and depth of data
+ /// are checked to see if they are a power of two. If not, a copy of data
+ /// (not data itself), is scaled up or down to the nearest power of two.
+ /// This copy will be used for subsequent mipmapping operations described below.
+ /// (If width, height or depth is exactly between powers of
+ /// 2, then the copy of data will scale upwards.) For example, if
+ /// width is 57, height is 23 and depth is 24 then a copy of
+ /// data will scale up to 64 in width, down to 16 in height
+ /// and up to 32 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, all
+ /// three dimensions are continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along all three dimensions until size 1×1×1 is reached. At each
+ /// level, each texel in the halved mipmap level is an average of the
+ /// corresponding eight texels in the larger mipmap level. (If exactly one of
+ /// the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height,depth)). For example, if width is 64,
+ /// height is 16 and depth is 32, and the implementation can store
+ /// a texture of this size, the following mipmap levels are built: 64×16×32,
+ /// 32×8×16, 16×4×8, 8×2×4, 4×1×2, 2×1×1 and 1×1×1. These correspond to levels 0
+ /// through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width, height and depth actually used at level 0. (The width, height
+ /// and depth may not be equal to width, height and depth
+ /// respectively since proxy textures might have scaled them to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(max(width,height,depth)).
+ ///
+ ///
+ /// gluBuild3DMipmaps is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] byte[] data);
+ #endregion int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] byte[] data)
+
+ #region int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] byte[ , ] data)
+ ///
+ /// Builds a three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the depth in pixels of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmaps builds a series of prefiltered three-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width, height and depth of data
+ /// are checked to see if they are a power of two. If not, a copy of data
+ /// (not data itself), is scaled up or down to the nearest power of two.
+ /// This copy will be used for subsequent mipmapping operations described below.
+ /// (If width, height or depth is exactly between powers of
+ /// 2, then the copy of data will scale upwards.) For example, if
+ /// width is 57, height is 23 and depth is 24 then a copy of
+ /// data will scale up to 64 in width, down to 16 in height
+ /// and up to 32 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, all
+ /// three dimensions are continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along all three dimensions until size 1×1×1 is reached. At each
+ /// level, each texel in the halved mipmap level is an average of the
+ /// corresponding eight texels in the larger mipmap level. (If exactly one of
+ /// the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height,depth)). For example, if width is 64,
+ /// height is 16 and depth is 32, and the implementation can store
+ /// a texture of this size, the following mipmap levels are built: 64×16×32,
+ /// 32×8×16, 16×4×8, 8×2×4, 4×1×2, 2×1×1 and 1×1×1. These correspond to levels 0
+ /// through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width, height and depth actually used at level 0. (The width, height
+ /// and depth may not be equal to width, height and depth
+ /// respectively since proxy textures might have scaled them to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(max(width,height,depth)).
+ ///
+ ///
+ /// gluBuild3DMipmaps is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] byte[,] data);
+ #endregion int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] byte[ , ] data)
+
+ #region int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] byte[ , , ] data)
+ ///
+ /// Builds a three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the depth in pixels of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmaps builds a series of prefiltered three-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width, height and depth of data
+ /// are checked to see if they are a power of two. If not, a copy of data
+ /// (not data itself), is scaled up or down to the nearest power of two.
+ /// This copy will be used for subsequent mipmapping operations described below.
+ /// (If width, height or depth is exactly between powers of
+ /// 2, then the copy of data will scale upwards.) For example, if
+ /// width is 57, height is 23 and depth is 24 then a copy of
+ /// data will scale up to 64 in width, down to 16 in height
+ /// and up to 32 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, all
+ /// three dimensions are continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along all three dimensions until size 1×1×1 is reached. At each
+ /// level, each texel in the halved mipmap level is an average of the
+ /// corresponding eight texels in the larger mipmap level. (If exactly one of
+ /// the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height,depth)). For example, if width is 64,
+ /// height is 16 and depth is 32, and the implementation can store
+ /// a texture of this size, the following mipmap levels are built: 64×16×32,
+ /// 32×8×16, 16×4×8, 8×2×4, 4×1×2, 2×1×1 and 1×1×1. These correspond to levels 0
+ /// through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width, height and depth actually used at level 0. (The width, height
+ /// and depth may not be equal to width, height and depth
+ /// respectively since proxy textures might have scaled them to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(max(width,height,depth)).
+ ///
+ ///
+ /// gluBuild3DMipmaps is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] byte[, ,] data);
+ #endregion int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] byte[ , , ] data)
+
+ #region int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] double[] data)
+ ///
+ /// Builds a three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the depth in pixels of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmaps builds a series of prefiltered three-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width, height and depth of data
+ /// are checked to see if they are a power of two. If not, a copy of data
+ /// (not data itself), is scaled up or down to the nearest power of two.
+ /// This copy will be used for subsequent mipmapping operations described below.
+ /// (If width, height or depth is exactly between powers of
+ /// 2, then the copy of data will scale upwards.) For example, if
+ /// width is 57, height is 23 and depth is 24 then a copy of
+ /// data will scale up to 64 in width, down to 16 in height
+ /// and up to 32 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, all
+ /// three dimensions are continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along all three dimensions until size 1×1×1 is reached. At each
+ /// level, each texel in the halved mipmap level is an average of the
+ /// corresponding eight texels in the larger mipmap level. (If exactly one of
+ /// the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height,depth)). For example, if width is 64,
+ /// height is 16 and depth is 32, and the implementation can store
+ /// a texture of this size, the following mipmap levels are built: 64×16×32,
+ /// 32×8×16, 16×4×8, 8×2×4, 4×1×2, 2×1×1 and 1×1×1. These correspond to levels 0
+ /// through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width, height and depth actually used at level 0. (The width, height
+ /// and depth may not be equal to width, height and depth
+ /// respectively since proxy textures might have scaled them to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(max(width,height,depth)).
+ ///
+ ///
+ /// gluBuild3DMipmaps is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] double[] data);
+ #endregion int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] double[] data)
+
+ #region int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] double[ , ] data)
+ ///
+ /// Builds a three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the depth in pixels of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmaps builds a series of prefiltered three-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width, height and depth of data
+ /// are checked to see if they are a power of two. If not, a copy of data
+ /// (not data itself), is scaled up or down to the nearest power of two.
+ /// This copy will be used for subsequent mipmapping operations described below.
+ /// (If width, height or depth is exactly between powers of
+ /// 2, then the copy of data will scale upwards.) For example, if
+ /// width is 57, height is 23 and depth is 24 then a copy of
+ /// data will scale up to 64 in width, down to 16 in height
+ /// and up to 32 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, all
+ /// three dimensions are continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along all three dimensions until size 1×1×1 is reached. At each
+ /// level, each texel in the halved mipmap level is an average of the
+ /// corresponding eight texels in the larger mipmap level. (If exactly one of
+ /// the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height,depth)). For example, if width is 64,
+ /// height is 16 and depth is 32, and the implementation can store
+ /// a texture of this size, the following mipmap levels are built: 64×16×32,
+ /// 32×8×16, 16×4×8, 8×2×4, 4×1×2, 2×1×1 and 1×1×1. These correspond to levels 0
+ /// through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width, height and depth actually used at level 0. (The width, height
+ /// and depth may not be equal to width, height and depth
+ /// respectively since proxy textures might have scaled them to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(max(width,height,depth)).
+ ///
+ ///
+ /// gluBuild3DMipmaps is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] double[,] data);
+ #endregion int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] double[ , ] data)
+
+ #region int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] double[ , , ] data)
+ ///
+ /// Builds a three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the depth in pixels of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmaps builds a series of prefiltered three-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width, height and depth of data
+ /// are checked to see if they are a power of two. If not, a copy of data
+ /// (not data itself), is scaled up or down to the nearest power of two.
+ /// This copy will be used for subsequent mipmapping operations described below.
+ /// (If width, height or depth is exactly between powers of
+ /// 2, then the copy of data will scale upwards.) For example, if
+ /// width is 57, height is 23 and depth is 24 then a copy of
+ /// data will scale up to 64 in width, down to 16 in height
+ /// and up to 32 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, all
+ /// three dimensions are continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along all three dimensions until size 1×1×1 is reached. At each
+ /// level, each texel in the halved mipmap level is an average of the
+ /// corresponding eight texels in the larger mipmap level. (If exactly one of
+ /// the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height,depth)). For example, if width is 64,
+ /// height is 16 and depth is 32, and the implementation can store
+ /// a texture of this size, the following mipmap levels are built: 64×16×32,
+ /// 32×8×16, 16×4×8, 8×2×4, 4×1×2, 2×1×1 and 1×1×1. These correspond to levels 0
+ /// through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width, height and depth actually used at level 0. (The width, height
+ /// and depth may not be equal to width, height and depth
+ /// respectively since proxy textures might have scaled them to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(max(width,height,depth)).
+ ///
+ ///
+ /// gluBuild3DMipmaps is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] double[, ,] data);
+ #endregion int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] double[ , , ] data)
+
+ #region int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] short[] data)
+ ///
+ /// Builds a three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the depth in pixels of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmaps builds a series of prefiltered three-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width, height and depth of data
+ /// are checked to see if they are a power of two. If not, a copy of data
+ /// (not data itself), is scaled up or down to the nearest power of two.
+ /// This copy will be used for subsequent mipmapping operations described below.
+ /// (If width, height or depth is exactly between powers of
+ /// 2, then the copy of data will scale upwards.) For example, if
+ /// width is 57, height is 23 and depth is 24 then a copy of
+ /// data will scale up to 64 in width, down to 16 in height
+ /// and up to 32 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, all
+ /// three dimensions are continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along all three dimensions until size 1×1×1 is reached. At each
+ /// level, each texel in the halved mipmap level is an average of the
+ /// corresponding eight texels in the larger mipmap level. (If exactly one of
+ /// the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height,depth)). For example, if width is 64,
+ /// height is 16 and depth is 32, and the implementation can store
+ /// a texture of this size, the following mipmap levels are built: 64×16×32,
+ /// 32×8×16, 16×4×8, 8×2×4, 4×1×2, 2×1×1 and 1×1×1. These correspond to levels 0
+ /// through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width, height and depth actually used at level 0. (The width, height
+ /// and depth may not be equal to width, height and depth
+ /// respectively since proxy textures might have scaled them to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(max(width,height,depth)).
+ ///
+ ///
+ /// gluBuild3DMipmaps is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] short[] data);
+ #endregion int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] short[] data)
+
+ #region int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] short[ , ] data)
+ ///
+ /// Builds a three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the depth in pixels of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmaps builds a series of prefiltered three-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width, height and depth of data
+ /// are checked to see if they are a power of two. If not, a copy of data
+ /// (not data itself), is scaled up or down to the nearest power of two.
+ /// This copy will be used for subsequent mipmapping operations described below.
+ /// (If width, height or depth is exactly between powers of
+ /// 2, then the copy of data will scale upwards.) For example, if
+ /// width is 57, height is 23 and depth is 24 then a copy of
+ /// data will scale up to 64 in width, down to 16 in height
+ /// and up to 32 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, all
+ /// three dimensions are continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along all three dimensions until size 1×1×1 is reached. At each
+ /// level, each texel in the halved mipmap level is an average of the
+ /// corresponding eight texels in the larger mipmap level. (If exactly one of
+ /// the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height,depth)). For example, if width is 64,
+ /// height is 16 and depth is 32, and the implementation can store
+ /// a texture of this size, the following mipmap levels are built: 64×16×32,
+ /// 32×8×16, 16×4×8, 8×2×4, 4×1×2, 2×1×1 and 1×1×1. These correspond to levels 0
+ /// through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width, height and depth actually used at level 0. (The width, height
+ /// and depth may not be equal to width, height and depth
+ /// respectively since proxy textures might have scaled them to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(max(width,height,depth)).
+ ///
+ ///
+ /// gluBuild3DMipmaps is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] short[,] data);
+ #endregion int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] short[ , ] data)
+
+ #region int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] short[ , , ] data)
+ ///
+ /// Builds a three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the depth in pixels of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmaps builds a series of prefiltered three-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width, height and depth of data
+ /// are checked to see if they are a power of two. If not, a copy of data
+ /// (not data itself), is scaled up or down to the nearest power of two.
+ /// This copy will be used for subsequent mipmapping operations described below.
+ /// (If width, height or depth is exactly between powers of
+ /// 2, then the copy of data will scale upwards.) For example, if
+ /// width is 57, height is 23 and depth is 24 then a copy of
+ /// data will scale up to 64 in width, down to 16 in height
+ /// and up to 32 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, all
+ /// three dimensions are continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along all three dimensions until size 1×1×1 is reached. At each
+ /// level, each texel in the halved mipmap level is an average of the
+ /// corresponding eight texels in the larger mipmap level. (If exactly one of
+ /// the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height,depth)). For example, if width is 64,
+ /// height is 16 and depth is 32, and the implementation can store
+ /// a texture of this size, the following mipmap levels are built: 64×16×32,
+ /// 32×8×16, 16×4×8, 8×2×4, 4×1×2, 2×1×1 and 1×1×1. These correspond to levels 0
+ /// through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width, height and depth actually used at level 0. (The width, height
+ /// and depth may not be equal to width, height and depth
+ /// respectively since proxy textures might have scaled them to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(max(width,height,depth)).
+ ///
+ ///
+ /// gluBuild3DMipmaps is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] short[, ,] data);
+ #endregion int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] short[ , , ] data)
+
+ #region int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] int[] data)
+ ///
+ /// Builds a three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the depth in pixels of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmaps builds a series of prefiltered three-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width, height and depth of data
+ /// are checked to see if they are a power of two. If not, a copy of data
+ /// (not data itself), is scaled up or down to the nearest power of two.
+ /// This copy will be used for subsequent mipmapping operations described below.
+ /// (If width, height or depth is exactly between powers of
+ /// 2, then the copy of data will scale upwards.) For example, if
+ /// width is 57, height is 23 and depth is 24 then a copy of
+ /// data will scale up to 64 in width, down to 16 in height
+ /// and up to 32 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, all
+ /// three dimensions are continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along all three dimensions until size 1×1×1 is reached. At each
+ /// level, each texel in the halved mipmap level is an average of the
+ /// corresponding eight texels in the larger mipmap level. (If exactly one of
+ /// the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height,depth)). For example, if width is 64,
+ /// height is 16 and depth is 32, and the implementation can store
+ /// a texture of this size, the following mipmap levels are built: 64×16×32,
+ /// 32×8×16, 16×4×8, 8×2×4, 4×1×2, 2×1×1 and 1×1×1. These correspond to levels 0
+ /// through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width, height and depth actually used at level 0. (The width, height
+ /// and depth may not be equal to width, height and depth
+ /// respectively since proxy textures might have scaled them to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(max(width,height,depth)).
+ ///
+ ///
+ /// gluBuild3DMipmaps is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] int[] data);
+ #endregion int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] int[] data)
+
+ #region int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] int[ , ] data)
+ ///
+ /// Builds a three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the depth in pixels of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmaps builds a series of prefiltered three-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width, height and depth of data
+ /// are checked to see if they are a power of two. If not, a copy of data
+ /// (not data itself), is scaled up or down to the nearest power of two.
+ /// This copy will be used for subsequent mipmapping operations described below.
+ /// (If width, height or depth is exactly between powers of
+ /// 2, then the copy of data will scale upwards.) For example, if
+ /// width is 57, height is 23 and depth is 24 then a copy of
+ /// data will scale up to 64 in width, down to 16 in height
+ /// and up to 32 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, all
+ /// three dimensions are continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along all three dimensions until size 1×1×1 is reached. At each
+ /// level, each texel in the halved mipmap level is an average of the
+ /// corresponding eight texels in the larger mipmap level. (If exactly one of
+ /// the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height,depth)). For example, if width is 64,
+ /// height is 16 and depth is 32, and the implementation can store
+ /// a texture of this size, the following mipmap levels are built: 64×16×32,
+ /// 32×8×16, 16×4×8, 8×2×4, 4×1×2, 2×1×1 and 1×1×1. These correspond to levels 0
+ /// through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width, height and depth actually used at level 0. (The width, height
+ /// and depth may not be equal to width, height and depth
+ /// respectively since proxy textures might have scaled them to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(max(width,height,depth)).
+ ///
+ ///
+ /// gluBuild3DMipmaps is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] int[,] data);
+ #endregion int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] int[ , ] data)
+
+ #region int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] int[ , , ] data)
+ ///
+ /// Builds a three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the depth in pixels of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmaps builds a series of prefiltered three-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width, height and depth of data
+ /// are checked to see if they are a power of two. If not, a copy of data
+ /// (not data itself), is scaled up or down to the nearest power of two.
+ /// This copy will be used for subsequent mipmapping operations described below.
+ /// (If width, height or depth is exactly between powers of
+ /// 2, then the copy of data will scale upwards.) For example, if
+ /// width is 57, height is 23 and depth is 24 then a copy of
+ /// data will scale up to 64 in width, down to 16 in height
+ /// and up to 32 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, all
+ /// three dimensions are continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along all three dimensions until size 1×1×1 is reached. At each
+ /// level, each texel in the halved mipmap level is an average of the
+ /// corresponding eight texels in the larger mipmap level. (If exactly one of
+ /// the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height,depth)). For example, if width is 64,
+ /// height is 16 and depth is 32, and the implementation can store
+ /// a texture of this size, the following mipmap levels are built: 64×16×32,
+ /// 32×8×16, 16×4×8, 8×2×4, 4×1×2, 2×1×1 and 1×1×1. These correspond to levels 0
+ /// through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width, height and depth actually used at level 0. (The width, height
+ /// and depth may not be equal to width, height and depth
+ /// respectively since proxy textures might have scaled them to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(max(width,height,depth)).
+ ///
+ ///
+ /// gluBuild3DMipmaps is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] int[, ,] data);
+ #endregion int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] int[ , , ] data)
+
+ #region int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] float[] data)
+ ///
+ /// Builds a three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the depth in pixels of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmaps builds a series of prefiltered three-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width, height and depth of data
+ /// are checked to see if they are a power of two. If not, a copy of data
+ /// (not data itself), is scaled up or down to the nearest power of two.
+ /// This copy will be used for subsequent mipmapping operations described below.
+ /// (If width, height or depth is exactly between powers of
+ /// 2, then the copy of data will scale upwards.) For example, if
+ /// width is 57, height is 23 and depth is 24 then a copy of
+ /// data will scale up to 64 in width, down to 16 in height
+ /// and up to 32 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, all
+ /// three dimensions are continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along all three dimensions until size 1×1×1 is reached. At each
+ /// level, each texel in the halved mipmap level is an average of the
+ /// corresponding eight texels in the larger mipmap level. (If exactly one of
+ /// the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height,depth)). For example, if width is 64,
+ /// height is 16 and depth is 32, and the implementation can store
+ /// a texture of this size, the following mipmap levels are built: 64×16×32,
+ /// 32×8×16, 16×4×8, 8×2×4, 4×1×2, 2×1×1 and 1×1×1. These correspond to levels 0
+ /// through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width, height and depth actually used at level 0. (The width, height
+ /// and depth may not be equal to width, height and depth
+ /// respectively since proxy textures might have scaled them to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(max(width,height,depth)).
+ ///
+ ///
+ /// gluBuild3DMipmaps is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] float[] data);
+ #endregion int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] float[] data)
+
+ #region int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] float[ , ] data)
+ ///
+ /// Builds a three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the depth in pixels of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmaps builds a series of prefiltered three-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width, height and depth of data
+ /// are checked to see if they are a power of two. If not, a copy of data
+ /// (not data itself), is scaled up or down to the nearest power of two.
+ /// This copy will be used for subsequent mipmapping operations described below.
+ /// (If width, height or depth is exactly between powers of
+ /// 2, then the copy of data will scale upwards.) For example, if
+ /// width is 57, height is 23 and depth is 24 then a copy of
+ /// data will scale up to 64 in width, down to 16 in height
+ /// and up to 32 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, all
+ /// three dimensions are continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along all three dimensions until size 1×1×1 is reached. At each
+ /// level, each texel in the halved mipmap level is an average of the
+ /// corresponding eight texels in the larger mipmap level. (If exactly one of
+ /// the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height,depth)). For example, if width is 64,
+ /// height is 16 and depth is 32, and the implementation can store
+ /// a texture of this size, the following mipmap levels are built: 64×16×32,
+ /// 32×8×16, 16×4×8, 8×2×4, 4×1×2, 2×1×1 and 1×1×1. These correspond to levels 0
+ /// through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width, height and depth actually used at level 0. (The width, height
+ /// and depth may not be equal to width, height and depth
+ /// respectively since proxy textures might have scaled them to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(max(width,height,depth)).
+ ///
+ ///
+ /// gluBuild3DMipmaps is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] float[,] data);
+ #endregion int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] float[ , ] data)
+
+ #region int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] float[ , , ] data)
+ ///
+ /// Builds a three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the depth in pixels of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmaps builds a series of prefiltered three-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width, height and depth of data
+ /// are checked to see if they are a power of two. If not, a copy of data
+ /// (not data itself), is scaled up or down to the nearest power of two.
+ /// This copy will be used for subsequent mipmapping operations described below.
+ /// (If width, height or depth is exactly between powers of
+ /// 2, then the copy of data will scale upwards.) For example, if
+ /// width is 57, height is 23 and depth is 24 then a copy of
+ /// data will scale up to 64 in width, down to 16 in height
+ /// and up to 32 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, all
+ /// three dimensions are continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along all three dimensions until size 1×1×1 is reached. At each
+ /// level, each texel in the halved mipmap level is an average of the
+ /// corresponding eight texels in the larger mipmap level. (If exactly one of
+ /// the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height,depth)). For example, if width is 64,
+ /// height is 16 and depth is 32, and the implementation can store
+ /// a texture of this size, the following mipmap levels are built: 64×16×32,
+ /// 32×8×16, 16×4×8, 8×2×4, 4×1×2, 2×1×1 and 1×1×1. These correspond to levels 0
+ /// through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width, height and depth actually used at level 0. (The width, height
+ /// and depth may not be equal to width, height and depth
+ /// respectively since proxy textures might have scaled them to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(max(width,height,depth)).
+ ///
+ ///
+ /// gluBuild3DMipmaps is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] float[, ,] data);
+ #endregion int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] float[ , , ] data)
+
+ #region int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] ushort[] data)
+ ///
+ /// Builds a three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the depth in pixels of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmaps builds a series of prefiltered three-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width, height and depth of data
+ /// are checked to see if they are a power of two. If not, a copy of data
+ /// (not data itself), is scaled up or down to the nearest power of two.
+ /// This copy will be used for subsequent mipmapping operations described below.
+ /// (If width, height or depth is exactly between powers of
+ /// 2, then the copy of data will scale upwards.) For example, if
+ /// width is 57, height is 23 and depth is 24 then a copy of
+ /// data will scale up to 64 in width, down to 16 in height
+ /// and up to 32 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, all
+ /// three dimensions are continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along all three dimensions until size 1×1×1 is reached. At each
+ /// level, each texel in the halved mipmap level is an average of the
+ /// corresponding eight texels in the larger mipmap level. (If exactly one of
+ /// the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height,depth)). For example, if width is 64,
+ /// height is 16 and depth is 32, and the implementation can store
+ /// a texture of this size, the following mipmap levels are built: 64×16×32,
+ /// 32×8×16, 16×4×8, 8×2×4, 4×1×2, 2×1×1 and 1×1×1. These correspond to levels 0
+ /// through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width, height and depth actually used at level 0. (The width, height
+ /// and depth may not be equal to width, height and depth
+ /// respectively since proxy textures might have scaled them to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(max(width,height,depth)).
+ ///
+ ///
+ /// gluBuild3DMipmaps is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] ushort[] data);
+ #endregion int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] ushort[] data)
+
+ #region int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] ushort[ , ] data)
+ ///
+ /// Builds a three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the depth in pixels of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmaps builds a series of prefiltered three-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width, height and depth of data
+ /// are checked to see if they are a power of two. If not, a copy of data
+ /// (not data itself), is scaled up or down to the nearest power of two.
+ /// This copy will be used for subsequent mipmapping operations described below.
+ /// (If width, height or depth is exactly between powers of
+ /// 2, then the copy of data will scale upwards.) For example, if
+ /// width is 57, height is 23 and depth is 24 then a copy of
+ /// data will scale up to 64 in width, down to 16 in height
+ /// and up to 32 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, all
+ /// three dimensions are continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along all three dimensions until size 1×1×1 is reached. At each
+ /// level, each texel in the halved mipmap level is an average of the
+ /// corresponding eight texels in the larger mipmap level. (If exactly one of
+ /// the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height,depth)). For example, if width is 64,
+ /// height is 16 and depth is 32, and the implementation can store
+ /// a texture of this size, the following mipmap levels are built: 64×16×32,
+ /// 32×8×16, 16×4×8, 8×2×4, 4×1×2, 2×1×1 and 1×1×1. These correspond to levels 0
+ /// through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width, height and depth actually used at level 0. (The width, height
+ /// and depth may not be equal to width, height and depth
+ /// respectively since proxy textures might have scaled them to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(max(width,height,depth)).
+ ///
+ ///
+ /// gluBuild3DMipmaps is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] ushort[,] data);
+ #endregion int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] ushort[ , ] data)
+
+ #region int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] ushort[ , , ] data)
+ ///
+ /// Builds a three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the depth in pixels of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmaps builds a series of prefiltered three-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width, height and depth of data
+ /// are checked to see if they are a power of two. If not, a copy of data
+ /// (not data itself), is scaled up or down to the nearest power of two.
+ /// This copy will be used for subsequent mipmapping operations described below.
+ /// (If width, height or depth is exactly between powers of
+ /// 2, then the copy of data will scale upwards.) For example, if
+ /// width is 57, height is 23 and depth is 24 then a copy of
+ /// data will scale up to 64 in width, down to 16 in height
+ /// and up to 32 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, all
+ /// three dimensions are continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along all three dimensions until size 1×1×1 is reached. At each
+ /// level, each texel in the halved mipmap level is an average of the
+ /// corresponding eight texels in the larger mipmap level. (If exactly one of
+ /// the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height,depth)). For example, if width is 64,
+ /// height is 16 and depth is 32, and the implementation can store
+ /// a texture of this size, the following mipmap levels are built: 64×16×32,
+ /// 32×8×16, 16×4×8, 8×2×4, 4×1×2, 2×1×1 and 1×1×1. These correspond to levels 0
+ /// through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width, height and depth actually used at level 0. (The width, height
+ /// and depth may not be equal to width, height and depth
+ /// respectively since proxy textures might have scaled them to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(max(width,height,depth)).
+ ///
+ ///
+ /// gluBuild3DMipmaps is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] ushort[, ,] data);
+ #endregion int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] ushort[ , , ] data)
+
+ #region int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] uint[] data)
+ ///
+ /// Builds a three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the depth in pixels of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmaps builds a series of prefiltered three-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width, height and depth of data
+ /// are checked to see if they are a power of two. If not, a copy of data
+ /// (not data itself), is scaled up or down to the nearest power of two.
+ /// This copy will be used for subsequent mipmapping operations described below.
+ /// (If width, height or depth is exactly between powers of
+ /// 2, then the copy of data will scale upwards.) For example, if
+ /// width is 57, height is 23 and depth is 24 then a copy of
+ /// data will scale up to 64 in width, down to 16 in height
+ /// and up to 32 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, all
+ /// three dimensions are continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along all three dimensions until size 1×1×1 is reached. At each
+ /// level, each texel in the halved mipmap level is an average of the
+ /// corresponding eight texels in the larger mipmap level. (If exactly one of
+ /// the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height,depth)). For example, if width is 64,
+ /// height is 16 and depth is 32, and the implementation can store
+ /// a texture of this size, the following mipmap levels are built: 64×16×32,
+ /// 32×8×16, 16×4×8, 8×2×4, 4×1×2, 2×1×1 and 1×1×1. These correspond to levels 0
+ /// through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width, height and depth actually used at level 0. (The width, height
+ /// and depth may not be equal to width, height and depth
+ /// respectively since proxy textures might have scaled them to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(max(width,height,depth)).
+ ///
+ ///
+ /// gluBuild3DMipmaps is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] uint[] data);
+ #endregion int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] uint[] data)
+
+ #region int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] uint[ , ] data)
+ ///
+ /// Builds a three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the depth in pixels of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmaps builds a series of prefiltered three-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width, height and depth of data
+ /// are checked to see if they are a power of two. If not, a copy of data
+ /// (not data itself), is scaled up or down to the nearest power of two.
+ /// This copy will be used for subsequent mipmapping operations described below.
+ /// (If width, height or depth is exactly between powers of
+ /// 2, then the copy of data will scale upwards.) For example, if
+ /// width is 57, height is 23 and depth is 24 then a copy of
+ /// data will scale up to 64 in width, down to 16 in height
+ /// and up to 32 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, all
+ /// three dimensions are continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along all three dimensions until size 1×1×1 is reached. At each
+ /// level, each texel in the halved mipmap level is an average of the
+ /// corresponding eight texels in the larger mipmap level. (If exactly one of
+ /// the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height,depth)). For example, if width is 64,
+ /// height is 16 and depth is 32, and the implementation can store
+ /// a texture of this size, the following mipmap levels are built: 64×16×32,
+ /// 32×8×16, 16×4×8, 8×2×4, 4×1×2, 2×1×1 and 1×1×1. These correspond to levels 0
+ /// through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width, height and depth actually used at level 0. (The width, height
+ /// and depth may not be equal to width, height and depth
+ /// respectively since proxy textures might have scaled them to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(max(width,height,depth)).
+ ///
+ ///
+ /// gluBuild3DMipmaps is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] uint[,] data);
+ #endregion int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] uint[ , ] data)
+
+ #region int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] uint[ , , ] data)
+ ///
+ /// Builds a three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the depth in pixels of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmaps builds a series of prefiltered three-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width, height and depth of data
+ /// are checked to see if they are a power of two. If not, a copy of data
+ /// (not data itself), is scaled up or down to the nearest power of two.
+ /// This copy will be used for subsequent mipmapping operations described below.
+ /// (If width, height or depth is exactly between powers of
+ /// 2, then the copy of data will scale upwards.) For example, if
+ /// width is 57, height is 23 and depth is 24 then a copy of
+ /// data will scale up to 64 in width, down to 16 in height
+ /// and up to 32 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, all
+ /// three dimensions are continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along all three dimensions until size 1×1×1 is reached. At each
+ /// level, each texel in the halved mipmap level is an average of the
+ /// corresponding eight texels in the larger mipmap level. (If exactly one of
+ /// the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height,depth)). For example, if width is 64,
+ /// height is 16 and depth is 32, and the implementation can store
+ /// a texture of this size, the following mipmap levels are built: 64×16×32,
+ /// 32×8×16, 16×4×8, 8×2×4, 4×1×2, 2×1×1 and 1×1×1. These correspond to levels 0
+ /// through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width, height and depth actually used at level 0. (The width, height
+ /// and depth may not be equal to width, height and depth
+ /// respectively since proxy textures might have scaled them to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(max(width,height,depth)).
+ ///
+ ///
+ /// gluBuild3DMipmaps is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] uint[, ,] data);
+ #endregion int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] uint[ , , ] data)
+
+ #region int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] IntPtr data)
+ ///
+ /// Builds a three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the depth in pixels of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmaps builds a series of prefiltered three-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width, height and depth of data
+ /// are checked to see if they are a power of two. If not, a copy of data
+ /// (not data itself), is scaled up or down to the nearest power of two.
+ /// This copy will be used for subsequent mipmapping operations described below.
+ /// (If width, height or depth is exactly between powers of
+ /// 2, then the copy of data will scale upwards.) For example, if
+ /// width is 57, height is 23 and depth is 24 then a copy of
+ /// data will scale up to 64 in width, down to 16 in height
+ /// and up to 32 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, all
+ /// three dimensions are continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along all three dimensions until size 1×1×1 is reached. At each
+ /// level, each texel in the halved mipmap level is an average of the
+ /// corresponding eight texels in the larger mipmap level. (If exactly one of
+ /// the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height,depth)). For example, if width is 64,
+ /// height is 16 and depth is 32, and the implementation can store
+ /// a texture of this size, the following mipmap levels are built: 64×16×32,
+ /// 32×8×16, 16×4×8, 8×2×4, 4×1×2, 2×1×1 and 1×1×1. These correspond to levels 0
+ /// through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width, height and depth actually used at level 0. (The width, height
+ /// and depth may not be equal to width, height and depth
+ /// respectively since proxy textures might have scaled them to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(max(width,height,depth)).
+ ///
+ ///
+ /// gluBuild3DMipmaps is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] IntPtr data);
+ #endregion int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] IntPtr data)
+
+ #region int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] void *data)
+ ///
+ /// Builds a three-dimensional mipmap.
+ ///
+ ///
+ /// Specifies the target texture. Must be .
+ ///
+ ///
+ /// Requests the internal storage format of the texture image. Must be 1, 2, 3,
+ /// 4, or one of the following symbolic constants: ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies, in pixels, the width in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the height in pixels of the texture image.
+ ///
+ ///
+ /// Specifies, in pixels, the depth in pixels of the texture image.
+ ///
+ ///
+ /// Specifies the format of the pixel data. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ /// Specifies the data type for data. Must be one of:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluBuild3DMipmaps builds a series of prefiltered three-dimensional
+ /// texture maps of decreasing resolutions called a mipmap. This is used for the
+ /// antialiasing of texture-mapped primitives.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// Initially, the width, height and depth of data
+ /// are checked to see if they are a power of two. If not, a copy of data
+ /// (not data itself), is scaled up or down to the nearest power of two.
+ /// This copy will be used for subsequent mipmapping operations described below.
+ /// (If width, height or depth is exactly between powers of
+ /// 2, then the copy of data will scale upwards.) For example, if
+ /// width is 57, height is 23 and depth is 24 then a copy of
+ /// data will scale up to 64 in width, down to 16 in height
+ /// and up to 32 in depth, before mipmapping takes place.
+ ///
+ ///
+ /// Then, proxy textures (see ) are used to
+ /// determine if the implementation can fit the requested texture. If not, all
+ /// three dimensions are continually halved until it fits.
+ ///
+ ///
+ /// Next, a series of mipmap levels is built by decimating a copy of data
+ /// in half along all three dimensions until size 1×1×1 is reached. At each
+ /// level, each texel in the halved mipmap level is an average of the
+ /// corresponding eight texels in the larger mipmap level. (If exactly one of
+ /// the dimensions is 1, four texels are averaged. If exactly two of the
+ /// dimensions are 1, two texels are averaged.)
+ ///
+ ///
+ /// is called to load each of these mipmap levels.
+ /// Level 0 is a copy of data. The highest level is
+ /// log2(max(width,height,depth)). For example, if width is 64,
+ /// height is 16 and depth is 32, and the implementation can store
+ /// a texture of this size, the following mipmap levels are built: 64×16×32,
+ /// 32×8×16, 16×4×8, 8×2×4, 4×1×2, 2×1×1 and 1×1×1. These correspond to levels 0
+ /// through 6, respectively.
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for format parameter. See the
+ /// reference page for a description of the
+ /// acceptable values for type parameter.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// There is no direct way of querying the maximum level. This can be derived
+ /// indirectly via . First, query for
+ /// the width, height and depth actually used at level 0. (The width, height
+ /// and depth may not be equal to width, height and depth
+ /// respectively since proxy textures might have scaled them to fit the
+ /// implementation.) Then the maximum level can be derived from the formula
+ /// log2(max(width,height,depth)).
+ ///
+ ///
+ /// gluBuild3DMipmaps is only available if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if width, height,
+ /// or depth is < 1.
+ ///
+ ///
+ /// is returned if internalFormat,
+ /// format, or type is not legal.
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if type is
+ /// or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluBuild3DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] void* data);
+ #endregion int gluBuild3DMipmaps(int target, int internalFormat, int width, int height, int depth, int format, int type, [In] void *data)
+
+ #region int gluCheckExtension(string extensionName, string extensionString)
+ ///
+ /// Determines if an extension name is supported.
+ ///
+ ///
+ /// Specifies an extension name.
+ ///
+ ///
+ /// Specifies a space-separated list of extension names supported.
+ ///
+ ///
+ /// Returns if extensionName is supported
+ /// otherwise is returned.
+ ///
+ ///
+ ///
+ /// gluCheckExtension is used to check for the presence for OpenGL, GLU or
+ /// GLX extension names by passing the extension strings returned by
+ /// , ,
+ /// /*see cref="glXGetClientString" />*/, /*see cref="glXQueryExtensionsString" />*/,
+ /// or /*see cref="glXQueryServerString" />*/, respectively, as
+ /// extensionString.
+ ///
+ ///
+ /// Returns if extensionName is supported
+ /// otherwise is returned.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// Cases where one extension name is a substring of another are correctly
+ /// handled.
+ ///
+ ///
+ /// There may or may not be leading or trailing blanks in extensionString.
+ ///
+ ///
+ /// Extension names should not contain embedded spaces.
+ ///
+ ///
+ /// All strings are null-terminated.
+ ///
+ ///
+ ///
+ ///
+ /// /*seealso cref="glXGetClientString" />*/
+ /// /*seealso cref="glXQueryExtensionsString" />*/
+ /// /*seealso cref="glXQueryServerString" />*/
+ // GLAPI GLboolean GLAPIENTRY gluCheckExtension (const GLubyte *extName, const GLubyte *extString);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluCheckExtension(string extensionName, string extensionString);
+ #endregion int gluCheckExtension(string extensionName, string extensionString)
+
+ #region gluCylinder([In] GLUquadric quad, double baseRadius, double topRadius, double height, int slices, int stacks)
+ ///
+ /// Draws a cylinder.
+ ///
+ ///
+ /// Specifies the quadrics object (created with ).
+ ///
+ ///
+ /// Specifies the radius of the cylinder at z = 0.
+ ///
+ ///
+ /// Specifies the radius of the cylinder at z = height. If top is
+ /// set to 0, this subroutine generates a cone.
+ ///
+ ///
+ /// Specifies the height of the cylinder.
+ ///
+ ///
+ /// Specifies the number of subdivisions around the z axis.
+ ///
+ ///
+ /// Specifies the number of subdivisions along the z axis.
+ ///
+ ///
+ ///
+ /// gluCylinder draws a cylinder oriented along the z axis. The base of
+ /// the cylinder is placed at z = 0, and the top at z = height. Like a sphere,
+ /// a cylinder is subdivided around the z axis into slices, and along the z axis
+ /// into stacks.
+ ///
+ ///
+ /// Note that if top is set to 0.0, this routine generates a cone.
+ ///
+ ///
+ /// If the orientation is set to (with
+ /// ), then any generated normals point away
+ /// from the z axis. Otherwise, they point toward the z axis.
+ ///
+ ///
+ /// If texturing is turned on using the
+ /// subroutine, texture coordinates are generated so that t ranges linearly from
+ /// 0.0 at z = 0 to 1.0 at z = height, and s ranges from 0.0 at the +y axis to
+ /// 0.25 at the +x axis, as well as up to 0.5 at the -y axis and 0.75 at the
+ /// -x axis, then back to 1.0 at the +y axis.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluCylinder(GLUquadric *qobj, GLdouble baseRadius, GLdouble topRadius, GLdouble height, GLint slices, GLint stacks);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluCylinder([In] GLUquadric quad, double baseRadius, double topRadius, double height, int slices, int stacks);
+ #endregion gluCylinder([In] GLUquadric quad, double baseRadius, double topRadius, double height, int slices, int stacks)
+
+ #region gluDeleteNurbsRenderer([In] GLUnurbs nurb)
+ ///
+ /// Destroys a NURBS object.
+ ///
+ ///
+ /// The NURBS object to be destroyed (created with
+ /// ).
+ ///
+ ///
+ /// gluDeleteNurbsRenderer destroys the NURBS object (which was created with
+ /// ) and frees any memory it uses. Once
+ /// gluDeleteNurbsRenderer has been called, nurb cannot be used again.
+ ///
+ ///
+ // void APIENTRY gluDeleteNurbsRenderer(GLUnurbs *nobj);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluDeleteNurbsRenderer([In] GLUnurbs nurb);
+ #endregion gluDeleteNurbsRenderer([In] GLUnurbs nurb)
+
+ #region gluDeleteQuadric([In] GLUquadric quad)
+ ///
+ /// Destroys a quadrics object.
+ ///
+ ///
+ /// The quadric object to be destroyed (created with
+ /// ).
+ ///
+ ///
+ /// gluDeleteQuadric destroys the quadrics object (created with
+ /// ) and frees any memory it uses. Once
+ /// gluDeleteQuadric has been called, quad cannot be used again.
+ ///
+ ///
+ // void APIENTRY gluDeleteQuadric(GLUquadric *state);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluDeleteQuadric([In] GLUquadric quad);
+ #endregion gluDeleteQuadric([In] GLUquadric quad)
+
+ #region gluDeleteTess([In] GLUtesselator tess)
+ ///
+ /// Destroys a tessellation object.
+ ///
+ ///
+ /// The tessellation object to destroy (created with ).
+ ///
+ ///
+ /// gluDeleteTess destroys the indicated tessellation object (which was
+ /// created with ) and frees any memory that it used.
+ /// Once gluDeleteTess has been called, tess cannot be used again.
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluDeleteTess(GLUtesselator *tess);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluDeleteTess([In] GLUtesselator tess);
+ #endregion gluDeleteTess([In] GLUtesselator tess)
+
+ #region gluDisk([In] GLUquadric quad, double innerRadius, double outerRadius, int slices, int loops)
+ ///
+ /// Draws a disk.
+ ///
+ ///
+ /// The quadric object (created with ).
+ ///
+ ///
+ /// The inner radius of the disk (may be zero).
+ ///
+ ///
+ /// The outer radius of the disk.
+ ///
+ ///
+ /// The number of subdivisions around the z-axis.
+ ///
+ ///
+ /// The number of concentric rings about the origin into which the disk is subdivided.
+ ///
+ ///
+ ///
+ /// gluDisk renders a disk on the z = 0 plane. The disk has a radius of
+ /// outerRadius, and contains a concentric circular hole with a radius of
+ /// innerRadius. If innerRadius is 0, then no hole is generated.
+ /// The disk is subdivided around the z axis into slices (like pizza slices),
+ /// and also about the z axis into rings (as specified by slices and
+ /// loops, respectively).
+ ///
+ ///
+ /// With respect to orientation, the +z side of the disk is considered to be
+ /// "outside" (see ). This means that if the
+ /// orientation is set to , then any normals generated
+ /// point along the +z axis. Otherwise, they point along the -z axis.
+ ///
+ ///
+ /// If texturing has been turned on (with ),
+ /// texture coordinates are generated linearly such that where r = outerRadius,
+ /// the value at (r, 0, 0) is (1, 0.5), at (0, r, 0) it is (0.5, 1), at
+ /// (-r, 0, 0) it is (0, 0.5), and at (0, -r, 0) it is (0.5, 0).
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluDisk(GLUquadric *qobj, GLdouble innerRadius, GLdouble outerRadius, GLint slices, GLint loops);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluDisk([In] GLUquadric quad, double innerRadius, double outerRadius, int slices, int loops);
+ #endregion gluDisk([In] GLUquadric quad, double innerRadius, double outerRadius, int slices, int loops)
+
+ #region gluEndCurve([In] GLUnurbs nurb)
+ ///
+ /// Delimits a Non-Uniform Rational B-Spline (NURBS) curve definition.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ ///
+ /// Use to mark the beginning of a NURBS curve
+ /// definition. After calling , make one or more
+ /// calls to to define the attributes of the curve.
+ /// Exactly one of the calls to must have a curve
+ /// type of or
+ /// . To mark the end of the NURBS curve
+ /// definition, call gluEndCurve.
+ ///
+ ///
+ /// OpenGL evaluators are used to render the NURBS curve as a series of line
+ /// segments. Evaluator state is preserved during rendering with
+ /// Gl.glPushAttrib(Gl.GL_EVAL_BIT) and Gl.glPopAttrib. For
+ /// information on exactly what state these calls preserve, see
+ /// .
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following commands render a textured NURBS curve with normals; texture
+ /// coordinates and normals are also specified as NURBS curves:
+ ///
+ ///
+ ///
+ /// Glu.gluBeginCurve(nobj);
+ /// Glu.gluNurbsCurve(nobj, ..., Gl.GL_MAP1_TEXTURE_COORD_2);
+ /// Glu.gluNurbsCurve(nobj, ..., Gl.GL_MAP1_NORMAL);
+ /// Glu.gluNurbsCurve(nobj, ..., Gl.GL_MAP1_VERTEX_4);
+ /// Glu.gluEndCurve(nobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluEndCurve(GLUnurbs *nobj);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluEndCurve([In] GLUnurbs nurb);
+ #endregion gluEndCurve([In] GLUnurbs nurb)
+
+ #region gluEndPolygon([In] GLUtesselator tess)
+ ///
+ /// Delimits a polygon description.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ ///
+ /// delimits the definition of a nonconvex
+ /// polygon. To define such a polygon, first call
+ /// . Then define the contours of the polygon by
+ /// calling for each vertex and
+ /// to start each new contour. Finally, call
+ /// gluEndPolygon to signal the end of the definition. See the
+ /// and reference
+ /// pages for more details.
+ ///
+ ///
+ /// Once gluEndPolygon is called, the polygon is tessellated, and the
+ /// resulting triangles are described through callbacks. See
+ /// for descriptions of the callback functions.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// This command is obsolete and is provided for backward compatibility only.
+ /// Calls to are mapped to
+ /// followed by
+ /// . Calls to gluEndPolygon are mapped
+ /// to followed by
+ /// .
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// A quadrilateral with a triangular hole in it can be described like this:
+ ///
+ ///
+ ///
+ /// Glu.gluBeginPolygon(tobj);
+ /// Glu.gluTessVertex(tobj, v1, v1);
+ /// Glu.gluTessVertex(tobj, v2, v2);
+ /// Glu.gluTessVertex(tobj, v3, v3);
+ /// Glu.gluTessVertex(tobj, v4, v4);
+ /// Glu.gluNextContour(tobj, Glu.GLU_INTERIOR);
+ /// Glu.gluTessVertex(tobj, v5, v5);
+ /// Glu.gluTessVertex(tobj, v6, v6);
+ /// Glu.gluTessVertex(tobj, v7, v7);
+ /// Glu.gluEndPolygon(tobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluEndPolygon(GLUtesselator *tess);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluEndPolygon([In] GLUtesselator tess);
+ #endregion gluEndPolygon([In] GLUtesselator tess)
+
+ #region gluEndSurface([In] GLUnurbs nurb)
+ ///
+ /// Delimits a NURBS surface definition.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ ///
+ /// Use to mark the beginning of a NURBS surface
+ /// definition. After calling , make one or more
+ /// calls to to define the attributes of the
+ /// surface. Exactly one of these calls to must
+ /// have a surface type of or
+ /// . To mark the end of the NURBS surface
+ /// definition, call gluEndSurface.
+ ///
+ ///
+ /// Trimming of NURBS surfaces is supported with ,
+ /// , , and
+ /// . See the reference
+ /// page for details.
+ ///
+ ///
+ /// OpenGL evaluators are used to render the NURBS surface as a set of polygons.
+ /// Evaluator state is preserved during rendering with
+ /// Gl.glPushAttrib(Gl.GL_EVAL_BIT) and Gl.glPopAttrib(). See the
+ /// reference page for details on exactly what
+ /// state these calls preserve.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following commands render a textured NURBS surface with normals; the
+ /// texture coordinates and normals are also described as NURBS surfaces:
+ ///
+ ///
+ ///
+ /// Glu.gluBeginSurface(nobj);
+ /// Glu.gluNurbsSurface(nobj, ..., Gl.GL_MAP2_TEXTURE_COORD_2);
+ /// Glu.gluNurbsSurface(nobj, ..., Gl.GL_MAP2_NORMAL);
+ /// Glu.gluNurbsSurface(nobj, ..., Gl.GL_MAP2_VERTEX_4);
+ /// Glu.gluEndSurface(nobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluEndSurface(GLUnurbs *nobj);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluEndSurface([In] GLUnurbs nurb);
+ #endregion gluEndSurface([In] GLUnurbs nurb)
+
+ #region gluEndTrim([In] GLUnurbs nurb)
+ ///
+ /// Delimits a NURBS trimming loop definition.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ ///
+ /// Use to mark the beginning of a trimming loop, and
+ /// gluEndTrim to mark the end of a trimming loop. A trimming loop is a
+ /// set of oriented curve segments (forming a closed curve) that define
+ /// boundaries of a NURBS surface. You include these trimming loops in the
+ /// definition of a NURBS surface, between calls to
+ /// and .
+ ///
+ ///
+ /// The definition for a NURBS surface can contain many trimming loops. For
+ /// example, if you wrote a definition for a NURBS surface that resembled a
+ /// rectangle with a hole punched out, the definition would contain two trimming
+ /// loops. One loop would define the outer edge of the rectangle; the other
+ /// would define the hole punched out of the rectangle. The definitions of each
+ /// of these trimming loops would be bracketed by a
+ /// and gluEndTrim pair.
+ ///
+ ///
+ /// The definition of a single closed trimming loop can consist of multiple curve
+ /// segments, each described as a piecewise linear curve (see
+ /// ) or as a single NURBS curve (see
+ /// ), or as a combination of both in any order. The
+ /// only library calls that can appear in a trimming loop definition (between the
+ /// calls to and gluEndTrim are
+ /// and .
+ ///
+ ///
+ /// The area of the NURBS surface that is displayed is the region in the domain
+ /// to the left of the trimming curve as the curve parameter increases. Thus,
+ /// the retained region of the NURBS surface is inside a counterclockwise
+ /// trimming loop and outside a clockwise trimming loop. For the rectangle
+ /// mentioned earlier, the trimming loop for the outer edge of the rectangle runs
+ /// counterclockwise, while the trimming loop for the punched-out hole runs
+ /// clockwise.
+ ///
+ ///
+ /// If you use more than one curve to define a single trimming loop, the curve
+ /// segments must form a closed loop (that is, the endpoint of each curve must be
+ /// the starting point of the next curve, and the endpoint of the final curve
+ /// must be the starting point of the first curve). If the endpoints of the
+ /// curve are sufficiently close together but not exactly coincident, they will
+ /// be coerced to match. If the endpoints are not sufficiently close, an error
+ /// results (see ).
+ ///
+ ///
+ /// If a trimming loop definition contains multiple curves, the direction of the
+ /// curves must be consistent (that is, the inside must be to the left of all of
+ /// the curves). Nested trimming loops are legal as long as the curve
+ /// orientations alternate correctly. If trimming curves are self-intersecting,
+ /// or intersect one another, an error results.
+ ///
+ ///
+ /// If no trimming information is given for a NURBS surface, the entire surface
+ /// is drawn.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// This code fragment defines a trimming loop that consists of one piecewise
+ /// linear curve, and two NURBS curves:
+ ///
+ ///
+ ///
+ /// Glu.gluBeginTrim(nobj);
+ /// Glu.gluPwlCurve(..., Glu.GLU_MAP1_TRIM_2);
+ /// Glu.gluNurbsCurve(..., Glu.GLU_MAP1_TRIM_2);
+ /// Glu.gluNurbsCurve(..., Glu.GLU_MAP1_TRIM_3);
+ /// Glu.gluEndTrim(nobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluEndTrim(GLUnurbs *nobj);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluEndTrim([In] GLUnurbs nurb);
+ #endregion gluEndTrim([In] GLUnurbs nurb)
+
+ #region string gluErrorString(int errorCode)
+ ///
+ /// Produces an error string from a GL or GLU error code.
+ ///
+ ///
+ /// An OpenGL or GLU error code.
+ ///
+ ///
+ /// A string representation of the error.
+ ///
+ ///
+ ///
+ /// gluErrorString produces an error string from a GL or GLU error code.
+ /// The string is in ISO Latin 1 format. For example,
+ /// gluErrorString(Gl.GL_OUT_OF_MEMORY) returns the string 'out of
+ /// memory'.
+ ///
+ ///
+ /// The standard GLU error codes are ,
+ /// , and .
+ /// Certain other GLU functions can return specialized error codes through
+ /// callbacks. See the reference page for the list
+ /// of GL error codes.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// NULL is returned if errorCode is not a valid GL or GLU error
+ /// code.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // const GLubyte* APIENTRY gluErrorString(GLenum errCode);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION, EntryPoint = "gluErrorString"), SuppressUnmanagedCodeSecurity]
+ private static extern IntPtr gluErrorStringUnsafe(int errorCode);
+
+ public static string gluErrorString(int errorCode)
+ {
+ return Marshal.PtrToStringAnsi(gluErrorStringUnsafe(errorCode));
+ }
+ #endregion string gluErrorString(int errorCode)
+
+ #region string gluErrorStringWIN(int errorCode)
+ ///
+ /// Produces an error string from a GL or GLU error code.
+ ///
+ ///
+ /// An OpenGL or GLU error code.
+ ///
+ ///
+ /// A string representation of the error.
+ ///
+ ///
+ ///
+ /// gluErrorStringWIN produces an error string from a GL or GLU error
+ /// code. The string is in UNICODE format. For example,
+ /// gluErrorStringWIN(Gl.GL_OUT_OF_MEMORY) returns the string 'out of
+ /// memory'.
+ ///
+ ///
+ /// The standard GLU error codes are ,
+ /// , and .
+ /// Certain other GLU functions can return specialized error codes through
+ /// callbacks. See the reference page for the list
+ /// of GL error codes.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// NULL is returned if errorCode is not a valid GL or GLU error
+ /// code.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // const GLubyte* APIENTRY gluErrorStringWIN(GLenum errCode);
+ public static string gluErrorStringWIN(int errorCode)
+ {
+ return gluErrorUnicodeStringEXT(errorCode);
+ }
+ #endregion string gluErrorStringWIN(int errorCode)
+
+ #region string gluErrorUnicodeStringEXT(int errorCode)
+ ///
+ /// Produces an error string from a GL or GLU error code.
+ ///
+ ///
+ /// An OpenGL or GLU error code.
+ ///
+ ///
+ /// A Unicode string representation of the error.
+ ///
+ ///
+ ///
+ /// gluErrorString produces an error string from a GL or GLU error code.
+ /// The string is in UNICODE format. For example,
+ /// gluErrorString(Gl.GL_OUT_OF_MEMORY) returns the string 'out of
+ /// memory'.
+ ///
+ ///
+ /// The standard GLU error codes are ,
+ /// , and .
+ /// Certain other GLU functions can return specialized error codes through
+ /// callbacks. See the reference page for the list
+ /// of GL error codes.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// NULL is returned if errorCode is not a valid GL or GLU error
+ /// code.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // const wchar_t* APIENTRY gluErrorUnicodeStringEXT(GLenum errCode);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION, EntryPoint = "gluErrorUnicodeStringEXT"), SuppressUnmanagedCodeSecurity]
+ private static extern IntPtr gluErrorUnicodeStringEXTUnsafe(int errorCode);
+
+ public static string gluErrorUnicodeStringEXT(int errorCode)
+ {
+ return Marshal.PtrToStringAnsi(gluErrorUnicodeStringEXTUnsafe(errorCode));
+ }
+ #endregion string gluErrorUnicodeStringEXT(int errorCode)
+
+ #region gluGetNurbsProperty([In] GLUnurbs nurb, int property, [Out] float[] data)
+ ///
+ /// Gets a NURBS property.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// The property whose value is to be retrieved. The following values are valid:
+ /// , ,
+ /// , ,
+ /// ,
+ /// , , and
+ /// .
+ ///
+ ///
+ /// A pointer to the location into which the value of the named property is
+ /// written.
+ ///
+ ///
+ /// gluGetNurbsProperty retrieves properties stored in a NURBS object.
+ /// These properties affect the way that NURBS curves and surfaces are rendered.
+ /// See the reference page for information about
+ /// what the properties are and what they do.
+ ///
+ ///
+ ///
+ // void APIENTRY gluGetNurbsProperty(GLUnurbs *nobj, GLenum property, GLfloat *value);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluGetNurbsProperty([In] GLUnurbs nurb, int property, [Out] float[] data);
+ #endregion gluGetNurbsProperty([In] GLUnurbs nurb, int property, [Out] float[] data)
+
+ #region gluGetNurbsProperty([In] GLUnurbs nurb, int property, out float data)
+ ///
+ /// Gets a NURBS property.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// The property whose value is to be retrieved. The following values are valid:
+ /// , ,
+ /// , ,
+ /// ,
+ /// , , and
+ /// .
+ ///
+ ///
+ /// A pointer to the location into which the value of the named property is
+ /// written.
+ ///
+ ///
+ /// gluGetNurbsProperty retrieves properties stored in a NURBS object.
+ /// These properties affect the way that NURBS curves and surfaces are rendered.
+ /// See the reference page for information about
+ /// what the properties are and what they do.
+ ///
+ ///
+ ///
+ // void APIENTRY gluGetNurbsProperty(GLUnurbs *nobj, GLenum property, GLfloat *value);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluGetNurbsProperty([In] GLUnurbs nurb, int property, out float data);
+ #endregion gluGetNurbsProperty([In] GLUnurbs nurb, int property, out float data)
+
+ #region gluGetNurbsProperty([In] GLUnurbs nurb, int property, [Out] IntPtr data)
+ ///
+ /// Gets a NURBS property.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// The property whose value is to be retrieved. The following values are valid:
+ /// , ,
+ /// , ,
+ /// ,
+ /// , , and
+ /// .
+ ///
+ ///
+ /// A pointer to the location into which the value of the named property is
+ /// written.
+ ///
+ ///
+ /// gluGetNurbsProperty retrieves properties stored in a NURBS object.
+ /// These properties affect the way that NURBS curves and surfaces are rendered.
+ /// See the reference page for information about
+ /// what the properties are and what they do.
+ ///
+ ///
+ ///
+ // void APIENTRY gluGetNurbsProperty(GLUnurbs *nobj, GLenum property, GLfloat *value);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluGetNurbsProperty([In] GLUnurbs nurb, int property, [Out] IntPtr data);
+ #endregion gluGetNurbsProperty([In] GLUnurbs nurb, int property, [Out] IntPtr data)
+
+ #region string gluGetString(int name)
+ ///
+ /// Gets a string that describes the GLU version number or supported GLU extension
+ /// calls.
+ ///
+ ///
+ /// Either the version number of GLU () or available
+ /// vendor-specific extension calls ().
+ ///
+ ///
+ /// Returns a string describing the GLU version or the GLU extensions that are
+ /// supported.
+ ///
+ ///
+ ///
+ /// gluGetString returns a string describing the GLU version or the GLU
+ /// extensions that are supported. When name is
+ /// , the returned string is a value that represents
+ /// the version number of GLU. The format of the version number is as follows:
+ ///
+ ///
+ /// <version number><space><vendor-specific information>
+ /// (for example, "1.2.11 Microsoft Windows NT")
+ ///
+ ///
+ /// The version number has the form "major_number.minor_number" or
+ /// "major_number.minor_number.release_number". The vendor-specific information
+ /// is optional, and the format and contents depend on the implementation.
+ ///
+ ///
+ /// When name is , the returned string
+ /// contains a list of names of supported GLU extensions that are separated by
+ /// spaces. The format of the returned list of names is as follows:
+ ///
+ ///
+ /// <extension_name><space><extension_name><space> . . .
+ /// (for example, "GLU_NURBS GL_TESSELATION")
+ ///
+ ///
+ /// The extension names cannot contain any spaces.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// The gluGetString function is valid for GLU version 1.1 or later.
+ ///
+ ///
+ /// All strings are NULL-terminated.
+ ///
+ ///
+ /// gluGetString only returns information about GLU extensions. Call
+ /// to get a list of GL extensions.
+ ///
+ ///
+ /// gluGetString is an initialization routine. Calling it after a
+ /// results in undefined behavior.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// NULL is returned if name is not or
+ /// .
+ ///
+ ///
+ ///
+ // const GLubyte* APIENTRY gluGetString(GLenum name);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION, EntryPoint = "gluGetString"), SuppressUnmanagedCodeSecurity]
+ private static extern IntPtr gluGetStringUnsafe(int name);
+
+ public static string gluGetString(int name)
+ {
+ return Marshal.PtrToStringAnsi(gluGetStringUnsafe(name));
+ }
+ #endregion string gluGetString(int name)
+
+ #region gluGetTessProperty([In] GLUtesselator tess, int which, [Out] double[] data)
+ ///
+ /// Gets a tessellation object property.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// The property whose value is to be retrieved. The following values are valid:
+ /// , ,
+ /// and .
+ ///
+ ///
+ /// A pointer to the location where the value of the named property is written.
+ ///
+ ///
+ /// gluGetTessProperty retrieves properties stored in a tessellation
+ /// object. These properties affect the way that tessellation objects are
+ /// interpreted and rendered. See the reference
+ /// page for information about the properties and what they do.
+ ///
+ ///
+ ///
+ // void APIENTRY gluGetTessProperty(GLUtesselator *tess, GLenum which, GLdouble *value);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluGetTessProperty([In] GLUtesselator tess, int which, [Out] double[] data);
+ #endregion gluGetTessProperty([In] GLUtesselator tess, int which, [Out] double[] data)
+
+ #region gluGetTessProperty([In] GLUtesselator tess, int which, out double data)
+ ///
+ /// Gets a tessellation object property.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// The property whose value is to be retrieved. The following values are valid:
+ /// , ,
+ /// and .
+ ///
+ ///
+ /// A pointer to the location where the value of the named property is written.
+ ///
+ ///
+ /// gluGetTessProperty retrieves properties stored in a tessellation
+ /// object. These properties affect the way that tessellation objects are
+ /// interpreted and rendered. See the reference
+ /// page for information about the properties and what they do.
+ ///
+ ///
+ ///
+ // void APIENTRY gluGetTessProperty(GLUtesselator *tess, GLenum which, GLdouble *value);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluGetTessProperty([In] GLUtesselator tess, int which, out double data);
+ #endregion gluGetTessProperty([In] GLUtesselator tess, int which, out double data)
+
+ #region gluGetTessProperty([In] GLUtesselator tess, int which, [Out] IntPtr data)
+ ///
+ /// Gets a tessellation object property.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// The property whose value is to be retrieved. The following values are valid:
+ /// , ,
+ /// and .
+ ///
+ ///
+ /// A pointer to the location where the value of the named property is written.
+ ///
+ ///
+ /// gluGetTessProperty retrieves properties stored in a tessellation
+ /// object. These properties affect the way that tessellation objects are
+ /// interpreted and rendered. See the reference
+ /// page for information about the properties and what they do.
+ ///
+ ///
+ ///
+ // void APIENTRY gluGetTessProperty(GLUtesselator *tess, GLenum which, GLdouble *value);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluGetTessProperty([In] GLUtesselator tess, int which, [Out] IntPtr data);
+ #endregion gluGetTessProperty([In] GLUtesselator tess, int which, [Out] IntPtr data)
+
+ #region gluLoadSamplingMatrices([In] GLUnurbs nurb, [In] float[] modelMatrix, [In] float[] projectionMatrix, [In] int[] viewport)
+ ///
+ /// Loads NURBS sampling and culling matrices.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A modelview matrix (as from a call).
+ ///
+ ///
+ /// A projection matrix (as from a call).
+ ///
+ ///
+ /// A viewport (as from a call).
+ ///
+ ///
+ ///
+ /// gluLoadSamplingMatrices uses modelMatrix,
+ /// projectionMatrix, and viewport to recompute the sampling and
+ /// culling matrices stored in nurb. The sampling matrix determines how
+ /// finely a NURBS curve or surface must be tessellated to satisfy the sampling
+ /// tolerance (as determined by the
+ /// property). The culling matrix is used in deciding if a NURBS curve or
+ /// surface should be culled before rendering (when the
+ /// property is turned on).
+ ///
+ ///
+ /// gluLoadSamplingMatrices is necessary only if the
+ /// property is turned off (see
+ /// ). Although it can be convenient to leave the
+ /// property turned on, there can be a
+ /// performance penalty for doing so. (A round trip to the GL server is needed
+ /// to fetch the current values of the modelview matrix, projection matrix, and
+ /// viewport.)
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluLoadSamplingMatrices(GLUnurbs *nobj, const GLfloat modelMatrix[16], const GLfloat projMatrix[16], const GLint viewport[4]);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluLoadSamplingMatrices([In] GLUnurbs nurb, [In] float[] modelMatrix, [In] float[] projectionMatrix, [In] int[] viewport);
+ #endregion gluLoadSamplingMatrices([In] GLUnurbs nurb, [In] float[] modelMatrix, [In] float[] projectionMatrix, [In] int[] viewport)
+
+ #region gluLookAt(double eyeX, double eyeY, double eyeZ, double centerX, double centerY, double centerZ, double upX, double upY, double upZ)
+ ///
+ /// Defines a viewing transformation.
+ ///
+ ///
+ /// The x axis position of the eye point.
+ ///
+ ///
+ /// The y axis position of the eye point.
+ ///
+ ///
+ /// The z axis position of the eye point.
+ ///
+ ///
+ /// The x axis position of the reference point.
+ ///
+ ///
+ /// The y axis position of the reference point.
+ ///
+ ///
+ /// The z axis position of the reference point.
+ ///
+ ///
+ /// The x axis direction of the up vector.
+ ///
+ ///
+ /// The y axis direction of the up vector.
+ ///
+ ///
+ /// The z axis direction of the up vector.
+ ///
+ ///
+ ///
+ /// gluLookAt creates a viewing matrix derived from an eye point, a
+ /// reference point indicating the center of the scene, and an UP vector.
+ ///
+ ///
+ /// The matrix maps the reference point to the negative z axis and the eye point
+ /// to the origin. When a typical projection matrix is used, the center of the
+ /// scene therefore maps to the center of the viewport. Similarly, the direction
+ /// described by the UP vector projected onto the viewing plane is mapped to the
+ /// positive y axis so that it points upward in the viewport. The UP vector must
+ /// not be parallel to the line of sight from the eye point to the reference
+ /// point.
+ ///
+ ///
+ /// The matrix generated by gluLookAt postmultiplies the current matrix.
+ ///
+ ///
+ /// The matrix M generated by the OpenGL could be computed as follows:
+ ///
+ ///
+ /// Let E be the 3d column vector (eyeX, eyeY, eyeZ).
+ /// Let C be the 3d column vector (centerX, centerY, centerZ).
+ /// Let U be the 3d column vector (upX, upY, upZ).
+ /// Compute L = C - E.
+ /// Normalize L.
+ /// Compute S = L x U.
+ /// Normalize S.
+ /// Compute U' = S x L.
+ ///
+ ///
+ /// M is the matrix whose columns are, in order:
+ ///
+ ///
+ /// (S, 0), (U', 0), (-L, 0), (-E, 1) (all column vectors)
+ ///
+ ///
+ /// Note: This matrix is defined for use in systems where the the modelling
+ /// coordinate vector is a column vector and is multiplied on the left by the
+ /// matrices. If you prefer a row vector which gets multiplied by matrices to
+ /// its right, then use the transpose of this matrix M.
+ ///
+ ///
+ /// Note: It is necessary that the UP vector NOT be parallel to the line
+ /// connecting the center point with the eye point.
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluLookAt(GLdouble eyex, GLdouble eyey, GLdouble eyez, GLdouble centerx, GLdouble centery, GLdouble centerz, GLdouble upx, GLdouble upy, GLdouble upz);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluLookAt(double eyeX, double eyeY, double eyeZ, double centerX, double centerY, double centerZ, double upX, double upY, double upZ);
+ #endregion gluLookAt(double eyeX, double eyeY, double eyeZ, double centerX, double centerY, double centerZ, double upX, double upY, double upZ)
+
+ #region GLUnurbs gluNewNurbsRenderer()
+ ///
+ /// Creates a NURBS object.
+ ///
+ ///
+ /// Returns a pointer to a new NURBS object.
+ ///
+ ///
+ /// gluNewNurbsRenderer creates and returns a pointer to a new NURBS
+ /// object. This object must be referred to when calling NURBS rendering and
+ /// control functions. A return value of 0 means that there is not enough memory
+ /// to allocate the object.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLUnurbs* APIENTRY gluNewNurbsRenderer(void);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern GLUnurbs gluNewNurbsRenderer();
+ #endregion GLUnurbs gluNewNurbsRenderer()
+
+ #region GLUquadric gluNewQuadric()
+ ///
+ /// Creates a quadrics object.
+ ///
+ ///
+ /// Returns a pointer to a new quadrics object.
+ ///
+ ///
+ /// gluNewQuadric creates and returns a pointer to a new quadrics object.
+ /// This object must be referred to when calling quadrics rendering and control
+ /// functions. A return value of 0 means that there is not enough memory to
+ /// allocate the object.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLUquadric* APIENTRY gluNewQuadric(void);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern GLUquadric gluNewQuadric();
+ #endregion GLUquadric gluNewQuadric()
+
+ #region GLUtesselator gluNewTess()
+ ///
+ /// Creates a tessellation object.
+ ///
+ ///
+ /// Returns a pointer to a new tessellation object.
+ ///
+ ///
+ /// gluNewTess creates and returns a pointer to a new tessellation object.
+ /// This object must be referred to when calling tessellation functions. A
+ /// return value of 0 means that there is not enough memory to allocate the
+ /// object.
+ ///
+ ///
+ ///
+ ///
+ // GLUtesselator* APIENTRY gluNewTess(void);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern GLUtesselator gluNewTess();
+ #endregion GLUtesselator gluNewTess()
+
+ #region gluNextContour([In] GLUtesselator tess, int type)
+ ///
+ /// Marks the beginning of another contour.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ ///
+ /// The type of the contour being defined. The following values are valid:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// An exterior contour defines an exterior boundary of the polygon.
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// An interior contour defines an interior boundary of the polygon
+ /// (such as a hole).
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// An unknown contour is analyzed by the library to determine
+ /// whether it is interior or exterior.
+ ///
+ ///
+ /// -
+ /// ,
+ ///
+ ///
+ /// The first or
+ /// contour defined is considered to be exterior. All other
+ /// contours are considered to be exterior if they are oriented
+ /// in the same direction (clockwise or counterclockwise) as the
+ /// first contour, and interior if they are not.
+ ///
+ ///
+ /// If one contour is of type or
+ /// , then all contours must be of the same
+ /// type (if they are not, then all and
+ /// contours will be changed to
+ /// ). Note that there is no real
+ /// difference between the and
+ /// contour types.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// gluNextContour is used in describing polygons with multiple contours.
+ /// After the first contour has been described through a series of
+ /// calls, a gluNextContour call indicates
+ /// that the previous contour is complete and that the next contour is about to
+ /// begin. Another series of calls is then used to
+ /// describe the new contour. This process can be repeated until all contours
+ /// have been described.
+ ///
+ ///
+ /// Before the first contour is described, gluNextContour can be called to
+ /// define the type of the first contour. If gluNextContour is not called
+ /// before the first contour, then the first contour is marked
+ /// .
+ ///
+ ///
+ /// This command is obsolete and is provided for backward compatibility only.
+ /// Calls to gluNextContour are mapped to
+ /// followed by .
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// You can describe a quadrilateral with a triangular hole in it as follows:
+ ///
+ ///
+ ///
+ /// Glu.gluBeginPolygon(tess);
+ /// Glu.gluTessVertex(tess, v1, v1);
+ /// Glu.gluTessVertex(tess, v2, v2);
+ /// Glu.gluTessVertex(tess, v3, v3);
+ /// Glu.gluTessVertex(tess, v4, v4);
+ /// Glu.gluNextContour(tess, Glu.GLU_INTERIOR);
+ /// Glu.gluTessVertex(tess, v5, v5);
+ /// Glu.gluTessVertex(tess, v6, v6);
+ /// Glu.gluTessVertex(tess, v7, v7);
+ /// Glu.gluEndPolygon(tess);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluNextContour(GLUtesselator *tess, GLenum type);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNextContour([In] GLUtesselator tess, int type);
+ #endregion gluNextContour([In] GLUtesselator tess, int type)
+
+ #region gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsBeginCallback func)
+ ///
+ /// The gluNurbsCallback mehtod defines a callback for a NURBS object.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ ///
+ /// The callback being defined. The legal callbacks are as follows:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// The begin callback indicates the start of a primitive. The
+ /// function takes a single argument of type ,
+ /// which can be one of ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// . The default begin callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The color callback is invoked as the color of a vertex is
+ /// generated. The components of the color are stored in the
+ /// parameter colorData. This callback is effective only when
+ /// the user provides a color map (
+ /// or ). colorData
+ /// contains four components: R,G,B,A. The default color callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The end callback is invoked at the end of a primitive. The
+ /// default end callback function is null. The delegate
+ /// prototype for this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the callback,
+ /// except that it takes an additional pointer argument. This
+ /// pointer is a copy of the pointer that was specified at the last
+ /// call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The error function is called when an error is encountered. Its
+ /// single argument is of type , and it indicates
+ /// the specific error that occurred. There are 37 errors unique to
+ /// NURBS named through
+ /// . Character strings describing
+ /// these errors can be retrieved with .
+ /// The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The normal callback is invoked as the vertex normal is generated.
+ /// The components of the normal are stored in the parameter
+ /// normalData. In the case of a NURBS curve, the callback
+ /// function is effective only when the user provides a normal map
+ /// (). In the case of a NURBS
+ /// surface, if a normal map () is
+ /// provided, then the generated normal is computed from the normal
+ /// map. If a normal map is not provided then a surface normal is
+ /// computed in a manner similar to that described for evaluators
+ /// when is enabled. The default
+ /// normal callback function is null. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The texture callback is invoked as the texture coordinates of a
+ /// vertex are generated. These coordinates are stored in the
+ /// parameter texCoord. The number of texture coordinates can
+ /// be 1, 2, 3, or 4 depending on which type of texture map is
+ /// specified (,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ). If no texture map is
+ /// specified, this callback function will not be called. The
+ /// default texture callback function is null. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the
+ /// callback, except that it takes an additional pointer argument.
+ /// This pointer is a copy of the pointer that was specified at the
+ /// last call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The vertex callback indicates a vertex of the primitive. The
+ /// coordinates of the vertex are stored in the parameter
+ /// vertexData. All the generated vertices have dimension 3,
+ /// that is, homogeneous coordinates have been transformed into
+ /// affine coordinates. The default vertex callback function is
+ /// null. The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the callback,
+ /// except that it takes an additional pointer argument. This
+ /// pointer is a copy of the pointer that was specified at the last
+ /// call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The function that the callback invokes.
+ ///
+ ///
+ ///
+ /// gluNurbsCallback is used to define a callback to be used by a NURBS
+ /// object. If the specified callback is already defined, then it is replaced.
+ /// If func is null, then this callback will not get invoked and
+ /// the related data, if any, will be lost.
+ ///
+ ///
+ /// Except the error callback, these callbacks are used by NURBS tessellator
+ /// (when is set to be
+ /// ) to return back the OpenGL polygon
+ /// primitives resulting from the tessellation. Note that there are two
+ /// versions of each callback: one with a user data pointer and one without. If
+ /// both versions for a particular callback are specified then the callback with
+ /// the user data pointer will be used. Note that userData is a copy of
+ /// the pointer that was specified at the last call to
+ /// .
+ ///
+ ///
+ /// The error callback function is effective no matter which value that
+ /// is set to. All other callback functions are
+ /// effective only when is set to
+ /// .
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallback is available only if the GLU version is 1.2 or
+ /// greater.
+ ///
+ ///
+ /// GLU version 1.2 supports only the parameter for
+ /// which. The value is deprecated in GLU
+ /// version 1.3 in favor of . All other
+ /// accepted values for func are available only if the GLU version is 1.3
+ /// or greater.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluNurbsCallback(GLUnurbs *nobj, GLenum which, void (CALLBACK* fn)());
+ public static void gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsBeginCallback func)
+ {
+ nurbsBeginCallback = func;
+ __gluNurbsCallback(nurb, which, nurbsBeginCallback);
+ }
+ #endregion gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsBeginCallback func)
+
+ #region gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsBeginDataCallback func)
+ ///
+ /// The gluNurbsCallback mehtod defines a callback for a NURBS object.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ ///
+ /// The callback being defined. The legal callbacks are as follows:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// The begin callback indicates the start of a primitive. The
+ /// function takes a single argument of type ,
+ /// which can be one of ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// . The default begin callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The color callback is invoked as the color of a vertex is
+ /// generated. The components of the color are stored in the
+ /// parameter colorData. This callback is effective only when
+ /// the user provides a color map (
+ /// or ). colorData
+ /// contains four components: R,G,B,A. The default color callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The end callback is invoked at the end of a primitive. The
+ /// default end callback function is null. The delegate
+ /// prototype for this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the callback,
+ /// except that it takes an additional pointer argument. This
+ /// pointer is a copy of the pointer that was specified at the last
+ /// call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The error function is called when an error is encountered. Its
+ /// single argument is of type , and it indicates
+ /// the specific error that occurred. There are 37 errors unique to
+ /// NURBS named through
+ /// . Character strings describing
+ /// these errors can be retrieved with .
+ /// The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The normal callback is invoked as the vertex normal is generated.
+ /// The components of the normal are stored in the parameter
+ /// normalData. In the case of a NURBS curve, the callback
+ /// function is effective only when the user provides a normal map
+ /// (). In the case of a NURBS
+ /// surface, if a normal map () is
+ /// provided, then the generated normal is computed from the normal
+ /// map. If a normal map is not provided then a surface normal is
+ /// computed in a manner similar to that described for evaluators
+ /// when is enabled. The default
+ /// normal callback function is null. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The texture callback is invoked as the texture coordinates of a
+ /// vertex are generated. These coordinates are stored in the
+ /// parameter texCoord. The number of texture coordinates can
+ /// be 1, 2, 3, or 4 depending on which type of texture map is
+ /// specified (,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ). If no texture map is
+ /// specified, this callback function will not be called. The
+ /// default texture callback function is null. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the
+ /// callback, except that it takes an additional pointer argument.
+ /// This pointer is a copy of the pointer that was specified at the
+ /// last call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The vertex callback indicates a vertex of the primitive. The
+ /// coordinates of the vertex are stored in the parameter
+ /// vertexData. All the generated vertices have dimension 3,
+ /// that is, homogeneous coordinates have been transformed into
+ /// affine coordinates. The default vertex callback function is
+ /// null. The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the callback,
+ /// except that it takes an additional pointer argument. This
+ /// pointer is a copy of the pointer that was specified at the last
+ /// call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The function that the callback invokes.
+ ///
+ ///
+ ///
+ /// gluNurbsCallback is used to define a callback to be used by a NURBS
+ /// object. If the specified callback is already defined, then it is replaced.
+ /// If func is null, then this callback will not get invoked and
+ /// the related data, if any, will be lost.
+ ///
+ ///
+ /// Except the error callback, these callbacks are used by NURBS tessellator
+ /// (when is set to be
+ /// ) to return back the OpenGL polygon
+ /// primitives resulting from the tessellation. Note that there are two
+ /// versions of each callback: one with a user data pointer and one without. If
+ /// both versions for a particular callback are specified then the callback with
+ /// the user data pointer will be used. Note that userData is a copy of
+ /// the pointer that was specified at the last call to
+ /// .
+ ///
+ ///
+ /// The error callback function is effective no matter which value that
+ /// is set to. All other callback functions are
+ /// effective only when is set to
+ /// .
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallback is available only if the GLU version is 1.2 or
+ /// greater.
+ ///
+ ///
+ /// GLU version 1.2 supports only the parameter for
+ /// which. The value is deprecated in GLU
+ /// version 1.3 in favor of . All other
+ /// accepted values for func are available only if the GLU version is 1.3
+ /// or greater.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluNurbsCallback(GLUnurbs *nobj, GLenum which, void (CALLBACK* fn)());
+ public static void gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsBeginDataCallback func)
+ {
+ nurbsBeginDataCallback = func;
+ __gluNurbsCallback(nurb, which, nurbsBeginDataCallback);
+ }
+ #endregion gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsBeginDataCallback func)
+
+ #region gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsColorCallback func)
+ ///
+ /// The gluNurbsCallback mehtod defines a callback for a NURBS object.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ ///
+ /// The callback being defined. The legal callbacks are as follows:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// The begin callback indicates the start of a primitive. The
+ /// function takes a single argument of type ,
+ /// which can be one of ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// . The default begin callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The color callback is invoked as the color of a vertex is
+ /// generated. The components of the color are stored in the
+ /// parameter colorData. This callback is effective only when
+ /// the user provides a color map (
+ /// or ). colorData
+ /// contains four components: R,G,B,A. The default color callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The end callback is invoked at the end of a primitive. The
+ /// default end callback function is null. The delegate
+ /// prototype for this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the callback,
+ /// except that it takes an additional pointer argument. This
+ /// pointer is a copy of the pointer that was specified at the last
+ /// call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The error function is called when an error is encountered. Its
+ /// single argument is of type , and it indicates
+ /// the specific error that occurred. There are 37 errors unique to
+ /// NURBS named through
+ /// . Character strings describing
+ /// these errors can be retrieved with .
+ /// The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The normal callback is invoked as the vertex normal is generated.
+ /// The components of the normal are stored in the parameter
+ /// normalData. In the case of a NURBS curve, the callback
+ /// function is effective only when the user provides a normal map
+ /// (). In the case of a NURBS
+ /// surface, if a normal map () is
+ /// provided, then the generated normal is computed from the normal
+ /// map. If a normal map is not provided then a surface normal is
+ /// computed in a manner similar to that described for evaluators
+ /// when is enabled. The default
+ /// normal callback function is null. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The texture callback is invoked as the texture coordinates of a
+ /// vertex are generated. These coordinates are stored in the
+ /// parameter texCoord. The number of texture coordinates can
+ /// be 1, 2, 3, or 4 depending on which type of texture map is
+ /// specified (,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ). If no texture map is
+ /// specified, this callback function will not be called. The
+ /// default texture callback function is null. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the
+ /// callback, except that it takes an additional pointer argument.
+ /// This pointer is a copy of the pointer that was specified at the
+ /// last call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The vertex callback indicates a vertex of the primitive. The
+ /// coordinates of the vertex are stored in the parameter
+ /// vertexData. All the generated vertices have dimension 3,
+ /// that is, homogeneous coordinates have been transformed into
+ /// affine coordinates. The default vertex callback function is
+ /// null. The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the callback,
+ /// except that it takes an additional pointer argument. This
+ /// pointer is a copy of the pointer that was specified at the last
+ /// call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The function that the callback invokes.
+ ///
+ ///
+ ///
+ /// gluNurbsCallback is used to define a callback to be used by a NURBS
+ /// object. If the specified callback is already defined, then it is replaced.
+ /// If func is null, then this callback will not get invoked and
+ /// the related data, if any, will be lost.
+ ///
+ ///
+ /// Except the error callback, these callbacks are used by NURBS tessellator
+ /// (when is set to be
+ /// ) to return back the OpenGL polygon
+ /// primitives resulting from the tessellation. Note that there are two
+ /// versions of each callback: one with a user data pointer and one without. If
+ /// both versions for a particular callback are specified then the callback with
+ /// the user data pointer will be used. Note that userData is a copy of
+ /// the pointer that was specified at the last call to
+ /// .
+ ///
+ ///
+ /// The error callback function is effective no matter which value that
+ /// is set to. All other callback functions are
+ /// effective only when is set to
+ /// .
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallback is available only if the GLU version is 1.2 or
+ /// greater.
+ ///
+ ///
+ /// GLU version 1.2 supports only the parameter for
+ /// which. The value is deprecated in GLU
+ /// version 1.3 in favor of . All other
+ /// accepted values for func are available only if the GLU version is 1.3
+ /// or greater.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluNurbsCallback(GLUnurbs *nobj, GLenum which, void (CALLBACK* fn)());
+ public static void gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsColorCallback func)
+ {
+ nurbsColorCallback = func;
+ __gluNurbsCallback(nurb, which, nurbsColorCallback);
+ }
+ #endregion gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsColorCallback func)
+
+ #region gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsColorDataCallback func)
+ ///
+ /// The gluNurbsCallback mehtod defines a callback for a NURBS object.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ ///
+ /// The callback being defined. The legal callbacks are as follows:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// The begin callback indicates the start of a primitive. The
+ /// function takes a single argument of type ,
+ /// which can be one of ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// . The default begin callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The color callback is invoked as the color of a vertex is
+ /// generated. The components of the color are stored in the
+ /// parameter colorData. This callback is effective only when
+ /// the user provides a color map (
+ /// or ). colorData
+ /// contains four components: R,G,B,A. The default color callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The end callback is invoked at the end of a primitive. The
+ /// default end callback function is null. The delegate
+ /// prototype for this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the callback,
+ /// except that it takes an additional pointer argument. This
+ /// pointer is a copy of the pointer that was specified at the last
+ /// call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The error function is called when an error is encountered. Its
+ /// single argument is of type , and it indicates
+ /// the specific error that occurred. There are 37 errors unique to
+ /// NURBS named through
+ /// . Character strings describing
+ /// these errors can be retrieved with .
+ /// The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The normal callback is invoked as the vertex normal is generated.
+ /// The components of the normal are stored in the parameter
+ /// normalData. In the case of a NURBS curve, the callback
+ /// function is effective only when the user provides a normal map
+ /// (). In the case of a NURBS
+ /// surface, if a normal map () is
+ /// provided, then the generated normal is computed from the normal
+ /// map. If a normal map is not provided then a surface normal is
+ /// computed in a manner similar to that described for evaluators
+ /// when is enabled. The default
+ /// normal callback function is null. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The texture callback is invoked as the texture coordinates of a
+ /// vertex are generated. These coordinates are stored in the
+ /// parameter texCoord. The number of texture coordinates can
+ /// be 1, 2, 3, or 4 depending on which type of texture map is
+ /// specified (,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ). If no texture map is
+ /// specified, this callback function will not be called. The
+ /// default texture callback function is null. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the
+ /// callback, except that it takes an additional pointer argument.
+ /// This pointer is a copy of the pointer that was specified at the
+ /// last call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The vertex callback indicates a vertex of the primitive. The
+ /// coordinates of the vertex are stored in the parameter
+ /// vertexData. All the generated vertices have dimension 3,
+ /// that is, homogeneous coordinates have been transformed into
+ /// affine coordinates. The default vertex callback function is
+ /// null. The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the callback,
+ /// except that it takes an additional pointer argument. This
+ /// pointer is a copy of the pointer that was specified at the last
+ /// call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The function that the callback invokes.
+ ///
+ ///
+ ///
+ /// gluNurbsCallback is used to define a callback to be used by a NURBS
+ /// object. If the specified callback is already defined, then it is replaced.
+ /// If func is null, then this callback will not get invoked and
+ /// the related data, if any, will be lost.
+ ///
+ ///
+ /// Except the error callback, these callbacks are used by NURBS tessellator
+ /// (when is set to be
+ /// ) to return back the OpenGL polygon
+ /// primitives resulting from the tessellation. Note that there are two
+ /// versions of each callback: one with a user data pointer and one without. If
+ /// both versions for a particular callback are specified then the callback with
+ /// the user data pointer will be used. Note that userData is a copy of
+ /// the pointer that was specified at the last call to
+ /// .
+ ///
+ ///
+ /// The error callback function is effective no matter which value that
+ /// is set to. All other callback functions are
+ /// effective only when is set to
+ /// .
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallback is available only if the GLU version is 1.2 or
+ /// greater.
+ ///
+ ///
+ /// GLU version 1.2 supports only the parameter for
+ /// which. The value is deprecated in GLU
+ /// version 1.3 in favor of . All other
+ /// accepted values for func are available only if the GLU version is 1.3
+ /// or greater.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluNurbsCallback(GLUnurbs *nobj, GLenum which, void (CALLBACK* fn)());
+ public static void gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsColorDataCallback func)
+ {
+ nurbsColorDataCallback = func;
+ __gluNurbsCallback(nurb, which, nurbsColorDataCallback);
+ }
+ #endregion gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsColorDataCallback func)
+
+ #region gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsEndCallback func)
+ ///
+ /// The gluNurbsCallback mehtod defines a callback for a NURBS object.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ ///
+ /// The callback being defined. The legal callbacks are as follows:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// The begin callback indicates the start of a primitive. The
+ /// function takes a single argument of type ,
+ /// which can be one of ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// . The default begin callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The color callback is invoked as the color of a vertex is
+ /// generated. The components of the color are stored in the
+ /// parameter colorData. This callback is effective only when
+ /// the user provides a color map (
+ /// or ). colorData
+ /// contains four components: R,G,B,A. The default color callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The end callback is invoked at the end of a primitive. The
+ /// default end callback function is null. The delegate
+ /// prototype for this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the callback,
+ /// except that it takes an additional pointer argument. This
+ /// pointer is a copy of the pointer that was specified at the last
+ /// call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The error function is called when an error is encountered. Its
+ /// single argument is of type , and it indicates
+ /// the specific error that occurred. There are 37 errors unique to
+ /// NURBS named through
+ /// . Character strings describing
+ /// these errors can be retrieved with .
+ /// The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The normal callback is invoked as the vertex normal is generated.
+ /// The components of the normal are stored in the parameter
+ /// normalData. In the case of a NURBS curve, the callback
+ /// function is effective only when the user provides a normal map
+ /// (). In the case of a NURBS
+ /// surface, if a normal map () is
+ /// provided, then the generated normal is computed from the normal
+ /// map. If a normal map is not provided then a surface normal is
+ /// computed in a manner similar to that described for evaluators
+ /// when is enabled. The default
+ /// normal callback function is null. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The texture callback is invoked as the texture coordinates of a
+ /// vertex are generated. These coordinates are stored in the
+ /// parameter texCoord. The number of texture coordinates can
+ /// be 1, 2, 3, or 4 depending on which type of texture map is
+ /// specified (,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ). If no texture map is
+ /// specified, this callback function will not be called. The
+ /// default texture callback function is null. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the
+ /// callback, except that it takes an additional pointer argument.
+ /// This pointer is a copy of the pointer that was specified at the
+ /// last call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The vertex callback indicates a vertex of the primitive. The
+ /// coordinates of the vertex are stored in the parameter
+ /// vertexData. All the generated vertices have dimension 3,
+ /// that is, homogeneous coordinates have been transformed into
+ /// affine coordinates. The default vertex callback function is
+ /// null. The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the callback,
+ /// except that it takes an additional pointer argument. This
+ /// pointer is a copy of the pointer that was specified at the last
+ /// call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The function that the callback invokes.
+ ///
+ ///
+ ///
+ /// gluNurbsCallback is used to define a callback to be used by a NURBS
+ /// object. If the specified callback is already defined, then it is replaced.
+ /// If func is null, then this callback will not get invoked and
+ /// the related data, if any, will be lost.
+ ///
+ ///
+ /// Except the error callback, these callbacks are used by NURBS tessellator
+ /// (when is set to be
+ /// ) to return back the OpenGL polygon
+ /// primitives resulting from the tessellation. Note that there are two
+ /// versions of each callback: one with a user data pointer and one without. If
+ /// both versions for a particular callback are specified then the callback with
+ /// the user data pointer will be used. Note that userData is a copy of
+ /// the pointer that was specified at the last call to
+ /// .
+ ///
+ ///
+ /// The error callback function is effective no matter which value that
+ /// is set to. All other callback functions are
+ /// effective only when is set to
+ /// .
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallback is available only if the GLU version is 1.2 or
+ /// greater.
+ ///
+ ///
+ /// GLU version 1.2 supports only the parameter for
+ /// which. The value is deprecated in GLU
+ /// version 1.3 in favor of . All other
+ /// accepted values for func are available only if the GLU version is 1.3
+ /// or greater.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluNurbsCallback(GLUnurbs *nobj, GLenum which, void (CALLBACK* fn)());
+ public static void gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsEndCallback func)
+ {
+ nurbsEndCallback = func;
+ __gluNurbsCallback(nurb, which, nurbsEndCallback);
+ }
+ #endregion gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsEndCallback func)
+
+ #region gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsEndDataCallback func)
+ ///
+ /// The gluNurbsCallback mehtod defines a callback for a NURBS object.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ ///
+ /// The callback being defined. The legal callbacks are as follows:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// The begin callback indicates the start of a primitive. The
+ /// function takes a single argument of type ,
+ /// which can be one of ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// . The default begin callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The color callback is invoked as the color of a vertex is
+ /// generated. The components of the color are stored in the
+ /// parameter colorData. This callback is effective only when
+ /// the user provides a color map (
+ /// or ). colorData
+ /// contains four components: R,G,B,A. The default color callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The end callback is invoked at the end of a primitive. The
+ /// default end callback function is null. The delegate
+ /// prototype for this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the callback,
+ /// except that it takes an additional pointer argument. This
+ /// pointer is a copy of the pointer that was specified at the last
+ /// call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The error function is called when an error is encountered. Its
+ /// single argument is of type , and it indicates
+ /// the specific error that occurred. There are 37 errors unique to
+ /// NURBS named through
+ /// . Character strings describing
+ /// these errors can be retrieved with .
+ /// The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The normal callback is invoked as the vertex normal is generated.
+ /// The components of the normal are stored in the parameter
+ /// normalData. In the case of a NURBS curve, the callback
+ /// function is effective only when the user provides a normal map
+ /// (). In the case of a NURBS
+ /// surface, if a normal map () is
+ /// provided, then the generated normal is computed from the normal
+ /// map. If a normal map is not provided then a surface normal is
+ /// computed in a manner similar to that described for evaluators
+ /// when is enabled. The default
+ /// normal callback function is null. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The texture callback is invoked as the texture coordinates of a
+ /// vertex are generated. These coordinates are stored in the
+ /// parameter texCoord. The number of texture coordinates can
+ /// be 1, 2, 3, or 4 depending on which type of texture map is
+ /// specified (,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ). If no texture map is
+ /// specified, this callback function will not be called. The
+ /// default texture callback function is null. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the
+ /// callback, except that it takes an additional pointer argument.
+ /// This pointer is a copy of the pointer that was specified at the
+ /// last call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The vertex callback indicates a vertex of the primitive. The
+ /// coordinates of the vertex are stored in the parameter
+ /// vertexData. All the generated vertices have dimension 3,
+ /// that is, homogeneous coordinates have been transformed into
+ /// affine coordinates. The default vertex callback function is
+ /// null. The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the callback,
+ /// except that it takes an additional pointer argument. This
+ /// pointer is a copy of the pointer that was specified at the last
+ /// call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The function that the callback invokes.
+ ///
+ ///
+ ///
+ /// gluNurbsCallback is used to define a callback to be used by a NURBS
+ /// object. If the specified callback is already defined, then it is replaced.
+ /// If func is null, then this callback will not get invoked and
+ /// the related data, if any, will be lost.
+ ///
+ ///
+ /// Except the error callback, these callbacks are used by NURBS tessellator
+ /// (when is set to be
+ /// ) to return back the OpenGL polygon
+ /// primitives resulting from the tessellation. Note that there are two
+ /// versions of each callback: one with a user data pointer and one without. If
+ /// both versions for a particular callback are specified then the callback with
+ /// the user data pointer will be used. Note that userData is a copy of
+ /// the pointer that was specified at the last call to
+ /// .
+ ///
+ ///
+ /// The error callback function is effective no matter which value that
+ /// is set to. All other callback functions are
+ /// effective only when is set to
+ /// .
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallback is available only if the GLU version is 1.2 or
+ /// greater.
+ ///
+ ///
+ /// GLU version 1.2 supports only the parameter for
+ /// which. The value is deprecated in GLU
+ /// version 1.3 in favor of . All other
+ /// accepted values for func are available only if the GLU version is 1.3
+ /// or greater.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluNurbsCallback(GLUnurbs *nobj, GLenum which, void (CALLBACK* fn)());
+ public static void gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsEndDataCallback func)
+ {
+ nurbsEndDataCallback = func;
+ __gluNurbsCallback(nurb, which, nurbsEndDataCallback);
+ }
+ #endregion gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsEndDataCallback func)
+
+ #region gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsErrorCallback func)
+ ///
+ /// The gluNurbsCallback mehtod defines a callback for a NURBS object.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ ///
+ /// The callback being defined. The legal callbacks are as follows:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// The begin callback indicates the start of a primitive. The
+ /// function takes a single argument of type ,
+ /// which can be one of ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// . The default begin callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The color callback is invoked as the color of a vertex is
+ /// generated. The components of the color are stored in the
+ /// parameter colorData. This callback is effective only when
+ /// the user provides a color map (
+ /// or ). colorData
+ /// contains four components: R,G,B,A. The default color callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The end callback is invoked at the end of a primitive. The
+ /// default end callback function is null. The delegate
+ /// prototype for this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the callback,
+ /// except that it takes an additional pointer argument. This
+ /// pointer is a copy of the pointer that was specified at the last
+ /// call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The error function is called when an error is encountered. Its
+ /// single argument is of type , and it indicates
+ /// the specific error that occurred. There are 37 errors unique to
+ /// NURBS named through
+ /// . Character strings describing
+ /// these errors can be retrieved with .
+ /// The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The normal callback is invoked as the vertex normal is generated.
+ /// The components of the normal are stored in the parameter
+ /// normalData. In the case of a NURBS curve, the callback
+ /// function is effective only when the user provides a normal map
+ /// (). In the case of a NURBS
+ /// surface, if a normal map () is
+ /// provided, then the generated normal is computed from the normal
+ /// map. If a normal map is not provided then a surface normal is
+ /// computed in a manner similar to that described for evaluators
+ /// when is enabled. The default
+ /// normal callback function is null. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The texture callback is invoked as the texture coordinates of a
+ /// vertex are generated. These coordinates are stored in the
+ /// parameter texCoord. The number of texture coordinates can
+ /// be 1, 2, 3, or 4 depending on which type of texture map is
+ /// specified (,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ). If no texture map is
+ /// specified, this callback function will not be called. The
+ /// default texture callback function is null. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the
+ /// callback, except that it takes an additional pointer argument.
+ /// This pointer is a copy of the pointer that was specified at the
+ /// last call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The vertex callback indicates a vertex of the primitive. The
+ /// coordinates of the vertex are stored in the parameter
+ /// vertexData. All the generated vertices have dimension 3,
+ /// that is, homogeneous coordinates have been transformed into
+ /// affine coordinates. The default vertex callback function is
+ /// null. The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the callback,
+ /// except that it takes an additional pointer argument. This
+ /// pointer is a copy of the pointer that was specified at the last
+ /// call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The function that the callback invokes.
+ ///
+ ///
+ ///
+ /// gluNurbsCallback is used to define a callback to be used by a NURBS
+ /// object. If the specified callback is already defined, then it is replaced.
+ /// If func is null, then this callback will not get invoked and
+ /// the related data, if any, will be lost.
+ ///
+ ///
+ /// Except the error callback, these callbacks are used by NURBS tessellator
+ /// (when is set to be
+ /// ) to return back the OpenGL polygon
+ /// primitives resulting from the tessellation. Note that there are two
+ /// versions of each callback: one with a user data pointer and one without. If
+ /// both versions for a particular callback are specified then the callback with
+ /// the user data pointer will be used. Note that userData is a copy of
+ /// the pointer that was specified at the last call to
+ /// .
+ ///
+ ///
+ /// The error callback function is effective no matter which value that
+ /// is set to. All other callback functions are
+ /// effective only when is set to
+ /// .
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallback is available only if the GLU version is 1.2 or
+ /// greater.
+ ///
+ ///
+ /// GLU version 1.2 supports only the parameter for
+ /// which. The value is deprecated in GLU
+ /// version 1.3 in favor of . All other
+ /// accepted values for func are available only if the GLU version is 1.3
+ /// or greater.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluNurbsCallback(GLUnurbs *nobj, GLenum which, void (CALLBACK* fn)());
+ public static void gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsErrorCallback func)
+ {
+ nurbsErrorCallback = func;
+ __gluNurbsCallback(nurb, which, nurbsErrorCallback);
+ }
+ #endregion gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsErrorCallback func)
+
+ #region gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsNormalCallback func)
+ ///
+ /// The gluNurbsCallback mehtod defines a callback for a NURBS object.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ ///
+ /// The callback being defined. The legal callbacks are as follows:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// The begin callback indicates the start of a primitive. The
+ /// function takes a single argument of type ,
+ /// which can be one of ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// . The default begin callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The color callback is invoked as the color of a vertex is
+ /// generated. The components of the color are stored in the
+ /// parameter colorData. This callback is effective only when
+ /// the user provides a color map (
+ /// or ). colorData
+ /// contains four components: R,G,B,A. The default color callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The end callback is invoked at the end of a primitive. The
+ /// default end callback function is null. The delegate
+ /// prototype for this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the callback,
+ /// except that it takes an additional pointer argument. This
+ /// pointer is a copy of the pointer that was specified at the last
+ /// call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The error function is called when an error is encountered. Its
+ /// single argument is of type , and it indicates
+ /// the specific error that occurred. There are 37 errors unique to
+ /// NURBS named through
+ /// . Character strings describing
+ /// these errors can be retrieved with .
+ /// The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The normal callback is invoked as the vertex normal is generated.
+ /// The components of the normal are stored in the parameter
+ /// normalData. In the case of a NURBS curve, the callback
+ /// function is effective only when the user provides a normal map
+ /// (). In the case of a NURBS
+ /// surface, if a normal map () is
+ /// provided, then the generated normal is computed from the normal
+ /// map. If a normal map is not provided then a surface normal is
+ /// computed in a manner similar to that described for evaluators
+ /// when is enabled. The default
+ /// normal callback function is null. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The texture callback is invoked as the texture coordinates of a
+ /// vertex are generated. These coordinates are stored in the
+ /// parameter texCoord. The number of texture coordinates can
+ /// be 1, 2, 3, or 4 depending on which type of texture map is
+ /// specified (,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ). If no texture map is
+ /// specified, this callback function will not be called. The
+ /// default texture callback function is null. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the
+ /// callback, except that it takes an additional pointer argument.
+ /// This pointer is a copy of the pointer that was specified at the
+ /// last call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The vertex callback indicates a vertex of the primitive. The
+ /// coordinates of the vertex are stored in the parameter
+ /// vertexData. All the generated vertices have dimension 3,
+ /// that is, homogeneous coordinates have been transformed into
+ /// affine coordinates. The default vertex callback function is
+ /// null. The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the callback,
+ /// except that it takes an additional pointer argument. This
+ /// pointer is a copy of the pointer that was specified at the last
+ /// call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The function that the callback invokes.
+ ///
+ ///
+ ///
+ /// gluNurbsCallback is used to define a callback to be used by a NURBS
+ /// object. If the specified callback is already defined, then it is replaced.
+ /// If func is null, then this callback will not get invoked and
+ /// the related data, if any, will be lost.
+ ///
+ ///
+ /// Except the error callback, these callbacks are used by NURBS tessellator
+ /// (when is set to be
+ /// ) to return back the OpenGL polygon
+ /// primitives resulting from the tessellation. Note that there are two
+ /// versions of each callback: one with a user data pointer and one without. If
+ /// both versions for a particular callback are specified then the callback with
+ /// the user data pointer will be used. Note that userData is a copy of
+ /// the pointer that was specified at the last call to
+ /// .
+ ///
+ ///
+ /// The error callback function is effective no matter which value that
+ /// is set to. All other callback functions are
+ /// effective only when is set to
+ /// .
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallback is available only if the GLU version is 1.2 or
+ /// greater.
+ ///
+ ///
+ /// GLU version 1.2 supports only the parameter for
+ /// which. The value is deprecated in GLU
+ /// version 1.3 in favor of . All other
+ /// accepted values for func are available only if the GLU version is 1.3
+ /// or greater.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluNurbsCallback(GLUnurbs *nobj, GLenum which, void (CALLBACK* fn)());
+ public static void gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsNormalCallback func)
+ {
+ nurbsNormalCallback = func;
+ __gluNurbsCallback(nurb, which, nurbsNormalCallback);
+ }
+ #endregion gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsNormalCallback func)
+
+ #region gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsNormalDataCallback func)
+ ///
+ /// The gluNurbsCallback mehtod defines a callback for a NURBS object.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ ///
+ /// The callback being defined. The legal callbacks are as follows:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// The begin callback indicates the start of a primitive. The
+ /// function takes a single argument of type ,
+ /// which can be one of ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// . The default begin callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The color callback is invoked as the color of a vertex is
+ /// generated. The components of the color are stored in the
+ /// parameter colorData. This callback is effective only when
+ /// the user provides a color map (
+ /// or ). colorData
+ /// contains four components: R,G,B,A. The default color callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The end callback is invoked at the end of a primitive. The
+ /// default end callback function is null. The delegate
+ /// prototype for this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the callback,
+ /// except that it takes an additional pointer argument. This
+ /// pointer is a copy of the pointer that was specified at the last
+ /// call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The error function is called when an error is encountered. Its
+ /// single argument is of type , and it indicates
+ /// the specific error that occurred. There are 37 errors unique to
+ /// NURBS named through
+ /// . Character strings describing
+ /// these errors can be retrieved with .
+ /// The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The normal callback is invoked as the vertex normal is generated.
+ /// The components of the normal are stored in the parameter
+ /// normalData. In the case of a NURBS curve, the callback
+ /// function is effective only when the user provides a normal map
+ /// (). In the case of a NURBS
+ /// surface, if a normal map () is
+ /// provided, then the generated normal is computed from the normal
+ /// map. If a normal map is not provided then a surface normal is
+ /// computed in a manner similar to that described for evaluators
+ /// when is enabled. The default
+ /// normal callback function is null. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The texture callback is invoked as the texture coordinates of a
+ /// vertex are generated. These coordinates are stored in the
+ /// parameter texCoord. The number of texture coordinates can
+ /// be 1, 2, 3, or 4 depending on which type of texture map is
+ /// specified (,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ). If no texture map is
+ /// specified, this callback function will not be called. The
+ /// default texture callback function is null. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the
+ /// callback, except that it takes an additional pointer argument.
+ /// This pointer is a copy of the pointer that was specified at the
+ /// last call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The vertex callback indicates a vertex of the primitive. The
+ /// coordinates of the vertex are stored in the parameter
+ /// vertexData. All the generated vertices have dimension 3,
+ /// that is, homogeneous coordinates have been transformed into
+ /// affine coordinates. The default vertex callback function is
+ /// null. The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the callback,
+ /// except that it takes an additional pointer argument. This
+ /// pointer is a copy of the pointer that was specified at the last
+ /// call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The function that the callback invokes.
+ ///
+ ///
+ ///
+ /// gluNurbsCallback is used to define a callback to be used by a NURBS
+ /// object. If the specified callback is already defined, then it is replaced.
+ /// If func is null, then this callback will not get invoked and
+ /// the related data, if any, will be lost.
+ ///
+ ///
+ /// Except the error callback, these callbacks are used by NURBS tessellator
+ /// (when is set to be
+ /// ) to return back the OpenGL polygon
+ /// primitives resulting from the tessellation. Note that there are two
+ /// versions of each callback: one with a user data pointer and one without. If
+ /// both versions for a particular callback are specified then the callback with
+ /// the user data pointer will be used. Note that userData is a copy of
+ /// the pointer that was specified at the last call to
+ /// .
+ ///
+ ///
+ /// The error callback function is effective no matter which value that
+ /// is set to. All other callback functions are
+ /// effective only when is set to
+ /// .
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallback is available only if the GLU version is 1.2 or
+ /// greater.
+ ///
+ ///
+ /// GLU version 1.2 supports only the parameter for
+ /// which. The value is deprecated in GLU
+ /// version 1.3 in favor of . All other
+ /// accepted values for func are available only if the GLU version is 1.3
+ /// or greater.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluNurbsCallback(GLUnurbs *nobj, GLenum which, void (CALLBACK* fn)());
+ public static void gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsNormalDataCallback func)
+ {
+ nurbsNormalDataCallback = func;
+ __gluNurbsCallback(nurb, which, nurbsNormalDataCallback);
+ }
+ #endregion gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsNormalDataCallback func)
+
+ #region gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsTexCoordCallback func)
+ ///
+ /// The gluNurbsCallback mehtod defines a callback for a NURBS object.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ ///
+ /// The callback being defined. The legal callbacks are as follows:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// The begin callback indicates the start of a primitive. The
+ /// function takes a single argument of type ,
+ /// which can be one of ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// . The default begin callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The color callback is invoked as the color of a vertex is
+ /// generated. The components of the color are stored in the
+ /// parameter colorData. This callback is effective only when
+ /// the user provides a color map (
+ /// or ). colorData
+ /// contains four components: R,G,B,A. The default color callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The end callback is invoked at the end of a primitive. The
+ /// default end callback function is null. The delegate
+ /// prototype for this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the callback,
+ /// except that it takes an additional pointer argument. This
+ /// pointer is a copy of the pointer that was specified at the last
+ /// call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The error function is called when an error is encountered. Its
+ /// single argument is of type , and it indicates
+ /// the specific error that occurred. There are 37 errors unique to
+ /// NURBS named through
+ /// . Character strings describing
+ /// these errors can be retrieved with .
+ /// The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The normal callback is invoked as the vertex normal is generated.
+ /// The components of the normal are stored in the parameter
+ /// normalData. In the case of a NURBS curve, the callback
+ /// function is effective only when the user provides a normal map
+ /// (). In the case of a NURBS
+ /// surface, if a normal map () is
+ /// provided, then the generated normal is computed from the normal
+ /// map. If a normal map is not provided then a surface normal is
+ /// computed in a manner similar to that described for evaluators
+ /// when is enabled. The default
+ /// normal callback function is null. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The texture callback is invoked as the texture coordinates of a
+ /// vertex are generated. These coordinates are stored in the
+ /// parameter texCoord. The number of texture coordinates can
+ /// be 1, 2, 3, or 4 depending on which type of texture map is
+ /// specified (,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ). If no texture map is
+ /// specified, this callback function will not be called. The
+ /// default texture callback function is null. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the
+ /// callback, except that it takes an additional pointer argument.
+ /// This pointer is a copy of the pointer that was specified at the
+ /// last call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The vertex callback indicates a vertex of the primitive. The
+ /// coordinates of the vertex are stored in the parameter
+ /// vertexData. All the generated vertices have dimension 3,
+ /// that is, homogeneous coordinates have been transformed into
+ /// affine coordinates. The default vertex callback function is
+ /// null. The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the callback,
+ /// except that it takes an additional pointer argument. This
+ /// pointer is a copy of the pointer that was specified at the last
+ /// call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The function that the callback invokes.
+ ///
+ ///
+ ///
+ /// gluNurbsCallback is used to define a callback to be used by a NURBS
+ /// object. If the specified callback is already defined, then it is replaced.
+ /// If func is null, then this callback will not get invoked and
+ /// the related data, if any, will be lost.
+ ///
+ ///
+ /// Except the error callback, these callbacks are used by NURBS tessellator
+ /// (when is set to be
+ /// ) to return back the OpenGL polygon
+ /// primitives resulting from the tessellation. Note that there are two
+ /// versions of each callback: one with a user data pointer and one without. If
+ /// both versions for a particular callback are specified then the callback with
+ /// the user data pointer will be used. Note that userData is a copy of
+ /// the pointer that was specified at the last call to
+ /// .
+ ///
+ ///
+ /// The error callback function is effective no matter which value that
+ /// is set to. All other callback functions are
+ /// effective only when is set to
+ /// .
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallback is available only if the GLU version is 1.2 or
+ /// greater.
+ ///
+ ///
+ /// GLU version 1.2 supports only the parameter for
+ /// which. The value is deprecated in GLU
+ /// version 1.3 in favor of . All other
+ /// accepted values for func are available only if the GLU version is 1.3
+ /// or greater.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluNurbsCallback(GLUnurbs *nobj, GLenum which, void (CALLBACK* fn)());
+ public static void gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsTexCoordCallback func)
+ {
+ nurbsTexCoordCallback = func;
+ __gluNurbsCallback(nurb, which, nurbsTexCoordCallback);
+ }
+ #endregion gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsTexCoordCallback func)
+
+ #region gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsTexCoordDataCallback func)
+ ///
+ /// The gluNurbsCallback mehtod defines a callback for a NURBS object.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ ///
+ /// The callback being defined. The legal callbacks are as follows:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// The begin callback indicates the start of a primitive. The
+ /// function takes a single argument of type ,
+ /// which can be one of ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// . The default begin callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The color callback is invoked as the color of a vertex is
+ /// generated. The components of the color are stored in the
+ /// parameter colorData. This callback is effective only when
+ /// the user provides a color map (
+ /// or ). colorData
+ /// contains four components: R,G,B,A. The default color callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The end callback is invoked at the end of a primitive. The
+ /// default end callback function is null. The delegate
+ /// prototype for this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the callback,
+ /// except that it takes an additional pointer argument. This
+ /// pointer is a copy of the pointer that was specified at the last
+ /// call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The error function is called when an error is encountered. Its
+ /// single argument is of type , and it indicates
+ /// the specific error that occurred. There are 37 errors unique to
+ /// NURBS named through
+ /// . Character strings describing
+ /// these errors can be retrieved with .
+ /// The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The normal callback is invoked as the vertex normal is generated.
+ /// The components of the normal are stored in the parameter
+ /// normalData. In the case of a NURBS curve, the callback
+ /// function is effective only when the user provides a normal map
+ /// (). In the case of a NURBS
+ /// surface, if a normal map () is
+ /// provided, then the generated normal is computed from the normal
+ /// map. If a normal map is not provided then a surface normal is
+ /// computed in a manner similar to that described for evaluators
+ /// when is enabled. The default
+ /// normal callback function is null. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The texture callback is invoked as the texture coordinates of a
+ /// vertex are generated. These coordinates are stored in the
+ /// parameter texCoord. The number of texture coordinates can
+ /// be 1, 2, 3, or 4 depending on which type of texture map is
+ /// specified (,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ). If no texture map is
+ /// specified, this callback function will not be called. The
+ /// default texture callback function is null. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the
+ /// callback, except that it takes an additional pointer argument.
+ /// This pointer is a copy of the pointer that was specified at the
+ /// last call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The vertex callback indicates a vertex of the primitive. The
+ /// coordinates of the vertex are stored in the parameter
+ /// vertexData. All the generated vertices have dimension 3,
+ /// that is, homogeneous coordinates have been transformed into
+ /// affine coordinates. The default vertex callback function is
+ /// null. The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the callback,
+ /// except that it takes an additional pointer argument. This
+ /// pointer is a copy of the pointer that was specified at the last
+ /// call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The function that the callback invokes.
+ ///
+ ///
+ ///
+ /// gluNurbsCallback is used to define a callback to be used by a NURBS
+ /// object. If the specified callback is already defined, then it is replaced.
+ /// If func is null, then this callback will not get invoked and
+ /// the related data, if any, will be lost.
+ ///
+ ///
+ /// Except the error callback, these callbacks are used by NURBS tessellator
+ /// (when is set to be
+ /// ) to return back the OpenGL polygon
+ /// primitives resulting from the tessellation. Note that there are two
+ /// versions of each callback: one with a user data pointer and one without. If
+ /// both versions for a particular callback are specified then the callback with
+ /// the user data pointer will be used. Note that userData is a copy of
+ /// the pointer that was specified at the last call to
+ /// .
+ ///
+ ///
+ /// The error callback function is effective no matter which value that
+ /// is set to. All other callback functions are
+ /// effective only when is set to
+ /// .
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallback is available only if the GLU version is 1.2 or
+ /// greater.
+ ///
+ ///
+ /// GLU version 1.2 supports only the parameter for
+ /// which. The value is deprecated in GLU
+ /// version 1.3 in favor of . All other
+ /// accepted values for func are available only if the GLU version is 1.3
+ /// or greater.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluNurbsCallback(GLUnurbs *nobj, GLenum which, void (CALLBACK* fn)());
+ public static void gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsTexCoordDataCallback func)
+ {
+ nurbsTexCoordDataCallback = func;
+ __gluNurbsCallback(nurb, which, nurbsTexCoordDataCallback);
+ }
+ #endregion gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsTexCoordDataCallback func)
+
+ #region gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsVertexCallback func)
+ ///
+ /// The gluNurbsCallback mehtod defines a callback for a NURBS object.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ ///
+ /// The callback being defined. The legal callbacks are as follows:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// The begin callback indicates the start of a primitive. The
+ /// function takes a single argument of type ,
+ /// which can be one of ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// . The default begin callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The color callback is invoked as the color of a vertex is
+ /// generated. The components of the color are stored in the
+ /// parameter colorData. This callback is effective only when
+ /// the user provides a color map (
+ /// or ). colorData
+ /// contains four components: R,G,B,A. The default color callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The end callback is invoked at the end of a primitive. The
+ /// default end callback function is null. The delegate
+ /// prototype for this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the callback,
+ /// except that it takes an additional pointer argument. This
+ /// pointer is a copy of the pointer that was specified at the last
+ /// call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The error function is called when an error is encountered. Its
+ /// single argument is of type , and it indicates
+ /// the specific error that occurred. There are 37 errors unique to
+ /// NURBS named through
+ /// . Character strings describing
+ /// these errors can be retrieved with .
+ /// The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The normal callback is invoked as the vertex normal is generated.
+ /// The components of the normal are stored in the parameter
+ /// normalData. In the case of a NURBS curve, the callback
+ /// function is effective only when the user provides a normal map
+ /// (). In the case of a NURBS
+ /// surface, if a normal map () is
+ /// provided, then the generated normal is computed from the normal
+ /// map. If a normal map is not provided then a surface normal is
+ /// computed in a manner similar to that described for evaluators
+ /// when is enabled. The default
+ /// normal callback function is null. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The texture callback is invoked as the texture coordinates of a
+ /// vertex are generated. These coordinates are stored in the
+ /// parameter texCoord. The number of texture coordinates can
+ /// be 1, 2, 3, or 4 depending on which type of texture map is
+ /// specified (,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ). If no texture map is
+ /// specified, this callback function will not be called. The
+ /// default texture callback function is null. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the
+ /// callback, except that it takes an additional pointer argument.
+ /// This pointer is a copy of the pointer that was specified at the
+ /// last call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The vertex callback indicates a vertex of the primitive. The
+ /// coordinates of the vertex are stored in the parameter
+ /// vertexData. All the generated vertices have dimension 3,
+ /// that is, homogeneous coordinates have been transformed into
+ /// affine coordinates. The default vertex callback function is
+ /// null. The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the callback,
+ /// except that it takes an additional pointer argument. This
+ /// pointer is a copy of the pointer that was specified at the last
+ /// call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The function that the callback invokes.
+ ///
+ ///
+ ///
+ /// gluNurbsCallback is used to define a callback to be used by a NURBS
+ /// object. If the specified callback is already defined, then it is replaced.
+ /// If func is null, then this callback will not get invoked and
+ /// the related data, if any, will be lost.
+ ///
+ ///
+ /// Except the error callback, these callbacks are used by NURBS tessellator
+ /// (when is set to be
+ /// ) to return back the OpenGL polygon
+ /// primitives resulting from the tessellation. Note that there are two
+ /// versions of each callback: one with a user data pointer and one without. If
+ /// both versions for a particular callback are specified then the callback with
+ /// the user data pointer will be used. Note that userData is a copy of
+ /// the pointer that was specified at the last call to
+ /// .
+ ///
+ ///
+ /// The error callback function is effective no matter which value that
+ /// is set to. All other callback functions are
+ /// effective only when is set to
+ /// .
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallback is available only if the GLU version is 1.2 or
+ /// greater.
+ ///
+ ///
+ /// GLU version 1.2 supports only the parameter for
+ /// which. The value is deprecated in GLU
+ /// version 1.3 in favor of . All other
+ /// accepted values for func are available only if the GLU version is 1.3
+ /// or greater.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluNurbsCallback(GLUnurbs *nobj, GLenum which, void (CALLBACK* fn)());
+ public static void gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsVertexCallback func)
+ {
+ nurbsVertexCallback = func;
+ __gluNurbsCallback(nurb, which, nurbsVertexCallback);
+ }
+ #endregion gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsVertexCallback func)
+
+ #region gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsVertexDataCallback func)
+ ///
+ /// The gluNurbsCallback mehtod defines a callback for a NURBS object.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ ///
+ /// The callback being defined. The legal callbacks are as follows:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// The begin callback indicates the start of a primitive. The
+ /// function takes a single argument of type ,
+ /// which can be one of ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// . The default begin callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The color callback is invoked as the color of a vertex is
+ /// generated. The components of the color are stored in the
+ /// parameter colorData. This callback is effective only when
+ /// the user provides a color map (
+ /// or ). colorData
+ /// contains four components: R,G,B,A. The default color callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The end callback is invoked at the end of a primitive. The
+ /// default end callback function is null. The delegate
+ /// prototype for this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the callback,
+ /// except that it takes an additional pointer argument. This
+ /// pointer is a copy of the pointer that was specified at the last
+ /// call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The error function is called when an error is encountered. Its
+ /// single argument is of type , and it indicates
+ /// the specific error that occurred. There are 37 errors unique to
+ /// NURBS named through
+ /// . Character strings describing
+ /// these errors can be retrieved with .
+ /// The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The normal callback is invoked as the vertex normal is generated.
+ /// The components of the normal are stored in the parameter
+ /// normalData. In the case of a NURBS curve, the callback
+ /// function is effective only when the user provides a normal map
+ /// (). In the case of a NURBS
+ /// surface, if a normal map () is
+ /// provided, then the generated normal is computed from the normal
+ /// map. If a normal map is not provided then a surface normal is
+ /// computed in a manner similar to that described for evaluators
+ /// when is enabled. The default
+ /// normal callback function is null. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is a
+ /// copy of the pointer that was specified at the last call to
+ /// . The default callback
+ /// function is null. The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The texture callback is invoked as the texture coordinates of a
+ /// vertex are generated. These coordinates are stored in the
+ /// parameter texCoord. The number of texture coordinates can
+ /// be 1, 2, 3, or 4 depending on which type of texture map is
+ /// specified (,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ). If no texture map is
+ /// specified, this callback function will not be called. The
+ /// default texture callback function is null. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the
+ /// callback, except that it takes an additional pointer argument.
+ /// This pointer is a copy of the pointer that was specified at the
+ /// last call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The vertex callback indicates a vertex of the primitive. The
+ /// coordinates of the vertex are stored in the parameter
+ /// vertexData. All the generated vertices have dimension 3,
+ /// that is, homogeneous coordinates have been transformed into
+ /// affine coordinates. The default vertex callback function is
+ /// null. The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// This is the same as the callback,
+ /// except that it takes an additional pointer argument. This
+ /// pointer is a copy of the pointer that was specified at the last
+ /// call to . The default
+ /// callback function is null. The delegate prototype for
+ /// this callback is .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The function that the callback invokes.
+ ///
+ ///
+ ///
+ /// gluNurbsCallback is used to define a callback to be used by a NURBS
+ /// object. If the specified callback is already defined, then it is replaced.
+ /// If func is null, then this callback will not get invoked and
+ /// the related data, if any, will be lost.
+ ///
+ ///
+ /// Except the error callback, these callbacks are used by NURBS tessellator
+ /// (when is set to be
+ /// ) to return back the OpenGL polygon
+ /// primitives resulting from the tessellation. Note that there are two
+ /// versions of each callback: one with a user data pointer and one without. If
+ /// both versions for a particular callback are specified then the callback with
+ /// the user data pointer will be used. Note that userData is a copy of
+ /// the pointer that was specified at the last call to
+ /// .
+ ///
+ ///
+ /// The error callback function is effective no matter which value that
+ /// is set to. All other callback functions are
+ /// effective only when is set to
+ /// .
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallback is available only if the GLU version is 1.2 or
+ /// greater.
+ ///
+ ///
+ /// GLU version 1.2 supports only the parameter for
+ /// which. The value is deprecated in GLU
+ /// version 1.3 in favor of . All other
+ /// accepted values for func are available only if the GLU version is 1.3
+ /// or greater.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluNurbsCallback(GLUnurbs *nobj, GLenum which, void (CALLBACK* fn)());
+ public static void gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsVertexDataCallback func)
+ {
+ nurbsVertexDataCallback = func;
+ __gluNurbsCallback(nurb, which, nurbsVertexDataCallback);
+ }
+ #endregion gluNurbsCallback([In] GLUnurbs nurb, int which, [In] NurbsVertexDataCallback func)
+
+ #region gluNurbsCallbackData([In] GLUnurbs nurb, [In] byte[] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ ///
+ /// gluNurbsCallbackData is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallbackData is available only if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackData(GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackData([In] GLUnurbs nurb, [In] byte[] userData);
+ #endregion gluNurbsCallbackData([In] GLUnurbs nurb, [In] byte[] userData)
+
+ #region gluNurbsCallbackData([In] GLUnurbs nurb, [In] byte[ , ] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ ///
+ /// gluNurbsCallbackData is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallbackData is available only if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackData(GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackData([In] GLUnurbs nurb, [In] byte[,] userData);
+ #endregion gluNurbsCallbackData([In] GLUnurbs nurb, [In] byte[ , ] userData)
+
+ #region gluNurbsCallbackData([In] GLUnurbs nurb, [In] byte[ , , ] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ ///
+ /// gluNurbsCallbackData is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallbackData is available only if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackData(GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackData([In] GLUnurbs nurb, [In] byte[, ,] userData);
+ #endregion gluNurbsCallbackData([In] GLUnurbs nurb, [In] byte[ , , ] userData)
+
+ #region gluNurbsCallbackData([In] GLUnurbs nurb, [In] double[] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ ///
+ /// gluNurbsCallbackData is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallbackData is available only if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackData(GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackData([In] GLUnurbs nurb, [In] double[] userData);
+ #endregion gluNurbsCallbackData([In] GLUnurbs nurb, [In] double[] userData)
+
+ #region gluNurbsCallbackData([In] GLUnurbs nurb, [In] double[ , ] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ ///
+ /// gluNurbsCallbackData is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallbackData is available only if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackData(GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackData([In] GLUnurbs nurb, [In] double[,] userData);
+ #endregion gluNurbsCallbackData([In] GLUnurbs nurb, [In] double[ , ] userData)
+
+ #region gluNurbsCallbackData([In] GLUnurbs nurb, [In] double[ , , ] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ ///
+ /// gluNurbsCallbackData is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallbackData is available only if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackData(GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackData([In] GLUnurbs nurb, [In] double[, ,] userData);
+ #endregion gluNurbsCallbackData([In] GLUnurbs nurb, [In] double[ , , ] userData)
+
+ #region gluNurbsCallbackData([In] GLUnurbs nurb, [In] short[] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ ///
+ /// gluNurbsCallbackData is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallbackData is available only if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackData(GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackData([In] GLUnurbs nurb, [In] short[] userData);
+ #endregion gluNurbsCallbackData([In] GLUnurbs nurb, [In] short[] userData)
+
+ #region gluNurbsCallbackData([In] GLUnurbs nurb, [In] short[ , ] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ ///
+ /// gluNurbsCallbackData is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallbackData is available only if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackData(GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackData([In] GLUnurbs nurb, [In] short[,] userData);
+ #endregion gluNurbsCallbackData([In] GLUnurbs nurb, [In] short[ , ] userData)
+
+ #region gluNurbsCallbackData([In] GLUnurbs nurb, [In] short[ , , ] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ ///
+ /// gluNurbsCallbackData is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallbackData is available only if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackData(GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackData([In] GLUnurbs nurb, [In] short[, ,] userData);
+ #endregion gluNurbsCallbackData([In] GLUnurbs nurb, [In] short[ , , ] userData)
+
+ #region gluNurbsCallbackData([In] GLUnurbs nurb, [In] int[] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ ///
+ /// gluNurbsCallbackData is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallbackData is available only if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackData(GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackData([In] GLUnurbs nurb, [In] int[] userData);
+ #endregion gluNurbsCallbackData([In] GLUnurbs nurb, [In] int[] userData)
+
+ #region gluNurbsCallbackData([In] GLUnurbs nurb, [In] int[ , ] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ ///
+ /// gluNurbsCallbackData is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallbackData is available only if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackData(GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackData([In] GLUnurbs nurb, [In] int[,] userData);
+ #endregion gluNurbsCallbackData([In] GLUnurbs nurb, [In] int[ , ] userData)
+
+ #region gluNurbsCallbackData([In] GLUnurbs nurb, [In] int[ , , ] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ ///
+ /// gluNurbsCallbackData is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallbackData is available only if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackData(GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackData([In] GLUnurbs nurb, [In] int[, ,] userData);
+ #endregion gluNurbsCallbackData([In] GLUnurbs nurb, [In] int[ , , ] userData)
+
+ #region gluNurbsCallbackData([In] GLUnurbs nurb, [In] float[] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ ///
+ /// gluNurbsCallbackData is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallbackData is available only if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackData(GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackData([In] GLUnurbs nurb, [In] float[] userData);
+ #endregion gluNurbsCallbackData([In] GLUnurbs nurb, [In] float[] userData)
+
+ #region gluNurbsCallbackData([In] GLUnurbs nurb, [In] float[ , ] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ ///
+ /// gluNurbsCallbackData is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallbackData is available only if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackData(GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackData([In] GLUnurbs nurb, [In] float[,] userData);
+ #endregion gluNurbsCallbackData([In] GLUnurbs nurb, [In] float[ , ] userData)
+
+ #region gluNurbsCallbackData([In] GLUnurbs nurb, [In] float[ , , ] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ ///
+ /// gluNurbsCallbackData is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallbackData is available only if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackData(GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackData([In] GLUnurbs nurb, [In] float[, ,] userData);
+ #endregion gluNurbsCallbackData([In] GLUnurbs nurb, [In] float[ , , ] userData)
+
+ #region gluNurbsCallbackData([In] GLUnurbs nurb, [In] ushort[] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ ///
+ /// gluNurbsCallbackData is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallbackData is available only if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackData(GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackData([In] GLUnurbs nurb, [In] ushort[] userData);
+ #endregion gluNurbsCallbackData([In] GLUnurbs nurb, [In] ushort[] userData)
+
+ #region gluNurbsCallbackData([In] GLUnurbs nurb, [In] ushort[ , ] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ ///
+ /// gluNurbsCallbackData is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallbackData is available only if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackData(GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackData([In] GLUnurbs nurb, [In] ushort[,] userData);
+ #endregion gluNurbsCallbackData([In] GLUnurbs nurb, [In] ushort[ , ] userData)
+
+ #region gluNurbsCallbackData([In] GLUnurbs nurb, [In] ushort[ , , ] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ ///
+ /// gluNurbsCallbackData is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallbackData is available only if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackData(GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackData([In] GLUnurbs nurb, [In] ushort[, ,] userData);
+ #endregion gluNurbsCallbackData([In] GLUnurbs nurb, [In] ushort[ , , ] userData)
+
+ #region gluNurbsCallbackData([In] GLUnurbs nurb, [In] uint[] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ ///
+ /// gluNurbsCallbackData is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallbackData is available only if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackData(GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackData([In] GLUnurbs nurb, [In] uint[] userData);
+ #endregion gluNurbsCallbackData([In] GLUnurbs nurb, [In] uint[] userData)
+
+ #region gluNurbsCallbackData([In] GLUnurbs nurb, [In] uint[ , ] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ ///
+ /// gluNurbsCallbackData is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallbackData is available only if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackData(GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackData([In] GLUnurbs nurb, [In] uint[,] userData);
+ #endregion gluNurbsCallbackData([In] GLUnurbs nurb, [In] uint[ , ] userData)
+
+ #region gluNurbsCallbackData([In] GLUnurbs nurb, [In] uint[ , , ] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ ///
+ /// gluNurbsCallbackData is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallbackData is available only if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackData(GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackData([In] GLUnurbs nurb, [In] uint[, ,] userData);
+ #endregion gluNurbsCallbackData([In] GLUnurbs nurb, [In] uint[ , , ] userData)
+
+ #region gluNurbsCallbackData([In] GLUnurbs nurb, [In] IntPtr userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ ///
+ /// gluNurbsCallbackData is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallbackData is available only if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackData(GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackData([In] GLUnurbs nurb, [In] IntPtr userData);
+ #endregion gluNurbsCallbackData([In] GLUnurbs nurb, [In] IntPtr userData)
+
+ #region gluNurbsCallbackData([In] GLUnurbs nurb, [In] void *userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ ///
+ /// gluNurbsCallbackData is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// gluNurbsCallbackData is available only if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackData(GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void gluNurbsCallbackData([In] GLUnurbs nurb, [In] void* userData);
+ #endregion gluNurbsCallbackData([In] GLUnurbs nurb, [In] void *userData)
+
+ #region gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] byte[] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ /// gluNurbsCallbackDataEXT is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackDataEXT (GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] byte[] userData);
+ #endregion gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] byte[] userData)
+
+ #region gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] byte[ , ] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ /// gluNurbsCallbackDataEXT is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackDataEXT (GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] byte[,] userData);
+ #endregion gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] byte[ , ] userData)
+
+ #region gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] byte[ , , ] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ /// gluNurbsCallbackDataEXT is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackDataEXT (GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] byte[, ,] userData);
+ #endregion gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] byte[ , , ] userData)
+
+ #region gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] double[] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ /// gluNurbsCallbackDataEXT is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackDataEXT (GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] double[] userData);
+ #endregion gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] double[] userData)
+
+ #region gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] double[ , ] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ /// gluNurbsCallbackDataEXT is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackDataEXT (GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] double[,] userData);
+ #endregion gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] double[ , ] userData)
+
+ #region gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] double[ , , ] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ /// gluNurbsCallbackDataEXT is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackDataEXT (GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] double[, ,] userData);
+ #endregion gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] double[ , , ] userData)
+
+ #region gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] short[] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ /// gluNurbsCallbackDataEXT is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackDataEXT (GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] short[] userData);
+ #endregion gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] short[] userData)
+
+ #region gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] short[ , ] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ /// gluNurbsCallbackDataEXT is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackDataEXT (GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] short[,] userData);
+ #endregion gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] short[ , ] userData)
+
+ #region gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] short[ , , ] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ /// gluNurbsCallbackDataEXT is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackDataEXT (GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] short[, ,] userData);
+ #endregion gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] short[ , , ] userData)
+
+ #region gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] int[] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ /// gluNurbsCallbackDataEXT is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackDataEXT (GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] int[] userData);
+ #endregion gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] int[] userData)
+
+ #region gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] int[ , ] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ /// gluNurbsCallbackDataEXT is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackDataEXT (GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] int[,] userData);
+ #endregion gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] int[ , ] userData)
+
+ #region gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] int[ , , ] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ /// gluNurbsCallbackDataEXT is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackDataEXT (GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] int[, ,] userData);
+ #endregion gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] int[ , , ] userData)
+
+ #region gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] float[] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ /// gluNurbsCallbackDataEXT is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackDataEXT (GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] float[] userData);
+ #endregion gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] float[] userData)
+
+ #region gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] float[ , ] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ /// gluNurbsCallbackDataEXT is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackDataEXT (GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] float[,] userData);
+ #endregion gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] float[ , ] userData)
+
+ #region gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] float[ , , ] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ /// gluNurbsCallbackDataEXT is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackDataEXT (GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] float[, ,] userData);
+ #endregion gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] float[ , , ] userData)
+
+ #region gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] ushort[] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ /// gluNurbsCallbackDataEXT is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackDataEXT (GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] ushort[] userData);
+ #endregion gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] ushort[] userData)
+
+ #region gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] ushort[ , ] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ /// gluNurbsCallbackDataEXT is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackDataEXT (GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] ushort[,] userData);
+ #endregion gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] ushort[ , ] userData)
+
+ #region gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] ushort[ , , ] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ /// gluNurbsCallbackDataEXT is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackDataEXT (GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] ushort[, ,] userData);
+ #endregion gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] ushort[ , , ] userData)
+
+ #region gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] uint[] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ /// gluNurbsCallbackDataEXT is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackDataEXT (GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] uint[] userData);
+ #endregion gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] uint[] userData)
+
+ #region gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] uint[ , ] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ /// gluNurbsCallbackDataEXT is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackDataEXT (GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] uint[,] userData);
+ #endregion gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] uint[ , ] userData)
+
+ #region gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] uint[ , , ] userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ /// gluNurbsCallbackDataEXT is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackDataEXT (GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] uint[, ,] userData);
+ #endregion gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] uint[ , , ] userData)
+
+ #region gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] IntPtr userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ /// gluNurbsCallbackDataEXT is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackDataEXT (GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] IntPtr userData);
+ #endregion gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] IntPtr userData)
+
+ #region gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] void *userData)
+ ///
+ /// Sets a user data pointer.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// A pointer to the user's data.
+ ///
+ ///
+ /// gluNurbsCallbackDataEXT is used to pass a pointer to the application's
+ /// data to NURBS tessellator. A copy of this pointer will be passed by the
+ /// tessellator in the NURBS callback functions (set by
+ /// ).
+ ///
+ ///
+ // GLAPI void GLAPIENTRY gluNurbsCallbackDataEXT (GLUnurbs* nurb, GLvoid* userData);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] void* userData);
+ #endregion gluNurbsCallbackDataEXT([In] GLUnurbs nurb, [In] void *userData)
+
+ #region gluNurbsCurve([In] GLUnurbs nurb, int knotCount, [In] float[] knots, int stride, [In] float[] control, int order, int type)
+ ///
+ /// Defines the shape of a NURBS curve.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// The number of knots in knot. The knotCount parameter equals
+ /// the number of control points plus the order.
+ ///
+ ///
+ /// An array of knotCount nondecreasing knot values.
+ ///
+ ///
+ /// The offset (as a number of single precision–floating-point values) between
+ /// successive curve control points.
+ ///
+ ///
+ /// A pointer to an array of control points. The coordinates must agree with
+ /// type.
+ ///
+ ///
+ /// The order of the NURBS curve. The order parameter equals degree + 1;
+ /// hence a cubic curve has an order of 4.
+ ///
+ ///
+ /// The type of the curve. If this curve is defined within a
+ /// / pair, then the type
+ /// can be any of the valid one-dimensional evaluator types (such as
+ /// or ).
+ /// Between a / pair, the
+ /// only valid types are and
+ /// .
+ ///
+ ///
+ ///
+ /// Use gluNurbsCurve to describe a NURBS curve.
+ ///
+ ///
+ /// When gluNurbsCurve appears between a
+ /// / pair, it is used to
+ /// describe a curve to be rendered. Positional, texture, and color coordinates
+ /// are associated by presenting each as a separate gluNurbsCurve between
+ /// a / pair. No more than
+ /// one call to gluNurbsCurve for each of color, position, and texture
+ /// data can be made within a single
+ /// / pair. Exactly one
+ /// call must be made to describe the position of the curve (a type of
+ /// or ).
+ ///
+ ///
+ /// When gluNurbsCurve appears between a
+ /// / pair, it is used to
+ /// describe a trimming curve on a NURBS surface. If type is
+ /// , then it describes a curve in two-dimensional
+ /// (u and v) parameter space. If it is , then it
+ /// describes a curve in two-dimensional homogeneous (u, v, and w) parameter
+ /// space. See the reference page for more
+ /// discussion about trimming curves.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// To define trim curves which stitch well, use .
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following commands render a textured NURBS curve with normals:
+ ///
+ ///
+ ///
+ /// Glu.gluBeginCurve(nobj);
+ /// Glu.gluNurbsCurve(nobj, ..., Gl.GL_MAP1_TEXTURE_COORD_2);
+ /// Glu.gluNurbsCurve(nobj, ..., Gl.GL_MAP1_NORMAL);
+ /// Glu.gluNurbsCurve(nobj, ..., Gl.GL_MAP1_VERTEX_4);
+ /// Glu.gluEndCurve(nobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluNurbsCurve(GLUnurbs *nobj, GLint nknots, GLfloat *knot, GLint stride, GLfloat *ctlarray, GLint order, GLenum type);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCurve([In] GLUnurbs nurb, int knotCount, [In] float[] knots, int stride, [In] float[] control, int order, int type);
+ #endregion gluNurbsCurve([In] GLUnurbs nurb, int knotCount, [In] float[] knots, int stride, [In] float[] control, int order, int type)
+
+ #region gluNurbsCurve([In] GLUnurbs nurb, int knotCount, [In] float[] knots, int stride, [In] float[ , ] control, int order, int type)
+ ///
+ /// Defines the shape of a NURBS curve.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// The number of knots in knot. The knotCount parameter equals
+ /// the number of control points plus the order.
+ ///
+ ///
+ /// An array of knotCount nondecreasing knot values.
+ ///
+ ///
+ /// The offset (as a number of single precision–floating-point values) between
+ /// successive curve control points.
+ ///
+ ///
+ /// A pointer to an array of control points. The coordinates must agree with
+ /// type.
+ ///
+ ///
+ /// The order of the NURBS curve. The order parameter equals degree + 1;
+ /// hence a cubic curve has an order of 4.
+ ///
+ ///
+ /// The type of the curve. If this curve is defined within a
+ /// / pair, then the type
+ /// can be any of the valid one-dimensional evaluator types (such as
+ /// or ).
+ /// Between a / pair, the
+ /// only valid types are and
+ /// .
+ ///
+ ///
+ ///
+ /// Use gluNurbsCurve to describe a NURBS curve.
+ ///
+ ///
+ /// When gluNurbsCurve appears between a
+ /// / pair, it is used to
+ /// describe a curve to be rendered. Positional, texture, and color coordinates
+ /// are associated by presenting each as a separate gluNurbsCurve between
+ /// a / pair. No more than
+ /// one call to gluNurbsCurve for each of color, position, and texture
+ /// data can be made within a single
+ /// / pair. Exactly one
+ /// call must be made to describe the position of the curve (a type of
+ /// or ).
+ ///
+ ///
+ /// When gluNurbsCurve appears between a
+ /// / pair, it is used to
+ /// describe a trimming curve on a NURBS surface. If type is
+ /// , then it describes a curve in two-dimensional
+ /// (u and v) parameter space. If it is , then it
+ /// describes a curve in two-dimensional homogeneous (u, v, and w) parameter
+ /// space. See the reference page for more
+ /// discussion about trimming curves.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// To define trim curves which stitch well, use .
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following commands render a textured NURBS curve with normals:
+ ///
+ ///
+ ///
+ /// Glu.gluBeginCurve(nobj);
+ /// Glu.gluNurbsCurve(nobj, ..., Gl.GL_MAP1_TEXTURE_COORD_2);
+ /// Glu.gluNurbsCurve(nobj, ..., Gl.GL_MAP1_NORMAL);
+ /// Glu.gluNurbsCurve(nobj, ..., Gl.GL_MAP1_VERTEX_4);
+ /// Glu.gluEndCurve(nobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluNurbsCurve(GLUnurbs *nobj, GLint nknots, GLfloat *knot, GLint stride, GLfloat *ctlarray, GLint order, GLenum type);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsCurve([In] GLUnurbs nurb, int knotCount, [In] float[] knots, int stride, [In] float[,] control, int order, int type);
+ #endregion gluNurbsCurve([In] GLUnurbs nurb, int knotCount, [In] float[] knots, int stride, [In] float[ , ] control, int order, int type)
+
+ #region gluNurbsProperty([In] GLUnurbs nurb, int property, float val)
+ ///
+ /// Sets a NURBS property.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// The property to be set. Valid values are
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , , or
+ /// .
+ ///
+ ///
+ /// The value of the indicated property. It may be a numeric value, or one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , or .
+ ///
+ ///
+ ///
+ /// gluNurbsProperty is used to control properties stored in a NURBS
+ /// object. These properties affect the way that a NURBS curve is rendered. The
+ /// accepted values for property are as follows:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// val should be set to be either
+ /// or
+ /// . When set to
+ /// , NURBS objects are tessellated
+ /// into OpenGL primitives and sent to the pipeline for rendering.
+ /// When set to , NURBS objects
+ /// are tessellated into OpenGL primitives but the vertices, normals,
+ /// colors, and/or textures are retrieved back through a callback
+ /// interface (see ). This allows the
+ /// user to cache the tessellated results for further processing.
+ /// The initial value is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// Specifies how a NURBS surface should be tessellated.
+ /// val may be one of ,
+ /// ,
+ /// ,
+ /// , or
+ /// . When set to
+ /// , the surface is rendered so
+ /// that the maximum length, in pixels, of the edges of the
+ /// tessellation polygons is no greater than what is specified by
+ /// .
+ ///
+ ///
+ /// specifies that the
+ /// surface is rendered in such a way that the value specified by
+ /// describes the maximum
+ /// distance, in pixels, between the tessellation polygons and
+ /// the surfaces they approximate.
+ ///
+ ///
+ /// allows users to specify,
+ /// in parametric coordinates, how many sample points per unit
+ /// length are taken in u, v direction.
+ ///
+ ///
+ /// is similar to
+ /// except that it is view
+ /// independent, that is, the surface is rendered so that the
+ /// maximum length, in object space, of edges of the tessellation
+ /// polygons is no greater than what is specified by
+ /// .
+ ///
+ ///
+ /// is similar to
+ /// except that it is view
+ /// independent, that is, the surface is rendered in such a way
+ /// that the value specified by
+ /// describes the maximum
+ /// distance, in object space, between the tessellation polygons
+ /// and the surfaces they approximate.
+ ///
+ ///
+ /// The initial value of is
+ /// .
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// Specifies the maximum length, in pixels or in object space length
+ /// unit, to use when the sampling method is set to
+ /// or
+ /// . The NURBS code is
+ /// conservative when rendering a curve or surface, so the actual
+ /// length can be somewhat shorter. The initial value is 50.0
+ /// pixels.
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// Specifies the maximum distance, in pixels or in object space
+ /// length unit, to use when the sampling method is
+ /// or
+ /// . The initial value is
+ /// 0.5.
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// Specifies the number of sample points per unit length taken along
+ /// the u axis in parametric coordinates. It is needed when
+ /// is set to
+ /// . The initial value is 100.
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// Specifies the number of sample points per unit length taken along
+ /// the v axis in parametric coordinate. It is needed when
+ /// is set to
+ /// . The initial value is 100.
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// val can be set to ,
+ /// , or .
+ /// When is set to be
+ /// , val defines how a
+ /// NURBS surface should be rendered. When val is set to
+ /// , the surface is rendered as a set of
+ /// polygons. When val is set to
+ /// , the NURBS library draws
+ /// only the outlines of the polygons created by tessellation.
+ /// When val is set to
+ /// just the outlines of patches
+ /// and trim curves defined by the user are drawn.
+ ///
+ ///
+ /// When is set to be
+ /// , val defines how
+ /// a NURBS surface should be tessellated. When
+ /// is set to
+ /// or
+ /// , the NURBS surface is
+ /// tessellated into OpenGL triangle primitives which can be
+ /// retrieved back through callback functions. If
+ /// is set to
+ /// , only the outlines of the
+ /// patches and trim curves are generated as a sequence of
+ /// line strips which can be retrieved back through callback
+ /// functions.
+ ///
+ ///
+ /// The initial value is .
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// val is a boolean value that, when set to
+ /// , indicates that a NURBS curve should be
+ /// discarded prior to tessellation if its control points lie outside
+ /// the current viewport. The initial value is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// val is a boolean value. When set to
+ /// , the NURBS code downloads the
+ /// projection matrix, the modelview matrix, and the viewport
+ /// from the GL server to compute sampling and culling matrices
+ /// for each NURBS curve that is rendered. Sampling and culling
+ /// matrices are required to determine the tessellation of a
+ /// NURBS surface into line segments or polygons and to cull a
+ /// NURBS surface if it lies outside the viewport.
+ ///
+ ///
+ /// If this mode is set to , then the
+ /// program needs to provide a projection matrix, a modelview
+ /// matrix, and a viewport for the NURBS renderer to use to
+ /// construct sampling and culling matrices. This can be done
+ /// with the function.
+ /// This mode is initially set to .
+ /// Changing it from to
+ /// does not affect the sampling and
+ /// culling matrices until
+ /// is called.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// If is true, sampling and culling may be
+ /// executed incorrectly if NURBS routines are compiled into a display list.
+ ///
+ ///
+ /// A property of ,
+ /// , , or
+ /// , or a val of ,
+ /// , are
+ /// only available if the GLU version is 1.1 or greater. They are not valid
+ /// parameters in GLU 1.0.
+ ///
+ ///
+ /// can be used to determine the GLU version.
+ ///
+ ///
+ /// is only availble if the GLU version is 1.3 or
+ /// greater.
+ ///
+ ///
+ /// The and
+ /// values for the
+ /// property are only available if the GLU
+ /// version is 1.3 or greater.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluNurbsProperty(GLUnurbs *nobj, GLenum property, GLfloat value);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsProperty([In] GLUnurbs nurb, int property, float val);
+ #endregion gluNurbsProperty([In] GLUnurbs nurb, int property, float val)
+
+ #region gluNurbsSurface([In] GLUnurbs nurb, int sKnotCount, [In] float[] sKnots, int tKnotCount, [In] float[] tKnots, int sStride, int tStride, [In] float[] control, int sOrder, int tOrder, int type)
+ ///
+ /// Defines the shape of a NURBS surface.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// The number of knots in the parametric u direction.
+ ///
+ ///
+ /// An array of sKnotCount nondecreasing knot values in the parametric
+ /// u direction
+ ///
+ ///
+ /// The number of knots in the parametric v direction.
+ ///
+ ///
+ /// An array of tKnotCount nondecreasing knot values in the parametric
+ /// v direction.
+ ///
+ ///
+ /// The offset (as a number of single precision–floating-point values) between
+ /// successive control points in the parametric u direction in control.
+ ///
+ ///
+ /// The offset (in single precision–floating-point values) between successive
+ /// control points in the parametric v direction in control.
+ ///
+ ///
+ /// An array containing control points for the NURBS surface. The offsets
+ /// between successive control points in the parametric u and v directions are
+ /// given by sStride and tStride.
+ ///
+ ///
+ /// The order of the NURBS surface in the parametric u direction. The order is
+ /// one more than the degree, hence a surface that is cubic in u has a u order of
+ /// 4.
+ ///
+ ///
+ /// The order of the NURBS surface in the parametric v direction. The order is
+ /// one more than the degree, hence a surface that is cubic in v has a v order of
+ /// 4.
+ ///
+ ///
+ /// The type of the surface. The type parameter can be any of the valid
+ /// two-dimensional evaluator types (such as
+ /// or ).
+ ///
+ ///
+ ///
+ /// Use gluNurbsSurface within a NURBS (Non-Uniform Rational B-Spline)
+ /// surface definition to describe the shape of a NURBS surface (before any
+ /// trimming). To mark the beginning of a NURBS surface definition, use the
+ /// command. To mark the end of a NURBS surface
+ /// definition, use the command. Call
+ /// gluNurbsSurface within a NURBS surface definition only.
+ ///
+ ///
+ /// Positional, texture, and color coordinates are associated with a surface by
+ /// presenting each as a separate gluNurbsSurface between a
+ /// / pair. No more
+ /// than one call to gluNurbsSurface for each of color, position, and
+ /// texture data can be made within a single
+ /// / pair. Exactly
+ /// one call must be made to describe the position of the surface (a type of
+ /// or ).
+ ///
+ ///
+ /// A NURBS surface can be trimmed by using the commands
+ /// and between calls to
+ /// and .
+ ///
+ ///
+ /// Note that a gluNurbsSurface with sKnotCount knots in the u
+ /// direction and tKnotCount knots in the v direction with orders
+ /// sOrder and tOrder must have (sKnotCount - sOrder)
+ /// multiplied by (tKnotCount - tOrder) control points.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ ///
+ /// Glu.gluBeginSurface(nobj);
+ /// Glu.gluNurbsSurface(nobj, . . ., Gl.GL_MAP2_TEXTURE_COORD_2);
+ /// Glu.gluNurbsSurface(nobj, . . ., Gl.GL_MAP2_NORMAL);
+ /// Glu.gluNurbsSurface(nobj, . . ., Gl.GL_MAP2_VERTEX_4);
+ /// Glu.gluEndSurface(nobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluNurbsSurface(GLUnurbs *nobj, GLint sknot_count, float *sknot, GLint tknot_count, GLfloat *tknot, GLint s_stride, GLint t_stride, GLfloat *ctlarray, GLint sorder, GLint torder, GLenum type);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsSurface([In] GLUnurbs nurb, int sKnotCount, [In] float[] sKnots, int tKnotCount, [In] float[] tKnots, int sStride, int tStride, float[] control, int sOrder, int tOrder, int type);
+ #endregion gluNurbsSurface([In] GLUnurbs nurb, int sKnotCount, [In] float[] sKnots, int tKnotCount, [In] float[] tKnots, int sStride, int tStride, float[] control, int sOrder, int tOrder, int type)
+
+ #region gluNurbsSurface([In] GLUnurbs nurb, int sKnotCount, [In] float[] sKnots, int tKnotCount, [In] float[] tKnots, int sStride, int tStride, [In] float[ , ] control, int sOrder, int tOrder, int type)
+ ///
+ /// Defines the shape of a NURBS surface.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// The number of knots in the parametric u direction.
+ ///
+ ///
+ /// An array of sKnotCount nondecreasing knot values in the parametric
+ /// u direction
+ ///
+ ///
+ /// The number of knots in the parametric v direction.
+ ///
+ ///
+ /// An array of tKnotCount nondecreasing knot values in the parametric
+ /// v direction.
+ ///
+ ///
+ /// The offset (as a number of single precision–floating-point values) between
+ /// successive control points in the parametric u direction in control.
+ ///
+ ///
+ /// The offset (in single precision–floating-point values) between successive
+ /// control points in the parametric v direction in control.
+ ///
+ ///
+ /// An array containing control points for the NURBS surface. The offsets
+ /// between successive control points in the parametric u and v directions are
+ /// given by sStride and tStride.
+ ///
+ ///
+ /// The order of the NURBS surface in the parametric u direction. The order is
+ /// one more than the degree, hence a surface that is cubic in u has a u order of
+ /// 4.
+ ///
+ ///
+ /// The order of the NURBS surface in the parametric v direction. The order is
+ /// one more than the degree, hence a surface that is cubic in v has a v order of
+ /// 4.
+ ///
+ ///
+ /// The type of the surface. The type parameter can be any of the valid
+ /// two-dimensional evaluator types (such as
+ /// or ).
+ ///
+ ///
+ ///
+ /// Use gluNurbsSurface within a NURBS (Non-Uniform Rational B-Spline)
+ /// surface definition to describe the shape of a NURBS surface (before any
+ /// trimming). To mark the beginning of a NURBS surface definition, use the
+ /// command. To mark the end of a NURBS surface
+ /// definition, use the command. Call
+ /// gluNurbsSurface within a NURBS surface definition only.
+ ///
+ ///
+ /// Positional, texture, and color coordinates are associated with a surface by
+ /// presenting each as a separate gluNurbsSurface between a
+ /// / pair. No more
+ /// than one call to gluNurbsSurface for each of color, position, and
+ /// texture data can be made within a single
+ /// / pair. Exactly
+ /// one call must be made to describe the position of the surface (a type of
+ /// or ).
+ ///
+ ///
+ /// A NURBS surface can be trimmed by using the commands
+ /// and between calls to
+ /// and .
+ ///
+ ///
+ /// Note that a gluNurbsSurface with sKnotCount knots in the u
+ /// direction and tKnotCount knots in the v direction with orders
+ /// sOrder and tOrder must have (sKnotCount - sOrder)
+ /// multiplied by (tKnotCount - tOrder) control points.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ ///
+ /// Glu.gluBeginSurface(nobj);
+ /// Glu.gluNurbsSurface(nobj, . . ., Gl.GL_MAP2_TEXTURE_COORD_2);
+ /// Glu.gluNurbsSurface(nobj, . . ., Gl.GL_MAP2_NORMAL);
+ /// Glu.gluNurbsSurface(nobj, . . ., Gl.GL_MAP2_VERTEX_4);
+ /// Glu.gluEndSurface(nobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluNurbsSurface(GLUnurbs *nobj, GLint sknot_count, float *sknot, GLint tknot_count, GLfloat *tknot, GLint s_stride, GLint t_stride, GLfloat *ctlarray, GLint sorder, GLint torder, GLenum type);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsSurface([In] GLUnurbs nurb, int sKnotCount, [In] float[] sKnots, int tKnotCount, [In] float[] tKnots, int sStride, int tStride, float[,] control, int sOrder, int tOrder, int type);
+ #endregion gluNurbsSurface([In] GLUnurbs nurb, int sKnotCount, [In] float[] sKnots, int tKnotCount, [In] float[] tKnots, int sStride, int tStride, float[ , ] control, int sOrder, int tOrder, int type)
+
+ #region gluNurbsSurface([In] GLUnurbs nurb, int sKnotCount, [In] float[] sKnots, int tKnotCount, [In] float[] tKnots, int sStride, int tStride, [In] float[ , , ] control, int sOrder, int tOrder, int type)
+ ///
+ /// Defines the shape of a NURBS surface.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// The number of knots in the parametric u direction.
+ ///
+ ///
+ /// An array of sKnotCount nondecreasing knot values in the parametric
+ /// u direction
+ ///
+ ///
+ /// The number of knots in the parametric v direction.
+ ///
+ ///
+ /// An array of tKnotCount nondecreasing knot values in the parametric
+ /// v direction.
+ ///
+ ///
+ /// The offset (as a number of single precision–floating-point values) between
+ /// successive control points in the parametric u direction in control.
+ ///
+ ///
+ /// The offset (in single precision–floating-point values) between successive
+ /// control points in the parametric v direction in control.
+ ///
+ ///
+ /// An array containing control points for the NURBS surface. The offsets
+ /// between successive control points in the parametric u and v directions are
+ /// given by sStride and tStride.
+ ///
+ ///
+ /// The order of the NURBS surface in the parametric u direction. The order is
+ /// one more than the degree, hence a surface that is cubic in u has a u order of
+ /// 4.
+ ///
+ ///
+ /// The order of the NURBS surface in the parametric v direction. The order is
+ /// one more than the degree, hence a surface that is cubic in v has a v order of
+ /// 4.
+ ///
+ ///
+ /// The type of the surface. The type parameter can be any of the valid
+ /// two-dimensional evaluator types (such as
+ /// or ).
+ ///
+ ///
+ ///
+ /// Use gluNurbsSurface within a NURBS (Non-Uniform Rational B-Spline)
+ /// surface definition to describe the shape of a NURBS surface (before any
+ /// trimming). To mark the beginning of a NURBS surface definition, use the
+ /// command. To mark the end of a NURBS surface
+ /// definition, use the command. Call
+ /// gluNurbsSurface within a NURBS surface definition only.
+ ///
+ ///
+ /// Positional, texture, and color coordinates are associated with a surface by
+ /// presenting each as a separate gluNurbsSurface between a
+ /// / pair. No more
+ /// than one call to gluNurbsSurface for each of color, position, and
+ /// texture data can be made within a single
+ /// / pair. Exactly
+ /// one call must be made to describe the position of the surface (a type of
+ /// or ).
+ ///
+ ///
+ /// A NURBS surface can be trimmed by using the commands
+ /// and between calls to
+ /// and .
+ ///
+ ///
+ /// Note that a gluNurbsSurface with sKnotCount knots in the u
+ /// direction and tKnotCount knots in the v direction with orders
+ /// sOrder and tOrder must have (sKnotCount - sOrder)
+ /// multiplied by (tKnotCount - tOrder) control points.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ ///
+ /// Glu.gluBeginSurface(nobj);
+ /// Glu.gluNurbsSurface(nobj, . . ., Gl.GL_MAP2_TEXTURE_COORD_2);
+ /// Glu.gluNurbsSurface(nobj, . . ., Gl.GL_MAP2_NORMAL);
+ /// Glu.gluNurbsSurface(nobj, . . ., Gl.GL_MAP2_VERTEX_4);
+ /// Glu.gluEndSurface(nobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluNurbsSurface(GLUnurbs *nobj, GLint sknot_count, float *sknot, GLint tknot_count, GLfloat *tknot, GLint s_stride, GLint t_stride, GLfloat *ctlarray, GLint sorder, GLint torder, GLenum type);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluNurbsSurface([In] GLUnurbs nurb, int sKnotCount, [In] float[] sKnots, int tKnotCount, [In] float[] tKnots, int sStride, int tStride, float[, ,] control, int sOrder, int tOrder, int type);
+ #endregion gluNurbsSurface([In] GLUnurbs nurb, int sKnotCount, [In] float[] sKnots, int tKnotCount, [In] float[] tKnots, int sStride, int tStride, float[ , , ] control, int sOrder, int tOrder, int type)
+
+ #region gluOrtho2D(double left, double right, double bottom, double top)
+ ///
+ /// Defines a 2D orthographic projection matrix.
+ ///
+ ///
+ /// The coordinates for the leftvertical clipping planes.
+ ///
+ ///
+ /// The coordinates for the right vertical clipping planes.
+ ///
+ ///
+ /// The coordinates for the bottom horizontal clipping planes.
+ ///
+ ///
+ /// The coordinates for the top horizontal clipping planes.
+ ///
+ ///
+ /// The gluOrtho2D function sets up a two-dimensional orthographic viewing
+ /// region. This is equivalent to calling with
+ /// near = –1 and far = 1.
+ ///
+ ///
+ ///
+ // void APIENTRY gluOrtho2D(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluOrtho2D(double left, double right, double bottom, double top);
+ #endregion gluOrtho2D(double left, double right, double bottom, double top)
+
+ #region gluPartialDisk([In] GLUquadric quad, double innerRadius, double outerRadius, int slices, int loops, double startAngle, double sweepAngle)
+ ///
+ /// Draws an arc of a disk.
+ ///
+ ///
+ /// A quadric object (created with ).
+ ///
+ ///
+ /// The inner radius of the partial disk (can be zero).
+ ///
+ ///
+ /// The outer radius of the partial disk.
+ ///
+ ///
+ /// The number of subdivisions around the z-axis.
+ ///
+ ///
+ /// The number of concentric rings about the origin into which the partial disk
+ /// is subdivided.
+ ///
+ ///
+ /// The starting angle, in degrees, of the disk portion.
+ ///
+ ///
+ /// The sweep angle, in degrees, of the disk portion.
+ ///
+ ///
+ ///
+ /// gluPartialDisk renders a partial disk on the z = 0 plane. A partial
+ /// disk is similar to a full disk, except that only the subset of the disk from
+ /// startAngle through startAngle + sweepAngle is included
+ /// (where 0 degrees is along the +y axis, 90 degrees along the +x axis, 180
+ /// degrees along the -y axis, and 270 degrees along the -x axis).
+ ///
+ ///
+ /// The partial disk has a radius of outerRadius, and contains a
+ /// concentric circular hole with a radius of innerRadius. If
+ /// innerRadius is 0, then no hole is generated. The partial disk is
+ /// subdivided around the z axis into slices (like pizza slices), and also about
+ /// the z axis into rings (as specified by slices and loops,
+ /// respectively).
+ ///
+ ///
+ /// With respect to orientation, the +z side of the partial disk is considered
+ /// to be outside (see ). This means that if
+ /// the orientation is set to , then any normals
+ /// generated point along the +z axis. Otherwise, they point along the -z axis.
+ ///
+ ///
+ /// If texturing is turned on (with ), texture
+ /// coordinates are generated linearly such that where r = outerRadius,
+ /// the value at (r, 0, 0) is (1.0, 0.5), at (0, r, 0) it is (0.5, 1.0), at
+ /// (-r, 0, 0) it is (0.0, 0.5), and at (0, -r, 0) it is (0.5, 0.0).
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluPartialDisk(GLUquadric *qobj, GLdouble innerRadius, GLdouble outerRadius, GLint slices, GLint loops, GLdouble startAngle, GLdouble sweepAngle);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluPartialDisk([In] GLUquadric quad, double innerRadius, double outerRadius, int slices, int loops, double startAngle, double sweepAngle);
+ #endregion gluPartialDisk([In] GLUquadric quad, double innerRadius, double outerRadius, int slices, int loops, double startAngle, double sweepAngle)
+
+ #region gluPerspective(double fovY, double aspectRatio, double zNear, double zFar)
+ ///
+ /// Sets up a perspective projection matrix.
+ ///
+ ///
+ /// The field of view angle, in degrees, in the y-direction.
+ ///
+ ///
+ /// The aspect ratio that determines the field of view in the x-direction. The
+ /// aspect ratio is the ratio of x (width) to y (height).
+ ///
+ ///
+ /// The distance from the viewer to the near clipping plane (always positive).
+ ///
+ ///
+ /// The distance from the viewer to the far clipping plane (always positive).
+ ///
+ ///
+ ///
+ /// The gluPerspective subroutine specifies a viewing frustum into the
+ /// world coordinate system. Generally, the aspect ratio used with this
+ /// subroutine should match that of its associated viewport. For example, an
+ /// aspect ratio value of aspect = 2.0 means the viewer's angle of view is twice
+ /// as wide in x as it is in y. If the viewport is twice as wide as it is tall,
+ /// it displays the image without distortion.
+ ///
+ ///
+ /// The matrix generated by gluPerspective is multipled by the current
+ /// matrix, just as if Gl.glMultMatrix* were called with the generated matrix.
+ /// To load the perspective matrix onto the current matrix stack instead,
+ /// precede the call to gluPerspective with a call to
+ /// .
+ ///
+ ///
+ /// Given f defined as follows:
+ ///
+ ///
+ /// f = cotangent(fovY / 2)
+ ///
+ ///
+ /// The generated matrix is:
+ ///
+ ///
+ ///
+ /// ( f )
+ /// | ------ 0 0 0 |
+ /// | aspectRatio |
+ /// | |
+ /// | |
+ /// | 0 f 0 0 |
+ /// | |
+ /// | |
+ /// | zFar+zNear 2*zFar*zNear |
+ /// | 0 0 ---------- ------------ |
+ /// | zNear-zFar zNear-zFar |
+ /// | |
+ /// | |
+ /// | 0 0 -1 0 |
+ /// ( )
+ ///
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// Depth buffer precision is affected by the values specified for zNear
+ /// and zFar. The greater the ratio of zFar to zNear is,
+ /// the less effective the depth buffer will be at distinguishing between
+ /// surfaces that are near each other. If r = zFar / zNear roughly
+ /// log2(r) bits of depth buffer precision are lost. Because r approaches
+ /// infinity as zNear approaches 0, zNear must never be set to 0.
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluPerspective(GLdouble fovy, GLdouble aspect, GLdouble zNear, GLdouble zFar);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluPerspective(double fovY, double aspectRatio, double zNear, double zFar);
+ #endregion gluPerspective(double fovY, double aspectRatio, double zNear, double zFar)
+
+ #region gluPickMatrix(double x, double y, double width, double height, [In] int[] viewport)
+ ///
+ /// Defines a picking region.
+ ///
+ ///
+ /// The center of a picking region in x axis window coordinates.
+ ///
+ ///
+ /// The center of a picking region in y axis window coordinates.
+ ///
+ ///
+ /// The width of the picking region in window coordinates.
+ ///
+ ///
+ /// The height of the picking region in window coordinates.
+ ///
+ ///
+ /// The current viewport (as from a call).
+ ///
+ ///
+ ///
+ /// gluPickMatrix creates a projection matrix that can be used to restrict
+ /// drawing to a small region of the viewport. This is typically useful to
+ /// determine what objects are being drawn near the cursor. Use
+ /// gluPickMatrix to restrict drawing to a small region around the cursor.
+ /// Then, enter selection mode (with ) and rerender
+ /// the scene. All primitives that would have been drawn near the cursor are
+ /// identified and stored in the selection buffer.
+ ///
+ ///
+ /// The matrix created by gluPickMatrix is multiplied by the current
+ /// matrix just as if Gl.glMultMatrix* is called with the generated matrix.
+ /// To effectively use the generated pick matrix for picking, first call
+ /// to load an identity matrix onto the
+ /// perspective matrix stack. Then call gluPickMatrix, and finally, call
+ /// a command (such as ) to multiply the perspective
+ /// matrix by the pick matrix.
+ ///
+ ///
+ /// When using gluPickMatrix to pick NURBS, be careful to turn off the
+ /// NURBS property . If
+ /// is not turned off, then any NURBS
+ /// surface rendered is subdivided differently with the pick matrix than the way
+ /// it was subdivided without the pick matrix.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// When rendering a scene as follows:
+ ///
+ ///
+ ///
+ /// Gl.glMatrixMode(Gl.GL_PROJECTION);
+ /// Gl.glLoadIdentity();
+ /// Glu.gluPerspective(. . .);
+ /// Gl.glMatrixMode(Gl.GL_MODELVIEW);
+ /// // Draw the scene
+ ///
+ ///
+ ///
+ /// The following code selects a portion of the viewport:
+ ///
+ ///
+ ///
+ /// Gl.glMatrixMode(Gl.GL_PROJECTION);
+ /// Gl.glLoadIdentity();
+ /// Glu.gluPickMatrix(x, y, width, height, viewport);
+ /// Glu.gluPerspective(. . .);
+ /// Gl.glMatrixMode(Gl.GL_MODELVIEW);
+ /// // Draw the scene
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluPickMatrix(GLdouble x, GLdouble y, GLdouble width, GLdouble height, GLint viewport[4]);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluPickMatrix(double x, double y, double width, double height, [In] int[] viewport);
+ #endregion gluPickMatrix(double x, double y, double width, double height, [In] int[] viewport)
+
+ #region int gluProject(double objX, double objY, double objZ, [In] double[] modelMatrix, [In] double[] projectionMatrix, [In] int[] viewport, out double winX, out double winY, out double winZ)
+ ///
+ /// Maps object coordinates to window coordinates.
+ ///
+ ///
+ /// The object's x axis coordinate.
+ ///
+ ///
+ /// The object's y axis coordinate.
+ ///
+ ///
+ /// The object's z axis coordinate.
+ ///
+ ///
+ /// The current modelview matrix (as from a call).
+ ///
+ ///
+ /// The current projection matrix (as from a
+ /// call).
+ ///
+ ///
+ /// The current viewport (as from a call).
+ ///
+ ///
+ /// The computed window's x axis coordinate.
+ ///
+ ///
+ /// The computed window's y axis coordinate.
+ ///
+ ///
+ /// The computed window's z axis coordinate.
+ ///
+ ///
+ /// Returns indicates success, a return value of
+ /// indicates failure.
+ ///
+ ///
+ ///
+ /// gluProject transforms the specified object coordinates into window
+ /// coordinates using modelMatrix, projectionMatrix, and
+ /// viewport. The result is stored in winX, winY, and
+ /// winZ. A return value of indicates success,
+ /// a return value of indicates failure.
+ ///
+ ///
+ /// To compute the coordinates, let v = (objX, objY, objZ, 1.0)
+ /// represented as a matrix with 4 rows and 1 column. Then gluProject
+ /// computes v' as follows:
+ ///
+ ///
+ /// v' = P x M x v
+ ///
+ ///
+ /// Where P is the current projection matrix projectionMatrix, M is the
+ /// current modelview matrix modelMatrix (both represented as 4x4 matrices
+ /// in column-major order) and 'x' represents matrix multiplication.
+ ///
+ ///
+ /// The window coordinates are then computed as follows:
+ ///
+ ///
+ ///
+ /// winX = view(0) + view(2) * (v'(0) + 1) / 2
+ /// winY = view(1) + view(3) * (v'(1) + 1) / 2
+ /// winZ = (v'(2) + 1) / 2
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // int APIENTRY gluProject(GLdouble objx, GLdouble objy, GLdouble objz, const GLdouble modelMatrix[16], const GLdouble projMatrix[16], const GLint viewport[4], GLdouble *winx, GLdouble *winy, GLdouble *winz);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluProject(double objX, double objY, double objZ, [In] double[] modelMatrix, [In] double[] projectionMatrix, [In] int[] viewport, out double winX, out double winY, out double winZ);
+ #endregion int gluProject(double objX, double objY, double objZ, [In] double[] modelMatrix, [In] double[] projectionMatrix, [In] int[] viewport, out double winX, out double winY, out double winZ)
+
+ #region gluPwlCurve([In] GLUnurbs nurb, int count, [In] float[] data, int stride, int type)
+ ///
+ /// Describes a piecewise linear NURBS trimming curve.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// The number of points on the curve.
+ ///
+ ///
+ /// An array containing the curve points.
+ ///
+ ///
+ /// The offset (a number of single precision–floating-point values) between
+ /// points on the curve.
+ ///
+ ///
+ /// The type of curve. Must be either or
+ /// .
+ ///
+ ///
+ ///
+ /// gluPwlCurve describes a piecewise linear trimming curve for a NURBS
+ /// surface. A piecewise linear curve consists of a list of coordinates of
+ /// points in the parameter space for the NURBS surface to be trimmed. These
+ /// points are connected with line segments to form a curve. If the curve is an
+ /// approximation to a curve that is not piecewise linear, the points should be
+ /// close enough in parameter space that the resulting path appears curved at the
+ /// resolution used in the application.
+ ///
+ ///
+ /// If type is , then it describes a curve in
+ /// two-dimensional (u and v) parameter space. If it is
+ /// , then it describes a curve in two-dimensional
+ /// homogeneous (u, v, and w) parameter space. See the
+ /// reference page for more information about
+ /// trimming curves.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// To describe a trim curve that closely follows the contours of a NURBS
+ /// surface, call .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluPwlCurve(GLUnurbs *nobj, GLint count, GLfloat *array, GLint stride, GLenum type);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluPwlCurve([In] GLUnurbs nurb, int count, [In] float[] data, int stride, int type);
+ #endregion gluPwlCurve([In] GLUnurbs nurb, int count, [In] float[] data, int stride, int type)
+
+ #region gluPwlCurve([In] GLUnurbs nurb, int count, [In] float[ , ] data, int stride, int type)
+ ///
+ /// Describes a piecewise linear NURBS trimming curve.
+ ///
+ ///
+ /// The NURBS object (created with ).
+ ///
+ ///
+ /// The number of points on the curve.
+ ///
+ ///
+ /// An array containing the curve points.
+ ///
+ ///
+ /// The offset (a number of single precision–floating-point values) between
+ /// points on the curve.
+ ///
+ ///
+ /// The type of curve. Must be either or
+ /// .
+ ///
+ ///
+ ///
+ /// gluPwlCurve describes a piecewise linear trimming curve for a NURBS
+ /// surface. A piecewise linear curve consists of a list of coordinates of
+ /// points in the parameter space for the NURBS surface to be trimmed. These
+ /// points are connected with line segments to form a curve. If the curve is an
+ /// approximation to a curve that is not piecewise linear, the points should be
+ /// close enough in parameter space that the resulting path appears curved at the
+ /// resolution used in the application.
+ ///
+ ///
+ /// If type is , then it describes a curve in
+ /// two-dimensional (u and v) parameter space. If it is
+ /// , then it describes a curve in two-dimensional
+ /// homogeneous (u, v, and w) parameter space. See the
+ /// reference page for more information about
+ /// trimming curves.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// To describe a trim curve that closely follows the contours of a NURBS
+ /// surface, call .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluPwlCurve(GLUnurbs *nobj, GLint count, GLfloat *array, GLint stride, GLenum type);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluPwlCurve([In] GLUnurbs nurb, int count, [In] float[,] data, int stride, int type);
+ #endregion gluPwlCurve([In] GLUnurbs nurb, int count, [In] float[ , ] data, int stride, int type)
+
+ #region gluQuadricCallback([In] GLUquadric quad, int which, [In] QuadricErrorCallback func)
+ ///
+ /// Defines a callback for a quadric object.
+ ///
+ ///
+ /// The quadric object (created with ).
+ ///
+ ///
+ /// The callback being defined. The only valid value is
+ /// .
+ ///
+ ///
+ /// The function to be called.
+ ///
+ ///
+ ///
+ /// gluQuadricCallback is used to define a new callback to be used by a
+ /// quadrics object. If the specified callback is already defined, then it is
+ /// replaced. If func is null, then any existing callback is
+ /// erased.
+ ///
+ ///
+ /// The one legal callback is :
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// The function is called when an error is encountered. Its single
+ /// argument is of type , and it indicates the
+ /// specific error that occurred. Character strings describing these
+ /// errors can be retrieved with the
+ /// call.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluQuadricCallback(GLUquadric *qobj, GLenum which, void (CALLBACK* fn)());
+ public static void gluQuadricCallback([In] GLUquadric quad, int which, [In] QuadricErrorCallback func)
+ {
+ quadricErrorCallback = func;
+ __gluQuadricCallback(quad, which, quadricErrorCallback);
+
+ }
+ #endregion gluQuadricCallback([In] GLUquadric quad, int which, [In] QuadricErrorCallback func)
+
+ #region gluQuadricDrawStyle([In] GLUquadric quad, int drawStyle)
+ ///
+ /// Specifies the draw style desired for quadrics.
+ ///
+ ///
+ /// The quadric object (created with ).
+ ///
+ ///
+ ///
+ /// The desired draw style. The following values are valid:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// Quadrics are rendered with polygon primitives. The polygons are
+ /// drawn in a counterclockwise fashion with respect to their normals
+ /// (as defined with ).
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// Quadrics are rendered as a set of lines.
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// Quadrics are rendered as a set of lines, except that edges
+ /// separating coplanar faces will not be drawn.
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// Quadrics are rendered as a set of points.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// gluQuadricDrawStyle specifies the draw style for quadrics rendered
+ /// with quad.
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluQuadricDrawStyle(GLUquadric *quadObject, GLenum drawStyle);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluQuadricDrawStyle([In] GLUquadric quad, int drawStyle);
+ #endregion gluQuadricDrawStyle([In] GLUquadric quad, int drawStyle)
+
+ #region gluQuadricNormals([In] GLUquadric quad, int normal)
+ ///
+ /// Specifies what kind of normals are to be used for quadrics.
+ ///
+ ///
+ /// The quadric object (created with ).
+ ///
+ ///
+ ///
+ /// The desired type of normals. The following values are valid:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// No normals are generated.
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// One normal is generated for every facet of a quadric.
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// One normal is generated for every vertex of a quadric. This is
+ /// the default value.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// gluQuadricNormals specifies what kind of normals are desired for
+ /// quadrics rendered with quad.
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluQuadricNormals(GLUquadric *quadObject, GLenum normals);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluQuadricNormals([In] GLUquadric quad, int normal);
+ #endregion gluQuadricNormals([In] GLUquadric quad, int normal)
+
+ #region gluQuadricOrientation([In] GLUquadric quad, int orientation)
+ ///
+ /// Specifies inside or outside orientation for quadrics.
+ ///
+ ///
+ /// The quadric object (created with ).
+ ///
+ ///
+ ///
+ /// The desired orientation. The following values are valid:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// Draw quadrics with normals pointing outward. This is the default
+ /// value.
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// Draw quadrics with normals pointing inward.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// gluQuadricOrientation specifies what kind of orientation is desired
+ /// for quadrics rendered with quad.
+ ///
+ ///
+ /// The interpretation of outward and inward depends on the quadric being drawn.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluQuadricOrientation(GLUquadric *quadObject, GLenum orientation);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluQuadricOrientation([In] GLUquadric quad, int orientation);
+ #endregion gluQuadricOrientation([In] GLUquadric quad, int orientation)
+
+ #region gluQuadricTexture([In] GLUquadric quad, int texture)
+ ///
+ /// Specifies whether quadrics are to be textured.
+ ///
+ ///
+ /// The quadric object (created with ).
+ ///
+ ///
+ ///
+ /// A flag indicating whether texture coordinates are to be generated. The
+ /// following values are valid:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// Generate texture coordinates.
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// Do not generate texture coordinates. This is the default value.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// gluQuadricTexture specifies if texture coordinates should be generated
+ /// for quadrics rendered with quad.
+ ///
+ ///
+ /// The manner in which texture coordinates are generated depends upon the
+ /// specific quadric rendered.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluQuadricTexture(GLUquadric *quadObject, GLboolean textureCoords);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluQuadricTexture([In] GLUquadric quad, int texture);
+ #endregion gluQuadricTexture([In] GLUquadric quad, int texture)
+
+ #region int gluScaleImage(int format, int widthIn, int heightIn, int typeIn, [In] IntPtr dataIn, int widthOut, int heightOut, int typeOut, [Out] IntPtr dataOut)
+ ///
+ /// Scales an image to an arbitrary size.
+ ///
+ ///
+ /// The format of the pixel data. The following symbolic values are valid:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , , and
+ /// .
+ ///
+ ///
+ /// The width of the source image that is scaled.
+ ///
+ ///
+ /// The height of the source image that is scaled.
+ ///
+ ///
+ /// The data type for dataIn. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// .
+ ///
+ ///
+ /// A pointer to the source image.
+ ///
+ ///
+ /// The width of the destination image.
+ ///
+ ///
+ /// The height of the destination image.
+ ///
+ ///
+ /// The data type for dataOut. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// A pointer to the destination image.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluScaleImage scales a pixel image using the appropriate pixel store
+ /// modes to unpack data from the source image and pack data into the
+ /// destination image.
+ ///
+ ///
+ /// When shrinking an image, gluScaleImage uses a box filter to sample the
+ /// source image and create pixels for the destination image. When magnifying an
+ /// image, the pixels from the source image are linearly interpolated to create
+ /// the destination image.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for the format, typeIn, and
+ /// typeOut parameters.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if widthIn,
+ /// heightIn, widthOut, or heightOut is negative.
+ ///
+ ///
+ /// is returned if format, typeIn,
+ /// or typeOut is not legal.
+ ///
+ ///
+ /// is returned if typeIn or
+ /// typeOut is or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if typeIn or
+ /// typeOut is or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if typeIn or
+ /// typeOut is or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if typeIn or
+ /// typeOut is or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if typeIn or
+ /// typeOut is or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if typeIn or
+ /// typeOut is or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // int APIENTRY gluScaleImage(GLenum format, GLint widthin, GLint heightin, GLenum typein, const void *datain, GLint widthout, GLint heightout, GLenum typeout, void *dataout);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluScaleImage(int format, int widthIn, int heightIn, int typeIn, [In] IntPtr dataIn, int widthOut, int heightOut, int typeOut, [Out] IntPtr dataOut);
+ #endregion int gluScaleImage(int format, int widthIn, int heightIn, int typeIn, [In] IntPtr dataIn, int widthOut, int heightOut, int typeOut, [Out] IntPtr dataOut)
+
+ #region int gluScaleImage(int format, int widthIn, int heightIn, int typeIn, [In] byte[] dataIn, int widthOut, int heightOut, int typeOut, [Out] byte[] dataOut)
+ ///
+ /// Scales an image to an arbitrary size.
+ ///
+ ///
+ /// The format of the pixel data. The following symbolic values are valid:
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , , and
+ /// .
+ ///
+ ///
+ /// The width of the source image that is scaled.
+ ///
+ ///
+ /// The height of the source image that is scaled.
+ ///
+ ///
+ /// The data type for dataIn. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// .
+ ///
+ ///
+ /// A pointer to the source image.
+ ///
+ ///
+ /// The width of the destination image.
+ ///
+ ///
+ /// The height of the destination image.
+ ///
+ ///
+ /// The data type for dataOut. Must be one of
+ /// , ,
+ /// , ,
+ /// , ,
+ /// , ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , or
+ /// .
+ ///
+ ///
+ /// A pointer to the destination image.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ ///
+ /// gluScaleImage scales a pixel image using the appropriate pixel store
+ /// modes to unpack data from the source image and pack data into the
+ /// destination image.
+ ///
+ ///
+ /// When shrinking an image, gluScaleImage uses a box filter to sample the
+ /// source image and create pixels for the destination image. When magnifying an
+ /// image, the pixels from the source image are linearly interpolated to create
+ /// the destination image.
+ ///
+ ///
+ /// A return value of zero indicates success, otherwise a GLU error code is
+ /// returned (see ).
+ ///
+ ///
+ /// See the reference page for a description of
+ /// the acceptable values for the format, typeIn, and
+ /// typeOut parameters.
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// Formats , and , and types
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// , and
+ /// are only available if the GL
+ /// version is 1.2 or greater.
+ ///
+ ///
+ /// ERRORS
+ ///
+ ///
+ /// is returned if widthIn,
+ /// heightIn, widthOut, or heightOut is negative.
+ ///
+ ///
+ /// is returned if format, typeIn,
+ /// or typeOut is not legal.
+ ///
+ ///
+ /// is returned if typeIn or
+ /// typeOut is or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if typeIn or
+ /// typeOut is or
+ /// and format is not
+ /// .
+ ///
+ ///
+ /// is returned if typeIn or
+ /// typeOut is or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if typeIn or
+ /// typeOut is or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if typeIn or
+ /// typeOut is or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ /// is returned if typeIn or
+ /// typeOut is or
+ /// and format is neither
+ /// nor .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // int APIENTRY gluScaleImage(GLenum format, GLint widthin, GLint heightin, GLenum typein, const void *datain, GLint widthout, GLint heightout, GLenum typeout, void *dataout);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluScaleImage(int format, int widthIn, int heightIn, int typeIn, [In] byte[] dataIn, int widthOut, int heightOut, int typeOut, [Out] byte[] dataOut);
+ #endregion int gluScaleImage(int format, int widthIn, int heightIn, int typeIn, [In] byte[] dataIn, int widthOut, int heightOut, int typeOut, [Out] byte[] dataOut)
+
+ #region gluSphere([In] GLUquadric quad, double radius, int slices, int stacks)
+ ///
+ /// Draws a sphere.
+ ///
+ ///
+ /// The quadric object (created with ).
+ ///
+ ///
+ /// The radius of the sphere.
+ ///
+ ///
+ /// The number of subdivisions around the z-axis (similar to lines of longitude.
+ ///
+ ///
+ /// The number of subdivisions along the z-axis (similar to lines of latitude).
+ ///
+ ///
+ ///
+ /// gluSphere draws a sphere of the given radius centered around the
+ /// origin. The sphere is subdivided around the z axis into slices and along the
+ /// z axis into stacks (similar to lines of longitude and latitude).
+ ///
+ ///
+ /// If the orientation is set to (with
+ /// ), then any normals generated point away
+ /// from the center of the sphere. Otherwise, they point toward the center of
+ /// the sphere.
+ ///
+ ///
+ /// If texturing is turned on (with ), then
+ /// texture coordinates are generated so that t ranges from 0.0 at z = -radius
+ /// to 1.0 at z = radius (t increases linearly along longitudinal lines), and
+ /// s ranges from 0.0 at the +y axis, to 0.25 at the +x axis, to 0.5 at the -y
+ /// axis, to 0.75 at the -x axis, and back to 1.0 at the +y axis.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluSphere(GLUquadric *qobj, GLdouble radius, GLint slices, GLint stacks);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluSphere([In] GLUquadric quad, double radius, int slices, int stacks);
+ #endregion gluSphere([In] GLUquadric quad, double radius, int slices, int stacks)
+
+ #region gluTessBeginContour([In] GLUtesselator tess)
+ ///
+ /// Delimits a contour description.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// gluTessBeginContour and delimit the
+ /// definition of a polygon contour. Within each
+ /// gluTessBeginContour/ pair, there can
+ /// be zero or more calls to . The vertices specify
+ /// a closed contour (the last vertex of each contour is automatically linked to
+ /// the first). See the reference page for more
+ /// details. gluTessBeginContour can only be called between
+ /// and .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessBeginContour(GLUtesselator *tess);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessBeginContour([In] GLUtesselator tess);
+ #endregion gluTessBeginContour([In] GLUtesselator tess)
+
+ #region gluTessBeginPolygon([In] GLUtesselator tess, [In] byte[] data)
+ ///
+ /// Delimits a polygon description.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// A pointer to a programmer defined–polygon data structure.
+ ///
+ ///
+ ///
+ /// gluTessBeginPolygon and delimit the
+ /// definition of a convex, concave or self-intersecting polygon. Within each
+ /// gluTessBeginPolygon/ pair, there must
+ /// be one or more calls to
+ /// /. Within
+ /// each contour, there are zero or more calls to .
+ /// The vertices specify a closed contour (the last vertex of each contour is
+ /// automatically linked to the first). See the ,
+ /// , and
+ /// reference pages for more details.
+ ///
+ ///
+ /// data is a pointer to a user-defined data structure. If the
+ /// appropriate callback(s) are specified (see ),
+ /// then this pointer is returned to the callback function(s). Thus, it is a
+ /// convenient way to store per-polygon information.
+ ///
+ ///
+ /// Once is called, the polygon is tessellated,
+ /// and the resulting triangles are described through callbacks. See
+ /// for descriptions of the callback functions.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tobj, null);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v1, v1);
+ /// Glu.gluTessVertex(tobj, v2, v2);
+ /// Glu.gluTessVertex(tobj, v3, v3);
+ /// Glu.gluTessVertex(tobj, v4, v4);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v5, v5);
+ /// Glu.gluTessVertex(tobj, v6, v6);
+ /// Glu.gluTessVertex(tobj, v7, v7);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessEndPolygon(tobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessBeginPolygon(GLUtesselator *tess, void *polygon_data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessBeginPolygon([In] GLUtesselator tess, [In] byte[] data);
+ #endregion gluTessBeginPolygon([In] GLUtesselator tess, [In] byte[] data)
+
+ #region gluTessBeginPolygon([In] GLUtesselator tess, [In] byte[ , ] data)
+ ///
+ /// Delimits a polygon description.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// A pointer to a programmer defined–polygon data structure.
+ ///
+ ///
+ ///
+ /// gluTessBeginPolygon and delimit the
+ /// definition of a convex, concave or self-intersecting polygon. Within each
+ /// gluTessBeginPolygon/ pair, there must
+ /// be one or more calls to
+ /// /. Within
+ /// each contour, there are zero or more calls to .
+ /// The vertices specify a closed contour (the last vertex of each contour is
+ /// automatically linked to the first). See the ,
+ /// , and
+ /// reference pages for more details.
+ ///
+ ///
+ /// data is a pointer to a user-defined data structure. If the
+ /// appropriate callback(s) are specified (see ),
+ /// then this pointer is returned to the callback function(s). Thus, it is a
+ /// convenient way to store per-polygon information.
+ ///
+ ///
+ /// Once is called, the polygon is tessellated,
+ /// and the resulting triangles are described through callbacks. See
+ /// for descriptions of the callback functions.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tobj, null);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v1, v1);
+ /// Glu.gluTessVertex(tobj, v2, v2);
+ /// Glu.gluTessVertex(tobj, v3, v3);
+ /// Glu.gluTessVertex(tobj, v4, v4);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v5, v5);
+ /// Glu.gluTessVertex(tobj, v6, v6);
+ /// Glu.gluTessVertex(tobj, v7, v7);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessEndPolygon(tobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessBeginPolygon(GLUtesselator *tess, void *polygon_data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessBeginPolygon([In] GLUtesselator tess, [In] byte[,] data);
+ #endregion gluTessBeginPolygon([In] GLUtesselator tess, [In] byte[ , ] data)
+
+ #region gluTessBeginPolygon([In] GLUtesselator tess, [In] byte[ , , ] data)
+ ///
+ /// Delimits a polygon description.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// A pointer to a programmer defined–polygon data structure.
+ ///
+ ///
+ ///
+ /// gluTessBeginPolygon and delimit the
+ /// definition of a convex, concave or self-intersecting polygon. Within each
+ /// gluTessBeginPolygon/ pair, there must
+ /// be one or more calls to
+ /// /. Within
+ /// each contour, there are zero or more calls to .
+ /// The vertices specify a closed contour (the last vertex of each contour is
+ /// automatically linked to the first). See the ,
+ /// , and
+ /// reference pages for more details.
+ ///
+ ///
+ /// data is a pointer to a user-defined data structure. If the
+ /// appropriate callback(s) are specified (see ),
+ /// then this pointer is returned to the callback function(s). Thus, it is a
+ /// convenient way to store per-polygon information.
+ ///
+ ///
+ /// Once is called, the polygon is tessellated,
+ /// and the resulting triangles are described through callbacks. See
+ /// for descriptions of the callback functions.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tobj, null);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v1, v1);
+ /// Glu.gluTessVertex(tobj, v2, v2);
+ /// Glu.gluTessVertex(tobj, v3, v3);
+ /// Glu.gluTessVertex(tobj, v4, v4);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v5, v5);
+ /// Glu.gluTessVertex(tobj, v6, v6);
+ /// Glu.gluTessVertex(tobj, v7, v7);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessEndPolygon(tobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessBeginPolygon(GLUtesselator *tess, void *polygon_data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessBeginPolygon([In] GLUtesselator tess, [In] byte[, ,] data);
+ #endregion gluTessBeginPolygon([In] GLUtesselator tess, [In] byte[ , , ] data)
+
+ #region gluTessBeginPolygon([In] GLUtesselator tess, [In] double[] data)
+ ///
+ /// Delimits a polygon description.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// A pointer to a programmer defined–polygon data structure.
+ ///
+ ///
+ ///
+ /// gluTessBeginPolygon and delimit the
+ /// definition of a convex, concave or self-intersecting polygon. Within each
+ /// gluTessBeginPolygon/ pair, there must
+ /// be one or more calls to
+ /// /. Within
+ /// each contour, there are zero or more calls to .
+ /// The vertices specify a closed contour (the last vertex of each contour is
+ /// automatically linked to the first). See the ,
+ /// , and
+ /// reference pages for more details.
+ ///
+ ///
+ /// data is a pointer to a user-defined data structure. If the
+ /// appropriate callback(s) are specified (see ),
+ /// then this pointer is returned to the callback function(s). Thus, it is a
+ /// convenient way to store per-polygon information.
+ ///
+ ///
+ /// Once is called, the polygon is tessellated,
+ /// and the resulting triangles are described through callbacks. See
+ /// for descriptions of the callback functions.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tobj, null);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v1, v1);
+ /// Glu.gluTessVertex(tobj, v2, v2);
+ /// Glu.gluTessVertex(tobj, v3, v3);
+ /// Glu.gluTessVertex(tobj, v4, v4);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v5, v5);
+ /// Glu.gluTessVertex(tobj, v6, v6);
+ /// Glu.gluTessVertex(tobj, v7, v7);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessEndPolygon(tobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessBeginPolygon(GLUtesselator *tess, void *polygon_data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessBeginPolygon([In] GLUtesselator tess, [In] double[] data);
+ #endregion gluTessBeginPolygon([In] GLUtesselator tess, [In] double[] data)
+
+ #region gluTessBeginPolygon([In] GLUtesselator tess, [In] double[ , ] data)
+ ///
+ /// Delimits a polygon description.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// A pointer to a programmer defined–polygon data structure.
+ ///
+ ///
+ ///
+ /// gluTessBeginPolygon and delimit the
+ /// definition of a convex, concave or self-intersecting polygon. Within each
+ /// gluTessBeginPolygon/ pair, there must
+ /// be one or more calls to
+ /// /. Within
+ /// each contour, there are zero or more calls to .
+ /// The vertices specify a closed contour (the last vertex of each contour is
+ /// automatically linked to the first). See the ,
+ /// , and
+ /// reference pages for more details.
+ ///
+ ///
+ /// data is a pointer to a user-defined data structure. If the
+ /// appropriate callback(s) are specified (see ),
+ /// then this pointer is returned to the callback function(s). Thus, it is a
+ /// convenient way to store per-polygon information.
+ ///
+ ///
+ /// Once is called, the polygon is tessellated,
+ /// and the resulting triangles are described through callbacks. See
+ /// for descriptions of the callback functions.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tobj, null);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v1, v1);
+ /// Glu.gluTessVertex(tobj, v2, v2);
+ /// Glu.gluTessVertex(tobj, v3, v3);
+ /// Glu.gluTessVertex(tobj, v4, v4);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v5, v5);
+ /// Glu.gluTessVertex(tobj, v6, v6);
+ /// Glu.gluTessVertex(tobj, v7, v7);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessEndPolygon(tobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessBeginPolygon(GLUtesselator *tess, void *polygon_data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessBeginPolygon([In] GLUtesselator tess, [In] double[,] data);
+ #endregion gluTessBeginPolygon([In] GLUtesselator tess, [In] double[ , ] data)
+
+ #region gluTessBeginPolygon([In] GLUtesselator tess, [In] double[ , , ] data)
+ ///
+ /// Delimits a polygon description.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// A pointer to a programmer defined–polygon data structure.
+ ///
+ ///
+ ///
+ /// gluTessBeginPolygon and delimit the
+ /// definition of a convex, concave or self-intersecting polygon. Within each
+ /// gluTessBeginPolygon/ pair, there must
+ /// be one or more calls to
+ /// /. Within
+ /// each contour, there are zero or more calls to .
+ /// The vertices specify a closed contour (the last vertex of each contour is
+ /// automatically linked to the first). See the ,
+ /// , and
+ /// reference pages for more details.
+ ///
+ ///
+ /// data is a pointer to a user-defined data structure. If the
+ /// appropriate callback(s) are specified (see ),
+ /// then this pointer is returned to the callback function(s). Thus, it is a
+ /// convenient way to store per-polygon information.
+ ///
+ ///
+ /// Once is called, the polygon is tessellated,
+ /// and the resulting triangles are described through callbacks. See
+ /// for descriptions of the callback functions.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tobj, null);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v1, v1);
+ /// Glu.gluTessVertex(tobj, v2, v2);
+ /// Glu.gluTessVertex(tobj, v3, v3);
+ /// Glu.gluTessVertex(tobj, v4, v4);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v5, v5);
+ /// Glu.gluTessVertex(tobj, v6, v6);
+ /// Glu.gluTessVertex(tobj, v7, v7);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessEndPolygon(tobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessBeginPolygon(GLUtesselator *tess, void *polygon_data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessBeginPolygon([In] GLUtesselator tess, [In] double[, ,] data);
+ #endregion gluTessBeginPolygon([In] GLUtesselator tess, [In] double[ , , ] data)
+
+ #region gluTessBeginPolygon([In] GLUtesselator tess, [In] short[] data)
+ ///
+ /// Delimits a polygon description.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// A pointer to a programmer defined–polygon data structure.
+ ///
+ ///
+ ///
+ /// gluTessBeginPolygon and delimit the
+ /// definition of a convex, concave or self-intersecting polygon. Within each
+ /// gluTessBeginPolygon/ pair, there must
+ /// be one or more calls to
+ /// /. Within
+ /// each contour, there are zero or more calls to .
+ /// The vertices specify a closed contour (the last vertex of each contour is
+ /// automatically linked to the first). See the ,
+ /// , and
+ /// reference pages for more details.
+ ///
+ ///
+ /// data is a pointer to a user-defined data structure. If the
+ /// appropriate callback(s) are specified (see ),
+ /// then this pointer is returned to the callback function(s). Thus, it is a
+ /// convenient way to store per-polygon information.
+ ///
+ ///
+ /// Once is called, the polygon is tessellated,
+ /// and the resulting triangles are described through callbacks. See
+ /// for descriptions of the callback functions.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tobj, null);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v1, v1);
+ /// Glu.gluTessVertex(tobj, v2, v2);
+ /// Glu.gluTessVertex(tobj, v3, v3);
+ /// Glu.gluTessVertex(tobj, v4, v4);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v5, v5);
+ /// Glu.gluTessVertex(tobj, v6, v6);
+ /// Glu.gluTessVertex(tobj, v7, v7);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessEndPolygon(tobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessBeginPolygon(GLUtesselator *tess, void *polygon_data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessBeginPolygon([In] GLUtesselator tess, [In] short[] data);
+ #endregion gluTessBeginPolygon([In] GLUtesselator tess, [In] short[] data)
+
+ #region gluTessBeginPolygon([In] GLUtesselator tess, [In] short[ , ] data)
+ ///
+ /// Delimits a polygon description.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// A pointer to a programmer defined–polygon data structure.
+ ///
+ ///
+ ///
+ /// gluTessBeginPolygon and delimit the
+ /// definition of a convex, concave or self-intersecting polygon. Within each
+ /// gluTessBeginPolygon/ pair, there must
+ /// be one or more calls to
+ /// /. Within
+ /// each contour, there are zero or more calls to .
+ /// The vertices specify a closed contour (the last vertex of each contour is
+ /// automatically linked to the first). See the ,
+ /// , and
+ /// reference pages for more details.
+ ///
+ ///
+ /// data is a pointer to a user-defined data structure. If the
+ /// appropriate callback(s) are specified (see ),
+ /// then this pointer is returned to the callback function(s). Thus, it is a
+ /// convenient way to store per-polygon information.
+ ///
+ ///
+ /// Once is called, the polygon is tessellated,
+ /// and the resulting triangles are described through callbacks. See
+ /// for descriptions of the callback functions.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tobj, null);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v1, v1);
+ /// Glu.gluTessVertex(tobj, v2, v2);
+ /// Glu.gluTessVertex(tobj, v3, v3);
+ /// Glu.gluTessVertex(tobj, v4, v4);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v5, v5);
+ /// Glu.gluTessVertex(tobj, v6, v6);
+ /// Glu.gluTessVertex(tobj, v7, v7);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessEndPolygon(tobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessBeginPolygon(GLUtesselator *tess, void *polygon_data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessBeginPolygon([In] GLUtesselator tess, [In] short[,] data);
+ #endregion gluTessBeginPolygon([In] GLUtesselator tess, [In] short[ , ] data)
+
+ #region gluTessBeginPolygon([In] GLUtesselator tess, [In] short[ , , ] data)
+ ///
+ /// Delimits a polygon description.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// A pointer to a programmer defined–polygon data structure.
+ ///
+ ///
+ ///
+ /// gluTessBeginPolygon and delimit the
+ /// definition of a convex, concave or self-intersecting polygon. Within each
+ /// gluTessBeginPolygon/ pair, there must
+ /// be one or more calls to
+ /// /. Within
+ /// each contour, there are zero or more calls to .
+ /// The vertices specify a closed contour (the last vertex of each contour is
+ /// automatically linked to the first). See the ,
+ /// , and
+ /// reference pages for more details.
+ ///
+ ///
+ /// data is a pointer to a user-defined data structure. If the
+ /// appropriate callback(s) are specified (see ),
+ /// then this pointer is returned to the callback function(s). Thus, it is a
+ /// convenient way to store per-polygon information.
+ ///
+ ///
+ /// Once is called, the polygon is tessellated,
+ /// and the resulting triangles are described through callbacks. See
+ /// for descriptions of the callback functions.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tobj, null);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v1, v1);
+ /// Glu.gluTessVertex(tobj, v2, v2);
+ /// Glu.gluTessVertex(tobj, v3, v3);
+ /// Glu.gluTessVertex(tobj, v4, v4);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v5, v5);
+ /// Glu.gluTessVertex(tobj, v6, v6);
+ /// Glu.gluTessVertex(tobj, v7, v7);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessEndPolygon(tobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessBeginPolygon(GLUtesselator *tess, void *polygon_data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessBeginPolygon([In] GLUtesselator tess, [In] short[, ,] data);
+ #endregion gluTessBeginPolygon([In] GLUtesselator tess, [In] short[ , , ] data)
+
+ #region gluTessBeginPolygon([In] GLUtesselator tess, [In] int[] data)
+ ///
+ /// Delimits a polygon description.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// A pointer to a programmer defined–polygon data structure.
+ ///
+ ///
+ ///
+ /// gluTessBeginPolygon and delimit the
+ /// definition of a convex, concave or self-intersecting polygon. Within each
+ /// gluTessBeginPolygon/ pair, there must
+ /// be one or more calls to
+ /// /. Within
+ /// each contour, there are zero or more calls to .
+ /// The vertices specify a closed contour (the last vertex of each contour is
+ /// automatically linked to the first). See the ,
+ /// , and
+ /// reference pages for more details.
+ ///
+ ///
+ /// data is a pointer to a user-defined data structure. If the
+ /// appropriate callback(s) are specified (see ),
+ /// then this pointer is returned to the callback function(s). Thus, it is a
+ /// convenient way to store per-polygon information.
+ ///
+ ///
+ /// Once is called, the polygon is tessellated,
+ /// and the resulting triangles are described through callbacks. See
+ /// for descriptions of the callback functions.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tobj, null);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v1, v1);
+ /// Glu.gluTessVertex(tobj, v2, v2);
+ /// Glu.gluTessVertex(tobj, v3, v3);
+ /// Glu.gluTessVertex(tobj, v4, v4);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v5, v5);
+ /// Glu.gluTessVertex(tobj, v6, v6);
+ /// Glu.gluTessVertex(tobj, v7, v7);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessEndPolygon(tobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessBeginPolygon(GLUtesselator *tess, void *polygon_data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessBeginPolygon([In] GLUtesselator tess, [In] int[] data);
+ #endregion gluTessBeginPolygon([In] GLUtesselator tess, [In] int[] data)
+
+ #region gluTessBeginPolygon([In] GLUtesselator tess, [In] int[ , ] data)
+ ///
+ /// Delimits a polygon description.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// A pointer to a programmer defined–polygon data structure.
+ ///
+ ///
+ ///
+ /// gluTessBeginPolygon and delimit the
+ /// definition of a convex, concave or self-intersecting polygon. Within each
+ /// gluTessBeginPolygon/ pair, there must
+ /// be one or more calls to
+ /// /. Within
+ /// each contour, there are zero or more calls to .
+ /// The vertices specify a closed contour (the last vertex of each contour is
+ /// automatically linked to the first). See the ,
+ /// , and
+ /// reference pages for more details.
+ ///
+ ///
+ /// data is a pointer to a user-defined data structure. If the
+ /// appropriate callback(s) are specified (see ),
+ /// then this pointer is returned to the callback function(s). Thus, it is a
+ /// convenient way to store per-polygon information.
+ ///
+ ///
+ /// Once is called, the polygon is tessellated,
+ /// and the resulting triangles are described through callbacks. See
+ /// for descriptions of the callback functions.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tobj, null);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v1, v1);
+ /// Glu.gluTessVertex(tobj, v2, v2);
+ /// Glu.gluTessVertex(tobj, v3, v3);
+ /// Glu.gluTessVertex(tobj, v4, v4);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v5, v5);
+ /// Glu.gluTessVertex(tobj, v6, v6);
+ /// Glu.gluTessVertex(tobj, v7, v7);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessEndPolygon(tobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessBeginPolygon(GLUtesselator *tess, void *polygon_data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessBeginPolygon([In] GLUtesselator tess, [In] int[,] data);
+ #endregion gluTessBeginPolygon([In] GLUtesselator tess, [In] int[ , ] data)
+
+ #region gluTessBeginPolygon([In] GLUtesselator tess, [In] int[ , , ] data)
+ ///
+ /// Delimits a polygon description.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// A pointer to a programmer defined–polygon data structure.
+ ///
+ ///
+ ///
+ /// gluTessBeginPolygon and delimit the
+ /// definition of a convex, concave or self-intersecting polygon. Within each
+ /// gluTessBeginPolygon/ pair, there must
+ /// be one or more calls to
+ /// /. Within
+ /// each contour, there are zero or more calls to .
+ /// The vertices specify a closed contour (the last vertex of each contour is
+ /// automatically linked to the first). See the ,
+ /// , and
+ /// reference pages for more details.
+ ///
+ ///
+ /// data is a pointer to a user-defined data structure. If the
+ /// appropriate callback(s) are specified (see ),
+ /// then this pointer is returned to the callback function(s). Thus, it is a
+ /// convenient way to store per-polygon information.
+ ///
+ ///
+ /// Once is called, the polygon is tessellated,
+ /// and the resulting triangles are described through callbacks. See
+ /// for descriptions of the callback functions.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tobj, null);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v1, v1);
+ /// Glu.gluTessVertex(tobj, v2, v2);
+ /// Glu.gluTessVertex(tobj, v3, v3);
+ /// Glu.gluTessVertex(tobj, v4, v4);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v5, v5);
+ /// Glu.gluTessVertex(tobj, v6, v6);
+ /// Glu.gluTessVertex(tobj, v7, v7);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessEndPolygon(tobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessBeginPolygon(GLUtesselator *tess, void *polygon_data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessBeginPolygon([In] GLUtesselator tess, [In] int[, ,] data);
+ #endregion gluTessBeginPolygon([In] GLUtesselator tess, [In] int[ , , ] data)
+
+ #region gluTessBeginPolygon([In] GLUtesselator tess, [In] float[] data)
+ ///
+ /// Delimits a polygon description.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// A pointer to a programmer defined–polygon data structure.
+ ///
+ ///
+ ///
+ /// gluTessBeginPolygon and delimit the
+ /// definition of a convex, concave or self-intersecting polygon. Within each
+ /// gluTessBeginPolygon/ pair, there must
+ /// be one or more calls to
+ /// /. Within
+ /// each contour, there are zero or more calls to .
+ /// The vertices specify a closed contour (the last vertex of each contour is
+ /// automatically linked to the first). See the ,
+ /// , and
+ /// reference pages for more details.
+ ///
+ ///
+ /// data is a pointer to a user-defined data structure. If the
+ /// appropriate callback(s) are specified (see ),
+ /// then this pointer is returned to the callback function(s). Thus, it is a
+ /// convenient way to store per-polygon information.
+ ///
+ ///
+ /// Once is called, the polygon is tessellated,
+ /// and the resulting triangles are described through callbacks. See
+ /// for descriptions of the callback functions.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tobj, null);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v1, v1);
+ /// Glu.gluTessVertex(tobj, v2, v2);
+ /// Glu.gluTessVertex(tobj, v3, v3);
+ /// Glu.gluTessVertex(tobj, v4, v4);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v5, v5);
+ /// Glu.gluTessVertex(tobj, v6, v6);
+ /// Glu.gluTessVertex(tobj, v7, v7);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessEndPolygon(tobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessBeginPolygon(GLUtesselator *tess, void *polygon_data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessBeginPolygon([In] GLUtesselator tess, [In] float[] data);
+ #endregion gluTessBeginPolygon([In] GLUtesselator tess, [In] float[] data)
+
+ #region gluTessBeginPolygon([In] GLUtesselator tess, [In] float[ , ] data)
+ ///
+ /// Delimits a polygon description.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// A pointer to a programmer defined–polygon data structure.
+ ///
+ ///
+ ///
+ /// gluTessBeginPolygon and delimit the
+ /// definition of a convex, concave or self-intersecting polygon. Within each
+ /// gluTessBeginPolygon/ pair, there must
+ /// be one or more calls to
+ /// /. Within
+ /// each contour, there are zero or more calls to .
+ /// The vertices specify a closed contour (the last vertex of each contour is
+ /// automatically linked to the first). See the ,
+ /// , and
+ /// reference pages for more details.
+ ///
+ ///
+ /// data is a pointer to a user-defined data structure. If the
+ /// appropriate callback(s) are specified (see ),
+ /// then this pointer is returned to the callback function(s). Thus, it is a
+ /// convenient way to store per-polygon information.
+ ///
+ ///
+ /// Once is called, the polygon is tessellated,
+ /// and the resulting triangles are described through callbacks. See
+ /// for descriptions of the callback functions.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tobj, null);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v1, v1);
+ /// Glu.gluTessVertex(tobj, v2, v2);
+ /// Glu.gluTessVertex(tobj, v3, v3);
+ /// Glu.gluTessVertex(tobj, v4, v4);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v5, v5);
+ /// Glu.gluTessVertex(tobj, v6, v6);
+ /// Glu.gluTessVertex(tobj, v7, v7);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessEndPolygon(tobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessBeginPolygon(GLUtesselator *tess, void *polygon_data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessBeginPolygon([In] GLUtesselator tess, [In] float[,] data);
+ #endregion gluTessBeginPolygon([In] GLUtesselator tess, [In] float[ , ] data)
+
+ #region gluTessBeginPolygon([In] GLUtesselator tess, [In] float[ , , ] data)
+ ///
+ /// Delimits a polygon description.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// A pointer to a programmer defined–polygon data structure.
+ ///
+ ///
+ ///
+ /// gluTessBeginPolygon and delimit the
+ /// definition of a convex, concave or self-intersecting polygon. Within each
+ /// gluTessBeginPolygon/ pair, there must
+ /// be one or more calls to
+ /// /. Within
+ /// each contour, there are zero or more calls to .
+ /// The vertices specify a closed contour (the last vertex of each contour is
+ /// automatically linked to the first). See the ,
+ /// , and
+ /// reference pages for more details.
+ ///
+ ///
+ /// data is a pointer to a user-defined data structure. If the
+ /// appropriate callback(s) are specified (see ),
+ /// then this pointer is returned to the callback function(s). Thus, it is a
+ /// convenient way to store per-polygon information.
+ ///
+ ///
+ /// Once is called, the polygon is tessellated,
+ /// and the resulting triangles are described through callbacks. See
+ /// for descriptions of the callback functions.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tobj, null);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v1, v1);
+ /// Glu.gluTessVertex(tobj, v2, v2);
+ /// Glu.gluTessVertex(tobj, v3, v3);
+ /// Glu.gluTessVertex(tobj, v4, v4);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v5, v5);
+ /// Glu.gluTessVertex(tobj, v6, v6);
+ /// Glu.gluTessVertex(tobj, v7, v7);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessEndPolygon(tobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessBeginPolygon(GLUtesselator *tess, void *polygon_data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessBeginPolygon([In] GLUtesselator tess, [In] float[, ,] data);
+ #endregion gluTessBeginPolygon([In] GLUtesselator tess, [In] float[ , , ] data)
+
+ #region gluTessBeginPolygon([In] GLUtesselator tess, [In] ushort[] data)
+ ///
+ /// Delimits a polygon description.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// A pointer to a programmer defined–polygon data structure.
+ ///
+ ///
+ ///
+ /// gluTessBeginPolygon and delimit the
+ /// definition of a convex, concave or self-intersecting polygon. Within each
+ /// gluTessBeginPolygon/ pair, there must
+ /// be one or more calls to
+ /// /. Within
+ /// each contour, there are zero or more calls to .
+ /// The vertices specify a closed contour (the last vertex of each contour is
+ /// automatically linked to the first). See the ,
+ /// , and
+ /// reference pages for more details.
+ ///
+ ///
+ /// data is a pointer to a user-defined data structure. If the
+ /// appropriate callback(s) are specified (see ),
+ /// then this pointer is returned to the callback function(s). Thus, it is a
+ /// convenient way to store per-polygon information.
+ ///
+ ///
+ /// Once is called, the polygon is tessellated,
+ /// and the resulting triangles are described through callbacks. See
+ /// for descriptions of the callback functions.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tobj, null);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v1, v1);
+ /// Glu.gluTessVertex(tobj, v2, v2);
+ /// Glu.gluTessVertex(tobj, v3, v3);
+ /// Glu.gluTessVertex(tobj, v4, v4);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v5, v5);
+ /// Glu.gluTessVertex(tobj, v6, v6);
+ /// Glu.gluTessVertex(tobj, v7, v7);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessEndPolygon(tobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessBeginPolygon(GLUtesselator *tess, void *polygon_data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessBeginPolygon([In] GLUtesselator tess, [In] ushort[] data);
+ #endregion gluTessBeginPolygon([In] GLUtesselator tess, [In] ushort[] data)
+
+ #region gluTessBeginPolygon([In] GLUtesselator tess, [In] ushort[ , ] data)
+ ///
+ /// Delimits a polygon description.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// A pointer to a programmer defined–polygon data structure.
+ ///
+ ///
+ ///
+ /// gluTessBeginPolygon and delimit the
+ /// definition of a convex, concave or self-intersecting polygon. Within each
+ /// gluTessBeginPolygon/ pair, there must
+ /// be one or more calls to
+ /// /. Within
+ /// each contour, there are zero or more calls to .
+ /// The vertices specify a closed contour (the last vertex of each contour is
+ /// automatically linked to the first). See the ,
+ /// , and
+ /// reference pages for more details.
+ ///
+ ///
+ /// data is a pointer to a user-defined data structure. If the
+ /// appropriate callback(s) are specified (see ),
+ /// then this pointer is returned to the callback function(s). Thus, it is a
+ /// convenient way to store per-polygon information.
+ ///
+ ///
+ /// Once is called, the polygon is tessellated,
+ /// and the resulting triangles are described through callbacks. See
+ /// for descriptions of the callback functions.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tobj, null);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v1, v1);
+ /// Glu.gluTessVertex(tobj, v2, v2);
+ /// Glu.gluTessVertex(tobj, v3, v3);
+ /// Glu.gluTessVertex(tobj, v4, v4);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v5, v5);
+ /// Glu.gluTessVertex(tobj, v6, v6);
+ /// Glu.gluTessVertex(tobj, v7, v7);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessEndPolygon(tobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessBeginPolygon(GLUtesselator *tess, void *polygon_data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessBeginPolygon([In] GLUtesselator tess, [In] ushort[,] data);
+ #endregion gluTessBeginPolygon([In] GLUtesselator tess, [In] ushort[ , ] data)
+
+ #region gluTessBeginPolygon([In] GLUtesselator tess, [In] ushort[ , , ] data)
+ ///
+ /// Delimits a polygon description.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// A pointer to a programmer defined–polygon data structure.
+ ///
+ ///
+ ///
+ /// gluTessBeginPolygon and delimit the
+ /// definition of a convex, concave or self-intersecting polygon. Within each
+ /// gluTessBeginPolygon/ pair, there must
+ /// be one or more calls to
+ /// /. Within
+ /// each contour, there are zero or more calls to .
+ /// The vertices specify a closed contour (the last vertex of each contour is
+ /// automatically linked to the first). See the ,
+ /// , and
+ /// reference pages for more details.
+ ///
+ ///
+ /// data is a pointer to a user-defined data structure. If the
+ /// appropriate callback(s) are specified (see ),
+ /// then this pointer is returned to the callback function(s). Thus, it is a
+ /// convenient way to store per-polygon information.
+ ///
+ ///
+ /// Once is called, the polygon is tessellated,
+ /// and the resulting triangles are described through callbacks. See
+ /// for descriptions of the callback functions.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tobj, null);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v1, v1);
+ /// Glu.gluTessVertex(tobj, v2, v2);
+ /// Glu.gluTessVertex(tobj, v3, v3);
+ /// Glu.gluTessVertex(tobj, v4, v4);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v5, v5);
+ /// Glu.gluTessVertex(tobj, v6, v6);
+ /// Glu.gluTessVertex(tobj, v7, v7);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessEndPolygon(tobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessBeginPolygon(GLUtesselator *tess, void *polygon_data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessBeginPolygon([In] GLUtesselator tess, [In] ushort[, ,] data);
+ #endregion gluTessBeginPolygon([In] GLUtesselator tess, [In] ushort[ , , ] data)
+
+ #region gluTessBeginPolygon([In] GLUtesselator tess, [In] uint[] data)
+ ///
+ /// Delimits a polygon description.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// A pointer to a programmer defined–polygon data structure.
+ ///
+ ///
+ ///
+ /// gluTessBeginPolygon and delimit the
+ /// definition of a convex, concave or self-intersecting polygon. Within each
+ /// gluTessBeginPolygon/ pair, there must
+ /// be one or more calls to
+ /// /. Within
+ /// each contour, there are zero or more calls to .
+ /// The vertices specify a closed contour (the last vertex of each contour is
+ /// automatically linked to the first). See the ,
+ /// , and
+ /// reference pages for more details.
+ ///
+ ///
+ /// data is a pointer to a user-defined data structure. If the
+ /// appropriate callback(s) are specified (see ),
+ /// then this pointer is returned to the callback function(s). Thus, it is a
+ /// convenient way to store per-polygon information.
+ ///
+ ///
+ /// Once is called, the polygon is tessellated,
+ /// and the resulting triangles are described through callbacks. See
+ /// for descriptions of the callback functions.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tobj, null);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v1, v1);
+ /// Glu.gluTessVertex(tobj, v2, v2);
+ /// Glu.gluTessVertex(tobj, v3, v3);
+ /// Glu.gluTessVertex(tobj, v4, v4);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v5, v5);
+ /// Glu.gluTessVertex(tobj, v6, v6);
+ /// Glu.gluTessVertex(tobj, v7, v7);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessEndPolygon(tobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessBeginPolygon(GLUtesselator *tess, void *polygon_data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessBeginPolygon([In] GLUtesselator tess, [In] uint[] data);
+ #endregion gluTessBeginPolygon([In] GLUtesselator tess, [In] uint[] data)
+
+ #region gluTessBeginPolygon([In] GLUtesselator tess, [In] uint[ , ] data)
+ ///
+ /// Delimits a polygon description.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// A pointer to a programmer defined–polygon data structure.
+ ///
+ ///
+ ///
+ /// gluTessBeginPolygon and delimit the
+ /// definition of a convex, concave or self-intersecting polygon. Within each
+ /// gluTessBeginPolygon/ pair, there must
+ /// be one or more calls to
+ /// /. Within
+ /// each contour, there are zero or more calls to .
+ /// The vertices specify a closed contour (the last vertex of each contour is
+ /// automatically linked to the first). See the ,
+ /// , and
+ /// reference pages for more details.
+ ///
+ ///
+ /// data is a pointer to a user-defined data structure. If the
+ /// appropriate callback(s) are specified (see ),
+ /// then this pointer is returned to the callback function(s). Thus, it is a
+ /// convenient way to store per-polygon information.
+ ///
+ ///
+ /// Once is called, the polygon is tessellated,
+ /// and the resulting triangles are described through callbacks. See
+ /// for descriptions of the callback functions.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tobj, null);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v1, v1);
+ /// Glu.gluTessVertex(tobj, v2, v2);
+ /// Glu.gluTessVertex(tobj, v3, v3);
+ /// Glu.gluTessVertex(tobj, v4, v4);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v5, v5);
+ /// Glu.gluTessVertex(tobj, v6, v6);
+ /// Glu.gluTessVertex(tobj, v7, v7);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessEndPolygon(tobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessBeginPolygon(GLUtesselator *tess, void *polygon_data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessBeginPolygon([In] GLUtesselator tess, [In] uint[,] data);
+ #endregion gluTessBeginPolygon([In] GLUtesselator tess, [In] uint[ , ] data)
+
+ #region gluTessBeginPolygon([In] GLUtesselator tess, [In] uint[ , , ] data)
+ ///
+ /// Delimits a polygon description.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// A pointer to a programmer defined–polygon data structure.
+ ///
+ ///
+ ///
+ /// gluTessBeginPolygon and delimit the
+ /// definition of a convex, concave or self-intersecting polygon. Within each
+ /// gluTessBeginPolygon/ pair, there must
+ /// be one or more calls to
+ /// /. Within
+ /// each contour, there are zero or more calls to .
+ /// The vertices specify a closed contour (the last vertex of each contour is
+ /// automatically linked to the first). See the ,
+ /// , and
+ /// reference pages for more details.
+ ///
+ ///
+ /// data is a pointer to a user-defined data structure. If the
+ /// appropriate callback(s) are specified (see ),
+ /// then this pointer is returned to the callback function(s). Thus, it is a
+ /// convenient way to store per-polygon information.
+ ///
+ ///
+ /// Once is called, the polygon is tessellated,
+ /// and the resulting triangles are described through callbacks. See
+ /// for descriptions of the callback functions.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tobj, null);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v1, v1);
+ /// Glu.gluTessVertex(tobj, v2, v2);
+ /// Glu.gluTessVertex(tobj, v3, v3);
+ /// Glu.gluTessVertex(tobj, v4, v4);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v5, v5);
+ /// Glu.gluTessVertex(tobj, v6, v6);
+ /// Glu.gluTessVertex(tobj, v7, v7);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessEndPolygon(tobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessBeginPolygon(GLUtesselator *tess, void *polygon_data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessBeginPolygon([In] GLUtesselator tess, [In] uint[, ,] data);
+ #endregion gluTessBeginPolygon([In] GLUtesselator tess, [In] uint[ , , ] data)
+
+ #region gluTessBeginPolygon([In] GLUtesselator tess, [In] IntPtr data)
+ ///
+ /// Delimits a polygon description.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// A pointer to a programmer defined–polygon data structure.
+ ///
+ ///
+ ///
+ /// gluTessBeginPolygon and delimit the
+ /// definition of a convex, concave or self-intersecting polygon. Within each
+ /// gluTessBeginPolygon/ pair, there must
+ /// be one or more calls to
+ /// /. Within
+ /// each contour, there are zero or more calls to .
+ /// The vertices specify a closed contour (the last vertex of each contour is
+ /// automatically linked to the first). See the ,
+ /// , and
+ /// reference pages for more details.
+ ///
+ ///
+ /// data is a pointer to a user-defined data structure. If the
+ /// appropriate callback(s) are specified (see ),
+ /// then this pointer is returned to the callback function(s). Thus, it is a
+ /// convenient way to store per-polygon information.
+ ///
+ ///
+ /// Once is called, the polygon is tessellated,
+ /// and the resulting triangles are described through callbacks. See
+ /// for descriptions of the callback functions.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tobj, null);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v1, v1);
+ /// Glu.gluTessVertex(tobj, v2, v2);
+ /// Glu.gluTessVertex(tobj, v3, v3);
+ /// Glu.gluTessVertex(tobj, v4, v4);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v5, v5);
+ /// Glu.gluTessVertex(tobj, v6, v6);
+ /// Glu.gluTessVertex(tobj, v7, v7);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessEndPolygon(tobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessBeginPolygon(GLUtesselator *tess, void *polygon_data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessBeginPolygon([In] GLUtesselator tess, [In] IntPtr data);
+ #endregion gluTessBeginPolygon([In] GLUtesselator tess, [In] IntPtr data)
+
+ #region gluTessBeginPolygon([In] GLUtesselator tess, [In] void *data)
+ ///
+ /// Delimits a polygon description.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// A pointer to a programmer defined–polygon data structure.
+ ///
+ ///
+ ///
+ /// gluTessBeginPolygon and delimit the
+ /// definition of a convex, concave or self-intersecting polygon. Within each
+ /// gluTessBeginPolygon/ pair, there must
+ /// be one or more calls to
+ /// /. Within
+ /// each contour, there are zero or more calls to .
+ /// The vertices specify a closed contour (the last vertex of each contour is
+ /// automatically linked to the first). See the ,
+ /// , and
+ /// reference pages for more details.
+ ///
+ ///
+ /// data is a pointer to a user-defined data structure. If the
+ /// appropriate callback(s) are specified (see ),
+ /// then this pointer is returned to the callback function(s). Thus, it is a
+ /// convenient way to store per-polygon information.
+ ///
+ ///
+ /// Once is called, the polygon is tessellated,
+ /// and the resulting triangles are described through callbacks. See
+ /// for descriptions of the callback functions.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tobj, null);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v1, v1);
+ /// Glu.gluTessVertex(tobj, v2, v2);
+ /// Glu.gluTessVertex(tobj, v3, v3);
+ /// Glu.gluTessVertex(tobj, v4, v4);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v5, v5);
+ /// Glu.gluTessVertex(tobj, v6, v6);
+ /// Glu.gluTessVertex(tobj, v7, v7);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessEndPolygon(tobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessBeginPolygon(GLUtesselator *tess, void *polygon_data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void gluTessBeginPolygon([In] GLUtesselator tess, [In] void* data);
+ #endregion gluTessBeginPolygon([In] GLUtesselator tess, [In] void *data)
+
+ #region gluTessCallback([In] GLUtesselator tess, int which, [In] TessBeginCallback func)
+ ///
+ /// Defines a callback for a tessellation object.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ ///
+ /// The callback being defined. The following values are valid:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// The begin callback is invoked like to
+ /// indicate the start of a (triangle) primitive. The function takes
+ /// a single argument of type . If the
+ /// property is set to
+ /// , then the argument is set to either
+ /// ,
+ /// , or
+ /// . If the
+ /// property is set to
+ /// , then the argument will be set to
+ /// . The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The combine callback is called to create a new vertex when
+ /// the tessellation detects an intersection, or wishes to merge
+ /// features. The function takes four arguments: an array of
+ /// three elements each of type , an
+ /// array of four pointers, an array of four elements each of
+ /// type , and a pointer to a pointer. The
+ /// delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// The vertex is defined as a linear combination of up to four
+ /// existing vertices, stored in vertexData. The
+ /// coefficients of the linear combination are given by
+ /// weight; these weights always add up to 1. All
+ /// vertex pointers are valid even when some of the weights are
+ /// 0. coordinates gives the location of the new vertex.
+ ///
+ ///
+ /// The user must allocate another vertex, interpolate parameters
+ /// using vertexData and weight, and return the new
+ /// vertex pointer in outData. This handle is supplied
+ /// during rendering callbacks. The user is responsible for
+ /// freeing the memory some time after
+ /// is called.
+ ///
+ ///
+ /// For example, if the polygon lies in an arbitrary plane in
+ /// 3-space, and a color is associated with each vertex, the
+ /// GLU_TESS_COMBINE callback might look like this:
+ ///
+ ///
+ ///
+ /// void myCombine(GLdouble coords[3], VERTEX *d[4], GLfloat w[4], VERTEX **dataOut) {
+ /// VERTEX *newVertex = new_vertex();
+ /// newVertex->x = coords[0];
+ /// newVertex->y = coords[1];
+ /// newVertex->z = coords[2];
+ /// newVertex->r = w[0]*d[0]->r + w[1]*d[1]->r + w[2]*d[2]->r +
+ /// w[3]*d[3]->r;
+ /// newVertex->g = w[0]*d[0]->g + w[1]*d[1]->g + w[2]*d[2]->g +
+ /// w[3]*d[3]->g;
+ /// newVertex->b = w[0]*d[0]->b + w[1]*d[1]->b + w[2]*d[2]->b +
+ /// w[3]*d[3]->b;
+ /// newVertex->a = w[0]*d[0]->a + w[1]*d[1]->a + w[2]*d[2]->a +
+ /// w[3]*d[3]->a;
+ /// *dataOut = newVertex;
+ /// }
+ ///
+ ///
+ ///
+ /// If the tessellation detects an intersection, then the
+ /// GLU_TESS_COMBINE or
+ /// callback (see below)
+ /// must be defined, and it must write a non-NULL pointer into
+ /// outData. Otherwise the
+ /// error occurs,
+ /// and no output is generated.
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The edge flag callback is similar to
+ /// . The function takes a single
+ /// boolean flag that indicates which edges lie on the polygon
+ /// boundary. If the flag is , then
+ /// each vertex that follows begins an edge that lies on the
+ /// polygon boundary, that is, an edge that separates an interior
+ /// region from an exterior one. If the flag is
+ /// , then each vertex that follows
+ /// begins an edge that lies in the polygon interior. The edge
+ /// flag callback (if defined) is invoked before the first
+ /// vertex callback.
+ ///
+ ///
+ /// Since triangle fans and triangle strips do not support edge
+ /// flags, the begin callback is not called with
+ /// or
+ /// if a non-NULL edge flag
+ /// callback is provided. (If the callback is initialized to
+ /// null, there is no impact on performance). Instead,
+ /// the fans and strips are converted to independent triangles.
+ /// The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The end callback serves the same purpose as
+ /// . It indicates the end of a primitive and
+ /// it takes no arguments. The delegate prototype for this callback
+ /// is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except that
+ /// it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The error callback is called when an error is encountered.
+ /// The one argument is of type ; it
+ /// indicates the specific error that occurred and will be set to
+ /// one of ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// . Character strings
+ /// describing these errors can be retrieved with the
+ /// call. The delegate prototype
+ /// for this callback is .
+ ///
+ ///
+ /// The GLU library will recover from the first four errors by
+ /// inserting the missing call(s).
+ /// indicates that some
+ /// vertex coordinate exceeded the predefined constant
+ /// in absolute value, and that
+ /// the value has been clamped. (Coordinate values must be small
+ /// enough so that two can be multiplied together without
+ /// overflow.)
+ /// indicates that the tessellation detected an intersection
+ /// between two edges in the input data, and the
+ /// or
+ /// callback was not
+ /// provided. No output is generated.
+ /// indicates that there is not
+ /// enough memory so no output is generated.
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The vertex callback is invoked between the begin and end
+ /// callbacks. It is similar to Gl.glVertex*, and it defines the
+ /// vertices of the triangles created by the tessellation process.
+ /// The function takes a pointer as its only argument. This pointer
+ /// is identical to the opaque pointer provided by the user when the
+ /// vertex was described (see ). The
+ /// delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The function to be called.
+ ///
+ ///
+ ///
+ /// gluTessCallback is used to indicate a callback to be used by a
+ /// tessellation object. If the specified callback is already defined, then it
+ /// is replaced. If func is null, then the existing callback
+ /// becomes undefined.
+ ///
+ ///
+ /// These callbacks are used by the tessellation object to describe how a polygon
+ /// specified by the user is broken into triangles. Note that there are two
+ /// versions of each callback: one with user-specified polygon data and one
+ /// without. If both versions of a particular callback are specified, then the
+ /// callback with user-specified polygon data will be used. Note that the
+ /// polygonData parameter used by some of the functions is a copy of the
+ /// pointer that was specified when was
+ /// called.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// You can directly render tessallated polygons as follows:
+ ///
+ ///
+ ///
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_BEGIN, new Glu.TessBeginCallback(Gl.glBegin));
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_VERTEX, new Glu.TessVertexCallback(Gl.glVertex3dv));
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_END, new Glu.TessEndCallback(Gl.glEnd));
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v, v);
+ /// . . .
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessCallback(GLUtesselator *tess, GLenum which, void (CALLBACK *fn)());
+ public static void gluTessCallback([In] GLUtesselator tess, int which, [In] TessBeginCallback func)
+ {
+ tessBeginCallback = func;
+ __gluTessCallback(tess, which, tessBeginCallback);
+ }
+ #endregion gluTessCallback([In] GLUtesselator tess, int which, [In] TessBeginCallback func)
+
+ #region gluTessCallback([In] GLUtesselator tess, int which, [In] TessBeginDataCallback func)
+ ///
+ /// Defines a callback for a tessellation object.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ ///
+ /// The callback being defined. The following values are valid:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// The begin callback is invoked like to
+ /// indicate the start of a (triangle) primitive. The function takes
+ /// a single argument of type . If the
+ /// property is set to
+ /// , then the argument is set to either
+ /// ,
+ /// , or
+ /// . If the
+ /// property is set to
+ /// , then the argument will be set to
+ /// . The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The combine callback is called to create a new vertex when
+ /// the tessellation detects an intersection, or wishes to merge
+ /// features. The function takes four arguments: an array of
+ /// three elements each of type , an
+ /// array of four pointers, an array of four elements each of
+ /// type , and a pointer to a pointer. The
+ /// delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// The vertex is defined as a linear combination of up to four
+ /// existing vertices, stored in vertexData. The
+ /// coefficients of the linear combination are given by
+ /// weight; these weights always add up to 1. All
+ /// vertex pointers are valid even when some of the weights are
+ /// 0. coordinates gives the location of the new vertex.
+ ///
+ ///
+ /// The user must allocate another vertex, interpolate parameters
+ /// using vertexData and weight, and return the new
+ /// vertex pointer in outData. This handle is supplied
+ /// during rendering callbacks. The user is responsible for
+ /// freeing the memory some time after
+ /// is called.
+ ///
+ ///
+ /// For example, if the polygon lies in an arbitrary plane in
+ /// 3-space, and a color is associated with each vertex, the
+ /// GLU_TESS_COMBINE callback might look like this:
+ ///
+ ///
+ ///
+ /// void myCombine(GLdouble coords[3], VERTEX *d[4], GLfloat w[4], VERTEX **dataOut) {
+ /// VERTEX *newVertex = new_vertex();
+ /// newVertex->x = coords[0];
+ /// newVertex->y = coords[1];
+ /// newVertex->z = coords[2];
+ /// newVertex->r = w[0]*d[0]->r + w[1]*d[1]->r + w[2]*d[2]->r +
+ /// w[3]*d[3]->r;
+ /// newVertex->g = w[0]*d[0]->g + w[1]*d[1]->g + w[2]*d[2]->g +
+ /// w[3]*d[3]->g;
+ /// newVertex->b = w[0]*d[0]->b + w[1]*d[1]->b + w[2]*d[2]->b +
+ /// w[3]*d[3]->b;
+ /// newVertex->a = w[0]*d[0]->a + w[1]*d[1]->a + w[2]*d[2]->a +
+ /// w[3]*d[3]->a;
+ /// *dataOut = newVertex;
+ /// }
+ ///
+ ///
+ ///
+ /// If the tessellation detects an intersection, then the
+ /// GLU_TESS_COMBINE or
+ /// callback (see below)
+ /// must be defined, and it must write a non-NULL pointer into
+ /// outData. Otherwise the
+ /// error occurs,
+ /// and no output is generated.
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The edge flag callback is similar to
+ /// . The function takes a single
+ /// boolean flag that indicates which edges lie on the polygon
+ /// boundary. If the flag is , then
+ /// each vertex that follows begins an edge that lies on the
+ /// polygon boundary, that is, an edge that separates an interior
+ /// region from an exterior one. If the flag is
+ /// , then each vertex that follows
+ /// begins an edge that lies in the polygon interior. The edge
+ /// flag callback (if defined) is invoked before the first
+ /// vertex callback.
+ ///
+ ///
+ /// Since triangle fans and triangle strips do not support edge
+ /// flags, the begin callback is not called with
+ /// or
+ /// if a non-NULL edge flag
+ /// callback is provided. (If the callback is initialized to
+ /// null, there is no impact on performance). Instead,
+ /// the fans and strips are converted to independent triangles.
+ /// The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The end callback serves the same purpose as
+ /// . It indicates the end of a primitive and
+ /// it takes no arguments. The delegate prototype for this callback
+ /// is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except that
+ /// it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The error callback is called when an error is encountered.
+ /// The one argument is of type ; it
+ /// indicates the specific error that occurred and will be set to
+ /// one of ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// . Character strings
+ /// describing these errors can be retrieved with the
+ /// call. The delegate prototype
+ /// for this callback is .
+ ///
+ ///
+ /// The GLU library will recover from the first four errors by
+ /// inserting the missing call(s).
+ /// indicates that some
+ /// vertex coordinate exceeded the predefined constant
+ /// in absolute value, and that
+ /// the value has been clamped. (Coordinate values must be small
+ /// enough so that two can be multiplied together without
+ /// overflow.)
+ /// indicates that the tessellation detected an intersection
+ /// between two edges in the input data, and the
+ /// or
+ /// callback was not
+ /// provided. No output is generated.
+ /// indicates that there is not
+ /// enough memory so no output is generated.
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The vertex callback is invoked between the begin and end
+ /// callbacks. It is similar to Gl.glVertex*, and it defines the
+ /// vertices of the triangles created by the tessellation process.
+ /// The function takes a pointer as its only argument. This pointer
+ /// is identical to the opaque pointer provided by the user when the
+ /// vertex was described (see ). The
+ /// delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The function to be called.
+ ///
+ ///
+ ///
+ /// gluTessCallback is used to indicate a callback to be used by a
+ /// tessellation object. If the specified callback is already defined, then it
+ /// is replaced. If func is null, then the existing callback
+ /// becomes undefined.
+ ///
+ ///
+ /// These callbacks are used by the tessellation object to describe how a polygon
+ /// specified by the user is broken into triangles. Note that there are two
+ /// versions of each callback: one with user-specified polygon data and one
+ /// without. If both versions of a particular callback are specified, then the
+ /// callback with user-specified polygon data will be used. Note that the
+ /// polygonData parameter used by some of the functions is a copy of the
+ /// pointer that was specified when was
+ /// called.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// You can directly render tessallated polygons as follows:
+ ///
+ ///
+ ///
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_BEGIN, new Glu.TessBeginCallback(Gl.glBegin));
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_VERTEX, new Glu.TessVertexCallback(Gl.glVertex3dv));
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_END, new Glu.TessEndCallback(Gl.glEnd));
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v, v);
+ /// . . .
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessCallback(GLUtesselator *tess, GLenum which, void (CALLBACK *fn)());
+ public static void gluTessCallback([In] GLUtesselator tess, int which, [In] TessBeginDataCallback func)
+ {
+ tessBeginDataCallback = func;
+ __gluTessCallback(tess, which, tessBeginDataCallback);
+ }
+ #endregion gluTessCallback([In] GLUtesselator tess, int which, [In] TessBeginDataCallback func)
+
+ #region gluTessCallback([In] GLUtesselator tess, int which, [In] TessCombineCallback func)
+ ///
+ /// Defines a callback for a tessellation object.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ ///
+ /// The callback being defined. The following values are valid:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// The begin callback is invoked like to
+ /// indicate the start of a (triangle) primitive. The function takes
+ /// a single argument of type . If the
+ /// property is set to
+ /// , then the argument is set to either
+ /// ,
+ /// , or
+ /// . If the
+ /// property is set to
+ /// , then the argument will be set to
+ /// . The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The combine callback is called to create a new vertex when
+ /// the tessellation detects an intersection, or wishes to merge
+ /// features. The function takes four arguments: an array of
+ /// three elements each of type , an
+ /// array of four pointers, an array of four elements each of
+ /// type , and a pointer to a pointer. The
+ /// delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// The vertex is defined as a linear combination of up to four
+ /// existing vertices, stored in vertexData. The
+ /// coefficients of the linear combination are given by
+ /// weight; these weights always add up to 1. All
+ /// vertex pointers are valid even when some of the weights are
+ /// 0. coordinates gives the location of the new vertex.
+ ///
+ ///
+ /// The user must allocate another vertex, interpolate parameters
+ /// using vertexData and weight, and return the new
+ /// vertex pointer in outData. This handle is supplied
+ /// during rendering callbacks. The user is responsible for
+ /// freeing the memory some time after
+ /// is called.
+ ///
+ ///
+ /// For example, if the polygon lies in an arbitrary plane in
+ /// 3-space, and a color is associated with each vertex, the
+ /// GLU_TESS_COMBINE callback might look like this:
+ ///
+ ///
+ ///
+ /// void myCombine(GLdouble coords[3], VERTEX *d[4], GLfloat w[4], VERTEX **dataOut) {
+ /// VERTEX *newVertex = new_vertex();
+ /// newVertex->x = coords[0];
+ /// newVertex->y = coords[1];
+ /// newVertex->z = coords[2];
+ /// newVertex->r = w[0]*d[0]->r + w[1]*d[1]->r + w[2]*d[2]->r +
+ /// w[3]*d[3]->r;
+ /// newVertex->g = w[0]*d[0]->g + w[1]*d[1]->g + w[2]*d[2]->g +
+ /// w[3]*d[3]->g;
+ /// newVertex->b = w[0]*d[0]->b + w[1]*d[1]->b + w[2]*d[2]->b +
+ /// w[3]*d[3]->b;
+ /// newVertex->a = w[0]*d[0]->a + w[1]*d[1]->a + w[2]*d[2]->a +
+ /// w[3]*d[3]->a;
+ /// *dataOut = newVertex;
+ /// }
+ ///
+ ///
+ ///
+ /// If the tessellation detects an intersection, then the
+ /// GLU_TESS_COMBINE or
+ /// callback (see below)
+ /// must be defined, and it must write a non-NULL pointer into
+ /// outData. Otherwise the
+ /// error occurs,
+ /// and no output is generated.
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The edge flag callback is similar to
+ /// . The function takes a single
+ /// boolean flag that indicates which edges lie on the polygon
+ /// boundary. If the flag is , then
+ /// each vertex that follows begins an edge that lies on the
+ /// polygon boundary, that is, an edge that separates an interior
+ /// region from an exterior one. If the flag is
+ /// , then each vertex that follows
+ /// begins an edge that lies in the polygon interior. The edge
+ /// flag callback (if defined) is invoked before the first
+ /// vertex callback.
+ ///
+ ///
+ /// Since triangle fans and triangle strips do not support edge
+ /// flags, the begin callback is not called with
+ /// or
+ /// if a non-NULL edge flag
+ /// callback is provided. (If the callback is initialized to
+ /// null, there is no impact on performance). Instead,
+ /// the fans and strips are converted to independent triangles.
+ /// The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The end callback serves the same purpose as
+ /// . It indicates the end of a primitive and
+ /// it takes no arguments. The delegate prototype for this callback
+ /// is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except that
+ /// it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The error callback is called when an error is encountered.
+ /// The one argument is of type ; it
+ /// indicates the specific error that occurred and will be set to
+ /// one of ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// . Character strings
+ /// describing these errors can be retrieved with the
+ /// call. The delegate prototype
+ /// for this callback is .
+ ///
+ ///
+ /// The GLU library will recover from the first four errors by
+ /// inserting the missing call(s).
+ /// indicates that some
+ /// vertex coordinate exceeded the predefined constant
+ /// in absolute value, and that
+ /// the value has been clamped. (Coordinate values must be small
+ /// enough so that two can be multiplied together without
+ /// overflow.)
+ /// indicates that the tessellation detected an intersection
+ /// between two edges in the input data, and the
+ /// or
+ /// callback was not
+ /// provided. No output is generated.
+ /// indicates that there is not
+ /// enough memory so no output is generated.
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The vertex callback is invoked between the begin and end
+ /// callbacks. It is similar to Gl.glVertex*, and it defines the
+ /// vertices of the triangles created by the tessellation process.
+ /// The function takes a pointer as its only argument. This pointer
+ /// is identical to the opaque pointer provided by the user when the
+ /// vertex was described (see ). The
+ /// delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The function to be called.
+ ///
+ ///
+ ///
+ /// gluTessCallback is used to indicate a callback to be used by a
+ /// tessellation object. If the specified callback is already defined, then it
+ /// is replaced. If func is null, then the existing callback
+ /// becomes undefined.
+ ///
+ ///
+ /// These callbacks are used by the tessellation object to describe how a polygon
+ /// specified by the user is broken into triangles. Note that there are two
+ /// versions of each callback: one with user-specified polygon data and one
+ /// without. If both versions of a particular callback are specified, then the
+ /// callback with user-specified polygon data will be used. Note that the
+ /// polygonData parameter used by some of the functions is a copy of the
+ /// pointer that was specified when was
+ /// called.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// You can directly render tessallated polygons as follows:
+ ///
+ ///
+ ///
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_BEGIN, new Glu.TessBeginCallback(Gl.glBegin));
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_VERTEX, new Glu.TessVertexCallback(Gl.glVertex3dv));
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_END, new Glu.TessEndCallback(Gl.glEnd));
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v, v);
+ /// . . .
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessCallback(GLUtesselator *tess, GLenum which, void (CALLBACK *fn)());
+ public static void gluTessCallback([In] GLUtesselator tess, int which, [In] TessCombineCallback func)
+ {
+ tessCombineCallback = func;
+ __gluTessCallback(tess, which, tessCombineCallback);
+ }
+ #endregion gluTessCallback([In] GLUtesselator tess, int which, [In] TessCombineCallback func)
+
+ #region gluTessCallback([In] GLUtesselator tess, int which, [In] TessCombineCallback1 func)
+ ///
+ /// Defines a callback for a tessellation object.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ ///
+ /// The callback being defined. The following values are valid:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// The begin callback is invoked like to
+ /// indicate the start of a (triangle) primitive. The function takes
+ /// a single argument of type . If the
+ /// property is set to
+ /// , then the argument is set to either
+ /// ,
+ /// , or
+ /// . If the
+ /// property is set to
+ /// , then the argument will be set to
+ /// . The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The combine callback is called to create a new vertex when
+ /// the tessellation detects an intersection, or wishes to merge
+ /// features. The function takes four arguments: an array of
+ /// three elements each of type , an
+ /// array of four pointers, an array of four elements each of
+ /// type , and a pointer to a pointer. The
+ /// delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// The vertex is defined as a linear combination of up to four
+ /// existing vertices, stored in vertexData. The
+ /// coefficients of the linear combination are given by
+ /// weight; these weights always add up to 1. All
+ /// vertex pointers are valid even when some of the weights are
+ /// 0. coordinates gives the location of the new vertex.
+ ///
+ ///
+ /// The user must allocate another vertex, interpolate parameters
+ /// using vertexData and weight, and return the new
+ /// vertex pointer in outData. This handle is supplied
+ /// during rendering callbacks. The user is responsible for
+ /// freeing the memory some time after
+ /// is called.
+ ///
+ ///
+ /// For example, if the polygon lies in an arbitrary plane in
+ /// 3-space, and a color is associated with each vertex, the
+ /// GLU_TESS_COMBINE callback might look like this:
+ ///
+ ///
+ ///
+ /// void myCombine(GLdouble coords[3], VERTEX *d[4], GLfloat w[4], VERTEX **dataOut) {
+ /// VERTEX *newVertex = new_vertex();
+ /// newVertex->x = coords[0];
+ /// newVertex->y = coords[1];
+ /// newVertex->z = coords[2];
+ /// newVertex->r = w[0]*d[0]->r + w[1]*d[1]->r + w[2]*d[2]->r +
+ /// w[3]*d[3]->r;
+ /// newVertex->g = w[0]*d[0]->g + w[1]*d[1]->g + w[2]*d[2]->g +
+ /// w[3]*d[3]->g;
+ /// newVertex->b = w[0]*d[0]->b + w[1]*d[1]->b + w[2]*d[2]->b +
+ /// w[3]*d[3]->b;
+ /// newVertex->a = w[0]*d[0]->a + w[1]*d[1]->a + w[2]*d[2]->a +
+ /// w[3]*d[3]->a;
+ /// *dataOut = newVertex;
+ /// }
+ ///
+ ///
+ ///
+ /// If the tessellation detects an intersection, then the
+ /// GLU_TESS_COMBINE or
+ /// callback (see below)
+ /// must be defined, and it must write a non-NULL pointer into
+ /// outData. Otherwise the
+ /// error occurs,
+ /// and no output is generated.
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The edge flag callback is similar to
+ /// . The function takes a single
+ /// boolean flag that indicates which edges lie on the polygon
+ /// boundary. If the flag is , then
+ /// each vertex that follows begins an edge that lies on the
+ /// polygon boundary, that is, an edge that separates an interior
+ /// region from an exterior one. If the flag is
+ /// , then each vertex that follows
+ /// begins an edge that lies in the polygon interior. The edge
+ /// flag callback (if defined) is invoked before the first
+ /// vertex callback.
+ ///
+ ///
+ /// Since triangle fans and triangle strips do not support edge
+ /// flags, the begin callback is not called with
+ /// or
+ /// if a non-NULL edge flag
+ /// callback is provided. (If the callback is initialized to
+ /// null, there is no impact on performance). Instead,
+ /// the fans and strips are converted to independent triangles.
+ /// The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The end callback serves the same purpose as
+ /// . It indicates the end of a primitive and
+ /// it takes no arguments. The delegate prototype for this callback
+ /// is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except that
+ /// it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The error callback is called when an error is encountered.
+ /// The one argument is of type ; it
+ /// indicates the specific error that occurred and will be set to
+ /// one of ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// . Character strings
+ /// describing these errors can be retrieved with the
+ /// call. The delegate prototype
+ /// for this callback is .
+ ///
+ ///
+ /// The GLU library will recover from the first four errors by
+ /// inserting the missing call(s).
+ /// indicates that some
+ /// vertex coordinate exceeded the predefined constant
+ /// in absolute value, and that
+ /// the value has been clamped. (Coordinate values must be small
+ /// enough so that two can be multiplied together without
+ /// overflow.)
+ /// indicates that the tessellation detected an intersection
+ /// between two edges in the input data, and the
+ /// or
+ /// callback was not
+ /// provided. No output is generated.
+ /// indicates that there is not
+ /// enough memory so no output is generated.
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The vertex callback is invoked between the begin and end
+ /// callbacks. It is similar to Gl.glVertex*, and it defines the
+ /// vertices of the triangles created by the tessellation process.
+ /// The function takes a pointer as its only argument. This pointer
+ /// is identical to the opaque pointer provided by the user when the
+ /// vertex was described (see ). The
+ /// delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The function to be called.
+ ///
+ ///
+ ///
+ /// gluTessCallback is used to indicate a callback to be used by a
+ /// tessellation object. If the specified callback is already defined, then it
+ /// is replaced. If func is null, then the existing callback
+ /// becomes undefined.
+ ///
+ ///
+ /// These callbacks are used by the tessellation object to describe how a polygon
+ /// specified by the user is broken into triangles. Note that there are two
+ /// versions of each callback: one with user-specified polygon data and one
+ /// without. If both versions of a particular callback are specified, then the
+ /// callback with user-specified polygon data will be used. Note that the
+ /// polygonData parameter used by some of the functions is a copy of the
+ /// pointer that was specified when was
+ /// called.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// You can directly render tessallated polygons as follows:
+ ///
+ ///
+ ///
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_BEGIN, new Glu.TessBeginCallback(Gl.glBegin));
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_VERTEX, new Glu.TessVertexCallback(Gl.glVertex3dv));
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_END, new Glu.TessEndCallback(Gl.glEnd));
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v, v);
+ /// . . .
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessCallback(GLUtesselator *tess, GLenum which, void (CALLBACK *fn)());
+ public static void gluTessCallback([In] GLUtesselator tess, int which, [In] TessCombineCallback1 func)
+ {
+ tessCombineCallback1 = func;
+ __gluTessCallback(tess, which, tessCombineCallback1);
+ }
+ #endregion gluTessCallback([In] GLUtesselator tess, int which, [In] TessCombineCallback1 func)
+
+ #region gluTessCallback([In] GLUtesselator tess, int which, [In] TessCombineDataCallback func)
+ ///
+ /// Defines a callback for a tessellation object.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ ///
+ /// The callback being defined. The following values are valid:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// The begin callback is invoked like to
+ /// indicate the start of a (triangle) primitive. The function takes
+ /// a single argument of type . If the
+ /// property is set to
+ /// , then the argument is set to either
+ /// ,
+ /// , or
+ /// . If the
+ /// property is set to
+ /// , then the argument will be set to
+ /// . The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The combine callback is called to create a new vertex when
+ /// the tessellation detects an intersection, or wishes to merge
+ /// features. The function takes four arguments: an array of
+ /// three elements each of type , an
+ /// array of four pointers, an array of four elements each of
+ /// type , and a pointer to a pointer. The
+ /// delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// The vertex is defined as a linear combination of up to four
+ /// existing vertices, stored in vertexData. The
+ /// coefficients of the linear combination are given by
+ /// weight; these weights always add up to 1. All
+ /// vertex pointers are valid even when some of the weights are
+ /// 0. coordinates gives the location of the new vertex.
+ ///
+ ///
+ /// The user must allocate another vertex, interpolate parameters
+ /// using vertexData and weight, and return the new
+ /// vertex pointer in outData. This handle is supplied
+ /// during rendering callbacks. The user is responsible for
+ /// freeing the memory some time after
+ /// is called.
+ ///
+ ///
+ /// For example, if the polygon lies in an arbitrary plane in
+ /// 3-space, and a color is associated with each vertex, the
+ /// GLU_TESS_COMBINE callback might look like this:
+ ///
+ ///
+ ///
+ /// void myCombine(GLdouble coords[3], VERTEX *d[4], GLfloat w[4], VERTEX **dataOut) {
+ /// VERTEX *newVertex = new_vertex();
+ /// newVertex->x = coords[0];
+ /// newVertex->y = coords[1];
+ /// newVertex->z = coords[2];
+ /// newVertex->r = w[0]*d[0]->r + w[1]*d[1]->r + w[2]*d[2]->r +
+ /// w[3]*d[3]->r;
+ /// newVertex->g = w[0]*d[0]->g + w[1]*d[1]->g + w[2]*d[2]->g +
+ /// w[3]*d[3]->g;
+ /// newVertex->b = w[0]*d[0]->b + w[1]*d[1]->b + w[2]*d[2]->b +
+ /// w[3]*d[3]->b;
+ /// newVertex->a = w[0]*d[0]->a + w[1]*d[1]->a + w[2]*d[2]->a +
+ /// w[3]*d[3]->a;
+ /// *dataOut = newVertex;
+ /// }
+ ///
+ ///
+ ///
+ /// If the tessellation detects an intersection, then the
+ /// GLU_TESS_COMBINE or
+ /// callback (see below)
+ /// must be defined, and it must write a non-NULL pointer into
+ /// outData. Otherwise the
+ /// error occurs,
+ /// and no output is generated.
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The edge flag callback is similar to
+ /// . The function takes a single
+ /// boolean flag that indicates which edges lie on the polygon
+ /// boundary. If the flag is , then
+ /// each vertex that follows begins an edge that lies on the
+ /// polygon boundary, that is, an edge that separates an interior
+ /// region from an exterior one. If the flag is
+ /// , then each vertex that follows
+ /// begins an edge that lies in the polygon interior. The edge
+ /// flag callback (if defined) is invoked before the first
+ /// vertex callback.
+ ///
+ ///
+ /// Since triangle fans and triangle strips do not support edge
+ /// flags, the begin callback is not called with
+ /// or
+ /// if a non-NULL edge flag
+ /// callback is provided. (If the callback is initialized to
+ /// null, there is no impact on performance). Instead,
+ /// the fans and strips are converted to independent triangles.
+ /// The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The end callback serves the same purpose as
+ /// . It indicates the end of a primitive and
+ /// it takes no arguments. The delegate prototype for this callback
+ /// is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except that
+ /// it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The error callback is called when an error is encountered.
+ /// The one argument is of type ; it
+ /// indicates the specific error that occurred and will be set to
+ /// one of ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// . Character strings
+ /// describing these errors can be retrieved with the
+ /// call. The delegate prototype
+ /// for this callback is .
+ ///
+ ///
+ /// The GLU library will recover from the first four errors by
+ /// inserting the missing call(s).
+ /// indicates that some
+ /// vertex coordinate exceeded the predefined constant
+ /// in absolute value, and that
+ /// the value has been clamped. (Coordinate values must be small
+ /// enough so that two can be multiplied together without
+ /// overflow.)
+ /// indicates that the tessellation detected an intersection
+ /// between two edges in the input data, and the
+ /// or
+ /// callback was not
+ /// provided. No output is generated.
+ /// indicates that there is not
+ /// enough memory so no output is generated.
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The vertex callback is invoked between the begin and end
+ /// callbacks. It is similar to Gl.glVertex*, and it defines the
+ /// vertices of the triangles created by the tessellation process.
+ /// The function takes a pointer as its only argument. This pointer
+ /// is identical to the opaque pointer provided by the user when the
+ /// vertex was described (see ). The
+ /// delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The function to be called.
+ ///
+ ///
+ ///
+ /// gluTessCallback is used to indicate a callback to be used by a
+ /// tessellation object. If the specified callback is already defined, then it
+ /// is replaced. If func is null, then the existing callback
+ /// becomes undefined.
+ ///
+ ///
+ /// These callbacks are used by the tessellation object to describe how a polygon
+ /// specified by the user is broken into triangles. Note that there are two
+ /// versions of each callback: one with user-specified polygon data and one
+ /// without. If both versions of a particular callback are specified, then the
+ /// callback with user-specified polygon data will be used. Note that the
+ /// polygonData parameter used by some of the functions is a copy of the
+ /// pointer that was specified when was
+ /// called.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// You can directly render tessallated polygons as follows:
+ ///
+ ///
+ ///
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_BEGIN, new Glu.TessBeginCallback(Gl.glBegin));
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_VERTEX, new Glu.TessVertexCallback(Gl.glVertex3dv));
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_END, new Glu.TessEndCallback(Gl.glEnd));
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v, v);
+ /// . . .
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessCallback(GLUtesselator *tess, GLenum which, void (CALLBACK *fn)());
+ public static void gluTessCallback([In] GLUtesselator tess, int which, [In] TessCombineDataCallback func)
+ {
+ tessCombineDataCallback = func;
+ __gluTessCallback(tess, which, tessCombineDataCallback);
+ }
+ #endregion gluTessCallback([In] GLUtesselator tess, int which, [In] TessCombineDataCallback func)
+
+ #region gluTessCallback([In] GLUtesselator tess, int which, [In] TessEdgeFlagCallback func)
+ ///
+ /// Defines a callback for a tessellation object.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ ///
+ /// The callback being defined. The following values are valid:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// The begin callback is invoked like to
+ /// indicate the start of a (triangle) primitive. The function takes
+ /// a single argument of type . If the
+ /// property is set to
+ /// , then the argument is set to either
+ /// ,
+ /// , or
+ /// . If the
+ /// property is set to
+ /// , then the argument will be set to
+ /// . The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The combine callback is called to create a new vertex when
+ /// the tessellation detects an intersection, or wishes to merge
+ /// features. The function takes four arguments: an array of
+ /// three elements each of type , an
+ /// array of four pointers, an array of four elements each of
+ /// type , and a pointer to a pointer. The
+ /// delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// The vertex is defined as a linear combination of up to four
+ /// existing vertices, stored in vertexData. The
+ /// coefficients of the linear combination are given by
+ /// weight; these weights always add up to 1. All
+ /// vertex pointers are valid even when some of the weights are
+ /// 0. coordinates gives the location of the new vertex.
+ ///
+ ///
+ /// The user must allocate another vertex, interpolate parameters
+ /// using vertexData and weight, and return the new
+ /// vertex pointer in outData. This handle is supplied
+ /// during rendering callbacks. The user is responsible for
+ /// freeing the memory some time after
+ /// is called.
+ ///
+ ///
+ /// For example, if the polygon lies in an arbitrary plane in
+ /// 3-space, and a color is associated with each vertex, the
+ /// GLU_TESS_COMBINE callback might look like this:
+ ///
+ ///
+ ///
+ /// void myCombine(GLdouble coords[3], VERTEX *d[4], GLfloat w[4], VERTEX **dataOut) {
+ /// VERTEX *newVertex = new_vertex();
+ /// newVertex->x = coords[0];
+ /// newVertex->y = coords[1];
+ /// newVertex->z = coords[2];
+ /// newVertex->r = w[0]*d[0]->r + w[1]*d[1]->r + w[2]*d[2]->r +
+ /// w[3]*d[3]->r;
+ /// newVertex->g = w[0]*d[0]->g + w[1]*d[1]->g + w[2]*d[2]->g +
+ /// w[3]*d[3]->g;
+ /// newVertex->b = w[0]*d[0]->b + w[1]*d[1]->b + w[2]*d[2]->b +
+ /// w[3]*d[3]->b;
+ /// newVertex->a = w[0]*d[0]->a + w[1]*d[1]->a + w[2]*d[2]->a +
+ /// w[3]*d[3]->a;
+ /// *dataOut = newVertex;
+ /// }
+ ///
+ ///
+ ///
+ /// If the tessellation detects an intersection, then the
+ /// GLU_TESS_COMBINE or
+ /// callback (see below)
+ /// must be defined, and it must write a non-NULL pointer into
+ /// outData. Otherwise the
+ /// error occurs,
+ /// and no output is generated.
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The edge flag callback is similar to
+ /// . The function takes a single
+ /// boolean flag that indicates which edges lie on the polygon
+ /// boundary. If the flag is , then
+ /// each vertex that follows begins an edge that lies on the
+ /// polygon boundary, that is, an edge that separates an interior
+ /// region from an exterior one. If the flag is
+ /// , then each vertex that follows
+ /// begins an edge that lies in the polygon interior. The edge
+ /// flag callback (if defined) is invoked before the first
+ /// vertex callback.
+ ///
+ ///
+ /// Since triangle fans and triangle strips do not support edge
+ /// flags, the begin callback is not called with
+ /// or
+ /// if a non-NULL edge flag
+ /// callback is provided. (If the callback is initialized to
+ /// null, there is no impact on performance). Instead,
+ /// the fans and strips are converted to independent triangles.
+ /// The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The end callback serves the same purpose as
+ /// . It indicates the end of a primitive and
+ /// it takes no arguments. The delegate prototype for this callback
+ /// is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except that
+ /// it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The error callback is called when an error is encountered.
+ /// The one argument is of type ; it
+ /// indicates the specific error that occurred and will be set to
+ /// one of ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// . Character strings
+ /// describing these errors can be retrieved with the
+ /// call. The delegate prototype
+ /// for this callback is .
+ ///
+ ///
+ /// The GLU library will recover from the first four errors by
+ /// inserting the missing call(s).
+ /// indicates that some
+ /// vertex coordinate exceeded the predefined constant
+ /// in absolute value, and that
+ /// the value has been clamped. (Coordinate values must be small
+ /// enough so that two can be multiplied together without
+ /// overflow.)
+ /// indicates that the tessellation detected an intersection
+ /// between two edges in the input data, and the
+ /// or
+ /// callback was not
+ /// provided. No output is generated.
+ /// indicates that there is not
+ /// enough memory so no output is generated.
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The vertex callback is invoked between the begin and end
+ /// callbacks. It is similar to Gl.glVertex*, and it defines the
+ /// vertices of the triangles created by the tessellation process.
+ /// The function takes a pointer as its only argument. This pointer
+ /// is identical to the opaque pointer provided by the user when the
+ /// vertex was described (see ). The
+ /// delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The function to be called.
+ ///
+ ///
+ ///
+ /// gluTessCallback is used to indicate a callback to be used by a
+ /// tessellation object. If the specified callback is already defined, then it
+ /// is replaced. If func is null, then the existing callback
+ /// becomes undefined.
+ ///
+ ///
+ /// These callbacks are used by the tessellation object to describe how a polygon
+ /// specified by the user is broken into triangles. Note that there are two
+ /// versions of each callback: one with user-specified polygon data and one
+ /// without. If both versions of a particular callback are specified, then the
+ /// callback with user-specified polygon data will be used. Note that the
+ /// polygonData parameter used by some of the functions is a copy of the
+ /// pointer that was specified when was
+ /// called.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// You can directly render tessallated polygons as follows:
+ ///
+ ///
+ ///
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_BEGIN, new Glu.TessBeginCallback(Gl.glBegin));
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_VERTEX, new Glu.TessVertexCallback(Gl.glVertex3dv));
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_END, new Glu.TessEndCallback(Gl.glEnd));
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v, v);
+ /// . . .
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessCallback(GLUtesselator *tess, GLenum which, void (CALLBACK *fn)());
+ public static void gluTessCallback([In] GLUtesselator tess, int which, [In] TessEdgeFlagCallback func)
+ {
+ tessEdgeFlagCallback = func;
+ __gluTessCallback(tess, which, tessEdgeFlagCallback);
+ }
+ #endregion gluTessCallback([In] GLUtesselator tess, int which, [In] TessEdgeFlagCallback func)
+
+ #region gluTessCallback([In] GLUtesselator tess, int which, [In] TessEdgeFlagDataCallback func)
+ ///
+ /// Defines a callback for a tessellation object.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ ///
+ /// The callback being defined. The following values are valid:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// The begin callback is invoked like to
+ /// indicate the start of a (triangle) primitive. The function takes
+ /// a single argument of type . If the
+ /// property is set to
+ /// , then the argument is set to either
+ /// ,
+ /// , or
+ /// . If the
+ /// property is set to
+ /// , then the argument will be set to
+ /// . The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The combine callback is called to create a new vertex when
+ /// the tessellation detects an intersection, or wishes to merge
+ /// features. The function takes four arguments: an array of
+ /// three elements each of type , an
+ /// array of four pointers, an array of four elements each of
+ /// type , and a pointer to a pointer. The
+ /// delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// The vertex is defined as a linear combination of up to four
+ /// existing vertices, stored in vertexData. The
+ /// coefficients of the linear combination are given by
+ /// weight; these weights always add up to 1. All
+ /// vertex pointers are valid even when some of the weights are
+ /// 0. coordinates gives the location of the new vertex.
+ ///
+ ///
+ /// The user must allocate another vertex, interpolate parameters
+ /// using vertexData and weight, and return the new
+ /// vertex pointer in outData. This handle is supplied
+ /// during rendering callbacks. The user is responsible for
+ /// freeing the memory some time after
+ /// is called.
+ ///
+ ///
+ /// For example, if the polygon lies in an arbitrary plane in
+ /// 3-space, and a color is associated with each vertex, the
+ /// GLU_TESS_COMBINE callback might look like this:
+ ///
+ ///
+ ///
+ /// void myCombine(GLdouble coords[3], VERTEX *d[4], GLfloat w[4], VERTEX **dataOut) {
+ /// VERTEX *newVertex = new_vertex();
+ /// newVertex->x = coords[0];
+ /// newVertex->y = coords[1];
+ /// newVertex->z = coords[2];
+ /// newVertex->r = w[0]*d[0]->r + w[1]*d[1]->r + w[2]*d[2]->r +
+ /// w[3]*d[3]->r;
+ /// newVertex->g = w[0]*d[0]->g + w[1]*d[1]->g + w[2]*d[2]->g +
+ /// w[3]*d[3]->g;
+ /// newVertex->b = w[0]*d[0]->b + w[1]*d[1]->b + w[2]*d[2]->b +
+ /// w[3]*d[3]->b;
+ /// newVertex->a = w[0]*d[0]->a + w[1]*d[1]->a + w[2]*d[2]->a +
+ /// w[3]*d[3]->a;
+ /// *dataOut = newVertex;
+ /// }
+ ///
+ ///
+ ///
+ /// If the tessellation detects an intersection, then the
+ /// GLU_TESS_COMBINE or
+ /// callback (see below)
+ /// must be defined, and it must write a non-NULL pointer into
+ /// outData. Otherwise the
+ /// error occurs,
+ /// and no output is generated.
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The edge flag callback is similar to
+ /// . The function takes a single
+ /// boolean flag that indicates which edges lie on the polygon
+ /// boundary. If the flag is , then
+ /// each vertex that follows begins an edge that lies on the
+ /// polygon boundary, that is, an edge that separates an interior
+ /// region from an exterior one. If the flag is
+ /// , then each vertex that follows
+ /// begins an edge that lies in the polygon interior. The edge
+ /// flag callback (if defined) is invoked before the first
+ /// vertex callback.
+ ///
+ ///
+ /// Since triangle fans and triangle strips do not support edge
+ /// flags, the begin callback is not called with
+ /// or
+ /// if a non-NULL edge flag
+ /// callback is provided. (If the callback is initialized to
+ /// null, there is no impact on performance). Instead,
+ /// the fans and strips are converted to independent triangles.
+ /// The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The end callback serves the same purpose as
+ /// . It indicates the end of a primitive and
+ /// it takes no arguments. The delegate prototype for this callback
+ /// is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except that
+ /// it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The error callback is called when an error is encountered.
+ /// The one argument is of type ; it
+ /// indicates the specific error that occurred and will be set to
+ /// one of ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// . Character strings
+ /// describing these errors can be retrieved with the
+ /// call. The delegate prototype
+ /// for this callback is .
+ ///
+ ///
+ /// The GLU library will recover from the first four errors by
+ /// inserting the missing call(s).
+ /// indicates that some
+ /// vertex coordinate exceeded the predefined constant
+ /// in absolute value, and that
+ /// the value has been clamped. (Coordinate values must be small
+ /// enough so that two can be multiplied together without
+ /// overflow.)
+ /// indicates that the tessellation detected an intersection
+ /// between two edges in the input data, and the
+ /// or
+ /// callback was not
+ /// provided. No output is generated.
+ /// indicates that there is not
+ /// enough memory so no output is generated.
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The vertex callback is invoked between the begin and end
+ /// callbacks. It is similar to Gl.glVertex*, and it defines the
+ /// vertices of the triangles created by the tessellation process.
+ /// The function takes a pointer as its only argument. This pointer
+ /// is identical to the opaque pointer provided by the user when the
+ /// vertex was described (see ). The
+ /// delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The function to be called.
+ ///
+ ///
+ ///
+ /// gluTessCallback is used to indicate a callback to be used by a
+ /// tessellation object. If the specified callback is already defined, then it
+ /// is replaced. If func is null, then the existing callback
+ /// becomes undefined.
+ ///
+ ///
+ /// These callbacks are used by the tessellation object to describe how a polygon
+ /// specified by the user is broken into triangles. Note that there are two
+ /// versions of each callback: one with user-specified polygon data and one
+ /// without. If both versions of a particular callback are specified, then the
+ /// callback with user-specified polygon data will be used. Note that the
+ /// polygonData parameter used by some of the functions is a copy of the
+ /// pointer that was specified when was
+ /// called.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// You can directly render tessallated polygons as follows:
+ ///
+ ///
+ ///
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_BEGIN, new Glu.TessBeginCallback(Gl.glBegin));
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_VERTEX, new Glu.TessVertexCallback(Gl.glVertex3dv));
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_END, new Glu.TessEndCallback(Gl.glEnd));
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v, v);
+ /// . . .
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessCallback(GLUtesselator *tess, GLenum which, void (CALLBACK *fn)());
+ public static void gluTessCallback([In] GLUtesselator tess, int which, [In] TessEdgeFlagDataCallback func)
+ {
+ tessEdgeFlagDataCallback = func;
+ __gluTessCallback(tess, which, tessEdgeFlagDataCallback);
+ }
+ #endregion gluTessCallback([In] GLUtesselator tess, int which, [In] TessEdgeFlagDataCallback func)
+
+ #region gluTessCallback([In] GLUtesselator tess, int which, [In] TessEndCallback func)
+ ///
+ /// Defines a callback for a tessellation object.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ ///
+ /// The callback being defined. The following values are valid:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// The begin callback is invoked like to
+ /// indicate the start of a (triangle) primitive. The function takes
+ /// a single argument of type . If the
+ /// property is set to
+ /// , then the argument is set to either
+ /// ,
+ /// , or
+ /// . If the
+ /// property is set to
+ /// , then the argument will be set to
+ /// . The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The combine callback is called to create a new vertex when
+ /// the tessellation detects an intersection, or wishes to merge
+ /// features. The function takes four arguments: an array of
+ /// three elements each of type , an
+ /// array of four pointers, an array of four elements each of
+ /// type , and a pointer to a pointer. The
+ /// delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// The vertex is defined as a linear combination of up to four
+ /// existing vertices, stored in vertexData. The
+ /// coefficients of the linear combination are given by
+ /// weight; these weights always add up to 1. All
+ /// vertex pointers are valid even when some of the weights are
+ /// 0. coordinates gives the location of the new vertex.
+ ///
+ ///
+ /// The user must allocate another vertex, interpolate parameters
+ /// using vertexData and weight, and return the new
+ /// vertex pointer in outData. This handle is supplied
+ /// during rendering callbacks. The user is responsible for
+ /// freeing the memory some time after
+ /// is called.
+ ///
+ ///
+ /// For example, if the polygon lies in an arbitrary plane in
+ /// 3-space, and a color is associated with each vertex, the
+ /// GLU_TESS_COMBINE callback might look like this:
+ ///
+ ///
+ ///
+ /// void myCombine(GLdouble coords[3], VERTEX *d[4], GLfloat w[4], VERTEX **dataOut) {
+ /// VERTEX *newVertex = new_vertex();
+ /// newVertex->x = coords[0];
+ /// newVertex->y = coords[1];
+ /// newVertex->z = coords[2];
+ /// newVertex->r = w[0]*d[0]->r + w[1]*d[1]->r + w[2]*d[2]->r +
+ /// w[3]*d[3]->r;
+ /// newVertex->g = w[0]*d[0]->g + w[1]*d[1]->g + w[2]*d[2]->g +
+ /// w[3]*d[3]->g;
+ /// newVertex->b = w[0]*d[0]->b + w[1]*d[1]->b + w[2]*d[2]->b +
+ /// w[3]*d[3]->b;
+ /// newVertex->a = w[0]*d[0]->a + w[1]*d[1]->a + w[2]*d[2]->a +
+ /// w[3]*d[3]->a;
+ /// *dataOut = newVertex;
+ /// }
+ ///
+ ///
+ ///
+ /// If the tessellation detects an intersection, then the
+ /// GLU_TESS_COMBINE or
+ /// callback (see below)
+ /// must be defined, and it must write a non-NULL pointer into
+ /// outData. Otherwise the
+ /// error occurs,
+ /// and no output is generated.
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The edge flag callback is similar to
+ /// . The function takes a single
+ /// boolean flag that indicates which edges lie on the polygon
+ /// boundary. If the flag is , then
+ /// each vertex that follows begins an edge that lies on the
+ /// polygon boundary, that is, an edge that separates an interior
+ /// region from an exterior one. If the flag is
+ /// , then each vertex that follows
+ /// begins an edge that lies in the polygon interior. The edge
+ /// flag callback (if defined) is invoked before the first
+ /// vertex callback.
+ ///
+ ///
+ /// Since triangle fans and triangle strips do not support edge
+ /// flags, the begin callback is not called with
+ /// or
+ /// if a non-NULL edge flag
+ /// callback is provided. (If the callback is initialized to
+ /// null, there is no impact on performance). Instead,
+ /// the fans and strips are converted to independent triangles.
+ /// The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The end callback serves the same purpose as
+ /// . It indicates the end of a primitive and
+ /// it takes no arguments. The delegate prototype for this callback
+ /// is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except that
+ /// it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The error callback is called when an error is encountered.
+ /// The one argument is of type ; it
+ /// indicates the specific error that occurred and will be set to
+ /// one of ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// . Character strings
+ /// describing these errors can be retrieved with the
+ /// call. The delegate prototype
+ /// for this callback is .
+ ///
+ ///
+ /// The GLU library will recover from the first four errors by
+ /// inserting the missing call(s).
+ /// indicates that some
+ /// vertex coordinate exceeded the predefined constant
+ /// in absolute value, and that
+ /// the value has been clamped. (Coordinate values must be small
+ /// enough so that two can be multiplied together without
+ /// overflow.)
+ /// indicates that the tessellation detected an intersection
+ /// between two edges in the input data, and the
+ /// or
+ /// callback was not
+ /// provided. No output is generated.
+ /// indicates that there is not
+ /// enough memory so no output is generated.
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The vertex callback is invoked between the begin and end
+ /// callbacks. It is similar to Gl.glVertex*, and it defines the
+ /// vertices of the triangles created by the tessellation process.
+ /// The function takes a pointer as its only argument. This pointer
+ /// is identical to the opaque pointer provided by the user when the
+ /// vertex was described (see ). The
+ /// delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The function to be called.
+ ///
+ ///
+ ///
+ /// gluTessCallback is used to indicate a callback to be used by a
+ /// tessellation object. If the specified callback is already defined, then it
+ /// is replaced. If func is null, then the existing callback
+ /// becomes undefined.
+ ///
+ ///
+ /// These callbacks are used by the tessellation object to describe how a polygon
+ /// specified by the user is broken into triangles. Note that there are two
+ /// versions of each callback: one with user-specified polygon data and one
+ /// without. If both versions of a particular callback are specified, then the
+ /// callback with user-specified polygon data will be used. Note that the
+ /// polygonData parameter used by some of the functions is a copy of the
+ /// pointer that was specified when was
+ /// called.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// You can directly render tessallated polygons as follows:
+ ///
+ ///
+ ///
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_BEGIN, new Glu.TessBeginCallback(Gl.glBegin));
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_VERTEX, new Glu.TessVertexCallback(Gl.glVertex3dv));
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_END, new Glu.TessEndCallback(Gl.glEnd));
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v, v);
+ /// . . .
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessCallback(GLUtesselator *tess, GLenum which, void (CALLBACK *fn)());
+ public static void gluTessCallback([In] GLUtesselator tess, int which, [In] TessEndCallback func)
+ {
+ tessEndCallback = func;
+ __gluTessCallback(tess, which, tessEndCallback);
+ }
+ #endregion gluTessCallback([In] GLUtesselator tess, int which, [In] TessEndCallback func)
+
+ #region gluTessCallback([In] GLUtesselator tess, int which, [In] TessEndDataCallback func)
+ ///
+ /// Defines a callback for a tessellation object.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ ///
+ /// The callback being defined. The following values are valid:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// The begin callback is invoked like to
+ /// indicate the start of a (triangle) primitive. The function takes
+ /// a single argument of type . If the
+ /// property is set to
+ /// , then the argument is set to either
+ /// ,
+ /// , or
+ /// . If the
+ /// property is set to
+ /// , then the argument will be set to
+ /// . The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The combine callback is called to create a new vertex when
+ /// the tessellation detects an intersection, or wishes to merge
+ /// features. The function takes four arguments: an array of
+ /// three elements each of type , an
+ /// array of four pointers, an array of four elements each of
+ /// type , and a pointer to a pointer. The
+ /// delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// The vertex is defined as a linear combination of up to four
+ /// existing vertices, stored in vertexData. The
+ /// coefficients of the linear combination are given by
+ /// weight; these weights always add up to 1. All
+ /// vertex pointers are valid even when some of the weights are
+ /// 0. coordinates gives the location of the new vertex.
+ ///
+ ///
+ /// The user must allocate another vertex, interpolate parameters
+ /// using vertexData and weight, and return the new
+ /// vertex pointer in outData. This handle is supplied
+ /// during rendering callbacks. The user is responsible for
+ /// freeing the memory some time after
+ /// is called.
+ ///
+ ///
+ /// For example, if the polygon lies in an arbitrary plane in
+ /// 3-space, and a color is associated with each vertex, the
+ /// GLU_TESS_COMBINE callback might look like this:
+ ///
+ ///
+ ///
+ /// void myCombine(GLdouble coords[3], VERTEX *d[4], GLfloat w[4], VERTEX **dataOut) {
+ /// VERTEX *newVertex = new_vertex();
+ /// newVertex->x = coords[0];
+ /// newVertex->y = coords[1];
+ /// newVertex->z = coords[2];
+ /// newVertex->r = w[0]*d[0]->r + w[1]*d[1]->r + w[2]*d[2]->r +
+ /// w[3]*d[3]->r;
+ /// newVertex->g = w[0]*d[0]->g + w[1]*d[1]->g + w[2]*d[2]->g +
+ /// w[3]*d[3]->g;
+ /// newVertex->b = w[0]*d[0]->b + w[1]*d[1]->b + w[2]*d[2]->b +
+ /// w[3]*d[3]->b;
+ /// newVertex->a = w[0]*d[0]->a + w[1]*d[1]->a + w[2]*d[2]->a +
+ /// w[3]*d[3]->a;
+ /// *dataOut = newVertex;
+ /// }
+ ///
+ ///
+ ///
+ /// If the tessellation detects an intersection, then the
+ /// GLU_TESS_COMBINE or
+ /// callback (see below)
+ /// must be defined, and it must write a non-NULL pointer into
+ /// outData. Otherwise the
+ /// error occurs,
+ /// and no output is generated.
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The edge flag callback is similar to
+ /// . The function takes a single
+ /// boolean flag that indicates which edges lie on the polygon
+ /// boundary. If the flag is , then
+ /// each vertex that follows begins an edge that lies on the
+ /// polygon boundary, that is, an edge that separates an interior
+ /// region from an exterior one. If the flag is
+ /// , then each vertex that follows
+ /// begins an edge that lies in the polygon interior. The edge
+ /// flag callback (if defined) is invoked before the first
+ /// vertex callback.
+ ///
+ ///
+ /// Since triangle fans and triangle strips do not support edge
+ /// flags, the begin callback is not called with
+ /// or
+ /// if a non-NULL edge flag
+ /// callback is provided. (If the callback is initialized to
+ /// null, there is no impact on performance). Instead,
+ /// the fans and strips are converted to independent triangles.
+ /// The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The end callback serves the same purpose as
+ /// . It indicates the end of a primitive and
+ /// it takes no arguments. The delegate prototype for this callback
+ /// is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except that
+ /// it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The error callback is called when an error is encountered.
+ /// The one argument is of type ; it
+ /// indicates the specific error that occurred and will be set to
+ /// one of ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// . Character strings
+ /// describing these errors can be retrieved with the
+ /// call. The delegate prototype
+ /// for this callback is .
+ ///
+ ///
+ /// The GLU library will recover from the first four errors by
+ /// inserting the missing call(s).
+ /// indicates that some
+ /// vertex coordinate exceeded the predefined constant
+ /// in absolute value, and that
+ /// the value has been clamped. (Coordinate values must be small
+ /// enough so that two can be multiplied together without
+ /// overflow.)
+ /// indicates that the tessellation detected an intersection
+ /// between two edges in the input data, and the
+ /// or
+ /// callback was not
+ /// provided. No output is generated.
+ /// indicates that there is not
+ /// enough memory so no output is generated.
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The vertex callback is invoked between the begin and end
+ /// callbacks. It is similar to Gl.glVertex*, and it defines the
+ /// vertices of the triangles created by the tessellation process.
+ /// The function takes a pointer as its only argument. This pointer
+ /// is identical to the opaque pointer provided by the user when the
+ /// vertex was described (see ). The
+ /// delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The function to be called.
+ ///
+ ///
+ ///
+ /// gluTessCallback is used to indicate a callback to be used by a
+ /// tessellation object. If the specified callback is already defined, then it
+ /// is replaced. If func is null, then the existing callback
+ /// becomes undefined.
+ ///
+ ///
+ /// These callbacks are used by the tessellation object to describe how a polygon
+ /// specified by the user is broken into triangles. Note that there are two
+ /// versions of each callback: one with user-specified polygon data and one
+ /// without. If both versions of a particular callback are specified, then the
+ /// callback with user-specified polygon data will be used. Note that the
+ /// polygonData parameter used by some of the functions is a copy of the
+ /// pointer that was specified when was
+ /// called.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// You can directly render tessallated polygons as follows:
+ ///
+ ///
+ ///
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_BEGIN, new Glu.TessBeginCallback(Gl.glBegin));
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_VERTEX, new Glu.TessVertexCallback(Gl.glVertex3dv));
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_END, new Glu.TessEndCallback(Gl.glEnd));
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v, v);
+ /// . . .
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessCallback(GLUtesselator *tess, GLenum which, void (CALLBACK *fn)());
+ public static void gluTessCallback([In] GLUtesselator tess, int which, [In] TessEndDataCallback func)
+ {
+ tessEndDataCallback = func;
+ __gluTessCallback(tess, which, tessEndDataCallback);
+ }
+ #endregion gluTessCallback([In] GLUtesselator tess, int which, [In] TessEndDataCallback func)
+
+ #region gluTessCallback([In] GLUtesselator tess, int which, [In] TessErrorCallback func)
+ ///
+ /// Defines a callback for a tessellation object.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ ///
+ /// The callback being defined. The following values are valid:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// The begin callback is invoked like to
+ /// indicate the start of a (triangle) primitive. The function takes
+ /// a single argument of type . If the
+ /// property is set to
+ /// , then the argument is set to either
+ /// ,
+ /// , or
+ /// . If the
+ /// property is set to
+ /// , then the argument will be set to
+ /// . The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The combine callback is called to create a new vertex when
+ /// the tessellation detects an intersection, or wishes to merge
+ /// features. The function takes four arguments: an array of
+ /// three elements each of type , an
+ /// array of four pointers, an array of four elements each of
+ /// type , and a pointer to a pointer. The
+ /// delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// The vertex is defined as a linear combination of up to four
+ /// existing vertices, stored in vertexData. The
+ /// coefficients of the linear combination are given by
+ /// weight; these weights always add up to 1. All
+ /// vertex pointers are valid even when some of the weights are
+ /// 0. coordinates gives the location of the new vertex.
+ ///
+ ///
+ /// The user must allocate another vertex, interpolate parameters
+ /// using vertexData and weight, and return the new
+ /// vertex pointer in outData. This handle is supplied
+ /// during rendering callbacks. The user is responsible for
+ /// freeing the memory some time after
+ /// is called.
+ ///
+ ///
+ /// For example, if the polygon lies in an arbitrary plane in
+ /// 3-space, and a color is associated with each vertex, the
+ /// GLU_TESS_COMBINE callback might look like this:
+ ///
+ ///
+ ///
+ /// void myCombine(GLdouble coords[3], VERTEX *d[4], GLfloat w[4], VERTEX **dataOut) {
+ /// VERTEX *newVertex = new_vertex();
+ /// newVertex->x = coords[0];
+ /// newVertex->y = coords[1];
+ /// newVertex->z = coords[2];
+ /// newVertex->r = w[0]*d[0]->r + w[1]*d[1]->r + w[2]*d[2]->r +
+ /// w[3]*d[3]->r;
+ /// newVertex->g = w[0]*d[0]->g + w[1]*d[1]->g + w[2]*d[2]->g +
+ /// w[3]*d[3]->g;
+ /// newVertex->b = w[0]*d[0]->b + w[1]*d[1]->b + w[2]*d[2]->b +
+ /// w[3]*d[3]->b;
+ /// newVertex->a = w[0]*d[0]->a + w[1]*d[1]->a + w[2]*d[2]->a +
+ /// w[3]*d[3]->a;
+ /// *dataOut = newVertex;
+ /// }
+ ///
+ ///
+ ///
+ /// If the tessellation detects an intersection, then the
+ /// GLU_TESS_COMBINE or
+ /// callback (see below)
+ /// must be defined, and it must write a non-NULL pointer into
+ /// outData. Otherwise the
+ /// error occurs,
+ /// and no output is generated.
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The edge flag callback is similar to
+ /// . The function takes a single
+ /// boolean flag that indicates which edges lie on the polygon
+ /// boundary. If the flag is , then
+ /// each vertex that follows begins an edge that lies on the
+ /// polygon boundary, that is, an edge that separates an interior
+ /// region from an exterior one. If the flag is
+ /// , then each vertex that follows
+ /// begins an edge that lies in the polygon interior. The edge
+ /// flag callback (if defined) is invoked before the first
+ /// vertex callback.
+ ///
+ ///
+ /// Since triangle fans and triangle strips do not support edge
+ /// flags, the begin callback is not called with
+ /// or
+ /// if a non-NULL edge flag
+ /// callback is provided. (If the callback is initialized to
+ /// null, there is no impact on performance). Instead,
+ /// the fans and strips are converted to independent triangles.
+ /// The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The end callback serves the same purpose as
+ /// . It indicates the end of a primitive and
+ /// it takes no arguments. The delegate prototype for this callback
+ /// is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except that
+ /// it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The error callback is called when an error is encountered.
+ /// The one argument is of type ; it
+ /// indicates the specific error that occurred and will be set to
+ /// one of ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// . Character strings
+ /// describing these errors can be retrieved with the
+ /// call. The delegate prototype
+ /// for this callback is .
+ ///
+ ///
+ /// The GLU library will recover from the first four errors by
+ /// inserting the missing call(s).
+ /// indicates that some
+ /// vertex coordinate exceeded the predefined constant
+ /// in absolute value, and that
+ /// the value has been clamped. (Coordinate values must be small
+ /// enough so that two can be multiplied together without
+ /// overflow.)
+ /// indicates that the tessellation detected an intersection
+ /// between two edges in the input data, and the
+ /// or
+ /// callback was not
+ /// provided. No output is generated.
+ /// indicates that there is not
+ /// enough memory so no output is generated.
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The vertex callback is invoked between the begin and end
+ /// callbacks. It is similar to Gl.glVertex*, and it defines the
+ /// vertices of the triangles created by the tessellation process.
+ /// The function takes a pointer as its only argument. This pointer
+ /// is identical to the opaque pointer provided by the user when the
+ /// vertex was described (see ). The
+ /// delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The function to be called.
+ ///
+ ///
+ ///
+ /// gluTessCallback is used to indicate a callback to be used by a
+ /// tessellation object. If the specified callback is already defined, then it
+ /// is replaced. If func is null, then the existing callback
+ /// becomes undefined.
+ ///
+ ///
+ /// These callbacks are used by the tessellation object to describe how a polygon
+ /// specified by the user is broken into triangles. Note that there are two
+ /// versions of each callback: one with user-specified polygon data and one
+ /// without. If both versions of a particular callback are specified, then the
+ /// callback with user-specified polygon data will be used. Note that the
+ /// polygonData parameter used by some of the functions is a copy of the
+ /// pointer that was specified when was
+ /// called.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// You can directly render tessallated polygons as follows:
+ ///
+ ///
+ ///
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_BEGIN, new Glu.TessBeginCallback(Gl.glBegin));
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_VERTEX, new Glu.TessVertexCallback(Gl.glVertex3dv));
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_END, new Glu.TessEndCallback(Gl.glEnd));
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v, v);
+ /// . . .
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessCallback(GLUtesselator *tess, GLenum which, void (CALLBACK *fn)());
+ public static void gluTessCallback([In] GLUtesselator tess, int which, [In] TessErrorCallback func)
+ {
+ tessErrorCallback = func;
+ __gluTessCallback(tess, which, tessErrorCallback);
+ }
+ #endregion gluTessCallback([In] GLUtesselator tess, int which, [In] TessErrorCallback func)
+
+ #region gluTessCallback([In] GLUtesselator tess, int which, [In] TessErrorDataCallback func)
+ ///
+ /// Defines a callback for a tessellation object.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ ///
+ /// The callback being defined. The following values are valid:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// The begin callback is invoked like to
+ /// indicate the start of a (triangle) primitive. The function takes
+ /// a single argument of type . If the
+ /// property is set to
+ /// , then the argument is set to either
+ /// ,
+ /// , or
+ /// . If the
+ /// property is set to
+ /// , then the argument will be set to
+ /// . The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The combine callback is called to create a new vertex when
+ /// the tessellation detects an intersection, or wishes to merge
+ /// features. The function takes four arguments: an array of
+ /// three elements each of type , an
+ /// array of four pointers, an array of four elements each of
+ /// type , and a pointer to a pointer. The
+ /// delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// The vertex is defined as a linear combination of up to four
+ /// existing vertices, stored in vertexData. The
+ /// coefficients of the linear combination are given by
+ /// weight; these weights always add up to 1. All
+ /// vertex pointers are valid even when some of the weights are
+ /// 0. coordinates gives the location of the new vertex.
+ ///
+ ///
+ /// The user must allocate another vertex, interpolate parameters
+ /// using vertexData and weight, and return the new
+ /// vertex pointer in outData. This handle is supplied
+ /// during rendering callbacks. The user is responsible for
+ /// freeing the memory some time after
+ /// is called.
+ ///
+ ///
+ /// For example, if the polygon lies in an arbitrary plane in
+ /// 3-space, and a color is associated with each vertex, the
+ /// GLU_TESS_COMBINE callback might look like this:
+ ///
+ ///
+ ///
+ /// void myCombine(GLdouble coords[3], VERTEX *d[4], GLfloat w[4], VERTEX **dataOut) {
+ /// VERTEX *newVertex = new_vertex();
+ /// newVertex->x = coords[0];
+ /// newVertex->y = coords[1];
+ /// newVertex->z = coords[2];
+ /// newVertex->r = w[0]*d[0]->r + w[1]*d[1]->r + w[2]*d[2]->r +
+ /// w[3]*d[3]->r;
+ /// newVertex->g = w[0]*d[0]->g + w[1]*d[1]->g + w[2]*d[2]->g +
+ /// w[3]*d[3]->g;
+ /// newVertex->b = w[0]*d[0]->b + w[1]*d[1]->b + w[2]*d[2]->b +
+ /// w[3]*d[3]->b;
+ /// newVertex->a = w[0]*d[0]->a + w[1]*d[1]->a + w[2]*d[2]->a +
+ /// w[3]*d[3]->a;
+ /// *dataOut = newVertex;
+ /// }
+ ///
+ ///
+ ///
+ /// If the tessellation detects an intersection, then the
+ /// GLU_TESS_COMBINE or
+ /// callback (see below)
+ /// must be defined, and it must write a non-NULL pointer into
+ /// outData. Otherwise the
+ /// error occurs,
+ /// and no output is generated.
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The edge flag callback is similar to
+ /// . The function takes a single
+ /// boolean flag that indicates which edges lie on the polygon
+ /// boundary. If the flag is , then
+ /// each vertex that follows begins an edge that lies on the
+ /// polygon boundary, that is, an edge that separates an interior
+ /// region from an exterior one. If the flag is
+ /// , then each vertex that follows
+ /// begins an edge that lies in the polygon interior. The edge
+ /// flag callback (if defined) is invoked before the first
+ /// vertex callback.
+ ///
+ ///
+ /// Since triangle fans and triangle strips do not support edge
+ /// flags, the begin callback is not called with
+ /// or
+ /// if a non-NULL edge flag
+ /// callback is provided. (If the callback is initialized to
+ /// null, there is no impact on performance). Instead,
+ /// the fans and strips are converted to independent triangles.
+ /// The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The end callback serves the same purpose as
+ /// . It indicates the end of a primitive and
+ /// it takes no arguments. The delegate prototype for this callback
+ /// is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except that
+ /// it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The error callback is called when an error is encountered.
+ /// The one argument is of type ; it
+ /// indicates the specific error that occurred and will be set to
+ /// one of ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// . Character strings
+ /// describing these errors can be retrieved with the
+ /// call. The delegate prototype
+ /// for this callback is .
+ ///
+ ///
+ /// The GLU library will recover from the first four errors by
+ /// inserting the missing call(s).
+ /// indicates that some
+ /// vertex coordinate exceeded the predefined constant
+ /// in absolute value, and that
+ /// the value has been clamped. (Coordinate values must be small
+ /// enough so that two can be multiplied together without
+ /// overflow.)
+ /// indicates that the tessellation detected an intersection
+ /// between two edges in the input data, and the
+ /// or
+ /// callback was not
+ /// provided. No output is generated.
+ /// indicates that there is not
+ /// enough memory so no output is generated.
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The vertex callback is invoked between the begin and end
+ /// callbacks. It is similar to Gl.glVertex*, and it defines the
+ /// vertices of the triangles created by the tessellation process.
+ /// The function takes a pointer as its only argument. This pointer
+ /// is identical to the opaque pointer provided by the user when the
+ /// vertex was described (see ). The
+ /// delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The function to be called.
+ ///
+ ///
+ ///
+ /// gluTessCallback is used to indicate a callback to be used by a
+ /// tessellation object. If the specified callback is already defined, then it
+ /// is replaced. If func is null, then the existing callback
+ /// becomes undefined.
+ ///
+ ///
+ /// These callbacks are used by the tessellation object to describe how a polygon
+ /// specified by the user is broken into triangles. Note that there are two
+ /// versions of each callback: one with user-specified polygon data and one
+ /// without. If both versions of a particular callback are specified, then the
+ /// callback with user-specified polygon data will be used. Note that the
+ /// polygonData parameter used by some of the functions is a copy of the
+ /// pointer that was specified when was
+ /// called.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// You can directly render tessallated polygons as follows:
+ ///
+ ///
+ ///
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_BEGIN, new Glu.TessBeginCallback(Gl.glBegin));
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_VERTEX, new Glu.TessVertexCallback(Gl.glVertex3dv));
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_END, new Glu.TessEndCallback(Gl.glEnd));
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v, v);
+ /// . . .
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessCallback(GLUtesselator *tess, GLenum which, void (CALLBACK *fn)());
+ public static void gluTessCallback([In] GLUtesselator tess, int which, [In] TessErrorDataCallback func)
+ {
+ tessErrorDataCallback = func;
+ __gluTessCallback(tess, which, tessErrorDataCallback);
+ }
+ #endregion gluTessCallback([In] GLUtesselator tess, int which, [In] TessErrorDataCallback func)
+
+ #region gluTessCallback([In] GLUtesselator tess, int which, [In] TessVertexCallback func)
+ ///
+ /// Defines a callback for a tessellation object.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ ///
+ /// The callback being defined. The following values are valid:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// The begin callback is invoked like to
+ /// indicate the start of a (triangle) primitive. The function takes
+ /// a single argument of type . If the
+ /// property is set to
+ /// , then the argument is set to either
+ /// ,
+ /// , or
+ /// . If the
+ /// property is set to
+ /// , then the argument will be set to
+ /// . The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The combine callback is called to create a new vertex when
+ /// the tessellation detects an intersection, or wishes to merge
+ /// features. The function takes four arguments: an array of
+ /// three elements each of type , an
+ /// array of four pointers, an array of four elements each of
+ /// type , and a pointer to a pointer. The
+ /// delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// The vertex is defined as a linear combination of up to four
+ /// existing vertices, stored in vertexData. The
+ /// coefficients of the linear combination are given by
+ /// weight; these weights always add up to 1. All
+ /// vertex pointers are valid even when some of the weights are
+ /// 0. coordinates gives the location of the new vertex.
+ ///
+ ///
+ /// The user must allocate another vertex, interpolate parameters
+ /// using vertexData and weight, and return the new
+ /// vertex pointer in outData. This handle is supplied
+ /// during rendering callbacks. The user is responsible for
+ /// freeing the memory some time after
+ /// is called.
+ ///
+ ///
+ /// For example, if the polygon lies in an arbitrary plane in
+ /// 3-space, and a color is associated with each vertex, the
+ /// GLU_TESS_COMBINE callback might look like this:
+ ///
+ ///
+ ///
+ /// void myCombine(GLdouble coords[3], VERTEX *d[4], GLfloat w[4], VERTEX **dataOut) {
+ /// VERTEX *newVertex = new_vertex();
+ /// newVertex->x = coords[0];
+ /// newVertex->y = coords[1];
+ /// newVertex->z = coords[2];
+ /// newVertex->r = w[0]*d[0]->r + w[1]*d[1]->r + w[2]*d[2]->r +
+ /// w[3]*d[3]->r;
+ /// newVertex->g = w[0]*d[0]->g + w[1]*d[1]->g + w[2]*d[2]->g +
+ /// w[3]*d[3]->g;
+ /// newVertex->b = w[0]*d[0]->b + w[1]*d[1]->b + w[2]*d[2]->b +
+ /// w[3]*d[3]->b;
+ /// newVertex->a = w[0]*d[0]->a + w[1]*d[1]->a + w[2]*d[2]->a +
+ /// w[3]*d[3]->a;
+ /// *dataOut = newVertex;
+ /// }
+ ///
+ ///
+ ///
+ /// If the tessellation detects an intersection, then the
+ /// GLU_TESS_COMBINE or
+ /// callback (see below)
+ /// must be defined, and it must write a non-NULL pointer into
+ /// outData. Otherwise the
+ /// error occurs,
+ /// and no output is generated.
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The edge flag callback is similar to
+ /// . The function takes a single
+ /// boolean flag that indicates which edges lie on the polygon
+ /// boundary. If the flag is , then
+ /// each vertex that follows begins an edge that lies on the
+ /// polygon boundary, that is, an edge that separates an interior
+ /// region from an exterior one. If the flag is
+ /// , then each vertex that follows
+ /// begins an edge that lies in the polygon interior. The edge
+ /// flag callback (if defined) is invoked before the first
+ /// vertex callback.
+ ///
+ ///
+ /// Since triangle fans and triangle strips do not support edge
+ /// flags, the begin callback is not called with
+ /// or
+ /// if a non-NULL edge flag
+ /// callback is provided. (If the callback is initialized to
+ /// null, there is no impact on performance). Instead,
+ /// the fans and strips are converted to independent triangles.
+ /// The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The end callback serves the same purpose as
+ /// . It indicates the end of a primitive and
+ /// it takes no arguments. The delegate prototype for this callback
+ /// is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except that
+ /// it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The error callback is called when an error is encountered.
+ /// The one argument is of type ; it
+ /// indicates the specific error that occurred and will be set to
+ /// one of ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// . Character strings
+ /// describing these errors can be retrieved with the
+ /// call. The delegate prototype
+ /// for this callback is .
+ ///
+ ///
+ /// The GLU library will recover from the first four errors by
+ /// inserting the missing call(s).
+ /// indicates that some
+ /// vertex coordinate exceeded the predefined constant
+ /// in absolute value, and that
+ /// the value has been clamped. (Coordinate values must be small
+ /// enough so that two can be multiplied together without
+ /// overflow.)
+ /// indicates that the tessellation detected an intersection
+ /// between two edges in the input data, and the
+ /// or
+ /// callback was not
+ /// provided. No output is generated.
+ /// indicates that there is not
+ /// enough memory so no output is generated.
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The vertex callback is invoked between the begin and end
+ /// callbacks. It is similar to Gl.glVertex*, and it defines the
+ /// vertices of the triangles created by the tessellation process.
+ /// The function takes a pointer as its only argument. This pointer
+ /// is identical to the opaque pointer provided by the user when the
+ /// vertex was described (see ). The
+ /// delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The function to be called.
+ ///
+ ///
+ ///
+ /// gluTessCallback is used to indicate a callback to be used by a
+ /// tessellation object. If the specified callback is already defined, then it
+ /// is replaced. If func is null, then the existing callback
+ /// becomes undefined.
+ ///
+ ///
+ /// These callbacks are used by the tessellation object to describe how a polygon
+ /// specified by the user is broken into triangles. Note that there are two
+ /// versions of each callback: one with user-specified polygon data and one
+ /// without. If both versions of a particular callback are specified, then the
+ /// callback with user-specified polygon data will be used. Note that the
+ /// polygonData parameter used by some of the functions is a copy of the
+ /// pointer that was specified when was
+ /// called.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// You can directly render tessallated polygons as follows:
+ ///
+ ///
+ ///
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_BEGIN, new Glu.TessBeginCallback(Gl.glBegin));
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_VERTEX, new Glu.TessVertexCallback(Gl.glVertex3dv));
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_END, new Glu.TessEndCallback(Gl.glEnd));
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v, v);
+ /// . . .
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessCallback(GLUtesselator *tess, GLenum which, void (CALLBACK *fn)());
+ public static void gluTessCallback([In] GLUtesselator tess, int which, [In] TessVertexCallback func)
+ {
+ tessVertexCallback = func;
+ __gluTessCallback(tess, which, tessVertexCallback);
+ }
+ #endregion gluTessCallback([In] GLUtesselator tess, int which, [In] TessVertexCallback func)
+
+ #region gluTessCallback([In] GLUtesselator tess, int which, [In] TessVertexCallback1 func)
+ ///
+ /// Defines a callback for a tessellation object.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ ///
+ /// The callback being defined. The following values are valid:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// The begin callback is invoked like to
+ /// indicate the start of a (triangle) primitive. The function takes
+ /// a single argument of type . If the
+ /// property is set to
+ /// , then the argument is set to either
+ /// ,
+ /// , or
+ /// . If the
+ /// property is set to
+ /// , then the argument will be set to
+ /// . The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The combine callback is called to create a new vertex when
+ /// the tessellation detects an intersection, or wishes to merge
+ /// features. The function takes four arguments: an array of
+ /// three elements each of type , an
+ /// array of four pointers, an array of four elements each of
+ /// type , and a pointer to a pointer. The
+ /// delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// The vertex is defined as a linear combination of up to four
+ /// existing vertices, stored in vertexData. The
+ /// coefficients of the linear combination are given by
+ /// weight; these weights always add up to 1. All
+ /// vertex pointers are valid even when some of the weights are
+ /// 0. coordinates gives the location of the new vertex.
+ ///
+ ///
+ /// The user must allocate another vertex, interpolate parameters
+ /// using vertexData and weight, and return the new
+ /// vertex pointer in outData. This handle is supplied
+ /// during rendering callbacks. The user is responsible for
+ /// freeing the memory some time after
+ /// is called.
+ ///
+ ///
+ /// For example, if the polygon lies in an arbitrary plane in
+ /// 3-space, and a color is associated with each vertex, the
+ /// GLU_TESS_COMBINE callback might look like this:
+ ///
+ ///
+ ///
+ /// void myCombine(GLdouble coords[3], VERTEX *d[4], GLfloat w[4], VERTEX **dataOut) {
+ /// VERTEX *newVertex = new_vertex();
+ /// newVertex->x = coords[0];
+ /// newVertex->y = coords[1];
+ /// newVertex->z = coords[2];
+ /// newVertex->r = w[0]*d[0]->r + w[1]*d[1]->r + w[2]*d[2]->r +
+ /// w[3]*d[3]->r;
+ /// newVertex->g = w[0]*d[0]->g + w[1]*d[1]->g + w[2]*d[2]->g +
+ /// w[3]*d[3]->g;
+ /// newVertex->b = w[0]*d[0]->b + w[1]*d[1]->b + w[2]*d[2]->b +
+ /// w[3]*d[3]->b;
+ /// newVertex->a = w[0]*d[0]->a + w[1]*d[1]->a + w[2]*d[2]->a +
+ /// w[3]*d[3]->a;
+ /// *dataOut = newVertex;
+ /// }
+ ///
+ ///
+ ///
+ /// If the tessellation detects an intersection, then the
+ /// GLU_TESS_COMBINE or
+ /// callback (see below)
+ /// must be defined, and it must write a non-NULL pointer into
+ /// outData. Otherwise the
+ /// error occurs,
+ /// and no output is generated.
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The edge flag callback is similar to
+ /// . The function takes a single
+ /// boolean flag that indicates which edges lie on the polygon
+ /// boundary. If the flag is , then
+ /// each vertex that follows begins an edge that lies on the
+ /// polygon boundary, that is, an edge that separates an interior
+ /// region from an exterior one. If the flag is
+ /// , then each vertex that follows
+ /// begins an edge that lies in the polygon interior. The edge
+ /// flag callback (if defined) is invoked before the first
+ /// vertex callback.
+ ///
+ ///
+ /// Since triangle fans and triangle strips do not support edge
+ /// flags, the begin callback is not called with
+ /// or
+ /// if a non-NULL edge flag
+ /// callback is provided. (If the callback is initialized to
+ /// null, there is no impact on performance). Instead,
+ /// the fans and strips are converted to independent triangles.
+ /// The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The end callback serves the same purpose as
+ /// . It indicates the end of a primitive and
+ /// it takes no arguments. The delegate prototype for this callback
+ /// is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except that
+ /// it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The error callback is called when an error is encountered.
+ /// The one argument is of type ; it
+ /// indicates the specific error that occurred and will be set to
+ /// one of ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// . Character strings
+ /// describing these errors can be retrieved with the
+ /// call. The delegate prototype
+ /// for this callback is .
+ ///
+ ///
+ /// The GLU library will recover from the first four errors by
+ /// inserting the missing call(s).
+ /// indicates that some
+ /// vertex coordinate exceeded the predefined constant
+ /// in absolute value, and that
+ /// the value has been clamped. (Coordinate values must be small
+ /// enough so that two can be multiplied together without
+ /// overflow.)
+ /// indicates that the tessellation detected an intersection
+ /// between two edges in the input data, and the
+ /// or
+ /// callback was not
+ /// provided. No output is generated.
+ /// indicates that there is not
+ /// enough memory so no output is generated.
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The vertex callback is invoked between the begin and end
+ /// callbacks. It is similar to Gl.glVertex*, and it defines the
+ /// vertices of the triangles created by the tessellation process.
+ /// The function takes a pointer as its only argument. This pointer
+ /// is identical to the opaque pointer provided by the user when the
+ /// vertex was described (see ). The
+ /// delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The function to be called.
+ ///
+ ///
+ ///
+ /// gluTessCallback is used to indicate a callback to be used by a
+ /// tessellation object. If the specified callback is already defined, then it
+ /// is replaced. If func is null, then the existing callback
+ /// becomes undefined.
+ ///
+ ///
+ /// These callbacks are used by the tessellation object to describe how a polygon
+ /// specified by the user is broken into triangles. Note that there are two
+ /// versions of each callback: one with user-specified polygon data and one
+ /// without. If both versions of a particular callback are specified, then the
+ /// callback with user-specified polygon data will be used. Note that the
+ /// polygonData parameter used by some of the functions is a copy of the
+ /// pointer that was specified when was
+ /// called.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// You can directly render tessallated polygons as follows:
+ ///
+ ///
+ ///
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_BEGIN, new Glu.TessBeginCallback(Gl.glBegin));
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_VERTEX, new Glu.TessVertexCallback(Gl.glVertex3dv));
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_END, new Glu.TessEndCallback(Gl.glEnd));
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v, v);
+ /// . . .
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessCallback(GLUtesselator *tess, GLenum which, void (CALLBACK *fn)());
+ public static void gluTessCallback([In] GLUtesselator tess, int which, [In] TessVertexCallback1 func)
+ {
+ tessVertexCallback1 = func;
+ __gluTessCallback(tess, which, tessVertexCallback1);
+ }
+ #endregion gluTessCallback([In] GLUtesselator tess, int which, [In] TessVertexCallback1 func)
+
+ #region gluTessCallback([In] GLUtesselator tess, int which, [In] TessVertexDataCallback func)
+ ///
+ /// Defines a callback for a tessellation object.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ ///
+ /// The callback being defined. The following values are valid:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ /// The begin callback is invoked like to
+ /// indicate the start of a (triangle) primitive. The function takes
+ /// a single argument of type . If the
+ /// property is set to
+ /// , then the argument is set to either
+ /// ,
+ /// , or
+ /// . If the
+ /// property is set to
+ /// , then the argument will be set to
+ /// . The delegate prototype for this
+ /// callback is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The combine callback is called to create a new vertex when
+ /// the tessellation detects an intersection, or wishes to merge
+ /// features. The function takes four arguments: an array of
+ /// three elements each of type , an
+ /// array of four pointers, an array of four elements each of
+ /// type , and a pointer to a pointer. The
+ /// delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// The vertex is defined as a linear combination of up to four
+ /// existing vertices, stored in vertexData. The
+ /// coefficients of the linear combination are given by
+ /// weight; these weights always add up to 1. All
+ /// vertex pointers are valid even when some of the weights are
+ /// 0. coordinates gives the location of the new vertex.
+ ///
+ ///
+ /// The user must allocate another vertex, interpolate parameters
+ /// using vertexData and weight, and return the new
+ /// vertex pointer in outData. This handle is supplied
+ /// during rendering callbacks. The user is responsible for
+ /// freeing the memory some time after
+ /// is called.
+ ///
+ ///
+ /// For example, if the polygon lies in an arbitrary plane in
+ /// 3-space, and a color is associated with each vertex, the
+ /// GLU_TESS_COMBINE callback might look like this:
+ ///
+ ///
+ ///
+ /// void myCombine(GLdouble coords[3], VERTEX *d[4], GLfloat w[4], VERTEX **dataOut) {
+ /// VERTEX *newVertex = new_vertex();
+ /// newVertex->x = coords[0];
+ /// newVertex->y = coords[1];
+ /// newVertex->z = coords[2];
+ /// newVertex->r = w[0]*d[0]->r + w[1]*d[1]->r + w[2]*d[2]->r +
+ /// w[3]*d[3]->r;
+ /// newVertex->g = w[0]*d[0]->g + w[1]*d[1]->g + w[2]*d[2]->g +
+ /// w[3]*d[3]->g;
+ /// newVertex->b = w[0]*d[0]->b + w[1]*d[1]->b + w[2]*d[2]->b +
+ /// w[3]*d[3]->b;
+ /// newVertex->a = w[0]*d[0]->a + w[1]*d[1]->a + w[2]*d[2]->a +
+ /// w[3]*d[3]->a;
+ /// *dataOut = newVertex;
+ /// }
+ ///
+ ///
+ ///
+ /// If the tessellation detects an intersection, then the
+ /// GLU_TESS_COMBINE or
+ /// callback (see below)
+ /// must be defined, and it must write a non-NULL pointer into
+ /// outData. Otherwise the
+ /// error occurs,
+ /// and no output is generated.
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The edge flag callback is similar to
+ /// . The function takes a single
+ /// boolean flag that indicates which edges lie on the polygon
+ /// boundary. If the flag is , then
+ /// each vertex that follows begins an edge that lies on the
+ /// polygon boundary, that is, an edge that separates an interior
+ /// region from an exterior one. If the flag is
+ /// , then each vertex that follows
+ /// begins an edge that lies in the polygon interior. The edge
+ /// flag callback (if defined) is invoked before the first
+ /// vertex callback.
+ ///
+ ///
+ /// Since triangle fans and triangle strips do not support edge
+ /// flags, the begin callback is not called with
+ /// or
+ /// if a non-NULL edge flag
+ /// callback is provided. (If the callback is initialized to
+ /// null, there is no impact on performance). Instead,
+ /// the fans and strips are converted to independent triangles.
+ /// The delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The end callback serves the same purpose as
+ /// . It indicates the end of a primitive and
+ /// it takes no arguments. The delegate prototype for this callback
+ /// is .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except that
+ /// it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// The error callback is called when an error is encountered.
+ /// The one argument is of type ; it
+ /// indicates the specific error that occurred and will be set to
+ /// one of ,
+ /// ,
+ /// ,
+ /// ,
+ /// ,
+ /// or
+ /// . Character strings
+ /// describing these errors can be retrieved with the
+ /// call. The delegate prototype
+ /// for this callback is .
+ ///
+ ///
+ /// The GLU library will recover from the first four errors by
+ /// inserting the missing call(s).
+ /// indicates that some
+ /// vertex coordinate exceeded the predefined constant
+ /// in absolute value, and that
+ /// the value has been clamped. (Coordinate values must be small
+ /// enough so that two can be multiplied together without
+ /// overflow.)
+ /// indicates that the tessellation detected an intersection
+ /// between two edges in the input data, and the
+ /// or
+ /// callback was not
+ /// provided. No output is generated.
+ /// indicates that there is not
+ /// enough memory so no output is generated.
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The vertex callback is invoked between the begin and end
+ /// callbacks. It is similar to Gl.glVertex*, and it defines the
+ /// vertices of the triangles created by the tessellation process.
+ /// The function takes a pointer as its only argument. This pointer
+ /// is identical to the opaque pointer provided by the user when the
+ /// vertex was described (see ). The
+ /// delegate prototype for this callback is
+ /// .
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// The same as the callback except
+ /// that it takes an additional pointer argument. This pointer is
+ /// identical to the opaque pointer provided when
+ /// was called. The delegate
+ /// prototype for this callback is
+ /// .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The function to be called.
+ ///
+ ///
+ ///
+ /// gluTessCallback is used to indicate a callback to be used by a
+ /// tessellation object. If the specified callback is already defined, then it
+ /// is replaced. If func is null, then the existing callback
+ /// becomes undefined.
+ ///
+ ///
+ /// These callbacks are used by the tessellation object to describe how a polygon
+ /// specified by the user is broken into triangles. Note that there are two
+ /// versions of each callback: one with user-specified polygon data and one
+ /// without. If both versions of a particular callback are specified, then the
+ /// callback with user-specified polygon data will be used. Note that the
+ /// polygonData parameter used by some of the functions is a copy of the
+ /// pointer that was specified when was
+ /// called.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// You can directly render tessallated polygons as follows:
+ ///
+ ///
+ ///
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_BEGIN, new Glu.TessBeginCallback(Gl.glBegin));
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_VERTEX, new Glu.TessVertexCallback(Gl.glVertex3dv));
+ /// Glu.gluTessCallback(tess, Glu.GLU_TESS_END, new Glu.TessEndCallback(Gl.glEnd));
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v, v);
+ /// . . .
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessCallback(GLUtesselator *tess, GLenum which, void (CALLBACK *fn)());
+ public static void gluTessCallback([In] GLUtesselator tess, int which, [In] TessVertexDataCallback func)
+ {
+ tessVertexDataCallback = func;
+ __gluTessCallback(tess, which, tessVertexDataCallback);
+ }
+ #endregion gluTessCallback([In] GLUtesselator tess, int which, [In] TessVertexDataCallback func)
+
+ #region gluTessEndContour([In] GLUtesselator tess)
+ ///
+ /// Delimits a contour description.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// and gluTessEndContour delimit the
+ /// definition of a polygon contour. Within each
+ /// /gluTessEndContour pair, there can
+ /// be zero or more calls to . The vertices specify
+ /// a closed contour (the last vertex of each contour is automatically linked to
+ /// the first). See the reference page for more
+ /// details. can only be called between
+ /// and .
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessEndContour(GLUtesselator *tess);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessEndContour([In] GLUtesselator tess);
+ #endregion gluTessEndContour([In] GLUtesselator tess)
+
+ #region gluTessEndPolygon([In] GLUtesselator tess)
+ ///
+ /// Delimits a polygon description.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ ///
+ /// and gluTessEndPolygon delimit the
+ /// definition of a convex, concave or self-intersecting polygon. Within each
+ /// /gluTessEndPolygon pair, there must
+ /// be one or more calls to
+ /// /. Within
+ /// each contour, there are zero or more calls to .
+ /// The vertices specify a closed contour (the last vertex of each contour is
+ /// automatically linked to the first). See the ,
+ /// , and
+ /// reference pages for more details.
+ ///
+ ///
+ /// Once gluTessEndPolygon is called, the polygon is tessellated,
+ /// and the resulting triangles are described through callbacks. See
+ /// for descriptions of the callback functions.
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tobj, null);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v1, v1);
+ /// Glu.gluTessVertex(tobj, v2, v2);
+ /// Glu.gluTessVertex(tobj, v3, v3);
+ /// Glu.gluTessVertex(tobj, v4, v4);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessBeginContour(tobj);
+ /// Glu.gluTessVertex(tobj, v5, v5);
+ /// Glu.gluTessVertex(tobj, v6, v6);
+ /// Glu.gluTessVertex(tobj, v7, v7);
+ /// Glu.gluTessEndContour(tobj);
+ /// Glu.gluTessEndPolygon(tobj);
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessEndPolygon(GLUtesselator *tess);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessEndPolygon([In] GLUtesselator tess);
+ #endregion gluTessEndPolygon([In] GLUtesselator tess)
+
+ #region gluTessNormal([In] GLUtesselator tess, double x, double y, double z)
+ ///
+ /// Specifies a normal for a polygon.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// The x-coordinate component of a normal.
+ ///
+ ///
+ /// The y-coordinate component of a normal.
+ ///
+ ///
+ /// The z-coordinate component of a normal.
+ ///
+ ///
+ ///
+ /// gluTessNormal describes a normal for a polygon that the program is
+ /// defining. All input data will be projected onto a plane perpendicular to one
+ /// of the three coordinate axes before tessellation and all output triangles
+ /// will be oriented CCW with respect to the normal (CW orientation can be
+ /// obtained by reversing the sign of the supplied normal). For example, if you
+ /// know that all polygons lie in the x-y plane, call
+ /// Glu.gluTessNormal(tess, 0.0, 0.0, 1.0) before rendering any polygons.
+ ///
+ ///
+ /// If the supplied normal is (0.0, 0.0, 0.0) (the initial value), the normal is
+ /// determined as follows. The direction of the normal, up to its sign, is found
+ /// by fitting a plane to the vertices, without regard to how the vertices are
+ /// connected. It is expected that the input data lies approximately in the
+ /// plane; otherwise, projection perpendicular to one of the three coordinate
+ /// axes may substantially change the geometry. The sign of the normal is chosen
+ /// so that the sum of the signed areas of all input contours is nonnegative
+ /// (where a CCW contour has positive area).
+ ///
+ ///
+ /// The supplied normal persists until it is changed by another call to
+ /// gluTessNormal.
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessNormal(GLUtesselator *tess, GLdouble x, GLdouble y, GLdouble z);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessNormal([In] GLUtesselator tess, double x, double y, double z);
+ #endregion gluTessNormal([In] GLUtesselator tess, double x, double y, double z)
+
+ #region gluTessProperty([In] GLUtesselator tess, int which, double data)
+ ///
+ /// Sets the property of a tessellation object.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ ///
+ /// The property value to set. The following values are valid:
+ ///
+ ///
+ ///
+ ///
+ /// Value
+ /// Description
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// Determines which parts of the polygon are on the "interior".
+ /// data may be set to one of
+ /// ,
+ /// ,
+ /// , or
+ /// , or
+ /// .
+ ///
+ ///
+ /// To understand how the winding rule works, consider that the
+ /// input contours partition the plane into regions. The winding
+ /// rule determines which of these regions are inside the
+ /// polygon.
+ ///
+ ///
+ /// For a single contour C, the winding number of a point x is
+ /// simply the signed number of revolutions we make around x as
+ /// we travel once around C (where CCW is positive). When there
+ /// are several contours, the individual winding numbers are
+ /// summed. This procedure associates a signed integer value
+ /// with each point x in the plane. Note that the winding number
+ /// is the same for all points in a single region.
+ ///
+ ///
+ /// The winding rule classifies a region as "inside" if its
+ /// winding number belongs to the chosen category (odd, nonzero,
+ /// positive, negative, or absolute value of at least two). The
+ /// previous GLU tessellator (prior to GLU 1.2) used the "odd"
+ /// rule. The "nonzero" rule is another common way to define the
+ /// interior. The other three rules are useful for polygon CSG
+ /// operations.
+ ///
+ ///
+ ///
+ /// -
+ ///
+ ///
+ /// Is a boolean value ("value" should be set to
+ /// or ). When
+ /// set to , a set of closed contours
+ /// separating the polygon interior and exterior are returned instead
+ /// of a tessellation. Exterior contours are oriented CCW with
+ /// respect to the normal; interior contours are oriented CW. The
+ /// and
+ /// callbacks use the type
+ /// for each contour.
+ ///
+ ///
+ /// -
+ ///
+ ///
+ ///
+ /// Specifies a tolerance for merging features to reduce the size
+ /// of the output. For example, two vertices that are very close
+ /// to each other might be replaced by a single vertex. The
+ /// tolerance is multiplied by the largest coordinate magnitude
+ /// of any input vertex; this specifies the maximum distance that
+ /// any feature can move as the result of a single merge
+ /// operation. If a single feature takes part in several merge
+ /// operations, the total distance moved could be larger.
+ ///
+ ///
+ /// Feature merging is completely optional; the tolerance is only
+ /// a hint. The implementation is free to merge in some cases
+ /// and not in others, or to never merge features at all. The
+ /// initial tolerance is 0.
+ ///
+ ///
+ /// The current implementation merges vertices only if they are
+ /// exactly coincident, regardless of the current tolerance. A
+ /// vertex is spliced into an edge only if the implementation is
+ /// unable to distinguish which side of the edge the vertex lies
+ /// on. Two edges are merged only when both endpoints are
+ /// identical.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The value of the indicated property.
+ ///
+ ///
+ /// gluTessProperty is used to control properties stored in a tessellation
+ /// object. These properties affect the way that the polygons are interpreted
+ /// and rendered.
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessProperty(GLUtesselator *tess, GLenum which, GLdouble value);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessProperty([In] GLUtesselator tess, int which, double data);
+ #endregion gluTessProperty([In] GLUtesselator tess, int which, double data)
+
+ #region gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] byte[] data)
+ ///
+ /// Specifies a vertex on a polygon.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// The location of the vertex.
+ ///
+ ///
+ /// A pointer passed back to the program with the vertex callback (as specified
+ /// by ).
+ ///
+ ///
+ ///
+ /// gluTessVertex describes a vertex on a polygon that the program
+ /// defines. Successive gluTessVertex calls describe a closed contour.
+ /// For example, to describe a quadrilateral gluTessVertex should be
+ /// called four times. gluTessVertex can only be called between
+ /// and .
+ ///
+ ///
+ /// data normally points to a structure containing the vertex location,
+ /// as well as other per-vertex attributes such as color and normal. This
+ /// pointer is passed back to the user through the
+ /// or callback after tessellation (see the
+ /// reference page).
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v1, v1);
+ /// Glu.gluTessVertex(tess, v2, v2);
+ /// Glu.gluTessVertex(tess, v3, v3);
+ /// Glu.gluTessVertex(tess, v4, v4);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluNextContour(tess, Glu.GLU_INTERIOR);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v5, v5);
+ /// Glu.gluTessVertex(tess, v6, v6);
+ /// Glu.gluTessVertex(tess, v7, v7);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// It is a common error to use a local variable for location or
+ /// data and store values into it as part of a loop. For example:
+ ///
+ ///
+ ///
+ /// for(int i = 0; i < NVERTICES; ++i) {
+ /// double data[3];
+ /// data[0] = vertex[i, 0];
+ /// data[1] = vertex[i, 1];
+ /// data[2] = vertex[i, 2];
+ /// Glu.gluTessVertex(tobj, data, data);
+ /// }
+ ///
+ ///
+ ///
+ /// This doesn't work. Because the pointers specified by location and
+ /// data might not be dereferenced until
+ /// is executed, all the vertex coordinates but the very last set could be
+ /// overwritten before tessellation begins.
+ ///
+ ///
+ /// Two common symptoms of this problem are consists of a single point (when a
+ /// local variable is used for data) and a
+ /// error (when a local variable
+ /// is used for location).
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessVertex(GLUtesselator *tess, GLdouble coords[3], void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] byte[] data);
+ #endregion gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] byte[] data)
+
+ #region gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] byte[ , ] data)
+ ///
+ /// Specifies a vertex on a polygon.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// The location of the vertex.
+ ///
+ ///
+ /// A pointer passed back to the program with the vertex callback (as specified
+ /// by ).
+ ///
+ ///
+ ///
+ /// gluTessVertex describes a vertex on a polygon that the program
+ /// defines. Successive gluTessVertex calls describe a closed contour.
+ /// For example, to describe a quadrilateral gluTessVertex should be
+ /// called four times. gluTessVertex can only be called between
+ /// and .
+ ///
+ ///
+ /// data normally points to a structure containing the vertex location,
+ /// as well as other per-vertex attributes such as color and normal. This
+ /// pointer is passed back to the user through the
+ /// or callback after tessellation (see the
+ /// reference page).
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v1, v1);
+ /// Glu.gluTessVertex(tess, v2, v2);
+ /// Glu.gluTessVertex(tess, v3, v3);
+ /// Glu.gluTessVertex(tess, v4, v4);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluNextContour(tess, Glu.GLU_INTERIOR);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v5, v5);
+ /// Glu.gluTessVertex(tess, v6, v6);
+ /// Glu.gluTessVertex(tess, v7, v7);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// It is a common error to use a local variable for location or
+ /// data and store values into it as part of a loop. For example:
+ ///
+ ///
+ ///
+ /// for(int i = 0; i < NVERTICES; ++i) {
+ /// double data[3];
+ /// data[0] = vertex[i, 0];
+ /// data[1] = vertex[i, 1];
+ /// data[2] = vertex[i, 2];
+ /// Glu.gluTessVertex(tobj, data, data);
+ /// }
+ ///
+ ///
+ ///
+ /// This doesn't work. Because the pointers specified by location and
+ /// data might not be dereferenced until
+ /// is executed, all the vertex coordinates but the very last set could be
+ /// overwritten before tessellation begins.
+ ///
+ ///
+ /// Two common symptoms of this problem are consists of a single point (when a
+ /// local variable is used for data) and a
+ /// error (when a local variable
+ /// is used for location).
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessVertex(GLUtesselator *tess, GLdouble coords[3], void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] byte[,] data);
+ #endregion gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] byte[ , ] data)
+
+ #region gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] byte[ , , ] data)
+ ///
+ /// Specifies a vertex on a polygon.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// The location of the vertex.
+ ///
+ ///
+ /// A pointer passed back to the program with the vertex callback (as specified
+ /// by ).
+ ///
+ ///
+ ///
+ /// gluTessVertex describes a vertex on a polygon that the program
+ /// defines. Successive gluTessVertex calls describe a closed contour.
+ /// For example, to describe a quadrilateral gluTessVertex should be
+ /// called four times. gluTessVertex can only be called between
+ /// and .
+ ///
+ ///
+ /// data normally points to a structure containing the vertex location,
+ /// as well as other per-vertex attributes such as color and normal. This
+ /// pointer is passed back to the user through the
+ /// or callback after tessellation (see the
+ /// reference page).
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v1, v1);
+ /// Glu.gluTessVertex(tess, v2, v2);
+ /// Glu.gluTessVertex(tess, v3, v3);
+ /// Glu.gluTessVertex(tess, v4, v4);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluNextContour(tess, Glu.GLU_INTERIOR);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v5, v5);
+ /// Glu.gluTessVertex(tess, v6, v6);
+ /// Glu.gluTessVertex(tess, v7, v7);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// It is a common error to use a local variable for location or
+ /// data and store values into it as part of a loop. For example:
+ ///
+ ///
+ ///
+ /// for(int i = 0; i < NVERTICES; ++i) {
+ /// double data[3];
+ /// data[0] = vertex[i, 0];
+ /// data[1] = vertex[i, 1];
+ /// data[2] = vertex[i, 2];
+ /// Glu.gluTessVertex(tobj, data, data);
+ /// }
+ ///
+ ///
+ ///
+ /// This doesn't work. Because the pointers specified by location and
+ /// data might not be dereferenced until
+ /// is executed, all the vertex coordinates but the very last set could be
+ /// overwritten before tessellation begins.
+ ///
+ ///
+ /// Two common symptoms of this problem are consists of a single point (when a
+ /// local variable is used for data) and a
+ /// error (when a local variable
+ /// is used for location).
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessVertex(GLUtesselator *tess, GLdouble coords[3], void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] byte[, ,] data);
+ #endregion gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] byte[ , , ] data)
+
+ #region gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] double[] data)
+ ///
+ /// Specifies a vertex on a polygon.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// The location of the vertex.
+ ///
+ ///
+ /// A pointer passed back to the program with the vertex callback (as specified
+ /// by ).
+ ///
+ ///
+ ///
+ /// gluTessVertex describes a vertex on a polygon that the program
+ /// defines. Successive gluTessVertex calls describe a closed contour.
+ /// For example, to describe a quadrilateral gluTessVertex should be
+ /// called four times. gluTessVertex can only be called between
+ /// and .
+ ///
+ ///
+ /// data normally points to a structure containing the vertex location,
+ /// as well as other per-vertex attributes such as color and normal. This
+ /// pointer is passed back to the user through the
+ /// or callback after tessellation (see the
+ /// reference page).
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v1, v1);
+ /// Glu.gluTessVertex(tess, v2, v2);
+ /// Glu.gluTessVertex(tess, v3, v3);
+ /// Glu.gluTessVertex(tess, v4, v4);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluNextContour(tess, Glu.GLU_INTERIOR);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v5, v5);
+ /// Glu.gluTessVertex(tess, v6, v6);
+ /// Glu.gluTessVertex(tess, v7, v7);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// It is a common error to use a local variable for location or
+ /// data and store values into it as part of a loop. For example:
+ ///
+ ///
+ ///
+ /// for(int i = 0; i < NVERTICES; ++i) {
+ /// double data[3];
+ /// data[0] = vertex[i, 0];
+ /// data[1] = vertex[i, 1];
+ /// data[2] = vertex[i, 2];
+ /// Glu.gluTessVertex(tobj, data, data);
+ /// }
+ ///
+ ///
+ ///
+ /// This doesn't work. Because the pointers specified by location and
+ /// data might not be dereferenced until
+ /// is executed, all the vertex coordinates but the very last set could be
+ /// overwritten before tessellation begins.
+ ///
+ ///
+ /// Two common symptoms of this problem are consists of a single point (when a
+ /// local variable is used for data) and a
+ /// error (when a local variable
+ /// is used for location).
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessVertex(GLUtesselator *tess, GLdouble coords[3], void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] double[] data);
+ #endregion gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] double[] data)
+
+ #region gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] double[ , ] data)
+ ///
+ /// Specifies a vertex on a polygon.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// The location of the vertex.
+ ///
+ ///
+ /// A pointer passed back to the program with the vertex callback (as specified
+ /// by ).
+ ///
+ ///
+ ///
+ /// gluTessVertex describes a vertex on a polygon that the program
+ /// defines. Successive gluTessVertex calls describe a closed contour.
+ /// For example, to describe a quadrilateral gluTessVertex should be
+ /// called four times. gluTessVertex can only be called between
+ /// and .
+ ///
+ ///
+ /// data normally points to a structure containing the vertex location,
+ /// as well as other per-vertex attributes such as color and normal. This
+ /// pointer is passed back to the user through the
+ /// or callback after tessellation (see the
+ /// reference page).
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v1, v1);
+ /// Glu.gluTessVertex(tess, v2, v2);
+ /// Glu.gluTessVertex(tess, v3, v3);
+ /// Glu.gluTessVertex(tess, v4, v4);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluNextContour(tess, Glu.GLU_INTERIOR);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v5, v5);
+ /// Glu.gluTessVertex(tess, v6, v6);
+ /// Glu.gluTessVertex(tess, v7, v7);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// It is a common error to use a local variable for location or
+ /// data and store values into it as part of a loop. For example:
+ ///
+ ///
+ ///
+ /// for(int i = 0; i < NVERTICES; ++i) {
+ /// double data[3];
+ /// data[0] = vertex[i, 0];
+ /// data[1] = vertex[i, 1];
+ /// data[2] = vertex[i, 2];
+ /// Glu.gluTessVertex(tobj, data, data);
+ /// }
+ ///
+ ///
+ ///
+ /// This doesn't work. Because the pointers specified by location and
+ /// data might not be dereferenced until
+ /// is executed, all the vertex coordinates but the very last set could be
+ /// overwritten before tessellation begins.
+ ///
+ ///
+ /// Two common symptoms of this problem are consists of a single point (when a
+ /// local variable is used for data) and a
+ /// error (when a local variable
+ /// is used for location).
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessVertex(GLUtesselator *tess, GLdouble coords[3], void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] double[,] data);
+ #endregion gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] double[ , ] data)
+
+ #region gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] double[ , , ] data)
+ ///
+ /// Specifies a vertex on a polygon.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// The location of the vertex.
+ ///
+ ///
+ /// A pointer passed back to the program with the vertex callback (as specified
+ /// by ).
+ ///
+ ///
+ ///
+ /// gluTessVertex describes a vertex on a polygon that the program
+ /// defines. Successive gluTessVertex calls describe a closed contour.
+ /// For example, to describe a quadrilateral gluTessVertex should be
+ /// called four times. gluTessVertex can only be called between
+ /// and .
+ ///
+ ///
+ /// data normally points to a structure containing the vertex location,
+ /// as well as other per-vertex attributes such as color and normal. This
+ /// pointer is passed back to the user through the
+ /// or callback after tessellation (see the
+ /// reference page).
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v1, v1);
+ /// Glu.gluTessVertex(tess, v2, v2);
+ /// Glu.gluTessVertex(tess, v3, v3);
+ /// Glu.gluTessVertex(tess, v4, v4);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluNextContour(tess, Glu.GLU_INTERIOR);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v5, v5);
+ /// Glu.gluTessVertex(tess, v6, v6);
+ /// Glu.gluTessVertex(tess, v7, v7);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// It is a common error to use a local variable for location or
+ /// data and store values into it as part of a loop. For example:
+ ///
+ ///
+ ///
+ /// for(int i = 0; i < NVERTICES; ++i) {
+ /// double data[3];
+ /// data[0] = vertex[i, 0];
+ /// data[1] = vertex[i, 1];
+ /// data[2] = vertex[i, 2];
+ /// Glu.gluTessVertex(tobj, data, data);
+ /// }
+ ///
+ ///
+ ///
+ /// This doesn't work. Because the pointers specified by location and
+ /// data might not be dereferenced until
+ /// is executed, all the vertex coordinates but the very last set could be
+ /// overwritten before tessellation begins.
+ ///
+ ///
+ /// Two common symptoms of this problem are consists of a single point (when a
+ /// local variable is used for data) and a
+ /// error (when a local variable
+ /// is used for location).
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessVertex(GLUtesselator *tess, GLdouble coords[3], void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] double[, ,] data);
+ #endregion gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] double[ , , ] data)
+
+ #region gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] short[] data)
+ ///
+ /// Specifies a vertex on a polygon.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// The location of the vertex.
+ ///
+ ///
+ /// A pointer passed back to the program with the vertex callback (as specified
+ /// by ).
+ ///
+ ///
+ ///
+ /// gluTessVertex describes a vertex on a polygon that the program
+ /// defines. Successive gluTessVertex calls describe a closed contour.
+ /// For example, to describe a quadrilateral gluTessVertex should be
+ /// called four times. gluTessVertex can only be called between
+ /// and .
+ ///
+ ///
+ /// data normally points to a structure containing the vertex location,
+ /// as well as other per-vertex attributes such as color and normal. This
+ /// pointer is passed back to the user through the
+ /// or callback after tessellation (see the
+ /// reference page).
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v1, v1);
+ /// Glu.gluTessVertex(tess, v2, v2);
+ /// Glu.gluTessVertex(tess, v3, v3);
+ /// Glu.gluTessVertex(tess, v4, v4);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluNextContour(tess, Glu.GLU_INTERIOR);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v5, v5);
+ /// Glu.gluTessVertex(tess, v6, v6);
+ /// Glu.gluTessVertex(tess, v7, v7);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// It is a common error to use a local variable for location or
+ /// data and store values into it as part of a loop. For example:
+ ///
+ ///
+ ///
+ /// for(int i = 0; i < NVERTICES; ++i) {
+ /// double data[3];
+ /// data[0] = vertex[i, 0];
+ /// data[1] = vertex[i, 1];
+ /// data[2] = vertex[i, 2];
+ /// Glu.gluTessVertex(tobj, data, data);
+ /// }
+ ///
+ ///
+ ///
+ /// This doesn't work. Because the pointers specified by location and
+ /// data might not be dereferenced until
+ /// is executed, all the vertex coordinates but the very last set could be
+ /// overwritten before tessellation begins.
+ ///
+ ///
+ /// Two common symptoms of this problem are consists of a single point (when a
+ /// local variable is used for data) and a
+ /// error (when a local variable
+ /// is used for location).
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessVertex(GLUtesselator *tess, GLdouble coords[3], void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] short[] data);
+ #endregion gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] short[] data)
+
+ #region gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] short[ , ] data)
+ ///
+ /// Specifies a vertex on a polygon.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// The location of the vertex.
+ ///
+ ///
+ /// A pointer passed back to the program with the vertex callback (as specified
+ /// by ).
+ ///
+ ///
+ ///
+ /// gluTessVertex describes a vertex on a polygon that the program
+ /// defines. Successive gluTessVertex calls describe a closed contour.
+ /// For example, to describe a quadrilateral gluTessVertex should be
+ /// called four times. gluTessVertex can only be called between
+ /// and .
+ ///
+ ///
+ /// data normally points to a structure containing the vertex location,
+ /// as well as other per-vertex attributes such as color and normal. This
+ /// pointer is passed back to the user through the
+ /// or callback after tessellation (see the
+ /// reference page).
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v1, v1);
+ /// Glu.gluTessVertex(tess, v2, v2);
+ /// Glu.gluTessVertex(tess, v3, v3);
+ /// Glu.gluTessVertex(tess, v4, v4);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluNextContour(tess, Glu.GLU_INTERIOR);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v5, v5);
+ /// Glu.gluTessVertex(tess, v6, v6);
+ /// Glu.gluTessVertex(tess, v7, v7);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// It is a common error to use a local variable for location or
+ /// data and store values into it as part of a loop. For example:
+ ///
+ ///
+ ///
+ /// for(int i = 0; i < NVERTICES; ++i) {
+ /// double data[3];
+ /// data[0] = vertex[i, 0];
+ /// data[1] = vertex[i, 1];
+ /// data[2] = vertex[i, 2];
+ /// Glu.gluTessVertex(tobj, data, data);
+ /// }
+ ///
+ ///
+ ///
+ /// This doesn't work. Because the pointers specified by location and
+ /// data might not be dereferenced until
+ /// is executed, all the vertex coordinates but the very last set could be
+ /// overwritten before tessellation begins.
+ ///
+ ///
+ /// Two common symptoms of this problem are consists of a single point (when a
+ /// local variable is used for data) and a
+ /// error (when a local variable
+ /// is used for location).
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessVertex(GLUtesselator *tess, GLdouble coords[3], void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] short[,] data);
+ #endregion gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] short[ , ] data)
+
+ #region gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] short[ , , ] data)
+ ///
+ /// Specifies a vertex on a polygon.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// The location of the vertex.
+ ///
+ ///
+ /// A pointer passed back to the program with the vertex callback (as specified
+ /// by ).
+ ///
+ ///
+ ///
+ /// gluTessVertex describes a vertex on a polygon that the program
+ /// defines. Successive gluTessVertex calls describe a closed contour.
+ /// For example, to describe a quadrilateral gluTessVertex should be
+ /// called four times. gluTessVertex can only be called between
+ /// and .
+ ///
+ ///
+ /// data normally points to a structure containing the vertex location,
+ /// as well as other per-vertex attributes such as color and normal. This
+ /// pointer is passed back to the user through the
+ /// or callback after tessellation (see the
+ /// reference page).
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v1, v1);
+ /// Glu.gluTessVertex(tess, v2, v2);
+ /// Glu.gluTessVertex(tess, v3, v3);
+ /// Glu.gluTessVertex(tess, v4, v4);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluNextContour(tess, Glu.GLU_INTERIOR);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v5, v5);
+ /// Glu.gluTessVertex(tess, v6, v6);
+ /// Glu.gluTessVertex(tess, v7, v7);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// It is a common error to use a local variable for location or
+ /// data and store values into it as part of a loop. For example:
+ ///
+ ///
+ ///
+ /// for(int i = 0; i < NVERTICES; ++i) {
+ /// double data[3];
+ /// data[0] = vertex[i, 0];
+ /// data[1] = vertex[i, 1];
+ /// data[2] = vertex[i, 2];
+ /// Glu.gluTessVertex(tobj, data, data);
+ /// }
+ ///
+ ///
+ ///
+ /// This doesn't work. Because the pointers specified by location and
+ /// data might not be dereferenced until
+ /// is executed, all the vertex coordinates but the very last set could be
+ /// overwritten before tessellation begins.
+ ///
+ ///
+ /// Two common symptoms of this problem are consists of a single point (when a
+ /// local variable is used for data) and a
+ /// error (when a local variable
+ /// is used for location).
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessVertex(GLUtesselator *tess, GLdouble coords[3], void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] short[, ,] data);
+ #endregion gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] short[ , , ] data)
+
+ #region gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] int[] data)
+ ///
+ /// Specifies a vertex on a polygon.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// The location of the vertex.
+ ///
+ ///
+ /// A pointer passed back to the program with the vertex callback (as specified
+ /// by ).
+ ///
+ ///
+ ///
+ /// gluTessVertex describes a vertex on a polygon that the program
+ /// defines. Successive gluTessVertex calls describe a closed contour.
+ /// For example, to describe a quadrilateral gluTessVertex should be
+ /// called four times. gluTessVertex can only be called between
+ /// and .
+ ///
+ ///
+ /// data normally points to a structure containing the vertex location,
+ /// as well as other per-vertex attributes such as color and normal. This
+ /// pointer is passed back to the user through the
+ /// or callback after tessellation (see the
+ /// reference page).
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v1, v1);
+ /// Glu.gluTessVertex(tess, v2, v2);
+ /// Glu.gluTessVertex(tess, v3, v3);
+ /// Glu.gluTessVertex(tess, v4, v4);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluNextContour(tess, Glu.GLU_INTERIOR);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v5, v5);
+ /// Glu.gluTessVertex(tess, v6, v6);
+ /// Glu.gluTessVertex(tess, v7, v7);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// It is a common error to use a local variable for location or
+ /// data and store values into it as part of a loop. For example:
+ ///
+ ///
+ ///
+ /// for(int i = 0; i < NVERTICES; ++i) {
+ /// double data[3];
+ /// data[0] = vertex[i, 0];
+ /// data[1] = vertex[i, 1];
+ /// data[2] = vertex[i, 2];
+ /// Glu.gluTessVertex(tobj, data, data);
+ /// }
+ ///
+ ///
+ ///
+ /// This doesn't work. Because the pointers specified by location and
+ /// data might not be dereferenced until
+ /// is executed, all the vertex coordinates but the very last set could be
+ /// overwritten before tessellation begins.
+ ///
+ ///
+ /// Two common symptoms of this problem are consists of a single point (when a
+ /// local variable is used for data) and a
+ /// error (when a local variable
+ /// is used for location).
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessVertex(GLUtesselator *tess, GLdouble coords[3], void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] int[] data);
+ #endregion gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] int[] data)
+
+ #region gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] int[ , ] data)
+ ///
+ /// Specifies a vertex on a polygon.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// The location of the vertex.
+ ///
+ ///
+ /// A pointer passed back to the program with the vertex callback (as specified
+ /// by ).
+ ///
+ ///
+ ///
+ /// gluTessVertex describes a vertex on a polygon that the program
+ /// defines. Successive gluTessVertex calls describe a closed contour.
+ /// For example, to describe a quadrilateral gluTessVertex should be
+ /// called four times. gluTessVertex can only be called between
+ /// and .
+ ///
+ ///
+ /// data normally points to a structure containing the vertex location,
+ /// as well as other per-vertex attributes such as color and normal. This
+ /// pointer is passed back to the user through the
+ /// or callback after tessellation (see the
+ /// reference page).
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v1, v1);
+ /// Glu.gluTessVertex(tess, v2, v2);
+ /// Glu.gluTessVertex(tess, v3, v3);
+ /// Glu.gluTessVertex(tess, v4, v4);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluNextContour(tess, Glu.GLU_INTERIOR);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v5, v5);
+ /// Glu.gluTessVertex(tess, v6, v6);
+ /// Glu.gluTessVertex(tess, v7, v7);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// It is a common error to use a local variable for location or
+ /// data and store values into it as part of a loop. For example:
+ ///
+ ///
+ ///
+ /// for(int i = 0; i < NVERTICES; ++i) {
+ /// double data[3];
+ /// data[0] = vertex[i, 0];
+ /// data[1] = vertex[i, 1];
+ /// data[2] = vertex[i, 2];
+ /// Glu.gluTessVertex(tobj, data, data);
+ /// }
+ ///
+ ///
+ ///
+ /// This doesn't work. Because the pointers specified by location and
+ /// data might not be dereferenced until
+ /// is executed, all the vertex coordinates but the very last set could be
+ /// overwritten before tessellation begins.
+ ///
+ ///
+ /// Two common symptoms of this problem are consists of a single point (when a
+ /// local variable is used for data) and a
+ /// error (when a local variable
+ /// is used for location).
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessVertex(GLUtesselator *tess, GLdouble coords[3], void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] int[,] data);
+ #endregion gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] int[ , ] data)
+
+ #region gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] int[ , , ] data)
+ ///
+ /// Specifies a vertex on a polygon.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// The location of the vertex.
+ ///
+ ///
+ /// A pointer passed back to the program with the vertex callback (as specified
+ /// by ).
+ ///
+ ///
+ ///
+ /// gluTessVertex describes a vertex on a polygon that the program
+ /// defines. Successive gluTessVertex calls describe a closed contour.
+ /// For example, to describe a quadrilateral gluTessVertex should be
+ /// called four times. gluTessVertex can only be called between
+ /// and .
+ ///
+ ///
+ /// data normally points to a structure containing the vertex location,
+ /// as well as other per-vertex attributes such as color and normal. This
+ /// pointer is passed back to the user through the
+ /// or callback after tessellation (see the
+ /// reference page).
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v1, v1);
+ /// Glu.gluTessVertex(tess, v2, v2);
+ /// Glu.gluTessVertex(tess, v3, v3);
+ /// Glu.gluTessVertex(tess, v4, v4);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluNextContour(tess, Glu.GLU_INTERIOR);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v5, v5);
+ /// Glu.gluTessVertex(tess, v6, v6);
+ /// Glu.gluTessVertex(tess, v7, v7);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// It is a common error to use a local variable for location or
+ /// data and store values into it as part of a loop. For example:
+ ///
+ ///
+ ///
+ /// for(int i = 0; i < NVERTICES; ++i) {
+ /// double data[3];
+ /// data[0] = vertex[i, 0];
+ /// data[1] = vertex[i, 1];
+ /// data[2] = vertex[i, 2];
+ /// Glu.gluTessVertex(tobj, data, data);
+ /// }
+ ///
+ ///
+ ///
+ /// This doesn't work. Because the pointers specified by location and
+ /// data might not be dereferenced until
+ /// is executed, all the vertex coordinates but the very last set could be
+ /// overwritten before tessellation begins.
+ ///
+ ///
+ /// Two common symptoms of this problem are consists of a single point (when a
+ /// local variable is used for data) and a
+ /// error (when a local variable
+ /// is used for location).
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessVertex(GLUtesselator *tess, GLdouble coords[3], void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] int[, ,] data);
+ #endregion gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] int[ , , ] data)
+
+ #region gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] float[] data)
+ ///
+ /// Specifies a vertex on a polygon.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// The location of the vertex.
+ ///
+ ///
+ /// A pointer passed back to the program with the vertex callback (as specified
+ /// by ).
+ ///
+ ///
+ ///
+ /// gluTessVertex describes a vertex on a polygon that the program
+ /// defines. Successive gluTessVertex calls describe a closed contour.
+ /// For example, to describe a quadrilateral gluTessVertex should be
+ /// called four times. gluTessVertex can only be called between
+ /// and .
+ ///
+ ///
+ /// data normally points to a structure containing the vertex location,
+ /// as well as other per-vertex attributes such as color and normal. This
+ /// pointer is passed back to the user through the
+ /// or callback after tessellation (see the
+ /// reference page).
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v1, v1);
+ /// Glu.gluTessVertex(tess, v2, v2);
+ /// Glu.gluTessVertex(tess, v3, v3);
+ /// Glu.gluTessVertex(tess, v4, v4);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluNextContour(tess, Glu.GLU_INTERIOR);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v5, v5);
+ /// Glu.gluTessVertex(tess, v6, v6);
+ /// Glu.gluTessVertex(tess, v7, v7);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// It is a common error to use a local variable for location or
+ /// data and store values into it as part of a loop. For example:
+ ///
+ ///
+ ///
+ /// for(int i = 0; i < NVERTICES; ++i) {
+ /// double data[3];
+ /// data[0] = vertex[i, 0];
+ /// data[1] = vertex[i, 1];
+ /// data[2] = vertex[i, 2];
+ /// Glu.gluTessVertex(tobj, data, data);
+ /// }
+ ///
+ ///
+ ///
+ /// This doesn't work. Because the pointers specified by location and
+ /// data might not be dereferenced until
+ /// is executed, all the vertex coordinates but the very last set could be
+ /// overwritten before tessellation begins.
+ ///
+ ///
+ /// Two common symptoms of this problem are consists of a single point (when a
+ /// local variable is used for data) and a
+ /// error (when a local variable
+ /// is used for location).
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessVertex(GLUtesselator *tess, GLdouble coords[3], void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] float[] data);
+ #endregion gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] float[] data)
+
+ #region gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] float[ , ] data)
+ ///
+ /// Specifies a vertex on a polygon.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// The location of the vertex.
+ ///
+ ///
+ /// A pointer passed back to the program with the vertex callback (as specified
+ /// by ).
+ ///
+ ///
+ ///
+ /// gluTessVertex describes a vertex on a polygon that the program
+ /// defines. Successive gluTessVertex calls describe a closed contour.
+ /// For example, to describe a quadrilateral gluTessVertex should be
+ /// called four times. gluTessVertex can only be called between
+ /// and .
+ ///
+ ///
+ /// data normally points to a structure containing the vertex location,
+ /// as well as other per-vertex attributes such as color and normal. This
+ /// pointer is passed back to the user through the
+ /// or callback after tessellation (see the
+ /// reference page).
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v1, v1);
+ /// Glu.gluTessVertex(tess, v2, v2);
+ /// Glu.gluTessVertex(tess, v3, v3);
+ /// Glu.gluTessVertex(tess, v4, v4);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluNextContour(tess, Glu.GLU_INTERIOR);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v5, v5);
+ /// Glu.gluTessVertex(tess, v6, v6);
+ /// Glu.gluTessVertex(tess, v7, v7);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// It is a common error to use a local variable for location or
+ /// data and store values into it as part of a loop. For example:
+ ///
+ ///
+ ///
+ /// for(int i = 0; i < NVERTICES; ++i) {
+ /// double data[3];
+ /// data[0] = vertex[i, 0];
+ /// data[1] = vertex[i, 1];
+ /// data[2] = vertex[i, 2];
+ /// Glu.gluTessVertex(tobj, data, data);
+ /// }
+ ///
+ ///
+ ///
+ /// This doesn't work. Because the pointers specified by location and
+ /// data might not be dereferenced until
+ /// is executed, all the vertex coordinates but the very last set could be
+ /// overwritten before tessellation begins.
+ ///
+ ///
+ /// Two common symptoms of this problem are consists of a single point (when a
+ /// local variable is used for data) and a
+ /// error (when a local variable
+ /// is used for location).
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessVertex(GLUtesselator *tess, GLdouble coords[3], void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] float[,] data);
+ #endregion gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] float[ , ] data)
+
+ #region gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] float[ , , ] data)
+ ///
+ /// Specifies a vertex on a polygon.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// The location of the vertex.
+ ///
+ ///
+ /// A pointer passed back to the program with the vertex callback (as specified
+ /// by ).
+ ///
+ ///
+ ///
+ /// gluTessVertex describes a vertex on a polygon that the program
+ /// defines. Successive gluTessVertex calls describe a closed contour.
+ /// For example, to describe a quadrilateral gluTessVertex should be
+ /// called four times. gluTessVertex can only be called between
+ /// and .
+ ///
+ ///
+ /// data normally points to a structure containing the vertex location,
+ /// as well as other per-vertex attributes such as color and normal. This
+ /// pointer is passed back to the user through the
+ /// or callback after tessellation (see the
+ /// reference page).
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v1, v1);
+ /// Glu.gluTessVertex(tess, v2, v2);
+ /// Glu.gluTessVertex(tess, v3, v3);
+ /// Glu.gluTessVertex(tess, v4, v4);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluNextContour(tess, Glu.GLU_INTERIOR);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v5, v5);
+ /// Glu.gluTessVertex(tess, v6, v6);
+ /// Glu.gluTessVertex(tess, v7, v7);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// It is a common error to use a local variable for location or
+ /// data and store values into it as part of a loop. For example:
+ ///
+ ///
+ ///
+ /// for(int i = 0; i < NVERTICES; ++i) {
+ /// double data[3];
+ /// data[0] = vertex[i, 0];
+ /// data[1] = vertex[i, 1];
+ /// data[2] = vertex[i, 2];
+ /// Glu.gluTessVertex(tobj, data, data);
+ /// }
+ ///
+ ///
+ ///
+ /// This doesn't work. Because the pointers specified by location and
+ /// data might not be dereferenced until
+ /// is executed, all the vertex coordinates but the very last set could be
+ /// overwritten before tessellation begins.
+ ///
+ ///
+ /// Two common symptoms of this problem are consists of a single point (when a
+ /// local variable is used for data) and a
+ /// error (when a local variable
+ /// is used for location).
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessVertex(GLUtesselator *tess, GLdouble coords[3], void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] float[, ,] data);
+ #endregion gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] float[ , , ] data)
+
+ #region gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] ushort[] data)
+ ///
+ /// Specifies a vertex on a polygon.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// The location of the vertex.
+ ///
+ ///
+ /// A pointer passed back to the program with the vertex callback (as specified
+ /// by ).
+ ///
+ ///
+ ///
+ /// gluTessVertex describes a vertex on a polygon that the program
+ /// defines. Successive gluTessVertex calls describe a closed contour.
+ /// For example, to describe a quadrilateral gluTessVertex should be
+ /// called four times. gluTessVertex can only be called between
+ /// and .
+ ///
+ ///
+ /// data normally points to a structure containing the vertex location,
+ /// as well as other per-vertex attributes such as color and normal. This
+ /// pointer is passed back to the user through the
+ /// or callback after tessellation (see the
+ /// reference page).
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v1, v1);
+ /// Glu.gluTessVertex(tess, v2, v2);
+ /// Glu.gluTessVertex(tess, v3, v3);
+ /// Glu.gluTessVertex(tess, v4, v4);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluNextContour(tess, Glu.GLU_INTERIOR);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v5, v5);
+ /// Glu.gluTessVertex(tess, v6, v6);
+ /// Glu.gluTessVertex(tess, v7, v7);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// It is a common error to use a local variable for location or
+ /// data and store values into it as part of a loop. For example:
+ ///
+ ///
+ ///
+ /// for(int i = 0; i < NVERTICES; ++i) {
+ /// double data[3];
+ /// data[0] = vertex[i, 0];
+ /// data[1] = vertex[i, 1];
+ /// data[2] = vertex[i, 2];
+ /// Glu.gluTessVertex(tobj, data, data);
+ /// }
+ ///
+ ///
+ ///
+ /// This doesn't work. Because the pointers specified by location and
+ /// data might not be dereferenced until
+ /// is executed, all the vertex coordinates but the very last set could be
+ /// overwritten before tessellation begins.
+ ///
+ ///
+ /// Two common symptoms of this problem are consists of a single point (when a
+ /// local variable is used for data) and a
+ /// error (when a local variable
+ /// is used for location).
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessVertex(GLUtesselator *tess, GLdouble coords[3], void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] ushort[] data);
+ #endregion gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] ushort[] data)
+
+ #region gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] ushort[ , ] data)
+ ///
+ /// Specifies a vertex on a polygon.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// The location of the vertex.
+ ///
+ ///
+ /// A pointer passed back to the program with the vertex callback (as specified
+ /// by ).
+ ///
+ ///
+ ///
+ /// gluTessVertex describes a vertex on a polygon that the program
+ /// defines. Successive gluTessVertex calls describe a closed contour.
+ /// For example, to describe a quadrilateral gluTessVertex should be
+ /// called four times. gluTessVertex can only be called between
+ /// and .
+ ///
+ ///
+ /// data normally points to a structure containing the vertex location,
+ /// as well as other per-vertex attributes such as color and normal. This
+ /// pointer is passed back to the user through the
+ /// or callback after tessellation (see the
+ /// reference page).
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v1, v1);
+ /// Glu.gluTessVertex(tess, v2, v2);
+ /// Glu.gluTessVertex(tess, v3, v3);
+ /// Glu.gluTessVertex(tess, v4, v4);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluNextContour(tess, Glu.GLU_INTERIOR);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v5, v5);
+ /// Glu.gluTessVertex(tess, v6, v6);
+ /// Glu.gluTessVertex(tess, v7, v7);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// It is a common error to use a local variable for location or
+ /// data and store values into it as part of a loop. For example:
+ ///
+ ///
+ ///
+ /// for(int i = 0; i < NVERTICES; ++i) {
+ /// double data[3];
+ /// data[0] = vertex[i, 0];
+ /// data[1] = vertex[i, 1];
+ /// data[2] = vertex[i, 2];
+ /// Glu.gluTessVertex(tobj, data, data);
+ /// }
+ ///
+ ///
+ ///
+ /// This doesn't work. Because the pointers specified by location and
+ /// data might not be dereferenced until
+ /// is executed, all the vertex coordinates but the very last set could be
+ /// overwritten before tessellation begins.
+ ///
+ ///
+ /// Two common symptoms of this problem are consists of a single point (when a
+ /// local variable is used for data) and a
+ /// error (when a local variable
+ /// is used for location).
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessVertex(GLUtesselator *tess, GLdouble coords[3], void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] ushort[,] data);
+ #endregion gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] ushort[ , ] data)
+
+ #region gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] ushort[ , , ] data)
+ ///
+ /// Specifies a vertex on a polygon.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// The location of the vertex.
+ ///
+ ///
+ /// A pointer passed back to the program with the vertex callback (as specified
+ /// by ).
+ ///
+ ///
+ ///
+ /// gluTessVertex describes a vertex on a polygon that the program
+ /// defines. Successive gluTessVertex calls describe a closed contour.
+ /// For example, to describe a quadrilateral gluTessVertex should be
+ /// called four times. gluTessVertex can only be called between
+ /// and .
+ ///
+ ///
+ /// data normally points to a structure containing the vertex location,
+ /// as well as other per-vertex attributes such as color and normal. This
+ /// pointer is passed back to the user through the
+ /// or callback after tessellation (see the
+ /// reference page).
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v1, v1);
+ /// Glu.gluTessVertex(tess, v2, v2);
+ /// Glu.gluTessVertex(tess, v3, v3);
+ /// Glu.gluTessVertex(tess, v4, v4);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluNextContour(tess, Glu.GLU_INTERIOR);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v5, v5);
+ /// Glu.gluTessVertex(tess, v6, v6);
+ /// Glu.gluTessVertex(tess, v7, v7);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// It is a common error to use a local variable for location or
+ /// data and store values into it as part of a loop. For example:
+ ///
+ ///
+ ///
+ /// for(int i = 0; i < NVERTICES; ++i) {
+ /// double data[3];
+ /// data[0] = vertex[i, 0];
+ /// data[1] = vertex[i, 1];
+ /// data[2] = vertex[i, 2];
+ /// Glu.gluTessVertex(tobj, data, data);
+ /// }
+ ///
+ ///
+ ///
+ /// This doesn't work. Because the pointers specified by location and
+ /// data might not be dereferenced until
+ /// is executed, all the vertex coordinates but the very last set could be
+ /// overwritten before tessellation begins.
+ ///
+ ///
+ /// Two common symptoms of this problem are consists of a single point (when a
+ /// local variable is used for data) and a
+ /// error (when a local variable
+ /// is used for location).
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessVertex(GLUtesselator *tess, GLdouble coords[3], void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] ushort[, ,] data);
+ #endregion gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] ushort[ , , ] data)
+
+ #region gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] uint[] data)
+ ///
+ /// Specifies a vertex on a polygon.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// The location of the vertex.
+ ///
+ ///
+ /// A pointer passed back to the program with the vertex callback (as specified
+ /// by ).
+ ///
+ ///
+ ///
+ /// gluTessVertex describes a vertex on a polygon that the program
+ /// defines. Successive gluTessVertex calls describe a closed contour.
+ /// For example, to describe a quadrilateral gluTessVertex should be
+ /// called four times. gluTessVertex can only be called between
+ /// and .
+ ///
+ ///
+ /// data normally points to a structure containing the vertex location,
+ /// as well as other per-vertex attributes such as color and normal. This
+ /// pointer is passed back to the user through the
+ /// or callback after tessellation (see the
+ /// reference page).
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v1, v1);
+ /// Glu.gluTessVertex(tess, v2, v2);
+ /// Glu.gluTessVertex(tess, v3, v3);
+ /// Glu.gluTessVertex(tess, v4, v4);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluNextContour(tess, Glu.GLU_INTERIOR);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v5, v5);
+ /// Glu.gluTessVertex(tess, v6, v6);
+ /// Glu.gluTessVertex(tess, v7, v7);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// It is a common error to use a local variable for location or
+ /// data and store values into it as part of a loop. For example:
+ ///
+ ///
+ ///
+ /// for(int i = 0; i < NVERTICES; ++i) {
+ /// double data[3];
+ /// data[0] = vertex[i, 0];
+ /// data[1] = vertex[i, 1];
+ /// data[2] = vertex[i, 2];
+ /// Glu.gluTessVertex(tobj, data, data);
+ /// }
+ ///
+ ///
+ ///
+ /// This doesn't work. Because the pointers specified by location and
+ /// data might not be dereferenced until
+ /// is executed, all the vertex coordinates but the very last set could be
+ /// overwritten before tessellation begins.
+ ///
+ ///
+ /// Two common symptoms of this problem are consists of a single point (when a
+ /// local variable is used for data) and a
+ /// error (when a local variable
+ /// is used for location).
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessVertex(GLUtesselator *tess, GLdouble coords[3], void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] uint[] data);
+ #endregion gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] uint[] data)
+
+ #region gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] uint[ , ] data)
+ ///
+ /// Specifies a vertex on a polygon.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// The location of the vertex.
+ ///
+ ///
+ /// A pointer passed back to the program with the vertex callback (as specified
+ /// by ).
+ ///
+ ///
+ ///
+ /// gluTessVertex describes a vertex on a polygon that the program
+ /// defines. Successive gluTessVertex calls describe a closed contour.
+ /// For example, to describe a quadrilateral gluTessVertex should be
+ /// called four times. gluTessVertex can only be called between
+ /// and .
+ ///
+ ///
+ /// data normally points to a structure containing the vertex location,
+ /// as well as other per-vertex attributes such as color and normal. This
+ /// pointer is passed back to the user through the
+ /// or callback after tessellation (see the
+ /// reference page).
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v1, v1);
+ /// Glu.gluTessVertex(tess, v2, v2);
+ /// Glu.gluTessVertex(tess, v3, v3);
+ /// Glu.gluTessVertex(tess, v4, v4);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluNextContour(tess, Glu.GLU_INTERIOR);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v5, v5);
+ /// Glu.gluTessVertex(tess, v6, v6);
+ /// Glu.gluTessVertex(tess, v7, v7);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// It is a common error to use a local variable for location or
+ /// data and store values into it as part of a loop. For example:
+ ///
+ ///
+ ///
+ /// for(int i = 0; i < NVERTICES; ++i) {
+ /// double data[3];
+ /// data[0] = vertex[i, 0];
+ /// data[1] = vertex[i, 1];
+ /// data[2] = vertex[i, 2];
+ /// Glu.gluTessVertex(tobj, data, data);
+ /// }
+ ///
+ ///
+ ///
+ /// This doesn't work. Because the pointers specified by location and
+ /// data might not be dereferenced until
+ /// is executed, all the vertex coordinates but the very last set could be
+ /// overwritten before tessellation begins.
+ ///
+ ///
+ /// Two common symptoms of this problem are consists of a single point (when a
+ /// local variable is used for data) and a
+ /// error (when a local variable
+ /// is used for location).
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessVertex(GLUtesselator *tess, GLdouble coords[3], void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] uint[,] data);
+ #endregion gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] uint[ , ] data)
+
+ #region gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] uint[ , , ] data)
+ ///
+ /// Specifies a vertex on a polygon.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// The location of the vertex.
+ ///
+ ///
+ /// A pointer passed back to the program with the vertex callback (as specified
+ /// by ).
+ ///
+ ///
+ ///
+ /// gluTessVertex describes a vertex on a polygon that the program
+ /// defines. Successive gluTessVertex calls describe a closed contour.
+ /// For example, to describe a quadrilateral gluTessVertex should be
+ /// called four times. gluTessVertex can only be called between
+ /// and .
+ ///
+ ///
+ /// data normally points to a structure containing the vertex location,
+ /// as well as other per-vertex attributes such as color and normal. This
+ /// pointer is passed back to the user through the
+ /// or callback after tessellation (see the
+ /// reference page).
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v1, v1);
+ /// Glu.gluTessVertex(tess, v2, v2);
+ /// Glu.gluTessVertex(tess, v3, v3);
+ /// Glu.gluTessVertex(tess, v4, v4);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluNextContour(tess, Glu.GLU_INTERIOR);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v5, v5);
+ /// Glu.gluTessVertex(tess, v6, v6);
+ /// Glu.gluTessVertex(tess, v7, v7);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// It is a common error to use a local variable for location or
+ /// data and store values into it as part of a loop. For example:
+ ///
+ ///
+ ///
+ /// for(int i = 0; i < NVERTICES; ++i) {
+ /// double data[3];
+ /// data[0] = vertex[i, 0];
+ /// data[1] = vertex[i, 1];
+ /// data[2] = vertex[i, 2];
+ /// Glu.gluTessVertex(tobj, data, data);
+ /// }
+ ///
+ ///
+ ///
+ /// This doesn't work. Because the pointers specified by location and
+ /// data might not be dereferenced until
+ /// is executed, all the vertex coordinates but the very last set could be
+ /// overwritten before tessellation begins.
+ ///
+ ///
+ /// Two common symptoms of this problem are consists of a single point (when a
+ /// local variable is used for data) and a
+ /// error (when a local variable
+ /// is used for location).
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessVertex(GLUtesselator *tess, GLdouble coords[3], void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] uint[, ,] data);
+ #endregion gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] uint[ , , ] data)
+
+ #region gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] IntPtr data)
+ ///
+ /// Specifies a vertex on a polygon.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// The location of the vertex.
+ ///
+ ///
+ /// A pointer passed back to the program with the vertex callback (as specified
+ /// by ).
+ ///
+ ///
+ ///
+ /// gluTessVertex describes a vertex on a polygon that the program
+ /// defines. Successive gluTessVertex calls describe a closed contour.
+ /// For example, to describe a quadrilateral gluTessVertex should be
+ /// called four times. gluTessVertex can only be called between
+ /// and .
+ ///
+ ///
+ /// data normally points to a structure containing the vertex location,
+ /// as well as other per-vertex attributes such as color and normal. This
+ /// pointer is passed back to the user through the
+ /// or callback after tessellation (see the
+ /// reference page).
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v1, v1);
+ /// Glu.gluTessVertex(tess, v2, v2);
+ /// Glu.gluTessVertex(tess, v3, v3);
+ /// Glu.gluTessVertex(tess, v4, v4);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluNextContour(tess, Glu.GLU_INTERIOR);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v5, v5);
+ /// Glu.gluTessVertex(tess, v6, v6);
+ /// Glu.gluTessVertex(tess, v7, v7);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// It is a common error to use a local variable for location or
+ /// data and store values into it as part of a loop. For example:
+ ///
+ ///
+ ///
+ /// for(int i = 0; i < NVERTICES; ++i) {
+ /// double data[3];
+ /// data[0] = vertex[i, 0];
+ /// data[1] = vertex[i, 1];
+ /// data[2] = vertex[i, 2];
+ /// Glu.gluTessVertex(tobj, data, data);
+ /// }
+ ///
+ ///
+ ///
+ /// This doesn't work. Because the pointers specified by location and
+ /// data might not be dereferenced until
+ /// is executed, all the vertex coordinates but the very last set could be
+ /// overwritten before tessellation begins.
+ ///
+ ///
+ /// Two common symptoms of this problem are consists of a single point (when a
+ /// local variable is used for data) and a
+ /// error (when a local variable
+ /// is used for location).
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessVertex(GLUtesselator *tess, GLdouble coords[3], void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern void gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] IntPtr data);
+ #endregion gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] IntPtr data)
+
+ #region gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] void *data)
+ ///
+ /// Specifies a vertex on a polygon.
+ ///
+ ///
+ /// The tessellation object (created with ).
+ ///
+ ///
+ /// The location of the vertex.
+ ///
+ ///
+ /// A pointer passed back to the program with the vertex callback (as specified
+ /// by ).
+ ///
+ ///
+ ///
+ /// gluTessVertex describes a vertex on a polygon that the program
+ /// defines. Successive gluTessVertex calls describe a closed contour.
+ /// For example, to describe a quadrilateral gluTessVertex should be
+ /// called four times. gluTessVertex can only be called between
+ /// and .
+ ///
+ ///
+ /// data normally points to a structure containing the vertex location,
+ /// as well as other per-vertex attributes such as color and normal. This
+ /// pointer is passed back to the user through the
+ /// or callback after tessellation (see the
+ /// reference page).
+ ///
+ ///
+ /// EXAMPLE
+ ///
+ ///
+ /// The following describes a quadrilateral with a triangular hole:
+ ///
+ ///
+ ///
+ /// Glu.gluTessBeginPolygon(tess, null);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v1, v1);
+ /// Glu.gluTessVertex(tess, v2, v2);
+ /// Glu.gluTessVertex(tess, v3, v3);
+ /// Glu.gluTessVertex(tess, v4, v4);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluNextContour(tess, Glu.GLU_INTERIOR);
+ /// Glu.gluTessBeginContour(tess);
+ /// Glu.gluTessVertex(tess, v5, v5);
+ /// Glu.gluTessVertex(tess, v6, v6);
+ /// Glu.gluTessVertex(tess, v7, v7);
+ /// Glu.gluTessEndContour(tess);
+ /// Glu.gluTessEndPolygon(tess);
+ ///
+ ///
+ ///
+ /// NOTES
+ ///
+ ///
+ /// It is a common error to use a local variable for location or
+ /// data and store values into it as part of a loop. For example:
+ ///
+ ///
+ ///
+ /// for(int i = 0; i < NVERTICES; ++i) {
+ /// double data[3];
+ /// data[0] = vertex[i, 0];
+ /// data[1] = vertex[i, 1];
+ /// data[2] = vertex[i, 2];
+ /// Glu.gluTessVertex(tobj, data, data);
+ /// }
+ ///
+ ///
+ ///
+ /// This doesn't work. Because the pointers specified by location and
+ /// data might not be dereferenced until
+ /// is executed, all the vertex coordinates but the very last set could be
+ /// overwritten before tessellation begins.
+ ///
+ ///
+ /// Two common symptoms of this problem are consists of a single point (when a
+ /// local variable is used for data) and a
+ /// error (when a local variable
+ /// is used for location).
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // void APIENTRY gluTessVertex(GLUtesselator *tess, GLdouble coords[3], void *data);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), CLSCompliant(false), SuppressUnmanagedCodeSecurity]
+ public unsafe static extern void gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] void* data);
+ #endregion gluTessVertex([In] GLUtesselator tess, [In] double[] location, [In] void *data)
+
+ #region int gluUnProject(double winX, double winY, double winZ, [In] double[] modelMatrix, [In] double[] projectionMatrix, [In] int[] viewport, out double objX, out double objY, out double objZ)
+ ///
+ /// Maps window coordinates to object coordinates.
+ ///
+ ///
+ /// The window's x axis coordinate to be mapped.
+ ///
+ ///
+ /// The window's y axis coordinate to be mapped.
+ ///
+ ///
+ /// The window's z axis coordinate to be mapped.
+ ///
+ ///
+ /// The modelview matrix (as from a call).
+ ///
+ ///
+ /// The projection matrix (as from a call).
+ ///
+ ///
+ /// The viewport (as from a call).
+ ///
+ ///
+ /// The computed object's x axis coordinate.
+ ///
+ ///
+ /// The computed object's y axis coordinate.
+ ///
+ ///
+ /// The computed object's z axis coordinate.
+ ///
+ ///
+ /// A return value of indicates success; a return value
+ /// of indicates failure.
+ ///
+ ///
+ ///
+ /// gluUnProject maps the specified window coordinates into object
+ /// coordinates using modelMatrix, projectionMatrix, and
+ /// viewport. The result is stored in objX, objY, and
+ /// objZ. A return value of indicates success;
+ /// a return value of indicates failure.
+ ///
+ ///
+ /// To compute the coordinates (objX, objY, and objZ),
+ /// gluUnProject multiplies the normalized device coordinates by the
+ /// inverse of modelMatrix multiplied by projectionMatrix as
+ /// follows:
+ ///
+ ///
+ ///
+ /// ( 2(winX - viewport[0]) )
+ /// | ----------------- - 1 |
+ /// | viewport[2] |
+ /// ( ) | |
+ /// | objX | | 2(winY - viewport[1]) |
+ /// | objY | = INV(PM)| ----------------- - 1 |
+ /// | objZ | | viewport[3] |
+ /// ( W ) | |
+ /// | 2(winZ) - 1 |
+ /// | |
+ /// ( 1 )
+ ///
+ ///
+ ///
+ /// INV() denotes matrix inversion. W is an unused variable, included for
+ /// consistent matrix notation.
+ ///
+ ///
+ ///
+ ///
+ ///
+ // int APIENTRY gluUnProject(GLdouble winx, GLdouble winy, GLdouble winz, const GLdouble modelMatrix[16], const GLdouble projMatrix[16], const GLint viewport[4], GLdouble *objx, GLdouble *objy, GLdouble *objz);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluUnProject(double winX, double winY, double winZ, [In] double[] modelMatrix, [In] double[] projectionMatrix, [In] int[] viewport, out double objX, out double objY, out double objZ);
+ #endregion int gluUnProject(double winX, double winY, double winZ, [In] double[] modelMatrix, [In] double[] projectionMatrix, [In] int[] viewport, out double objX, out double objY, out double objZ)
+
+ #region int gluUnProject4(double winX, double winY, double winZ, double clipW, [In] double[] modelMatrix, [In] double[] projectionMatrix, [In] int[] viewport, double nearVal, double farVal, out double objX, out double objY, out double objZ, out double objW)
+ ///
+ /// Maps window and clip coordinates to object coordinates.
+ ///
+ ///
+ /// The window's x axis coordinate to be mapped.
+ ///
+ ///
+ /// The window's y axis coordinate to be mapped.
+ ///
+ ///
+ /// The window's z axis coordinate to be mapped.
+ ///
+ ///
+ /// The clip w coordinate to be mapped.
+ ///
+ ///
+ /// The modelview matrix (as from a call).
+ ///
+ ///
+ /// The projection matrix (as from a call).
+ ///
+ ///
+ /// The viewport (as from a call).
+ ///
+ ///
+ /// The near plane (as from a call).
+ ///
+ ///
+ /// The far plane (as from a call).
+ ///
+ ///
+ /// The computed object's x axis coordinate.
+ ///
+ ///
+ /// The computed object's y axis coordinate.
+ ///
+ ///
+ /// The computed object's z axis coordinate.
+ ///
+ ///
+ /// The computed object's clip w coordinate.
+ ///
+ ///
+ /// A return value of indicates success; a return
+ /// value of indicates failure.
+ ///
+ ///
+ ///
+ /// gluUnProject4 maps the specified window coordinates winX,
+ /// winY and winZ and its clip w coordinate clipW into
+ /// object coordinates (objX, objY, objZ, objW)
+ /// using modelMatrix, projectionMatrix and viewport.
+ /// clipW can be other than 1 as for vertices in
+ /// when data type
+ /// is returned. This also handles the
+ /// case where the nearVal and farVal planes are different from the
+ /// default, 0 and 1, respectively. A return value of
+ /// indicates success; a return value of indicates
+ /// failure.
+ ///
+ ///
+ /// To compute the coordinates (objX, objY, objZ and
+ /// objW), gluUnProject4 multiplies the normalized device
+ /// coordinates by the inverse of modelMatrix multiplied by
+ /// projectionMatrix as follows:
+ ///
+ ///
+ ///
+ /// ( 2(winX - viewport[0] )
+ /// | ---------------- - 1 |
+ /// | viewport[2] |
+ /// | |
+ /// | 2(winY - viewport[1] |
+ /// ( objX ) | ---------------- - 1 |
+ /// | objY | = INV(PM) * | viewport[3] |
+ /// | objZ | | |
+ /// ( objW ) | 2(winZ - nearVal) |
+ /// | -------------- - 1 |
+ /// | farVal - nearVal |
+ /// | |
+ /// ( clipW )
+ ///
+ ///
+ ///
+ /// INV() denotes matrix inversion.
+ ///
+ ///
+ /// gluUnProject4 is equivalent to when
+ /// clipW is 1, nearVal is 0 and farVal is 1.
+ ///
+ ///
+ /// gluUnProject4 is available only if the GLU version is 1.3 or greater.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ // GLAPI GLint GLAPIENTRY gluUnProject4 (GLdouble winX, GLdouble winY, GLdouble winZ, GLdouble clipW, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble nearVal, GLdouble farVal, GLdouble* objX, GLdouble* objY, GLdouble* objZ, GLdouble* objW);
+ [DllImport("glu32.dll", CallingConvention = CALLING_CONVENTION), SuppressUnmanagedCodeSecurity]
+ public static extern int gluUnProject4(double winX, double winY, double winZ, double clipW, [In] double[] modelMatrix, [In] double[] projectionMatrix, [In] int[] viewport, double nearVal, double farVal, out double objX, out double objY, out double objZ, out double objW);
+ #endregion int gluUnProject4(double winX, double winY, double winZ, double clipW, [In] double[] modelMatrix, [In] double[] projectionMatrix, [In] int[] viewport, double nearVal, double farVal, out double objX, out double objY, out double objZ, out double objW)
+ }
+}
\ No newline at end of file
diff --git a/Source/Compatibility/Tao/Platform/Windows/SimpleOpenGlControl.cs b/Source/Compatibility/Tao/Platform/Windows/SimpleOpenGlControl.cs
new file mode 100644
index 00000000..5e96cbda
--- /dev/null
+++ b/Source/Compatibility/Tao/Platform/Windows/SimpleOpenGlControl.cs
@@ -0,0 +1,486 @@
+#region License
+/*
+MIT License
+Copyright ©2003-2006 Tao Framework Team
+http://www.taoframework.com
+All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+#endregion License
+
+using System;
+using System.ComponentModel;
+using System.Diagnostics;
+using System.Drawing;
+using System.IO;
+using System.Reflection;
+using System.Runtime.InteropServices;
+using System.Windows.Forms;
+
+using OpenTK.Graphics.OpenGL;
+
+namespace Tao.Platform.Windows
+{
+ ///
+ /// Provides a simple OpenGL control allowing quick development of Windows.Forms-based
+ /// OpenGL applications. Relies on OpenTK.GLControl for cross-platform compatibility.
+ ///
+ [Obsolete("Use OpenTK.GLControl instead.")]
+ public class SimpleOpenGlControl : OpenTK.GLControl
+ {
+ #region Fields
+
+ private IContainer components; // Required for designer support
+
+ private bool autoCheckErrors = false; // Should we provide glGetError()?
+ private bool autoFinish = false; // Should we provide a glFinish()?
+ private bool autoMakeCurrent = true; // Should we automatically make the rendering context current?
+ private bool autoSwapBuffers = true; // Should we automatically swap buffers?
+ private byte accumBits = 0; // Accumulation buffer bits
+ private byte colorBits = 32; // Color buffer bits
+ private byte depthBits = 16; // Depth buffer bits
+ private byte stencilBits = 0; // Stencil buffer bits
+ private ErrorCode errorCode = ErrorCode.NoError; // The GL error code
+
+ private int logScaleX = 96; // DPI Resolution in X dir
+ private int logScaleY = 96; // DPI Resolution in Y dir
+
+ #endregion
+
+ #region Constructors
+
+ #region SimpleOpenGlControl()
+ ///
+ /// Constructor. Creates contexts and sets properties.
+ ///
+ public SimpleOpenGlControl()
+ {
+ InitializeStyles();
+ InitializeComponent();
+ InitializeBackground();
+ }
+ #endregion SimpleOpenGlControl()
+
+ #endregion
+
+ #region Public Members
+
+ #region DestroyContexts()
+ ///
+ ///
+ ///
+ public void DestroyContexts()
+ {
+ Context.Dispose();
+ }
+ #endregion DestroyContexts()
+
+ #region Draw()
+ ///
+ /// Sends an see cref="UserControl.Invalidate" command to this control, thus
+ /// forcing a redraw to occur.
+ ///
+ public void Draw()
+ {
+ this.Invalidate();
+ }
+ #endregion Draw()
+
+ #region InitializeContexts()
+ ///
+ /// Creates the OpenGL contexts.
+ ///
+ public void InitializeContexts()
+ {
+ // No need to do anything, handled by the GLControl.
+ }
+ #endregion InitializeContexts()
+
+ #region LogScaleX
+
+ ///
+ /// Gets the number of logical pixels or dots per inch (dpi) in X-direction
+ ///
+ [Category("OpenGL Properties"), Description("Logical pixels per inch in X-direction.")]
+ public int LogScaleX
+ {
+ get
+ {
+ return logScaleX;
+ }
+ }
+
+ #endregion
+
+ #region LogScaleY
+
+ ///
+ /// Gets the number of logical pixels or dots per inch (dpi) in Y-direction
+ ///
+ [Category("OpenGL Properties"), Description("Logical pixels per inch in Y-direction.")]
+ public int LogScaleY
+ {
+ get
+ {
+ return logScaleY;
+ }
+ }
+
+ #endregion
+
+ #region AccumBits
+
+ ///
+ /// Gets and sets the OpenGL control's accumulation buffer depth.
+ ///
+ [Category("OpenGL Properties"), Description("Accumulation buffer depth in bits.")]
+ public byte AccumBits
+ {
+ get
+ {
+ return accumBits;
+ }
+ set
+ {
+ accumBits = value;
+ }
+ }
+
+ #endregion
+
+ #region ColorBits
+
+ ///
+ /// Gets and sets the OpenGL control's color buffer depth.
+ ///
+ [Category("OpenGL Properties"), Description("Color buffer depth in bits.")]
+ public byte ColorBits
+ {
+ get
+ {
+ return colorBits;
+ }
+ set
+ {
+ colorBits = value;
+ }
+ }
+
+ #endregion
+
+ #region DepthBits
+
+ ///
+ /// Gets and sets the OpenGL control's depth buffer (Z-buffer) depth.
+ ///
+ [Category("OpenGL Properties"), Description("Depth buffer (Z-buffer) depth in bits.")]
+ public byte DepthBits
+ {
+ get
+ {
+ return depthBits;
+ }
+ set
+ {
+ depthBits = value;
+ }
+ }
+
+ #endregion
+
+ #region StencilBits
+
+ ///
+ /// Gets and sets the OpenGL control's stencil buffer depth.
+ ///
+ [Category("OpenGL Properties"), Description("Stencil buffer depth in bits.")]
+ public byte StencilBits
+ {
+ get
+ {
+ return stencilBits;
+ }
+ set
+ {
+ stencilBits = value;
+ }
+ }
+
+ #endregion
+
+ #region AutoCheckErrors
+
+ ///
+ /// Gets and sets the OpenGL control's automatic sending of a glGetError command
+ /// after drawing.
+ ///
+ [Category("OpenGL Properties"), Description("Automatically send a glGetError command after drawing?")]
+ public bool AutoCheckErrors
+ {
+ get
+ {
+ return autoCheckErrors;
+ }
+ set
+ {
+ autoCheckErrors = value;
+ }
+ }
+
+ #endregion
+
+ #region AutoFinish
+
+ ///
+ /// Gets and sets the OpenGL control's automatic sending of a glFinish command
+ /// after drawing.
+ ///
+ [Category("OpenGL Properties"), Description("Automatically send a glFinish command after drawing?")]
+ public bool AutoFinish
+ {
+ get
+ {
+ return autoFinish;
+ }
+ set
+ {
+ autoFinish = value;
+ }
+ }
+
+ #endregion
+
+ #region AutoMakeCurrent
+
+ ///
+ /// Gets and sets the OpenGL control's automatic forcing of the rendering context to
+ /// be current before drawing.
+ ///
+ [Category("OpenGL Properties"), Description("Automatically make the rendering context current before drawing?")]
+ public bool AutoMakeCurrent
+ {
+ get
+ {
+ return autoMakeCurrent;
+ }
+ set
+ {
+ autoMakeCurrent = value;
+ }
+ }
+
+ #endregion
+
+ #region AutoSwapBuffers
+
+ ///
+ /// Gets and sets the OpenGL control's automatic sending of a SwapBuffers command
+ /// after drawing.
+ ///
+ [Category("OpenGL Properties"), Description("Automatically send a SwapBuffers command after drawing?")]
+ public bool AutoSwapBuffers
+ {
+ get
+ {
+ return autoSwapBuffers;
+ }
+ set
+ {
+ autoSwapBuffers = value;
+ }
+ }
+
+ #endregion
+
+ #endregion
+
+ #region Protected Members
+
+ #region OnPaint
+
+ ///
+ /// Paints the control.
+ ///
+ /// The paint event arguments.
+ protected override void OnPaint(PaintEventArgs e)
+ {
+ if (this.DesignMode)
+ {
+ e.Graphics.Clear(this.BackColor);
+ if (this.BackgroundImage != null)
+ e.Graphics.DrawImage(this.BackgroundImage, this.ClientRectangle, 0, 0, this.BackgroundImage.Width, this.BackgroundImage.Height, GraphicsUnit.Pixel);
+ e.Graphics.Flush();
+ return;
+ }
+
+ if (autoMakeCurrent)
+ {
+ MakeCurrent();
+ }
+
+ base.OnPaint(e);
+
+ if (autoFinish)
+ {
+ GL.Finish();
+ }
+
+ if (autoCheckErrors)
+ {
+ errorCode = GL.GetError();
+ if (errorCode != ErrorCode.NoError)
+ {
+ switch (errorCode)
+ {
+ case ErrorCode.InvalidEnum:
+ MessageBox.Show("GL_INVALID_ENUM - An unacceptable value has been specified for an enumerated argument. The offending function has been ignored.", "OpenGL Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
+ break;
+ case ErrorCode.InvalidValue:
+ MessageBox.Show("GL_INVALID_VALUE - A numeric argument is out of range. The offending function has been ignored.", "OpenGL Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
+ break;
+ case ErrorCode.InvalidOperation:
+ MessageBox.Show("GL_INVALID_OPERATION - The specified operation is not allowed in the current state. The offending function has been ignored.", "OpenGL Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
+ break;
+ case ErrorCode.StackOverflow:
+ MessageBox.Show("GL_STACK_OVERFLOW - This function would cause a stack overflow. The offending function has been ignored.", "OpenGL Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
+ break;
+ case ErrorCode.StackUnderflow:
+ MessageBox.Show("GL_STACK_UNDERFLOW - This function would cause a stack underflow. The offending function has been ignored.", "OpenGL Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
+ break;
+ case ErrorCode.OutOfMemory:
+ MessageBox.Show("GL_OUT_OF_MEMORY - There is not enough memory left to execute the function. The state of OpenGL has been left undefined.", "OpenGL Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
+ break;
+ default:
+ MessageBox.Show("Unknown GL error. This should never happen.", "OpenGL Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
+ break;
+ }
+ }
+ }
+
+ if (autoSwapBuffers)
+ {
+ SwapBuffers();
+ }
+ }
+
+ #endregion
+
+ #region CreateParams
+
+ ///
+ /// Overrides the control's class style parameters.
+ ///
+ protected override CreateParams CreateParams
+ {
+ get
+ {
+ Int32 CS_VREDRAW = 0x1;
+ Int32 CS_HREDRAW = 0x2;
+ Int32 CS_OWNDC = 0x20;
+ CreateParams cp = base.CreateParams;
+ cp.ClassStyle = cp.ClassStyle | CS_VREDRAW | CS_HREDRAW | CS_OWNDC;
+ return cp;
+ }
+ }
+
+ #endregion
+
+ #endregion
+
+ #region Private Members
+
+ #region InitializeBackground
+
+ ///
+ /// Loads the bitmap from the assembly's manifest resource.
+ ///
+ private void InitializeBackground()
+ {
+ try
+ {
+ this.BackgroundImage = OpenTK.Compatibility.Properties.Resources.TaoButton;
+ }
+ catch (Exception)
+ {
+ this.BackgroundImage = null;
+ }
+ }
+
+ #endregion
+
+ #region InitializeComponent
+
+ ///
+ /// Required for designer support.
+ ///
+ private void InitializeComponent()
+ {
+ this.components = new System.ComponentModel.Container();
+ //
+ // SimpleOpenGlControl
+ //
+ this.BackColor = System.Drawing.Color.Black;
+ this.Size = new System.Drawing.Size(50, 50);
+ }
+
+ #endregion
+
+ #region InitializeStyles
+
+ ///
+ /// Initializes the control's styles.
+ ///
+ private void InitializeStyles()
+ {
+ this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);
+ this.SetStyle(ControlStyles.DoubleBuffer, false);
+ this.SetStyle(ControlStyles.Opaque, true);
+ this.SetStyle(ControlStyles.ResizeRedraw, true);
+ this.SetStyle(ControlStyles.UserPaint, true);
+ }
+
+ #endregion
+
+ #endregion
+
+ #region IDisposable Members
+
+ #region Dispose(bool disposing)
+ ///
+ /// Disposes the control.
+ ///
+ /// Was the disposed manually called?
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing)
+ {
+ if (components != null)
+ {
+ components.Dispose();
+ }
+ }
+ DestroyContexts();
+ base.Dispose(disposing);
+ }
+ #endregion Dispose(bool disposing)
+
+ #endregion
+ }
+}
\ No newline at end of file