diff --git a/OpenTK.sln b/OpenTK.sln
index 53d9a14c..4cc0b5d4 100644
--- a/OpenTK.sln
+++ b/OpenTK.sln
@@ -9,11 +9,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenTK", "Source\OpenTK\Ope
{C426C9D1-8857-4E52-BAC7-4C05EE6070AB} = {C426C9D1-8857-4E52-BAC7-4C05EE6070AB}
EndProjectSection
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenTK.Compatibility", "Source\Compatibility\OpenTK.Compatibility.csproj", "{62C0DB35-0000-0000-0000-000000000000}"
- ProjectSection(ProjectDependencies) = postProject
- {75DC22B1-113F-4A66-96B9-2FF8208C10E8} = {75DC22B1-113F-4A66-96B9-2FF8208C10E8}
- EndProjectSection
-EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenTK.Examples", "Source\Examples\OpenTK.Examples.csproj", "{868E37B3-0000-0000-0000-000000000000}"
ProjectSection(ProjectDependencies) = postProject
{75DC22B1-113F-4A66-96B9-2FF8208C10E8} = {75DC22B1-113F-4A66-96B9-2FF8208C10E8}
@@ -27,7 +22,6 @@ EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Build.Installer.Nsis", "Installers\Nsis\Build.Installer.Nsis.csproj", "{ADC34399-7613-44D2-90B2-19250F06FE7A}"
ProjectSection(ProjectDependencies) = postProject
{A37A7E14-0000-0000-0000-000000000000} = {A37A7E14-0000-0000-0000-000000000000}
- {62C0DB35-0000-0000-0000-000000000000} = {62C0DB35-0000-0000-0000-000000000000}
{650C6F3D-33B5-4216-9536-956AB42C0624} = {650C6F3D-33B5-4216-9536-956AB42C0624}
{A625BE88-0000-0000-0000-000000000000} = {A625BE88-0000-0000-0000-000000000000}
{75DC22B1-113F-4A66-96B9-2FF8208C10E8} = {75DC22B1-113F-4A66-96B9-2FF8208C10E8}
@@ -54,7 +48,6 @@ EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Build.Installer.Zip", "Installers\Zip\Build.Installer.Zip.csproj", "{ADC34399-7613-44D2-90B2-19250F06FE7B}"
ProjectSection(ProjectDependencies) = postProject
{A37A7E14-0000-0000-0000-000000000000} = {A37A7E14-0000-0000-0000-000000000000}
- {62C0DB35-0000-0000-0000-000000000000} = {62C0DB35-0000-0000-0000-000000000000}
{650C6F3D-33B5-4216-9536-956AB42C0624} = {650C6F3D-33B5-4216-9536-956AB42C0624}
{A625BE88-0000-0000-0000-000000000000} = {A625BE88-0000-0000-0000-000000000000}
{75DC22B1-113F-4A66-96B9-2FF8208C10E8} = {75DC22B1-113F-4A66-96B9-2FF8208C10E8}
@@ -64,7 +57,6 @@ EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Build.Installer.Nuget", "Installers\Nuget\Build.Installer.Nuget.csproj", "{ADC34399-7613-44D2-90B2-19250F12FE7B}"
ProjectSection(ProjectDependencies) = postProject
{A37A7E14-0000-0000-0000-000000000000} = {A37A7E14-0000-0000-0000-000000000000}
- {62C0DB35-0000-0000-0000-000000000000} = {62C0DB35-0000-0000-0000-000000000000}
{650C6F3D-33B5-4216-9536-956AB42C0624} = {650C6F3D-33B5-4216-9536-956AB42C0624}
{A625BE88-0000-0000-0000-000000000000} = {A625BE88-0000-0000-0000-000000000000}
{75DC22B1-113F-4A66-96B9-2FF8208C10E8} = {75DC22B1-113F-4A66-96B9-2FF8208C10E8}
@@ -105,15 +97,6 @@ Global
{A37A7E14-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU
{A37A7E14-0000-0000-0000-000000000000}.ReleaseMinimal|Any CPU.ActiveCfg = ReleaseMinimal|Any CPU
{A37A7E14-0000-0000-0000-000000000000}.ReleaseMinimal|Any CPU.Build.0 = ReleaseMinimal|Any CPU
- {62C0DB35-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {62C0DB35-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {62C0DB35-0000-0000-0000-000000000000}.DebugMinimal|Any CPU.ActiveCfg = Debug|Any CPU
- {62C0DB35-0000-0000-0000-000000000000}.Documentation|Any CPU.ActiveCfg = Documentation|Any CPU
- {62C0DB35-0000-0000-0000-000000000000}.Nsis|Any CPU.ActiveCfg = Nsis|Any CPU
- {62C0DB35-0000-0000-0000-000000000000}.Nsis|Any CPU.Build.0 = Nsis|Any CPU
- {62C0DB35-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {62C0DB35-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU
- {62C0DB35-0000-0000-0000-000000000000}.ReleaseMinimal|Any CPU.ActiveCfg = ReleaseMinimal|Any CPU
{868E37B3-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{868E37B3-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU
{868E37B3-0000-0000-0000-000000000000}.DebugMinimal|Any CPU.ActiveCfg = Debug|Any CPU
diff --git a/Source/Compatibility/Audio/AudioReader.cs b/Source/Compatibility/Audio/AudioReader.cs
deleted file mode 100644
index fc0abf29..00000000
--- a/Source/Compatibility/Audio/AudioReader.cs
+++ /dev/null
@@ -1,235 +0,0 @@
-#region --- License ---
-/* Licensed under the MIT/X11 license.
- * Copyright (c) 2006-2008 the OpenTK Team.
- * This notice may not be removed from any source distribution.
- * See license.txt for licensing details.
- */
-#endregion
-
-using System;
-using System.Collections.Generic;
-using System.Text;
-using System.IO;
-
-namespace OpenTK.Audio
-{
- ///
- /// Encapsulates a sound stream and provides decoding and streaming capabilities.
- ///
- public class AudioReader : IDisposable
- {
- static object reader_lock = new object();
- static List readers = new List();
-
- bool disposed;
- Stream stream;
- AudioReader implementation;
-
- #region --- Constructors ---
-
- #region static AudioReader()
-
- static AudioReader()
- {
- // TODO: Plugin architecture for sound formats. This is overkill now that we only have a WaveReader (future proofing).
- readers.Add(new WaveReader());
- }
-
- #endregion
-
- #region protected AudioReader()
-
- protected AudioReader() { }
-
- #endregion
-
- #region public AudioReader(string filename)
-
- /// Creates a new AudioReader that can read the specified sound file.
- /// The path to the sound file.
- /// A new OpenTK.Audio.AudioReader, which can be used to read from the specified sound file.
- public AudioReader(string filename)
- : this(new FileStream(filename, FileMode.Open, FileAccess.Read, FileShare.ReadWrite))
- { }
-
- #endregion
-
- #region public AudioReader(Stream s)
-
- /// Creates a new AudioReader that can read the specified soundstream.
- /// The System.IO.Stream to read from.
- /// A new OpenTK.Audio.AudioReader, which can be used to read from the specified sound stream.
- public AudioReader(Stream s)
- {
- try
- {
- lock (reader_lock)
- {
- foreach (AudioReader reader in readers)
- {
- long pos = s.Position;
- if (reader.Supports(s))
- {
- s.Position = pos;
- implementation = (AudioReader)
- reader.GetType().GetConstructor(
- System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Public |
- System.Reflection.BindingFlags.Instance,
- null,
- new Type[] { typeof(Stream) },
- null)
- .Invoke(new object[] { s });
- return;
- }
- s.Position = pos;
- }
- }
- }
- catch (Exception)
- {
- s.Close();
- throw;
- }
- throw new NotSupportedException("Could not find a decoder for the specified sound stream.");
- }
-
- #endregion
-
- #endregion
-
- #region --- Public Members ---
-
- #region public virtual bool Supports(Stream s)
-
- /// When overriden in a derived class, checks if the decoder supports the specified sound stream.
- /// The System.IO.Stream to check.
- /// True if the sound stream is supported; false otherwise.
- public virtual bool Supports(Stream s)
- {
- if (implementation != null)
- return implementation.Supports(s);
- throw new NotImplementedException();
- }
-
- #endregion
-
- #region public virtual SoundData ReadSamples(long count)
-
- ///
- /// When overriden in a derived class, reads and decodes the specified number of samples from the sound stream.
- ///
- /// The number of samples to read and decode.
- /// An OpenTK.Audio.SoundData object that contains the decoded buffer.
- public virtual SoundData ReadSamples(long count)
- {
- if (implementation != null)
- return implementation.ReadSamples(count);
- throw new NotImplementedException();
- }
-
- #endregion
-
- #region public virtual SoundData ReadToEnd()
-
- ///
- /// When overriden in a derived class, reads and decodes the sound stream.
- ///
- /// An OpenTK.Audio.SoundData object that contains the decoded buffer.
- public virtual SoundData ReadToEnd()
- {
- if (implementation != null)
- return implementation.ReadToEnd();
- throw new NotImplementedException();
- }
-
- #endregion
-
- #region public virtual int Frequency
-
- ///
- ///
- ///
- public virtual int Frequency
- {
- get
- {
- if (implementation != null)
- return implementation.Frequency;
- else
- throw new NotImplementedException();
- }
- protected set
- {
- if (implementation != null)
- implementation.Frequency = value;
- else
- throw new NotImplementedException();
- }
- }
-
- #endregion
-
- #region public virtual bool EndOfFile
-
- ///
- /// Returns true if the AudioReader has reached the end of the file.
- ///
- public virtual bool EndOfFile
- {
- get
- {
- if (implementation != null)
- return implementation.EndOfFile;
-
- return this.Stream.Position >= this.Stream.Length;
- }
- }
- #endregion
-
- #endregion
-
- #region --- Protected Members ---
-
- ///
- /// Gets or sets the input of the AudioReader.
- ///
- protected virtual Stream Stream
- {
- get { return stream; }
- set { stream = value; }
- }
-
- #endregion
-
- #region IDisposable Members
-
- /// Closes the underlying Stream and disposes of the AudioReader resources.
- public virtual void Dispose()
- {
- this.Dispose(true);
- GC.SuppressFinalize(this);
- }
-
- void Dispose(bool manual)
- {
- if (!disposed)
- {
- if (manual)
- if (this.Stream != null)
- this.Stream.Close();
-
- disposed = true;
- }
- }
-
- ///
- /// Finalizes this AudioReader.
- ///
- ~AudioReader()
- {
- this.Dispose(false);
- }
-
- #endregion
- }
-}
diff --git a/Source/Compatibility/Audio/AudioReaderException.cs b/Source/Compatibility/Audio/AudioReaderException.cs
deleted file mode 100644
index e8c34572..00000000
--- a/Source/Compatibility/Audio/AudioReaderException.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-#region --- License ---
-/* Licensed under the MIT/X11 license.
- * Copyright (c) 2006-2008 the OpenTK Team.
- * This notice may not be removed from any source distribution.
- * See license.txt for licensing details.
- */
-#endregion
-
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-namespace OpenTK.Audio
-{
- /// Represents exceptions related to OpenTK.Audio.AudioReader objects.
- public class AudioReaderException : AudioException
- {
- /// Constructs a new AudioReaderException.
- public AudioReaderException() : base() { }
- /// Constructs a new AudioReaderException with the specified error message.
- /// The error message of the AudioReaderException.
- public AudioReaderException(string message) : base(message) { }
- }
-}
diff --git a/Source/Compatibility/Audio/OpenAL/AL/AL.cs b/Source/Compatibility/Audio/OpenAL/AL/AL.cs
deleted file mode 100644
index 50f4de1c..00000000
--- a/Source/Compatibility/Audio/OpenAL/AL/AL.cs
+++ /dev/null
@@ -1,1652 +0,0 @@
-#region --- OpenTK.OpenAL License ---
-/* AlFunctions.cs
- * C header: \OpenAL 1.1 SDK\include\Al.h
- * Spec: http://www.openal.org/openal_webstf/specs/OpenAL11Specification.pdf
- * Copyright (c) 2008 Christoph Brandtner and Stefanos Apostolopoulos
- * See license.txt for license details
- * http://www.OpenTK.net */
-#endregion
-
-using System;
-using System.Runtime.InteropServices;
-using System.Security;
-
-using OpenTK;
-
-/* Type Mapping
-// 8-bit boolean
-typedef char ALboolean;
- * bool
-// character
-typedef char ALchar;
- * byte
-// signed 8-bit 2's complement integer
-typedef char ALbyte;
- * byte
-
-// unsigned 8-bit integer
-typedef unsigned char ALubyte;
- * byte
-
-// signed 16-bit 2's complement integer
-typedef short ALshort;
- * short
-
-// unsigned 16-bit integer
-typedef unsigned short ALushort;
- * ushort
-
-// unsigned 32-bit integer
-typedef unsigned int ALuint;
- * uint
-
-// signed 32-bit 2's complement integer
-typedef int ALint;
- * int
-// non-negative 32-bit binary integer size
-typedef int ALsizei;
- * int
-// enumerated 32-bit value
-typedef int ALenum;
- * int
-
-// 32-bit IEEE754 floating-point
-typedef float ALfloat;
- * float
-
-// 64-bit IEEE754 floating-point
-typedef double ALdouble;
- * double
-
-// void type (for opaque pointers only)
-typedef void ALvoid;
- * void
-*/
-
-namespace OpenTK.Audio
-{
- public static partial class AL
- {
-
- #region Constants
-
- public const string Lib = "openal32.dll";
- private const CallingConvention Style = CallingConvention.Cdecl;
-
- #endregion Constants
-
- #region Renderer State management
-
- /// This function enables a feature of the OpenAL driver. There are no capabilities defined in OpenAL 1.1 to be used with this function, but it may be used by an extension.
- /// The name of a capability to enable.
- [DllImport(AL.Lib, EntryPoint = "alEnable", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void Enable(ALCapability capability);
- //AL_API void AL_APIENTRY alEnable( ALenum capability );
-
- /// This function disables a feature of the OpenAL driver.
- /// The name of a capability to disable.
- [DllImport(AL.Lib, EntryPoint = "alDisable", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void Disable(ALCapability capability);
- // AL_API void AL_APIENTRY alDisable( ALenum capability );
-
- /// This function returns a boolean indicating if a specific feature is enabled in the OpenAL driver.
- /// The name of a capability to enable.
- /// True if enabled, False if disabled.
- [DllImport(AL.Lib, EntryPoint = "alIsEnabled", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern bool IsEnabled(ALCapability capability);
- // AL_API ALboolean AL_APIENTRY alIsEnabled( ALenum capability );
-
- #endregion Renderer State management
-
- #region State retrieval
-
- [DllImport(AL.Lib, EntryPoint = "alGetString", ExactSpelling = true, CallingConvention = AL.Style, CharSet = CharSet.Ansi), SuppressUnmanagedCodeSecurity()]
- private static extern IntPtr GetStringPrivate(ALGetString param); // accepts the enums AlError, AlContextString
- // AL_API const ALchar* AL_APIENTRY alGetString( ALenum param );
-
- /// This function retrieves an OpenAL string property.
- /// The property to be returned: Vendor, Version, Renderer and Extensions
- /// Returns a pointer to a null-terminated string.
- public static string Get(ALGetString param)
- {
- return Marshal.PtrToStringAnsi(GetStringPrivate(param));
- }
-
- /// This function retrieves an OpenAL string property.
- /// The human-readable errorstring to be returned.
- /// Returns a pointer to a null-terminated string.
- public static string GetErrorString(ALError param)
- {
- return Marshal.PtrToStringAnsi(GetStringPrivate((ALGetString)param));
- }
-
- /* no functions return more than 1 result ..
- // AL_API void AL_APIENTRY alGetBooleanv( ALenum param, ALboolean* buffer );
- // AL_API void AL_APIENTRY alGetIntegerv( ALenum param, ALint* buffer );
- // AL_API void AL_APIENTRY alGetFloatv( ALenum param, ALfloat* buffer );
- // AL_API void AL_APIENTRY alGetDoublev( ALenum param, ALdouble* buffer );
- */
-
- /* disabled due to no token using it
- /// This function returns a boolean OpenAL state.
- /// the state to be queried: AL_DOPPLER_FACTOR, AL_SPEED_OF_SOUND, AL_DISTANCE_MODEL
- /// The boolean state described by param will be returned.
- [DllImport( AL.Lib, EntryPoint = "alGetBoolean", ExactSpelling = true, CallingConvention = AL.Style ), SuppressUnmanagedCodeSecurity( )]
- public static extern bool Get( ALGetBoolean param );
- // AL_API ALboolean AL_APIENTRY alGetBoolean( ALenum param );
- */
-
- /// This function returns an integer OpenAL state.
- /// the state to be queried: DistanceModel.
- /// The integer state described by param will be returned.
- [DllImport(AL.Lib, EntryPoint = "alGetInteger", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern int Get(ALGetInteger param);
- // AL_API ALint AL_APIENTRY alGetInteger( ALenum param );
-
- /// This function returns a floating-point OpenAL state.
- /// the state to be queried: DopplerFactor, SpeedOfSound.
- /// The floating-point state described by param will be returned.
- [DllImport(AL.Lib, EntryPoint = "alGetFloat", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern float Get(ALGetFloat param);
- // AL_API ALfloat AL_APIENTRY alGetFloat( ALenum param );
-
- /* disabled due to no token using it
- /// This function returns a double-precision floating-point OpenAL state.
- /// the state to be queried: AL_DOPPLER_FACTOR, AL_SPEED_OF_SOUND, AL_DISTANCE_MODEL
- /// The double value described by param will be returned.
- [DllImport( AL.Lib, EntryPoint = "alGetDouble", ExactSpelling = true, CallingConvention = AL.Style ), SuppressUnmanagedCodeSecurity( )]
- public static extern double Get( ALGetDouble param );
- // AL_API ALdouble AL_APIENTRY alGetDouble( ALenum param );
- */
-
- /// Error support. Obtain the most recent error generated in the AL state machine. When an error is detected by AL, a flag is set and the error code is recorded. Further errors, if they occur, do not affect this recorded code. When alGetError is called, the code is returned and the flag is cleared, so that a further error will again record its code.
- /// The first error that occured. can be used with AL.GetString. Returns an Alenum representing 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.
- [DllImport(AL.Lib, EntryPoint = "alGetError", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern ALError GetError();
- // AL_API ALenum AL_APIENTRY alGetError( void );
-
- #endregion State retrieval
-
- #region Extension support.
-
- ///This function tests if a specific Extension is available for the OpenAL driver.
- /// A string naming the desired extension. Example: "EAX-RAM"
- /// Returns True if the Extension is available or False if not available.
- [DllImport(AL.Lib, EntryPoint = "alIsExtensionPresent", ExactSpelling = true, CallingConvention = AL.Style, CharSet = CharSet.Ansi), SuppressUnmanagedCodeSecurity()]
- public static extern bool IsExtensionPresent([In] string extname);
- // AL_API ALboolean AL_APIENTRY alIsExtensionPresent( const ALchar* extname );
-
- /// This function returns the address of an OpenAL extension function. Handle with care.
- /// A string containing the function name.
- /// The return value is a pointer to the specified function. The return value will be IntPtr.Zero if the function is not found.
- [DllImport(AL.Lib, EntryPoint = "alGetProcAddress", ExactSpelling = true, CallingConvention = AL.Style, CharSet = CharSet.Ansi), SuppressUnmanagedCodeSecurity()]
- public static extern IntPtr GetProcAddress([In] string fname);
- // AL_API void* AL_APIENTRY alGetProcAddress( const ALchar* fname );
-
- /// This function returns the enumeration value of an OpenAL token, described by a string.
- /// A string describing an OpenAL token. Example "AL_DISTANCE_MODEL"
- /// Returns the actual ALenum described by a string. Returns 0 if the string doesn’t describe a valid OpenAL token.
- [DllImport(AL.Lib, EntryPoint = "alGetEnumValue", ExactSpelling = true, CallingConvention = AL.Style, CharSet = CharSet.Ansi), SuppressUnmanagedCodeSecurity()]
- public static extern int GetEnumValue([In] string ename);
- // AL_API ALenum AL_APIENTRY alGetEnumValue( const ALchar* ename );
-
- #endregion Extension support.
-
- /* Listener
- * Listener represents the location and orientation of the
- * 'user' in 3D-space.
- *
- * Properties include: -
- *
- * Gain AL_GAIN ALfloat
- * Position AL_POSITION ALfloat[3]
- * Velocity AL_VELOCITY ALfloat[3]
- * Orientation AL_ORIENTATION ALfloat[6] (Forward then Up vectors)
- */
-
- #region Set Listener parameters
-
- /// This function sets a floating-point property for the listener.
- /// The name of the attribute to be set: ALListenerf.Gain
- /// The float value to set the attribute to.
- [DllImport(AL.Lib, EntryPoint = "alListenerf", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void Listener(ALListenerf param, float value);
- // AL_API void AL_APIENTRY alListenerf( ALenum param, ALfloat value );
-
- /// This function sets a floating-point property for the listener.
- /// The name of the attribute to set: ALListener3f.Position, ALListener3f.Velocity
- /// The value to set the attribute to.
- /// The value to set the attribute to.
- /// The value to set the attribute to.
- [DllImport(AL.Lib, EntryPoint = "alListener3f", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void Listener(ALListener3f param, float value1, float value2, float value3);
- // AL_API void AL_APIENTRY alListener3f( ALenum param, ALfloat value1, ALfloat value2, ALfloat value3 );
-
- /// This function sets a Math.Vector3 property for the listener.
- /// The name of the attribute to set: ALListener3f.Position, ALListener3f.Velocity
- /// The Math.Vector3 to set the attribute to.
- public static void Listener(ALListener3f param, ref Vector3 values)
- {
- Listener(param, values.X, values.Y, values.Z);
- }
-
- [DllImport(AL.Lib, EntryPoint = "alListenerfv", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- unsafe private static extern void ListenerPrivate(ALListenerfv param, float* values);
- // AL_API void AL_APIENTRY alListenerfv( ALenum param, const ALfloat* values );
-
- /// This function sets a floating-point vector property of the listener.
- /// The name of the attribute to be set: ALListener3f.Position, ALListener3f.Velocity, ALListenerfv.Orientation
- /// Pointer to floating-point vector values.
- public static void Listener(ALListenerfv param, ref float[] values)
- {
- unsafe
- {
- fixed (float* ptr = &values[0])
- {
- ListenerPrivate(param, ptr);
- }
- }
- }
-
- /// This function sets two Math.Vector3 properties of the listener.
- /// The name of the attribute to be set: ALListenerfv.Orientation
- /// A Math.Vector3 for the At-Vector.
- /// A Math.Vector3 for the Up-Vector.
- public static void Listener(ALListenerfv param, ref Vector3 at, ref Vector3 up)
- {
- float[] temp = new float[6];
-
- temp[0] = at.X;
- temp[1] = at.Y;
- temp[2] = at.Z;
-
- temp[3] = up.X;
- temp[4] = up.Y;
- temp[5] = up.Z;
-
- unsafe
- {
- fixed (float* ptr = &temp[0])
- {
- ListenerPrivate(param, ptr);
- }
- }
- }
-
- // Not used by any Enums
- // AL_API void AL_APIENTRY alListeneri( ALenum param, ALint value );
- // AL_API void AL_APIENTRY alListener3i( ALenum param, ALint value1, ALint value2, ALint value3 );
- // AL_API void AL_APIENTRY alListeneriv( ALenum param, const ALint* values );
-
- #endregion Set Listener parameters
-
- #region Get Listener parameters
-
- /// This function retrieves a floating-point property of the listener.
- /// the name of the attribute to be retrieved: ALListenerf.Gain
- /// a pointer to the floating-point value being retrieved.
- [DllImport(AL.Lib, EntryPoint = "alGetListenerf", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void GetListener(ALListenerf param, [Out] out float value);
- // AL_API void AL_APIENTRY alGetListenerf( ALenum param, ALfloat* value );
-
- /// This function retrieves a set of three floating-point values from a property of the listener.
- /// The name of the attribute to be retrieved: ALListener3f.Position, ALListener3f.Velocity
- /// Pointers to the three floating-point being retrieved.
- /// Pointers to the three floating-point being retrieved.
- /// Pointers to the three floating-point being retrieved.
- [DllImport(AL.Lib, EntryPoint = "alGetListener3f", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void GetListener(ALListener3f param, [Out] out float value1, [Out] out float value2, [Out] out float value3);
- // AL_API void AL_APIENTRY alGetListener3f( ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3 );
-
- /// This function retrieves a Math.Vector3 from a property of the listener.
- /// The name of the attribute to be retrieved: ALListener3f.Position, ALListener3f.Velocity
- /// A Math.Vector3 to hold the three floats being retrieved.
- public static void GetListener(ALListener3f param, out Vector3 values)
- {
- GetListener(param, out values.X, out values.Y, out values.Z);
- }
-
- /// This function retrieves a floating-point vector property of the listener. You must pin it manually.
- /// the name of the attribute to be retrieved: ALListener3f.Position, ALListener3f.Velocity, ALListenerfv.Orientation
- /// A pointer to the floating-point vector value being retrieved.
- [CLSCompliant(false), DllImport(AL.Lib, EntryPoint = "alGetListenerfv", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- unsafe public static extern void GetListener(ALListenerfv param, float* values);
- // AL_API void AL_APIENTRY alGetListenerfv( ALenum param, ALfloat* values );
-
- /// This function retrieves two Math.Vector3 properties of the listener.
- /// the name of the attribute to be retrieved: ALListenerfv.Orientation
- /// A Math.Vector3 for the At-Vector.
- /// A Math.Vector3 for the Up-Vector.
- public static void GetListener(ALListenerfv param, out Vector3 at, out Vector3 up)
- {
- float[] pinned = new float[6]; // should lose scope when the function exits
- unsafe
- {
- fixed (float* ptr = &pinned[0])
- {
- GetListener(param, ptr);
-
- at.X = pinned[0];
- at.Y = pinned[1];
- at.Z = pinned[2];
-
- up.X = pinned[3];
- up.Y = pinned[4];
- up.Z = pinned[5];
- }
- }
- }
-
- // Not used by any Enum:
- // AL_API void AL_APIENTRY alGetListeneri( ALenum param, ALint* value );
- // AL_API void AL_APIENTRY alGetListener3i( ALenum param, ALint *value1, ALint *value2, ALint *value3 );
- // AL_API void AL_APIENTRY alGetListeneriv( ALenum param, ALint* values );
-
- #endregion Get Listener parameters
-
- /* Source
- * Sources represent individual sound objects in 3D-space.
- * Sources take the PCM buffer provided in the specified Buffer,
- * apply Source-specific modifications, and then
- * submit them to be mixed according to spatial arrangement etc.
- *
- * Properties include: -
- *
-
- * Position AL_POSITION ALfloat[3]
- * Velocity AL_VELOCITY ALfloat[3]
- * Direction AL_DIRECTION ALfloat[3]
-
- * Head Relative Mode AL_SOURCE_RELATIVE ALint (AL_TRUE or AL_FALSE)
- * Looping AL_LOOPING ALint (AL_TRUE or AL_FALSE)
- *
- * Reference Distance AL_REFERENCE_DISTANCE ALfloat
- * Max Distance AL_MAX_DISTANCE ALfloat
- * RollOff Factor AL_ROLLOFF_FACTOR ALfloat
- * Pitch AL_PITCH ALfloat
- * Gain AL_GAIN ALfloat
- * Min Gain AL_MIN_GAIN ALfloat
- * Max Gain AL_MAX_GAIN ALfloat
- * Inner Angle AL_CONE_INNER_ANGLE ALint or ALfloat
- * Outer Angle AL_CONE_OUTER_ANGLE ALint or ALfloat
- * Cone Outer Gain AL_CONE_OUTER_GAIN ALint or ALfloat
- *
- * MS Offset AL_MSEC_OFFSET ALint or ALfloat
- * Byte Offset AL_BYTE_OFFSET ALint or ALfloat
- * Sample Offset AL_SAMPLE_OFFSET ALint or ALfloat
- * Attached Buffer AL_BUFFER ALint
- *
- * State (Query only) AL_SOURCE_STATE ALint
- * Buffers Queued (Query only) AL_BUFFERS_QUEUED ALint
- * Buffers Processed (Query only) AL_BUFFERS_PROCESSED ALint
- */
-
- #region Create Source objects
-
- #region GenSources()
-
- [DllImport(AL.Lib, EntryPoint = "alGenSources", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- unsafe private static extern void GenSourcesPrivate(int n, [Out] uint* sources);
- // AL_API void AL_APIENTRY alGenSources( ALsizei n, ALuint* Sources );
-
- /// This function generates one or more sources. References to sources are uint values, which are used wherever a source reference is needed (in calls such as AL.DeleteSources and AL.Source with parameter ALSourcei).
- /// The number of sources to be generated.
- /// Pointer to an array of uint values which will store the names of the new sources.
- [CLSCompliant(false)]
- [DllImport(AL.Lib, EntryPoint = "alGenSources", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void GenSources(int n, out uint sources);
-
- /// This function generates one or more sources. References to sources are int values, which are used wherever a source reference is needed (in calls such as AL.DeleteSources and AL.Source with parameter ALSourcei).
- /// The number of sources to be generated.
- /// Pointer to an array of int values which will store the names of the new sources.
- [CLSCompliant(true)]
- [DllImport(AL.Lib, EntryPoint = "alGenSources", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void GenSources(int n, out int sources);
-
- /// This function generates one or more sources. References to sources are int values, which are used wherever a source reference is needed (in calls such as AL.DeleteSources and AL.Source with parameter ALSourcei).
- /// Pointer to an array of int values which will store the names of the new sources.
- [CLSCompliant(true)]
- public static void GenSources(int[] sources)
- {
- uint[] temp = new uint[sources.Length];
- GenSources(temp.Length, out temp[0]);
- for (int i = 0; i < temp.Length; i++)
- {
- sources[i] = (int)temp[i];
- }
- }
-
- /// This function generates one or more sources. References to sources are int values, which are used wherever a source reference is needed (in calls such as AL.DeleteSources and AL.Source with parameter ALSourcei).
- /// The number of sources to be generated.
- /// Pointer to an array of int values which will store the names of the new sources.
- [CLSCompliant(true)]
- public static int[] GenSources(int n)
- {
- uint[] temp = new uint[n];
- GenSources(temp.Length, out temp[0]);
- int[] sources = new int[n];
- for (int i = 0; i < temp.Length; i++)
- {
- sources[i] = (int)temp[i];
- }
- return sources;
- }
-
- /// This function generates one source only. References to sources are int values, which are used wherever a source reference is needed (in calls such as AL.DeleteSources and AL.Source with parameter ALSourcei).
- /// Pointer to an int value which will store the name of the new source.
- [CLSCompliant(true)]
- public static int GenSource()
- {
- int temp;
- GenSources(1, out temp);
- return (int)temp;
- }
-
- /// This function generates one source only. References to sources are uint values, which are used wherever a source reference is needed (in calls such as AL.DeleteSources and AL.Source with parameter ALSourcei).
- /// Pointer to an uint value which will store the name of the new source.
- [CLSCompliant(false)]
- public static void GenSource(out uint source)
- {
- GenSources(1, out source);
- }
-
- #endregion GenSources()
-
- #region DeleteSources()
-
- /// This function 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.
- [CLSCompliant(false)]
- [DllImport(AL.Lib, EntryPoint = "alDeleteSources", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- unsafe public static extern void DeleteSources(int n, [In] uint* sources); // Delete Source objects
- // AL_API void AL_APIENTRY alDeleteSources( ALsizei n, const ALuint* Sources );
-
- /// This function deletes one or more sources.
- /// The number of sources to be deleted.
- /// Reference to a single source, or an array of source names identifying the sources to be deleted.
- [CLSCompliant(false)]
- [DllImport(AL.Lib, EntryPoint = "alDeleteSources", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void DeleteSources(int n, ref uint sources);
-
- /// This function deletes one or more sources.
- /// The number of sources to be deleted.
- /// Reference to a single source, or an array of source names identifying the sources to be deleted.
- [CLSCompliant(true)]
- [DllImport(AL.Lib, EntryPoint = "alDeleteSources", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void DeleteSources(int n, ref int sources);
-
- /// This function deletes one or more sources.
- /// An array of source names identifying the sources to be deleted.
- [CLSCompliant(false)]
- public static void DeleteSources(uint[] sources)
- {
- if (sources == null) throw new ArgumentNullException();
- if (sources.Length == 0) throw new ArgumentOutOfRangeException();
- DeleteBuffers(sources.Length, ref sources[0]);
- }
-
- /// This function deletes one or more sources.
- /// An array of source names identifying the sources to be deleted.
- [CLSCompliant(true)]
- public static void DeleteSources(int[] sources)
- {
- if (sources == null) throw new ArgumentNullException();
- if (sources.Length == 0) throw new ArgumentOutOfRangeException();
- DeleteBuffers(sources.Length, ref sources[0]);
- }
-
- /// This function deletes one source only.
- /// Pointer to a source name identifying the source to be deleted.
- [CLSCompliant(false)]
- public static void DeleteSource(ref uint source)
- {
- DeleteSources(1, ref source);
- }
-
- /// This function deletes one source only.
- /// Pointer to a source name identifying the source to be deleted.
- [CLSCompliant(true)]
- public static void DeleteSource(int source)
- {
- DeleteSources(1, ref source);
- }
-
- #endregion DeleteSources()
-
- #region IsSource()
-
- /// This function tests if a source name is valid, returning True if valid and False if not.
- /// A source name to be tested for validity
- /// Success.
- [CLSCompliant(false), DllImport(AL.Lib, EntryPoint = "alIsSource", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern bool IsSource(uint sid);
- // AL_API ALboolean AL_APIENTRY alIsSource( ALuint sid );
-
- /// This function tests if a source name is valid, returning True if valid and False if not.
- /// A source name to be tested for validity
- /// Success.
- [CLSCompliant(true)]
- public static bool IsSource(int sid)
- {
- return IsSource((uint)sid);
- }
-
- #endregion IsSource()
-
- #endregion Create Source objects
-
- #region Set Source parameters
-
- #region Sourcef
-
- /// This function sets a floating-point property of a source.
- /// Source name whose attribute is being set
- /// The name of the attribute to set: ALSourcef.Pitch, Gain, MinGain, MaxGain, MaxDistance, RolloffFactor, ConeOuterGain, ConeInnerAngle, ConeOuterAngle, ReferenceDistance, EfxAirAbsorptionFactor, EfxRoomRolloffFactor, EfxConeOuterGainHighFrequency.
- /// The value to set the attribute to.
- [CLSCompliant(false), DllImport(AL.Lib, EntryPoint = "alSourcef", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void Source(uint sid, ALSourcef param, float value);
- // AL_API void AL_APIENTRY alSourcef( ALuint sid, ALenum param, ALfloat value );
-
- /// This function sets a floating-point property of a source.
- /// Source name whose attribute is being set
- /// The name of the attribute to set: ALSourcef.Pitch, Gain, MinGain, MaxGain, MaxDistance, RolloffFactor, ConeOuterGain, ConeInnerAngle, ConeOuterAngle, ReferenceDistance, EfxAirAbsorptionFactor, EfxRoomRolloffFactor, EfxConeOuterGainHighFrequency.
- /// The value to set the attribute to.
- [CLSCompliant(true)]
- public static void Source(int sid, ALSourcef param, float value)
- {
- Source((uint)sid, param, value);
- }
-
- #endregion Sourcef
-
- #region Source3f
-
- /// This function sets a source property requiring three floating-point values.
- /// Source name whose attribute is being set.
- /// The name of the attribute to set: ALSource3f.Position, Velocity, Direction.
- /// The three ALfloat values which the attribute will be set to.
- /// The three ALfloat values which the attribute will be set to.
- /// The three ALfloat values which the attribute will be set to.
- [CLSCompliant(false), DllImport(AL.Lib, EntryPoint = "alSource3f", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void Source(uint sid, ALSource3f param, float value1, float value2, float value3);
- // AL_API void AL_APIENTRY alSource3f( ALuint sid, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3 );
-
- /// This function sets a source property requiring three floating-point values.
- /// Source name whose attribute is being set.
- /// The name of the attribute to set: ALSource3f.Position, Velocity, Direction.
- /// The three ALfloat values which the attribute will be set to.
- /// The three ALfloat values which the attribute will be set to.
- /// The three ALfloat values which the attribute will be set to.
- [CLSCompliant(true)]
- public static void Source(int sid, ALSource3f param, float value1, float value2, float value3)
- {
- Source((uint)sid, param, value1, value2, value3);
- }
-
- /// This function sets a source property requiring three floating-point values.
- /// Source name whose attribute is being set.
- /// The name of the attribute to set: ALSource3f.Position, Velocity, Direction.
- /// A Math.Vector3 which the attribute will be set to.
- [CLSCompliant(false)]
- public static void Source(uint sid, ALSource3f param, ref Vector3 values)
- {
- Source(sid, param, values.X, values.Y, values.Z);
- }
-
- /// This function sets a source property requiring three floating-point values.
- /// Source name whose attribute is being set.
- /// The name of the attribute to set: ALSource3f.Position, Velocity, Direction.
- /// A Math.Vector3 which the attribute will be set to.
- [CLSCompliant(true)]
- public static void Source(int sid, ALSource3f param, ref Vector3 values)
- {
- Source((uint)sid, param, values.X, values.Y, values.Z);
- }
-
- #endregion Source3f
-
- #region Sourcei
-
- /// This function sets an integer property of a source.
- /// Source name whose attribute is being set.
- /// The name of the attribute to set: ALSourcei.SourceRelative, ConeInnerAngle, ConeOuterAngle, Looping, Buffer, SourceState.
- /// The value to set the attribute to.
- [CLSCompliant(false), DllImport(AL.Lib, EntryPoint = "alSourcei", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void Source(uint sid, ALSourcei param, int value);
- // AL_API void AL_APIENTRY alSourcei( ALuint sid, ALenum param, ALint value );
-
- /// This function sets an integer property of a source.
- /// Source name whose attribute is being set.
- /// The name of the attribute to set: ALSourcei.SourceRelative, ConeInnerAngle, ConeOuterAngle, Looping, Buffer, SourceState.
- /// The value to set the attribute to.
- [CLSCompliant(true)]
- public static void Source(int sid, ALSourcei param, int value)
- {
- Source((uint)sid, param, value);
- }
-
- /// This function sets an bool property of a source.
- /// Source name whose attribute is being set.
- /// The name of the attribute to set: ALSourceb.SourceRelative, Looping.
- /// The value to set the attribute to.
- [CLSCompliant(false)]
- public static void Source(uint sid, ALSourceb param, bool value)
- {
- Source(sid, (ALSourcei)param, (value) ? 1 : 0);
- }
-
- /// This function sets an bool property of a source.
- /// Source name whose attribute is being set.
- /// The name of the attribute to set: ALSourceb.SourceRelative, Looping.
- /// The value to set the attribute to.
- [CLSCompliant(true)]
- public static void Source(int sid, ALSourceb param, bool value)
- {
- Source((uint)sid, (ALSourcei)param, (value) ? 1 : 0);
- }
-
- /// (Helper) Binds a Buffer to a Source handle.
- /// Source name to attach the Buffer to.
- /// Buffer name which is attached to the Source.
- [CLSCompliant(false)]
- public static void BindBufferToSource(uint source, uint buffer)
- {
- Source(source, ALSourcei.Buffer, (int)buffer);
- }
-
- /// (Helper) Binds a Buffer to a Source handle.
- /// Source name to attach the Buffer to.
- /// Buffer name which is attached to the Source.
- [CLSCompliant(true)]
- public static void BindBufferToSource(int source, int buffer)
- {
- Source((uint)source, ALSourcei.Buffer, buffer);
- }
-
- #endregion Sourcei
-
- #region Source3i
-
- /// This function sets 3 integer properties of a source. This property is used to establish connections between Sources and Auxiliary Effect Slots.
- /// Source name whose attribute is being set.
- /// The name of the attribute to set: EfxAuxiliarySendFilter
- /// The value to set the attribute to. (EFX Extension) The destination Auxiliary Effect Slot ID
- /// The value to set the attribute to. (EFX Extension) The Auxiliary Send number.
- ///The value to set the attribute to. (EFX Extension) optional Filter ID.
- [CLSCompliant(false), DllImport(AL.Lib, EntryPoint = "alSource3i", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void Source(uint sid, ALSource3i param, int value1, int value2, int value3);
- // AL_API void AL_APIENTRY alSource3i( ALuint sid, ALenum param, ALint value1, ALint value2, ALint value3 );
-
- /// This function sets 3 integer properties of a source. This property is used to establish connections between Sources and Auxiliary Effect Slots.
- /// Source name whose attribute is being set.
- /// The name of the attribute to set: EfxAuxiliarySendFilter
- /// The value to set the attribute to. (EFX Extension) The destination Auxiliary Effect Slot ID
- /// The value to set the attribute to. (EFX Extension) The Auxiliary Send number.
- ///The value to set the attribute to. (EFX Extension) optional Filter ID.
- [CLSCompliant(true)]
- public static void Source(int sid, ALSource3i param, int value1, int value2, int value3)
- {
- Source((uint)sid, param, value1, value2, value3);
- }
-
- #endregion Source3i
-
- // Not used by any Enum:
- // AL_API void AL_APIENTRY alSourcefv( ALuint sid, ALenum param, const ALfloat* values );
- // AL_API void AL_APIENTRY alSourceiv( ALuint sid, ALenum param, const ALint* values );
-
- #endregion Set Source parameters
-
- #region Get Source parameters
-
- #region GetSourcef
-
- /// This function retrieves a floating-point property of a source.
- /// Source name whose attribute is being retrieved.
- /// The name of the attribute to set: ALSourcef.Pitch, Gain, MinGain, MaxGain, MaxDistance, RolloffFactor, ConeOuterGain, ConeInnerAngle, ConeOuterAngle, ReferenceDistance, EfxAirAbsorptionFactor, EfxRoomRolloffFactor, EfxConeOuterGainHighFrequency.
- /// A pointer to the floating-point value being retrieved
- [CLSCompliant(false), DllImport(AL.Lib, EntryPoint = "alGetSourcef", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void GetSource(uint sid, ALSourcef param, [Out] out float value);
- // AL_API void AL_APIENTRY alGetSourcef( ALuint sid, ALenum param, ALfloat* value );
-
- /// This function retrieves a floating-point property of a source.
- /// Source name whose attribute is being retrieved.
- /// The name of the attribute to set: ALSourcef.Pitch, Gain, MinGain, MaxGain, MaxDistance, RolloffFactor, ConeOuterGain, ConeInnerAngle, ConeOuterAngle, ReferenceDistance, EfxAirAbsorptionFactor, EfxRoomRolloffFactor, EfxConeOuterGainHighFrequency.
- /// A pointer to the floating-point value being retrieved
- [CLSCompliant(true)]
- public static void GetSource(int sid, ALSourcef param, out float value)
- {
- GetSource((uint)sid, param, out value);
- }
-
- #endregion GetSourcef
-
- #region GetSource3f
-
- /// This function retrieves three floating-point values representing a property of a source.
- /// Source name whose attribute is being retrieved.
- /// the name of the attribute being retrieved: ALSource3f.Position, Velocity, Direction.
- /// Pointer to the value to retrieve.
- /// Pointer to the value to retrieve.
- /// Pointer to the value to retrieve.
- [CLSCompliant(false), DllImport(AL.Lib, EntryPoint = "alGetSource3f", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void GetSource(uint sid, ALSource3f param, [Out] out float value1, [Out] out float value2, [Out] out float value3);
- // AL_API void AL_APIENTRY alGetSource3f( ALuint sid, ALenum param, ALfloat* value1, ALfloat* value2, ALfloat* value3);
-
- /// This function retrieves three floating-point values representing a property of a source.
- /// Source name whose attribute is being retrieved.
- /// the name of the attribute being retrieved: ALSource3f.Position, Velocity, Direction.
- /// Pointer to the value to retrieve.
- /// Pointer to the value to retrieve.
- /// Pointer to the value to retrieve.
- [CLSCompliant(true)]
- public static void GetSource(int sid, ALSource3f param, out float value1, out float value2, out float value3)
- {
- GetSource((uint)sid, param, out value1, out value2, out value3);
- }
-
- /// This function retrieves three floating-point values representing a property of a source.
- /// Source name whose attribute is being retrieved.
- /// the name of the attribute being retrieved: ALSource3f.Position, Velocity, Direction.
- /// A Math.Vector3 to retrieve the values to.
- [CLSCompliant(false)]
- public static void GetSource(uint sid, ALSource3f param, out Vector3 values)
- {
- GetSource(sid, param, out values.X, out values.Y, out values.Z);
- }
-
- /// This function retrieves three floating-point values representing a property of a source.
- /// Source name whose attribute is being retrieved.
- /// the name of the attribute being retrieved: ALSource3f.Position, Velocity, Direction.
- /// A Math.Vector3 to retrieve the values to.
- [CLSCompliant(true)]
- public static void GetSource(int sid, ALSource3f param, out Vector3 values)
- {
- GetSource((uint)sid, param, out values.X, out values.Y, out values.Z);
- }
-
- #endregion GetSource3f
-
- #region GetSourcei
-
- /// This function retrieves an integer property of a source.
- /// Source name whose attribute is being retrieved.
- /// The name of the attribute to retrieve: ALSourcei.SourceRelative, Buffer, SourceState, BuffersQueued, BuffersProcessed.
- /// A pointer to the integer value being retrieved.
- [CLSCompliant(false), DllImport(AL.Lib, EntryPoint = "alGetSourcei", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void GetSource(uint sid, ALGetSourcei param, [Out] out int value);
- // AL_API void AL_APIENTRY alGetSourcei( ALuint sid, ALenum param, ALint* value );
-
- /// This function retrieves an integer property of a source.
- /// Source name whose attribute is being retrieved.
- /// The name of the attribute to retrieve: ALSourcei.SourceRelative, Buffer, SourceState, BuffersQueued, BuffersProcessed.
- /// A pointer to the integer value being retrieved.
- [CLSCompliant(true)]
- public static void GetSource(int sid, ALGetSourcei param, out int value)
- {
- GetSource((uint)sid, param, out value);
- }
-
- /// This function retrieves a bool property of a source.
- /// Source name whose attribute is being retrieved.
- /// The name of the attribute to get: ALSourceb.SourceRelative, Looping.
- /// A pointer to the bool value being retrieved.
- [CLSCompliant(false)]
- public static void GetSource(uint sid, ALSourceb param, out bool value)
- {
- int result;
- GetSource(sid, (ALGetSourcei)param, out result);
- value = result != 0;
- }
-
- /// This function retrieves a bool property of a source.
- /// Source name whose attribute is being retrieved.
- /// The name of the attribute to get: ALSourceb.SourceRelative, Looping.
- /// A pointer to the bool value being retrieved.
- [CLSCompliant(true)]
- public static void GetSource(int sid, ALSourceb param, out bool value)
- {
- int result;
- GetSource((uint)sid, (ALGetSourcei)param, out result);
- value = result != 0;
- }
-
- #endregion GetSourcei
-
- // Not used by any Enum:
- // AL_API void AL_APIENTRY alGetSource3i( ALuint sid, ALenum param, ALint* value1, ALint* value2, ALint* value3);
- // AL_API void AL_APIENTRY alGetSourcefv( ALuint sid, ALenum param, ALfloat* values );
- // AL_API void AL_APIENTRY alGetSourceiv( ALuint sid, ALenum param, ALint* values );
-
- #endregion Get Source parameters
-
- #region Source vector based playback calls
-
- #region SourcePlay
-
- /// This function plays a set of sources. The playing sources will have their state changed to ALSourceState.Playing. When called on a source which is already playing, the source will restart at the beginning. When the attached buffer(s) are done playing, the source will progress to the ALSourceState.Stopped state.
- /// The number of sources to be played.
- /// A pointer to an array of sources to be played.
- [CLSCompliant(false), DllImport(AL.Lib, EntryPoint = "alSourcePlayv"), SuppressUnmanagedCodeSecurity]
- unsafe public static extern void SourcePlay(int ns, [In] uint* sids);
- // AL_API void AL_APIENTRY alSourcePlayv( ALsizei ns, const ALuint *sids );
-
- /// This function plays a set of sources. The playing sources will have their state changed to ALSourceState.Playing. When called on a source which is already playing, the source will restart at the beginning. When the attached buffer(s) are done playing, the source will progress to the ALSourceState.Stopped state.
- /// The number of sources to be played.
- /// A pointer to an array of sources to be played.
- [CLSCompliant(false)]
- public static void SourcePlay(int ns, uint[] sids)
- {
- unsafe
- {
- fixed (uint* ptr = sids)
- {
- SourcePlay(ns, ptr);
- }
- }
- }
-
- /// This function plays a set of sources. The playing sources will have their state changed to ALSourceState.Playing. When called on a source which is already playing, the source will restart at the beginning. When the attached buffer(s) are done playing, the source will progress to the ALSourceState.Stopped state.
- /// The number of sources to be played.
- /// A pointer to an array of sources to be played.
- [CLSCompliant(true)]
- public static void SourcePlay(int ns, int[] sids)
- {
- uint[] temp = new uint[ns];
- for (int i = 0; i < ns; i++)
- {
- temp[i] = (uint)sids[i];
- }
- SourcePlay(ns, temp);
- }
-
- /// This function plays a set of sources. The playing sources will have their state changed to ALSourceState.Playing. When called on a source which is already playing, the source will restart at the beginning. When the attached buffer(s) are done playing, the source will progress to the ALSourceState.Stopped state.
- /// The number of sources to be played.
- /// A pointer to an array of sources to be played.
- [CLSCompliant(false)]
- public static void SourcePlay(int ns, ref uint sids)
- {
- unsafe
- {
- fixed (uint* ptr = &sids)
- {
- SourcePlay(ns, ptr);
- }
- }
- }
-
- #endregion SourcePlay
-
- #region SourceStop
-
- /// This function stops a set of sources. The stopped sources will have their state changed to ALSourceState.Stopped.
- /// The number of sources to stop.
- /// A pointer to an array of sources to be stopped.
- [CLSCompliant(false), DllImport(AL.Lib, EntryPoint = "alSourceStopv"), SuppressUnmanagedCodeSecurity]
- unsafe public static extern void SourceStop(int ns, [In] uint* sids);
- // AL_API void AL_APIENTRY alSourceStopv( ALsizei ns, const ALuint *sids );
-
- /// This function stops a set of sources. The stopped sources will have their state changed to ALSourceState.Stopped.
- /// The number of sources to stop.
- /// A pointer to an array of sources to be stopped.
- [CLSCompliant(false)]
- public static void SourceStop(int ns, uint[] sids)
- {
- unsafe
- {
- fixed (uint* ptr = sids)
- {
- SourceStop(ns, ptr);
- }
- }
- }
-
- /// This function stops a set of sources. The stopped sources will have their state changed to ALSourceState.Stopped.
- /// The number of sources to stop.
- /// A pointer to an array of sources to be stopped.
- [CLSCompliant(true)]
- public static void SourceStop(int ns, int[] sids)
- {
- uint[] temp = new uint[ns];
- for (int i = 0; i < ns; i++)
- {
- temp[i] = (uint)sids[i];
- }
- SourceStop(ns, temp);
- }
-
- /// This function stops a set of sources. The stopped sources will have their state changed to ALSourceState.Stopped.
- /// The number of sources to stop.
- /// A pointer to an array of sources to be stopped.
- [CLSCompliant(false)]
- public static void SourceStop(int ns, ref uint sids)
- {
- unsafe
- {
- fixed (uint* ptr = &sids)
- {
- SourceStop(ns, ptr);
- }
- }
- }
-
- #endregion SourceStop
-
- #region SourceRewind
-
- /// This function stops a set of sources and sets all their states to ALSourceState.Initial.
- /// The number of sources to be rewound.
- /// A pointer to an array of sources to be rewound.
- [CLSCompliant(false), DllImport(AL.Lib, EntryPoint = "alSourceRewindv"), SuppressUnmanagedCodeSecurity]
- unsafe public static extern void SourceRewind(int ns, [In] uint* sids);
- // AL_API void AL_APIENTRY alSourceRewindv( ALsizei ns, const ALuint *sids );
-
- /// This function stops a set of sources and sets all their states to ALSourceState.Initial.
- /// The number of sources to be rewound.
- /// A pointer to an array of sources to be rewound.
- [CLSCompliant(false)]
- public static void SourceRewind(int ns, uint[] sids)
- {
- unsafe
- {
- fixed (uint* ptr = sids)
- {
- SourceRewind(ns, ptr);
- }
- }
- }
-
- /// This function stops a set of sources and sets all their states to ALSourceState.Initial.
- /// The number of sources to be rewound.
- /// A pointer to an array of sources to be rewound.
- [CLSCompliant(true)]
- public static void SourceRewind(int ns, int[] sids)
- {
- uint[] temp = new uint[ns];
- for (int i = 0; i < ns; i++)
- {
- temp[i] = (uint)sids[i];
- }
- SourceRewind(ns, temp);
- }
-
- /// This function stops a set of sources and sets all their states to ALSourceState.Initial.
- /// The number of sources to be rewound.
- /// A pointer to an array of sources to be rewound.
- [CLSCompliant(false)]
- public static void SourceRewind(int ns, ref uint sids)
- {
- unsafe
- {
- fixed (uint* ptr = &sids)
- {
- SourceRewind(ns, ptr);
- }
- }
- }
-
- #endregion SourceRewind
-
- #region SourcePause
-
- /// This function pauses a set of sources. The paused sources will have their state changed to ALSourceState.Paused.
- /// The number of sources to be paused.
- /// A pointer to an array of sources to be paused.
- [CLSCompliant(false), DllImport(AL.Lib, EntryPoint = "alSourcePausev"), SuppressUnmanagedCodeSecurity]
- unsafe public static extern void SourcePause(int ns, [In] uint* sids);
- // AL_API void AL_APIENTRY alSourcePausev( ALsizei ns, const ALuint *sids );
-
- /// This function pauses a set of sources. The paused sources will have their state changed to ALSourceState.Paused.
- /// The number of sources to be paused.
- /// A pointer to an array of sources to be paused.
- [CLSCompliant(false)]
- public static void SourcePause(int ns, uint[] sids)
- {
- unsafe
- {
- fixed (uint* ptr = sids)
- {
- SourcePause(ns, ptr);
- }
- }
- }
- /// This function pauses a set of sources. The paused sources will have their state changed to ALSourceState.Paused.
- /// The number of sources to be paused.
- /// A pointer to an array of sources to be paused.
- [CLSCompliant(true)]
- public static void SourcePause(int ns, int[] sids)
- {
- uint[] temp = new uint[ns];
- for (int i = 0; i < ns; i++)
- {
- temp[i] = (uint)sids[i];
- }
- SourcePause(ns, temp);
- }
-
- /// This function pauses a set of sources. The paused sources will have their state changed to ALSourceState.Paused.
- /// The number of sources to be paused.
- /// A pointer to an array of sources to be paused.
- [CLSCompliant(false)]
- public static void SourcePause(int ns, ref uint sids)
- {
- unsafe
- {
- fixed (uint* ptr = &sids)
- {
- SourcePause(ns, ptr);
- }
- }
- }
-
- #endregion SourcePause
-
- #endregion Source vector based playback calls
-
- #region Source based playback calls
-
- #region SourcePlay
-
- /// This function plays, replays or resumes a source. The playing source will have it's state changed to ALSourceState.Playing. When called on a source which is already playing, the source will restart at the beginning. When the attached buffer(s) are done playing, the source will progress to the ALSourceState.Stopped state.
- /// The name of the source to be played.
- [CLSCompliant(false), DllImport(AL.Lib, EntryPoint = "alSourcePlay", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void SourcePlay(uint sid);
- // AL_API void AL_APIENTRY alSourcePlay( ALuint sid );
-
- /// This function plays, replays or resumes a source. The playing source will have it's state changed to ALSourceState.Playing. When called on a source which is already playing, the source will restart at the beginning. When the attached buffer(s) are done playing, the source will progress to the ALSourceState.Stopped state.
- /// The name of the source to be played.
- [CLSCompliant(true)]
- public static void SourcePlay(int sid)
- {
- SourcePlay((uint)sid);
- }
-
- #endregion SourcePlay
-
- #region SourceStop
-
- /// This function stops a source. The stopped source will have it's state changed to ALSourceState.Stopped.
- /// The name of the source to be stopped.
- [CLSCompliant(false), DllImport(AL.Lib, EntryPoint = "alSourceStop", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void SourceStop(uint sid);
- // AL_API void AL_APIENTRY alSourceStop( ALuint sid );
-
- /// This function stops a source. The stopped source will have it's state changed to ALSourceState.Stopped.
- /// The name of the source to be stopped.
- [CLSCompliant(true)]
- public static void SourceStop(int sid)
- {
- SourceStop((uint)sid);
- }
-
- #endregion SourceStop
-
- #region SourceRewind
-
- /// This function stops the source and sets its state to ALSourceState.Initial.
- /// The name of the source to be rewound.
- [CLSCompliant(false), DllImport(AL.Lib, EntryPoint = "alSourceRewind", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void SourceRewind(uint sid);
- // AL_API void AL_APIENTRY alSourceRewind( ALuint sid );
-
- /// This function stops the source and sets its state to ALSourceState.Initial.
- /// The name of the source to be rewound.
- [CLSCompliant(true)]
- public static void SourceRewind(int sid)
- {
- SourceRewind((uint)sid);
- }
-
- #endregion SourceRewind
-
- #region SourcePause
-
- /// This function pauses a source. The paused source will have its state changed to ALSourceState.Paused.
- /// The name of the source to be paused.
- [CLSCompliant(false), DllImport(AL.Lib, EntryPoint = "alSourcePause", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void SourcePause(uint sid);
- // AL_API void AL_APIENTRY alSourcePause( ALuint sid );
-
- /// This function pauses a source. The paused source will have its state changed to ALSourceState.Paused.
- /// The name of the source to be paused.
- [CLSCompliant(true)]
- public static void SourcePause(int sid)
- {
- SourcePause((uint)sid);
- }
-
- #endregion SourcePause
-
- #endregion Source based playback calls
-
- #region Source Queuing
-
- #region SourceQueueBuffers
-
- /// This function queues a set of buffers on a source. All buffers attached to a source will be played in sequence, and the number of processed buffers can be detected using AL.GetSource with parameter ALGetSourcei.BuffersProcessed. When first created, a source will be of type ALSourceType.Undetermined. A successful AL.SourceQueueBuffers call will change the source type to ALSourceType.Streaming.
- /// 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.
- [CLSCompliant(false), DllImport(AL.Lib, EntryPoint = "alSourceQueueBuffers"), SuppressUnmanagedCodeSecurity]
- unsafe public static extern void SourceQueueBuffers(uint sid, int numEntries, [In] uint* bids);
- // AL_API void AL_APIENTRY alSourceQueueBuffers( ALuint sid, ALsizei numEntries, const ALuint *bids );
-
- /// This function queues a set of buffers on a source. All buffers attached to a source will be played in sequence, and the number of processed buffers can be detected using AL.GetSource with parameter ALGetSourcei.BuffersProcessed. When first created, a source will be of type ALSourceType.Undetermined. A successful AL.SourceQueueBuffers call will change the source type to ALSourceType.Streaming.
- /// 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.
- [CLSCompliant(false)]
- public static void SourceQueueBuffers(uint sid, int numEntries, uint[] bids)
- {
- unsafe
- {
- fixed (uint* ptr = bids)
- {
- SourceQueueBuffers(sid, numEntries, ptr);
- }
- }
- }
-
- /// This function queues a set of buffers on a source. All buffers attached to a source will be played in sequence, and the number of processed buffers can be detected using AL.GetSource with parameter ALGetSourcei.BuffersProcessed. When first created, a source will be of type ALSourceType.Undetermined. A successful AL.SourceQueueBuffers call will change the source type to ALSourceType.Streaming.
- /// 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.
- [CLSCompliant(true)]
- public static void SourceQueueBuffers(int sid, int numEntries, int[] bids)
- {
- uint[] temp = new uint[numEntries];
- for (int i = 0; i < numEntries; i++)
- {
- temp[i] = (uint)bids[i];
- }
- SourceQueueBuffers((uint)sid, numEntries, temp);
- }
-
- /// This function queues a set of buffers on a source. All buffers attached to a source will be played in sequence, and the number of processed buffers can be detected using AL.GetSource with parameter ALGetSourcei.BuffersProcessed. When first created, a source will be of type ALSourceType.Undetermined. A successful AL.SourceQueueBuffers call will change the source type to ALSourceType.Streaming.
- /// 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.
- [CLSCompliant(false)]
- public static void SourceQueueBuffers(uint sid, int numEntries, ref uint bids)
- {
- unsafe
- {
- fixed (uint* ptr = &bids)
- {
- SourceQueueBuffers(sid, numEntries, ptr);
- }
- }
- }
-
- /// This function queues a set of buffers on a source. All buffers attached to a source will be played in sequence, and the number of processed buffers can be detected using AL.GetSource with parameter ALGetSourcei.BuffersProcessed. When first created, a source will be of type ALSourceType.Undetermined. A successful AL.SourceQueueBuffers call will change the source type to ALSourceType.Streaming.
- /// The name of the source to queue buffers onto.
- /// The name of the buffer to be queued.
- public static void SourceQueueBuffer(int source, int buffer)
- {
- unsafe { AL.SourceQueueBuffers((uint)source, 1, (uint*)&buffer); }
- }
-
- #endregion SourceQueueBuffers
-
- #region SourceUnqueueBuffers
-
- /// This function unqueues a set of buffers attached to a source. The number of processed buffers can be detected using AL.GetSource with parameter ALGetSourcei.BuffersProcessed, which is the maximum number of buffers that can be unqueued using this call. The unqueue operation will only take place if all n buffers can be removed from the queue.
- /// 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.
- [CLSCompliant(false), DllImport(AL.Lib, EntryPoint = "alSourceUnqueueBuffers"), SuppressUnmanagedCodeSecurity]
- unsafe public static extern void SourceUnqueueBuffers(uint sid, int numEntries, [In] uint* bids);
- // AL_API void AL_APIENTRY alSourceUnqueueBuffers( ALuint sid, ALsizei numEntries, ALuint *bids );
-
- /// This function unqueues a set of buffers attached to a source. The number of processed buffers can be detected using AL.GetSource with parameter ALGetSourcei.BuffersProcessed, which is the maximum number of buffers that can be unqueued using this call. The unqueue operation will only take place if all n buffers can be removed from the queue.
- /// 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.
- [CLSCompliant(false)]
- [DllImport(AL.Lib, EntryPoint = "alSourceUnqueueBuffers"), SuppressUnmanagedCodeSecurity]
- public static extern void SourceUnqueueBuffers(uint sid, int numEntries, [Out] uint[] bids);
-
- /// This function unqueues a set of buffers attached to a source. The number of processed buffers can be detected using AL.GetSource with parameter ALGetSourcei.BuffersProcessed, which is the maximum number of buffers that can be unqueued using this call. The unqueue operation will only take place if all n buffers can be removed from the queue.
- /// 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.
- [DllImport(AL.Lib, EntryPoint = "alSourceUnqueueBuffers"), SuppressUnmanagedCodeSecurity]
- public static extern void SourceUnqueueBuffers(int sid, int numEntries, [Out] int[] bids);
-
- /// This function unqueues a set of buffers attached to a source. The number of processed buffers can be detected using AL.GetSource with parameter ALGetSourcei.BuffersProcessed, which is the maximum number of buffers that can be unqueued using this call. The unqueue operation will only take place if all n buffers can be removed from the queue.
- /// 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.
- [CLSCompliant(false)]
- [DllImport(AL.Lib, EntryPoint = "alSourceUnqueueBuffers"), SuppressUnmanagedCodeSecurity]
- public static extern void SourceUnqueueBuffers(uint sid, int numEntries, ref uint bids);
-
- /// This function unqueues a set of buffers attached to a source. The number of processed buffers can be detected using AL.GetSource with parameter ALGetSourcei.BuffersProcessed, which is the maximum number of buffers that can be unqueued using this call. The unqueue operation will only take place if all n buffers can be removed from the queue.
- /// 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.
- [DllImport(AL.Lib, EntryPoint = "alSourceUnqueueBuffers"), SuppressUnmanagedCodeSecurity]
- public static extern void SourceUnqueueBuffers(int sid, int numEntries, ref int bids);
-
- /// This function unqueues a set of buffers attached to a source. The number of processed buffers can be detected using AL.GetSource with parameter ALGetSourcei.BuffersProcessed, which is the maximum number of buffers that can be unqueued using this call. The unqueue operation will only take place if all n buffers can be removed from the queue.
- /// The name of the source to unqueue buffers from.
- public static int SourceUnqueueBuffer(int sid)
- {
- uint buf;
- unsafe { SourceUnqueueBuffers((uint)sid, 1, &buf); }
- return (int)buf;
- }
-
- /// This function unqueues a set of buffers attached to a source. The number of processed buffers can be detected using AL.GetSource with parameter ALGetSourcei.BuffersProcessed, which is the maximum number of buffers that can be unqueued using this call. The unqueue operation will only take place if all n buffers can be removed from the queue.
- /// The name of the source to unqueue buffers from.
- /// The number of buffers to be unqueued.
- public static int[] SourceUnqueueBuffers(int sid, int numEntries)
- {
- if (numEntries <= 0) throw new ArgumentOutOfRangeException("numEntries", "Must be greater than zero.");
- int[] buf = new int[numEntries];
- SourceUnqueueBuffers(sid, numEntries, buf);
- return buf;
- }
-
- #endregion SourceUnqueueBuffers
-
- #endregion Source Queuing
-
- /*
- * Buffer
- * Buffer objects are storage space for sample buffer.
- * Buffers are referred to by Sources. One Buffer can be used
- * by multiple Sources.
- *
- * Properties include: -
- *
- * Frequency (Query only) AL_FREQUENCY ALint
- * Size (Query only) AL_SIZE ALint
- * Bits (Query only) AL_BITS ALint
- * Channels (Query only) AL_CHANNELS ALint
- */
-
- #region Buffer objects
-
- #region GenBuffers
-
- /// This function generates one or more buffers, which contain audio buffer (see AL.BufferData). References to buffers are uint values, which are used wherever a buffer reference is needed (in calls such as AL.DeleteBuffers, AL.Source with parameter ALSourcei, AL.SourceQueueBuffers, and AL.SourceUnqueueBuffers).
- /// The number of buffers to be generated.
- /// Pointer to an array of uint values which will store the names of the new buffers.
- [CLSCompliant(false)]
- [DllImport(AL.Lib, EntryPoint = "alGenBuffers", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity]
- unsafe public static extern void GenBuffers(int n, [Out] uint* buffers);
- // AL_API void AL_APIENTRY alGenBuffers( ALsizei n, ALuint* Buffers );
-
- /// This function generates one or more buffers, which contain audio buffer (see AL.BufferData). References to buffers are uint values, which are used wherever a buffer reference is needed (in calls such as AL.DeleteBuffers, AL.Source with parameter ALSourcei, AL.SourceQueueBuffers, and AL.SourceUnqueueBuffers).
- /// The number of buffers to be generated.
- /// Pointer to an array of uint values which will store the names of the new buffers.
- [CLSCompliant(false)]
- [DllImport(AL.Lib, EntryPoint = "alGenBuffers", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity]
- public static extern void GenBuffers(int n, out uint buffers);
-
- /// This function generates one or more buffers, which contain audio buffer (see AL.BufferData). References to buffers are uint values, which are used wherever a buffer reference is needed (in calls such as AL.DeleteBuffers, AL.Source with parameter ALSourcei, AL.SourceQueueBuffers, and AL.SourceUnqueueBuffers).
- /// The number of buffers to be generated.
- /// Pointer to an array of uint values which will store the names of the new buffers.
- [CLSCompliant(true)]
- [DllImport(AL.Lib, EntryPoint = "alGenBuffers", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity]
- public static extern void GenBuffers(int n, out int buffers);
-
- /// This function generates one or more buffers, which contain audio data (see AL.BufferData). References to buffers are uint values, which are used wherever a buffer reference is needed (in calls such as AL.DeleteBuffers, AL.Source with parameter ALSourcei, AL.SourceQueueBuffers, and AL.SourceUnqueueBuffers).
- /// The number of buffers to be generated.
- /// Pointer to an array of uint values which will store the names of the new buffers.
- [CLSCompliant(true)]
- public static int[] GenBuffers(int n)
- {
- int[] buffers = new int[n];
- GenBuffers(buffers.Length, out buffers[0]);
- return buffers;
- }
-
- /// This function generates one buffer only, which contain audio data (see AL.BufferData). References to buffers are uint values, which are used wherever a buffer reference is needed (in calls such as AL.DeleteBuffers, AL.Source with parameter ALSourcei, AL.SourceQueueBuffers, and AL.SourceUnqueueBuffers).
- /// Pointer to an uint value which will store the name of the new buffer.
- [CLSCompliant(true)]
- public static int GenBuffer()
- {
- int temp;
- GenBuffers(1, out temp);
- return (int)temp;
- }
-
- /// This function generates one buffer only, which contain audio data (see AL.BufferData). References to buffers are uint values, which are used wherever a buffer reference is needed (in calls such as AL.DeleteBuffers, AL.Source with parameter ALSourcei, AL.SourceQueueBuffers, and AL.SourceUnqueueBuffers).
- /// Pointer to an uint value which will store the names of the new buffer.
- [CLSCompliant(false)]
- public static void GenBuffer(out uint buffer)
- {
- GenBuffers(1, out buffer);
- }
-
- #endregion GenBuffers
-
- #region DeleteBuffers
-
- /// This function deletes one or more buffers, freeing the resources used by the buffer. Buffers which are attached to a source can not be deleted. See AL.Source (ALSourcei) and AL.SourceUnqueueBuffers for information on how to detach a buffer from a source.
- /// The number of buffers to be deleted.
- /// Pointer to an array of buffer names identifying the buffers to be deleted.
- [CLSCompliant(false)]
- [DllImport(AL.Lib, EntryPoint = "alDeleteBuffers", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- unsafe public static extern void DeleteBuffers(int n, [In] uint* buffers);
- // AL_API void AL_APIENTRY alDeleteBuffers( ALsizei n, const ALuint* Buffers );
-
- /// This function deletes one or more buffers, freeing the resources used by the buffer. Buffers which are attached to a source can not be deleted. See AL.Source (ALSourcei) and AL.SourceUnqueueBuffers for information on how to detach a buffer from a source.
- /// The number of buffers to be deleted.
- /// Pointer to an array of buffer names identifying the buffers to be deleted.
- [CLSCompliant(false)]
- [DllImport(AL.Lib, EntryPoint = "alDeleteBuffers", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void DeleteBuffers(int n, [In] ref uint buffers);
-
- /// This function deletes one or more buffers, freeing the resources used by the buffer. Buffers which are attached to a source can not be deleted. See AL.Source (ALSourcei) and AL.SourceUnqueueBuffers for information on how to detach a buffer from a source.
- /// The number of buffers to be deleted.
- /// Pointer to an array of buffer names identifying the buffers to be deleted.
- [CLSCompliant(true)]
- [DllImport(AL.Lib, EntryPoint = "alDeleteBuffers", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void DeleteBuffers(int n, [In] ref int buffers);
-
- /// This function deletes one buffer only, freeing the resources used by the buffer. Buffers which are attached to a source can not be deleted. See AL.Source (ALSourcei) and AL.SourceUnqueueBuffers for information on how to detach a buffer from a source.
- /// Pointer to a buffer name identifying the buffer to be deleted.
- [CLSCompliant(false)]
- public static void DeleteBuffers(uint[] buffers)
- {
- if (buffers == null) throw new ArgumentNullException();
- if (buffers.Length == 0) throw new ArgumentOutOfRangeException();
- DeleteBuffers(buffers.Length, ref buffers[0]);
- }
-
- /// This function deletes one or more buffers, freeing the resources used by the buffer. Buffers which are attached to a source can not be deleted. See AL.Source (ALSourcei) and AL.SourceUnqueueBuffers for information on how to detach a buffer from a source.
- /// Pointer to an array of buffer names identifying the buffers to be deleted.
- [CLSCompliant(true)]
- public static void DeleteBuffers(int[] buffers)
- {
- if (buffers == null) throw new ArgumentNullException();
- if (buffers.Length == 0) throw new ArgumentOutOfRangeException();
- DeleteBuffers(buffers.Length, ref buffers[0]);
- }
-
- /// This function deletes one buffer only, freeing the resources used by the buffer. Buffers which are attached to a source can not be deleted. See AL.Source (ALSourcei) and AL.SourceUnqueueBuffers for information on how to detach a buffer from a source.
- /// Pointer to a buffer name identifying the buffer to be deleted.
- [CLSCompliant(false)]
- public static void DeleteBuffer(ref uint buffer)
- {
- DeleteBuffers(1, ref buffer);
- }
-
- /// This function deletes one buffer only, freeing the resources used by the buffer. Buffers which are attached to a source can not be deleted. See AL.Source (ALSourcei) and AL.SourceUnqueueBuffers for information on how to detach a buffer from a source.
- /// Pointer to a buffer name identifying the buffer to be deleted.
- [CLSCompliant(true)]
- public static void DeleteBuffer(int buffer)
- {
- DeleteBuffers(1, ref buffer);
- }
-
- #endregion DeleteBuffers
-
- #region IsBuffer
-
- /// This function tests if a buffer name is valid, returning True if valid, False if not.
- /// A buffer Handle previously allocated with .
- /// Success.
- [CLSCompliant(false), DllImport(AL.Lib, EntryPoint = "alIsBuffer", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern bool IsBuffer(uint bid);
- // AL_API ALboolean AL_APIENTRY alIsBuffer( ALuint bid );
-
- /// This function tests if a buffer name is valid, returning True if valid, False if not.
- /// A buffer Handle previously allocated with .
- /// Success.
- [CLSCompliant(true)]
- public static bool IsBuffer(int bid)
- {
- uint temp = (uint)bid;
- return IsBuffer(temp);
- }
-
- #endregion IsBuffer
-
- #region BufferData
-
- /// This function fills a buffer with audio buffer. All the pre-defined formats are PCM buffer, but this function may be used by extensions to load other buffer types as well.
- /// buffer Handle/Name to be filled with buffer.
- /// Format type from among the following: ALFormat.Mono8, ALFormat.Mono16, ALFormat.Stereo8, ALFormat.Stereo16.
- /// Pointer to a pinned audio buffer.
- /// The size of the audio buffer in bytes.
- /// The frequency of the audio buffer.
- [CLSCompliant(false), DllImport(AL.Lib, EntryPoint = "alBufferData", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void BufferData(uint bid, ALFormat format, IntPtr buffer, int size, int freq);
- // AL_API void AL_APIENTRY alBufferData( ALuint bid, ALenum format, const ALvoid* buffer, ALsizei size, ALsizei freq );
-
- /// This function fills a buffer with audio buffer. All the pre-defined formats are PCM buffer, but this function may be used by extensions to load other buffer types as well.
- /// buffer Handle/Name to be filled with buffer.
- /// Format type from among the following: ALFormat.Mono8, ALFormat.Mono16, ALFormat.Stereo8, ALFormat.Stereo16.
- /// Pointer to a pinned audio buffer.
- /// The size of the audio buffer in bytes.
- /// The frequency of the audio buffer.
- [CLSCompliant(true)]
- public static void BufferData(int bid, ALFormat format, IntPtr buffer, int size, int freq)
- {
- BufferData((uint)bid, format, buffer, size, freq);
- }
-
- /// This function fills a buffer with audio buffer. All the pre-defined formats are PCM buffer, but this function may be used by extensions to load other buffer types as well.
- /// buffer Handle/Name to be filled with buffer.
- /// Format type from among the following: ALFormat.Mono8, ALFormat.Mono16, ALFormat.Stereo8, ALFormat.Stereo16.
- /// The audio buffer.
- /// The size of the audio buffer in bytes.
- /// The frequency of the audio buffer.
- public static void BufferData(int bid, ALFormat format, TBuffer[] buffer, int size, int freq)
- where TBuffer : struct
- {
- if (!BlittableValueType.Check(buffer))
- throw new ArgumentException("buffer");
-
- GCHandle handle = GCHandle.Alloc(buffer, GCHandleType.Pinned);
- try { BufferData(bid, format, handle.AddrOfPinnedObject(), size, freq); }
- finally { handle.Free(); }
- }
-
- /// This function fills a buffer with audio buffer (PCM format).
- /// Buffer Handle/Name to be filled with buffer.
- /// A SoundData object containing the buffer to upload.
- [CLSCompliant(false)]
- [Obsolete("Use BufferData instead.")]
- public static void BufferData(uint bid, SoundData buffer)
- {
- unsafe
- {
- fixed (byte* data_ptr = &buffer.Data[0])
- BufferData(bid, buffer.SoundFormat.SampleFormatAsOpenALFormat, (IntPtr)data_ptr, buffer.Data.Length,
- buffer.SoundFormat.SampleRate);
- }
- }
-
- /// This function fills a buffer with audio buffer (PCM format).
- /// Buffer Handle/Name to be filled with buffer.
- /// A SoundData object containing the buffer to upload.
- public static void BufferData(int bid, SoundData data)
- {
- unsafe
- {
- fixed (byte* data_ptr = &data.Data[0])
- BufferData(bid, data.SoundFormat.SampleFormatAsOpenALFormat, (IntPtr)data_ptr, data.Data.Length,
- data.SoundFormat.SampleRate);
- }
- }
-
- #endregion BufferData
-
- #endregion Buffer objects
-
- #region Set Buffer parameters (currently parameters can only be read)
-
- /*
- Remarks (from Manual)
- * There are no relevant buffer properties defined in OpenAL 1.1 which can be affected by this call,
- * but this function may be used by OpenAL extensions.
-
- // AL_API void AL_APIENTRY alBufferf( ALuint bid, ALenum param, ALfloat value );
- // AL_API void AL_APIENTRY alBufferfv( ALuint bid, ALenum param, const ALfloat* values );
- // AL_API void AL_APIENTRY alBufferi( ALuint bid, ALenum param, ALint value );
- // AL_API void AL_APIENTRY alBuffer3i( ALuint bid, ALenum param, ALint value1, ALint value2, ALint value3 );
- // AL_API void AL_APIENTRY alBufferiv( ALuint bid, ALenum param, const ALint* values );
- // AL_API void AL_APIENTRY alBuffer3f( ALuint bid, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3 );
- */
-
- /*
- [DllImport( Al.Lib, EntryPoint = "alBuffer3f", ExactSpelling = true, CallingConvention = Al.Style ), SuppressUnmanagedCodeSecurity( )]
- public static extern void Buffer3f( uint bid, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3 );
-
- public static void Bufferv3( uint bid, Alenum param, ref Vector3 values )
- {
- Buffer3f( bid, param, values.X, values.Y, values.Z );
- }*/
-
- #endregion Set Buffer parameters
-
- #region Get Buffer parameters
-
- #region GetBufferi
-
- /// This function retrieves an integer property of a buffer.
- /// Buffer name whose attribute is being retrieved
- /// The name of the attribute to be retrieved: ALGetBufferi.Frequency, Bits, Channels, Size, and the currently hidden AL_DATA (dangerous).
- /// A pointer to an int to hold the retrieved buffer
- [CLSCompliant(false), DllImport(AL.Lib, EntryPoint = "alGetBufferi", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void GetBuffer(uint bid, ALGetBufferi param, [Out] out int value);
- // AL_API void AL_APIENTRY alGetBufferi( ALuint bid, ALenum param, ALint* value );
-
- /// This function retrieves an integer property of a buffer.
- /// Buffer name whose attribute is being retrieved
- /// The name of the attribute to be retrieved: ALGetBufferi.Frequency, Bits, Channels, Size, and the currently hidden AL_DATA (dangerous).
- /// A pointer to an int to hold the retrieved buffer
- [CLSCompliant(true)]
- public static void GetBuffer(int bid, ALGetBufferi param, out int value)
- {
- GetBuffer((uint)bid, param, out value);
- }
-
- #endregion GetBufferi
-
- // AL_API void AL_APIENTRY alGetBufferf( ALuint bid, ALenum param, ALfloat* value );
- // AL_API void AL_APIENTRY alGetBuffer3f( ALuint bid, ALenum param, ALfloat* value1, ALfloat* value2, ALfloat* value3);
- // AL_API void AL_APIENTRY alGetBufferfv( ALuint bid, ALenum param, ALfloat* values );
- // AL_API void AL_APIENTRY alGetBuffer3i( ALuint bid, ALenum param, ALint* value1, ALint* value2, ALint* value3);
- // AL_API void AL_APIENTRY alGetBufferiv( ALuint bid, ALenum param, ALint* values );
-
- #endregion Get Buffer parameters
-
- #region Global Parameters
-
- /// AL.DopplerFactor is a simple scaling of source and listener velocities to exaggerate or deemphasize the Doppler (pitch) shift resulting from the calculation.
- /// A negative value will result in an error, the command is then ignored. The default value is 1f. The current setting can be queried using AL.Get with parameter ALGetFloat.SpeedOfSound.
- [DllImport(AL.Lib, EntryPoint = "alDopplerFactor", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void DopplerFactor(float value);
- // AL_API void AL_APIENTRY alDopplerFactor( ALfloat value );
-
- /// This function is deprecated and should not be used.
- /// The default is 1.0f.
- [DllImport(AL.Lib, EntryPoint = "alDopplerVelocity", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void DopplerVelocity(float value);
- // AL_API void AL_APIENTRY alDopplerVelocity( ALfloat value );
-
- /// AL.SpeedOfSound allows the application to change the reference (propagation) speed used in the Doppler calculation. The source and listener velocities should be expressed in the same units as the speed of sound.
- /// A negative or zero value will result in an error, and the command is ignored. Default: 343.3f (appropriate for velocity units of meters and air as the propagation medium). The current setting can be queried using AL.Get with parameter ALGetFloat.SpeedOfSound.
- [DllImport(AL.Lib, EntryPoint = "alSpeedOfSound", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void SpeedOfSound(float value);
- // AL_API void AL_APIENTRY alSpeedOfSound( ALfloat value );
-
- /// This function selects the OpenAL distance model – ALDistanceModel.InverseDistance, ALDistanceModel.InverseDistanceClamped, ALDistanceModel.LinearDistance, ALDistanceModel.LinearDistanceClamped, ALDistanceModel.ExponentDistance, ALDistanceModel.ExponentDistanceClamped, or ALDistanceModel.None. The default distance model in OpenAL is ALDistanceModel.InverseDistanceClamped.
- ///
- /// The ALDistanceModel .InverseDistance model works according to the following formula:
- /// gain = ALSourcef.ReferenceDistance / (ALSourcef.ReferenceDistance + ALSourcef.RolloffFactor * (distance – ALSourcef.ReferenceDistance));
- ///
- /// The ALDistanceModel .InverseDistanceClamped model works according to the following formula:
- /// distance = max(distance,ALSourcef.ReferenceDistance);
- /// distance = min(distance,ALSourcef.MaxDistance);
- /// gain = ALSourcef.ReferenceDistance / (ALSourcef.ReferenceDistance + ALSourcef.RolloffFactor * (distance – ALSourcef.ReferenceDistance));
- ///
- /// The ALDistanceModel.LinearDistance model works according to the following formula:
- /// distance = min(distance, ALSourcef.MaxDistance) // avoid negative gain
- /// gain = (1 – ALSourcef.RolloffFactor * (distance – ALSourcef.ReferenceDistance) / (ALSourcef.MaxDistance – ALSourcef.ReferenceDistance))
- ///
- /// The ALDistanceModel.LinearDistanceClamped model works according to the following formula:
- /// distance = max(distance, ALSourcef.ReferenceDistance)
- /// distance = min(distance, ALSourcef.MaxDistance)
- /// gain = (1 – ALSourcef.RolloffFactor * (distance – ALSourcef.ReferenceDistance) / (ALSourcef.MaxDistance – ALSourcef.ReferenceDistance))
- ///
- /// The ALDistanceModel.ExponentDistance model works according to the following formula:
- /// gain = (distance / ALSourcef.ReferenceDistance) ^ (- ALSourcef.RolloffFactor)
- ///
- /// The ALDistanceModel.ExponentDistanceClamped model works according to the following formula:
- /// distance = max(distance, ALSourcef.ReferenceDistance)
- /// distance = min(distance, ALSourcef.MaxDistance)
- /// gain = (distance / ALSourcef.ReferenceDistance) ^ (- ALSourcef.RolloffFactor)
- ///
- /// The ALDistanceModel.None model works according to the following formula:
- /// gain = 1f;
- ///
- ///
- [DllImport(AL.Lib, EntryPoint = "alDistanceModel", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void DistanceModel(ALDistanceModel distancemodel);
- // AL_API void AL_APIENTRY alDistanceModel( ALenum distanceModel );
-
- #endregion Global Parameters
-
- #region Helpers
-
- /// (Helper) Returns Source state information.
- /// The source to be queried.
- /// state information from OpenAL.
- [CLSCompliant(false)]
- public static ALSourceState GetSourceState(uint sid)
- {
- int temp;
- AL.GetSource(sid, ALGetSourcei.SourceState, out temp);
- return (ALSourceState)temp;
- }
-
- /// (Helper) Returns Source state information.
- /// The source to be queried.
- /// state information from OpenAL.
- [CLSCompliant(true)]
- public static ALSourceState GetSourceState(int sid)
- {
- int temp;
- AL.GetSource(sid, ALGetSourcei.SourceState, out temp);
- return (ALSourceState)temp;
- }
-
- /// (Helper) Returns Source type information.
- /// The source to be queried.
- /// type information from OpenAL.
- [CLSCompliant(false)]
- public static ALSourceType GetSourceType(uint sid)
- {
- int temp;
- AL.GetSource(sid, ALGetSourcei.SourceType, out temp);
- return (ALSourceType)temp;
- }
-
- /// (Helper) Returns Source type information.
- /// The source to be queried.
- /// type information from OpenAL.
- [CLSCompliant(true)]
- public static ALSourceType GetSourceType(int sid)
- {
- int temp;
- AL.GetSource(sid, ALGetSourcei.SourceType, out temp);
- return (ALSourceType)temp;
- }
-
- [CLSCompliant(true)]
- public static ALDistanceModel GetDistanceModel()
- {
- return (ALDistanceModel)AL.Get(ALGetInteger.DistanceModel);
- }
-
- #endregion Helpers
- }
-}
diff --git a/Source/Compatibility/Audio/OpenAL/AL/ALEnums.cs b/Source/Compatibility/Audio/OpenAL/AL/ALEnums.cs
deleted file mode 100644
index 0970b9a9..00000000
--- a/Source/Compatibility/Audio/OpenAL/AL/ALEnums.cs
+++ /dev/null
@@ -1,431 +0,0 @@
-#region --- OpenTK.OpenAL License ---
-/* AlTokens.cs
- * C header: \OpenAL 1.1 SDK\include\Al.h
- * Spec: http://www.openal.org/openal_webstf/specs/OpenAL11Specification.pdf
- * Copyright (c) 2008 Christoph Brandtner and Stefanos Apostolopoulos
- * See license.txt for license details
- * http://www.OpenTK.net */
-#endregion
-
-using System;
-
-namespace OpenTK.Audio
-{
-
- ///A list of valid Enable/Disable/IsEnabled parameters
- public enum ALCapability : int
- {
- ///Currently no state toggles exist for vanilla OpenAL and no Extension uses it.
- Invalid = -1,
- }
-
- ///A list of valid 32-bit Float Listener/GetListener parameters
- public enum ALListenerf : int
- {
- ///Indicate the gain (Volume amplification) applied. Type: float Range: [0.0f - ? ] A value of 1.0 means un-attenuated/unchanged. Each division by 2 equals an attenuation of -6dB. Each multiplicaton with 2 equals an amplification of +6dB. A value of 0.0f is interpreted as zero volume and the channel is effectively disabled.
- Gain = 0x100A,
-
- ///(EFX Extension) This setting is critical if Air Absorption effects are enabled because the amount of Air Absorption applied is directly related to the real-world distance between the Source and the Listener. centimeters 0.01f meters 1.0f kilometers 1000.0f Range [float.MinValue .. float.MaxValue] Default: 1.0f
- EfxMetersPerUnit = 0x20004,
- }
-
- ///A list of valid Math.Vector3 Listener/GetListener parameters
- public enum ALListener3f : int
- {
- ///Specify 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 from a left handed coordinate system, flip the sign on the Z coordinate. Listener position is always in the world coordinate system.
- Position = 0x1004,
-
- ///Specify the current velocity in three dimensional space.
- Velocity = 0x1006,
- }
-
- ///A list of valid float[] Listener/GetListener parameters
- public enum ALListenerfv : int
- {
- ///Indicate Listener orientation. Expects two Vector3, At followed by Up.
- Orientation = 0x100F,
- }
-
- ///A list of valid 32-bit Float Source/GetSource parameters
- public enum ALSourcef : int
- {
- ///Source specific reference distance. Type: float Range: [0.0f - float.PositiveInfinity] At 0.0f, no distance attenuation occurs. Type: float Default: 1.0f.
- ReferenceDistance = 0x1020,
-
- ///Indicate distance above which Sources are not attenuated using the inverse clamped distance model. Default: float.PositiveInfinity Type: float Range: [0.0f - float.PositiveInfinity]
- MaxDistance = 0x1023,
-
- ///Source specific rolloff factor. Type: float Range: [0.0f - float.PositiveInfinity]
- RolloffFactor = 0x1021,
-
- ///Specify the pitch to be applied, either at Source, or on mixer results, at Listener. Range: [0.5f - 2.0f] Default: 1.0f
- Pitch = 0x1003,
-
- ///Indicate the gain (volume amplification) applied. Type: float. Range: [0.0f - ? ] A value of 1.0 means un-attenuated/unchanged. Each division by 2 equals an attenuation of -6dB. Each multiplicaton with 2 equals an amplification of +6dB. A value of 0.0f is meaningless with respect to a logarithmic scale; it is interpreted as zero volume - the channel is effectively disabled.
- Gain = 0x100A,
-
- ///Indicate minimum Source attenuation. Type: float Range: [0.0f - 1.0f] (Logarthmic)
- MinGain = 0x100D,
-
- ///Indicate maximum Source attenuation. Type: float Range: [0.0f - 1.0f] (Logarthmic)
- MaxGain = 0x100E,
-
- ///Directional Source, inner cone angle, in degrees. Range: [0-360] Default: 360
- ConeInnerAngle = 0x1001,
-
- ///Directional Source, outer cone angle, in degrees. Range: [0-360] Default: 360
- ConeOuterAngle = 0x1002,
-
- ///Directional Source, outer cone gain. Default: 0.0f Range: [0.0f - 1.0] (Logarithmic)
- ConeOuterGain = 0x1022,
-
- /// The playback position, expressed in seconds.
- SecOffset = 0x1024, // AL_EXT_OFFSET extension.
-
- ///(EFX Extension) This property is a multiplier on the amount of Air Absorption applied to the Source. The AL_AIR_ABSORPTION_FACTOR is multiplied by an internal Air Absorption Gain HF value of 0.994 (-0.05dB) per meter which represents normal atmospheric humidity and temperature. Range [0.0f .. 10.0f] Default: 0.0f
- EfxAirAbsorptionFactor = 0x20007,
-
- ///(EFX Extension) This property is defined the same way as the Reverb Room Rolloff property: it is one of two methods available in the Effect Extension to attenuate the reflected sound (early reflections and reverberation) according to source-listener distance. Range [0.0f .. 10.0f] Default: 0.0f
- EfxRoomRolloffFactor = 0x20008,
-
- ///(EFX Extension) A directed Source points in a specified direction. The Source sounds at full volume when the listener is directly in front of the source; it is attenuated as the listener circles the Source away from the front. Range [0.0f .. 1.0f] Default: 1.0f
- EfxConeOuterGainHighFrequency = 0x20009,
-
- }
-
- ///A list of valid Math.Vector3 Source/GetSource parameters
- public enum ALSource3f : int
- {
- ///Specify 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 from a left handed coordinate system, flip the sign on the Z coordinate. Listener position is always in the world coordinate system.
- Position = 0x1004,
-
- ///Specify the current velocity in three dimensional space.
- Velocity = 0x1006,
-
- ///Specify the current direction vector.
- Direction = 0x1005,
- }
-
- ///A list of valid 8-bit boolean Source/GetSource parameters
- public enum ALSourceb : int
- {
- ///Indicate that the Source has relative coordinates. Type: bool Range: [True, False]
- SourceRelative = 0x202,
-
- ///Indicate whether the Source is looping. Type: bool Range: [True, False] Default: False.
- Looping = 0x1007,
-
- ///(EFX Extension) If this Source property is set to True, this Source’s direct-path is automatically filtered according to the orientation of the source relative to the listener and the setting of the Source property Sourcef.ConeOuterGainHF. Type: bool Range [False, True] Default: True
- EfxDirectFilterGainHighFrequencyAuto = 0x2000A,
-
- ///(EFX Extension) If this Source property is set to True, the intensity of this Source’s reflected sound is automatically attenuated according to source-listener distance and source directivity (as determined by the cone parameters). If it is False, the reflected sound is not attenuated according to distance and directivity. Type: bool Range [False, True] Default: True
- EfxAuxiliarySendFilterGainAuto = 0x2000B,
-
- ///(EFX Extension) If this Source property is AL_TRUE (its default value), the intensity of this Source’s reflected sound at high frequencies will be automatically attenuated according to the high-frequency source directivity as set by the Sourcef.ConeOuterGainHF property. If this property is AL_FALSE, the Source’s reflected sound is not filtered at all according to the Source’s directivity. Type: bool Range [False, True] Default: True
- EfxAuxiliarySendFilterGainHighFrequencyAuto = 0x2000C,
- }
-
- ///A list of valid Int32 Source parameters
- public enum ALSourcei : int
- {
- ///The playback position, expressed in bytes.
- ByteOffset = 0x1026, // AL_EXT_OFFSET extension.
-
- ///The playback position, expressed in samples.
- SampleOffset = 0x1025, // AL_EXT_OFFSET extension.
-
- ///Indicate the Buffer to provide sound samples. Type: uint Range: any valid Buffer Handle.
- Buffer = 0x1009,
-
- ///Source type (Static, Streaming or undetermined). Use enum AlSourceType for comparison
- SourceType = 0x1027,
-
- ///(EFX Extension) This Source property is used to apply filtering on the direct-path (dry signal) of a Source.
- EfxDirectFilter = 0x20005,
- }
-
- ///A list of valid 3x Int32 Source/GetSource parameters
- public enum ALSource3i : int
- {
- ///(EFX Extension) This Source property is used to establish connections between Sources and Auxiliary Effect Slots. For a Source to feed an Effect that has been loaded into an Auxiliary Effect Slot the application must configure one of the Source’s auxiliary sends. This process involves setting 3 variables – the destination Auxiliary Effect Slot ID, the Auxiliary Send number, and an optional Filter ID. Type: uint Range: any valid Filter Handle.
- EfxAuxiliarySendFilter = 0x20006,
- }
-
- ///A list of valid Int32 GetSource parameters
- public enum ALGetSourcei : int
- {
- ///The playback position, expressed in bytes. AL_EXT_OFFSET Extension.
- ByteOffset = 0x1026,
-
- ///The playback position, expressed in samples. AL_EXT_OFFSET Extension.
- SampleOffset = 0x1025,
-
- ///Indicate the Buffer to provide sound samples. Type: uint Range: any valid Buffer Handle.
- Buffer = 0x1009,
-
- /// The state of the source (Stopped, Playing, etc.) Use the enum AlSourceState for comparison.
- SourceState = 0x1010,
-
- /// The number of buffers queued on this source.
- BuffersQueued = 0x1015,
-
- /// The number of buffers in the queue that have been processed.
- BuffersProcessed = 0x1016,
-
- ///Source type (Static, Streaming or undetermined). Use enum AlSourceType for comparison.
- SourceType = 0x1027,
- }
-
- /*
- public enum ALDeprecated : int
- {
- ///Deprecated. Specify the channel mask. (Creative) Type: uint Range: [0 - 255]
- ChannelMask = 0x3000,
- }
- */
-
- ///Source state information, can be retrieved by AL.Source() with ALSourcei.SourceState.
- public enum ALSourceState : int
- {
- ///Default State when loaded, can be manually set with AL.SourceRewind().
- Initial = 0x1011,
-
- ///The source is currently playing.
- Playing = 0x1012,
-
- ///The source has paused playback.
- Paused = 0x1013,
-
- ///The source is not playing.
- Stopped = 0x1014,
- }
-
- ///Source type information, can be retrieved by AL.Source() with ALSourcei.SourceType.
- public enum ALSourceType : int
- {
- ///Source is Static if a Buffer has been attached using AL.Source with the parameter Sourcei.Buffer.
- Static = 0x1028,
-
- ///Source is Streaming if one or more Buffers have been attached using AL.SourceQueueBuffers
- Streaming = 0x1029,
-
- ///Source is undetermined when it has a null Buffer attached
- Undetermined = 0x1030,
- }
-
- ///Sound samples: Format specifier.
- public enum ALFormat : int
- {
- ///1 Channel, 8 bits per sample.
- Mono8 = 0x1100,
-
- ///1 Channel, 16 bits per sample.
- Mono16 = 0x1101,
-
- ///2 Channels, 8 bits per sample each.
- Stereo8 = 0x1102,
-
- ///2 Channels, 16 bits per sample each.
- Stereo16 = 0x1103,
-
- /// 1 Channel, A-law encoded data. Requires Extension: AL_EXT_ALAW
- MonoALawExt = 0x10016,
-
- /// 2 Channels, A-law encoded data. Requires Extension: AL_EXT_ALAW
- StereoALawExt = 0x10017,
-
- /// 1 Channel, µ-law encoded data. Requires Extension: AL_EXT_MULAW
- MonoMuLawExt = 0x10014,
-
- /// 2 Channels, µ-law encoded data. Requires Extension: AL_EXT_MULAW
- StereoMuLawExt = 0x10015,
-
- /// Ogg Vorbis encoded data. Requires Extension: AL_EXT_vorbis
- VorbisExt = 0x10003,
-
- /// MP3 encoded data. Requires Extension: AL_EXT_mp3
- Mp3Ext = 0x10020,
-
- /// 1 Channel, IMA4 ADPCM encoded data. Requires Extension: AL_EXT_IMA4
- MonoIma4Ext = 0x1300,
-
- /// 2 Channels, IMA4 ADPCM encoded data. Requires Extension: AL_EXT_IMA4
- StereoIma4Ext = 0x1301,
-
- /// 1 Channel, single-precision floating-point data. Requires Extension: AL_EXT_float32
- MonoFloat32Ext = 0x10010,
-
- /// 2 Channels, single-precision floating-point data. Requires Extension: AL_EXT_float32
- StereoFloat32Ext = 0x10011,
-
- /// 1 Channel, double-precision floating-point data. Requires Extension: AL_EXT_double
- MonoDoubleExt = 0x10012,
-
- /// 2 Channels, double-precision floating-point data. Requires Extension: AL_EXT_double
- StereoDoubleExt = 0x10013,
-
- /// Multichannel 5.1, 16-bit data. Requires Extension: AL_EXT_MCFORMATS
- Multi51Chn16Ext = 0x120B,
-
- /// Multichannel 5.1, 32-bit data. Requires Extension: AL_EXT_MCFORMATS
- Multi51Chn32Ext = 0x120C,
-
- /// Multichannel 5.1, 8-bit data. Requires Extension: AL_EXT_MCFORMATS
- Multi51Chn8Ext = 0x120A,
-
- /// Multichannel 6.1, 16-bit data. Requires Extension: AL_EXT_MCFORMATS
- Multi61Chn16Ext = 0x120E,
-
- /// Multichannel 6.1, 32-bit data. Requires Extension: AL_EXT_MCFORMATS
- Multi61Chn32Ext = 0x120F,
-
- /// Multichannel 6.1, 8-bit data. Requires Extension: AL_EXT_MCFORMATS
- Multi61Chn8Ext = 0x120D,
-
- /// Multichannel 7.1, 16-bit data. Requires Extension: AL_EXT_MCFORMATS
- Multi71Chn16Ext = 0x1211,
-
- /// Multichannel 7.1, 32-bit data. Requires Extension: AL_EXT_MCFORMATS
- Multi71Chn32Ext = 0x1212,
-
- /// Multichannel 7.1, 8-bit data. Requires Extension: AL_EXT_MCFORMATS
- Multi71Chn8Ext = 0x1210,
-
- /// Multichannel 4.0, 16-bit data. Requires Extension: AL_EXT_MCFORMATS
- MultiQuad16Ext = 0x1205,
-
- /// Multichannel 4.0, 32-bit data. Requires Extension: AL_EXT_MCFORMATS
- MultiQuad32Ext = 0x1206,
-
- /// Multichannel 4.0, 8-bit data. Requires Extension: AL_EXT_MCFORMATS
- MultiQuad8Ext = 0x1204,
-
- /// 1 Channel rear speaker, 16-bit data. See Quadrophonic setups. Requires Extension: AL_EXT_MCFORMATS
- MultiRear16Ext = 0x1208,
-
- /// 1 Channel rear speaker, 32-bit data. See Quadrophonic setups. Requires Extension: AL_EXT_MCFORMATS
- MultiRear32Ext = 0x1209,
-
- /// 1 Channel rear speaker, 8-bit data. See Quadrophonic setups. Requires Extension: AL_EXT_MCFORMATS
- MultiRear8Ext = 0x1207,
- }
-
- ///A list of valid Int32 GetBuffer parameters
- public enum ALGetBufferi : int
- {
- ///Sound sample's 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.
- Frequency = 0x2001,
-
- /// Bit depth of the buffer. Should be 8 or 16.
- Bits = 0x2002,
-
- /// Number of channels in buffer. > 1 is valid, but buffer won’t be positioned when played. 1 for Mono, 2 for Stereo.
- Channels = 0x2003,
-
- /// size of the Buffer in bytes.
- Size = 0x2004,
-
- // Deprecated: From Manual, not in header: AL_DATA ( i, iv ) original location where buffer was copied from generally useless, as was probably freed after buffer creation
- }
-
- ///Buffer state. Not supported for public use (yet).
- public enum ALBufferState : int
- {
- ///Buffer state. Not supported for public use (yet).
- Unused = 0x2010,
-
- ///Buffer state. Not supported for public use (yet).
- Pending = 0x2011,
-
- ///Buffer state. Not supported for public use (yet).
- Processed = 0x2012,
- }
-
- /// Returned by AL.GetError
- public enum ALError : int
- {
- ///No OpenAL Error.
- NoError = 0,
-
- ///Invalid Name paramater passed to OpenAL call.
- InvalidName = 0xA001,
-
- ///Invalid parameter passed to OpenAL call.
- IllegalEnum = 0xA002,
- ///Invalid parameter passed to OpenAL call.
- InvalidEnum = 0xA002,
-
- ///Invalid OpenAL enum parameter value.
- InvalidValue = 0xA003,
-
- ///Illegal OpenAL call.
- IllegalCommand = 0xA004,
- ///Illegal OpenAL call.
- InvalidOperation = 0xA004,
-
- ///No OpenAL memory left.
- OutOfMemory = 0xA005,
- }
-
- ///A list of valid string AL.Get() parameters
- public enum ALGetString : int
- {
- /// Gets the Vendor name.
- Vendor = 0xB001,
-
- /// Gets the driver version.
- Version = 0xB002,
-
- /// Gets the renderer mode.
- Renderer = 0xB003,
-
- /// Gets a list of all available Extensions, separated with spaces.
- Extensions = 0xB004,
- }
-
- ///A list of valid 32-bit Float AL.Get() parameters
- public enum ALGetFloat : int
- {
- ///Doppler scale. Default 1.0f
- DopplerFactor = 0xC000,
-
- ///Tweaks speed of propagation. This functionality is deprecated.
- DopplerVelocity = 0xC001,
-
- ///Speed of Sound in units per second. Default: 343.3f
- SpeedOfSound = 0xC003,
- }
-
- ///A list of valid Int32 AL.Get() parameters
- public enum ALGetInteger : int
- {
- ///See enum ALDistanceModel.
- DistanceModel = 0xD000,
- }
-
- /// Used by AL.DistanceModel(), the distance model can be retrieved by AL.Get() with ALGetInteger.DistanceModel
- public enum ALDistanceModel : int
- {
- ///Bypasses all distance attenuation calculation for all Sources.
- None = 0,
-
- ///InverseDistance is equivalent to the IASIG I3DL2 model with the exception that ALSourcef.ReferenceDistance does not imply any clamping.
- InverseDistance = 0xD001,
-
- ///InverseDistanceClamped is the IASIG I3DL2 model, with ALSourcef.ReferenceDistance indicating both the reference distance and the distance below which gain will be clamped.
- InverseDistanceClamped = 0xD002,
-
- ///AL_EXT_LINEAR_DISTANCE extension.
- LinearDistance = 0xD003,
-
- ///AL_EXT_LINEAR_DISTANCE extension.
- LinearDistanceClamped = 0xD004,
-
- ///AL_EXT_EXPONENT_DISTANCE extension.
- ExponentDistance = 0xD005,
-
- ///AL_EXT_EXPONENT_DISTANCE extension.
- ExponentDistanceClamped = 0xD006,
- }
-
-}
diff --git a/Source/Compatibility/Audio/OpenAL/AL/EffectsExtension.cs b/Source/Compatibility/Audio/OpenAL/AL/EffectsExtension.cs
deleted file mode 100644
index 056832a3..00000000
--- a/Source/Compatibility/Audio/OpenAL/AL/EffectsExtension.cs
+++ /dev/null
@@ -1,1288 +0,0 @@
-#region --- OpenTK.OpenAL License ---
-/* EfxFunctions.cs
- * C headers: \OpenAL 1.1 SDK\include\ "efx.h", "efx-creative.h", "Efx-Util.h"
- * Spec: Effects Extension Guide.pdf (bundled with OpenAL SDK)
- * Copyright (c) 2008 Christoph Brandtner and Stefanos Apostolopoulos
- * See license.txt for license details
- * http://www.OpenTK.net */
-#endregion
-
-using System;
-using System.Diagnostics;
-using System.Runtime.InteropServices;
-
-
-namespace OpenTK.Audio
-{
- ///
- /// Provides access to the OpenAL effects extension.
- ///
- public partial class EffectsExtension
- {
- #region Helpers
-
- #region BindEffect
-
- /// (Helper) Selects the Effect type used by this Effect handle.
- /// Effect id returned from a successful call to GenEffects.
- /// Effect type.
- [CLSCompliant(false)]
- public void BindEffect(uint eid, EfxEffectType type)
- {
- Imported_alEffecti(eid, EfxEffecti.EffectType, (int)type);
- }
-
- /// (Helper) Selects the Effect type used by this Effect handle.
- /// Effect id returned from a successful call to GenEffects.
- /// Effect type.
-
- public void BindEffect(int eid, EfxEffectType type)
- {
- Imported_alEffecti((uint)eid, EfxEffecti.EffectType, (int)type);
- }
-
- #endregion BindEffect
-
- #region BindFilterToSource
-
- /// (Helper) reroutes the output of a Source through a Filter.
- /// A valid Source handle.
- /// A valid Filter handle.
- [CLSCompliant(false)]
- public void BindFilterToSource(uint source, uint filter)
- {
- AL.Source(source, ALSourcei.EfxDirectFilter, (int)filter);
- }
-
- /// (Helper) reroutes the output of a Source through a Filter.
- /// A valid Source handle.
- /// A valid Filter handle.
-
- public void BindFilterToSource(int source, int filter)
- {
- AL.Source((uint)source, ALSourcei.EfxDirectFilter, (int)filter);
- }
-
- #endregion BindFilterToSource
-
- #region BindEffectToAuxiliarySlot
-
- /// (Helper) Attaches an Effect to an Auxiliary Effect Slot.
- /// The slot handle to attach the Effect to.
- /// The Effect handle that is being attached.
- [CLSCompliant(false)]
- public void BindEffectToAuxiliarySlot(uint auxiliaryeffectslot, uint effect)
- {
- AuxiliaryEffectSlot(auxiliaryeffectslot, EfxAuxiliaryi.EffectslotEffect, (int)effect);
- }
-
- /// (Helper) Attaches an Effect to an Auxiliary Effect Slot.
- /// The slot handle to attach the Effect to.
- /// The Effect handle that is being attached.
-
- public void BindEffectToAuxiliarySlot(int auxiliaryeffectslot, int effect)
- {
- AuxiliaryEffectSlot((uint)auxiliaryeffectslot, EfxAuxiliaryi.EffectslotEffect, (int)effect);
- }
-
- #endregion BindEffectToAuxiliarySlot
-
- #region BindSourceToAuxiliarySlot
-
- /// (Helper) Reroutes a Source's output into an Auxiliary Effect Slot.
- /// The Source handle who's output is forwarded.
- /// The Auxiliary Effect Slot handle that receives input from the Source.
- /// Every Source has only a limited number of slots it can feed buffer to. The number must stay below AlcContextAttributes.EfxMaxAuxiliarySends
- /// Filter handle to be attached between Source ouput and Auxiliary Slot input. Use 0 or EfxFilterType.FilterNull for no filter.
- [CLSCompliant(false)]
- public void BindSourceToAuxiliarySlot(uint source, uint slot, int slotnumber, uint filter)
- {
- AL.Source(source, ALSource3i.EfxAuxiliarySendFilter, (int)slot, (int)slotnumber, (int)filter);
- }
-
- /// (Helper) Reroutes a Source's output into an Auxiliary Effect Slot.
- /// The Source handle who's output is forwarded.
- /// The Auxiliary Effect Slot handle that receives input from the Source.
- /// Every Source has only a limited number of slots it can feed buffer to. The number must stay below AlcContextAttributes.EfxMaxAuxiliarySends
- /// Filter handle to be attached between Source ouput and Auxiliary Slot input. Use 0 or EfxFilterType.FilterNull for no filter.
-
- public void BindSourceToAuxiliarySlot(int source, int slot, int slotnumber, int filter)
- {
- AL.Source((uint)source, ALSource3i.EfxAuxiliarySendFilter, (int)slot, (int)slotnumber, (int)filter);
- }
-
- #endregion BindSourceToAuxiliarySlot
-
- #endregion Helpers
-
- #region Effect Object
-
- #region alGenEffects
-
- //[CLSCompliant(false)]
- unsafe private delegate void Delegate_alGenEffects(int n, [Out] uint* effects);
- // typedef void (__cdecl *LPALGENEFFECTS)( ALsizei n, ALuint* effects );
-
- //[CLSCompliant(false)]
- private Delegate_alGenEffects Imported_alGenEffects;
-
- /// The GenEffects function is used to create one or more Effect objects. An Effect object stores an effect type and a set of parameter values to control that Effect. In order to use an Effect it must be attached to an Auxiliary Effect Slot object
- /// After creation an Effect has no type (EfxEffectType.Null), so before it can be used to store a set of parameters, the application must specify what type of effect should be stored in the object, using Effect() with EfxEffecti.
- /// Number of Effects to be created.
- /// Pointer addressing sufficient memory to store n Effect object identifiers.
- [CLSCompliant(false)]
- public void GenEffects(int n, out uint effects)
- {
- unsafe
- {
- fixed (uint* ptr = &effects)
- {
- Imported_alGenEffects(n, ptr);
- effects = *ptr;
- }
- }
- }
-
- /// The GenEffects function is used to create one or more Effect objects. An Effect object stores an effect type and a set of parameter values to control that Effect. In order to use an Effect it must be attached to an Auxiliary Effect Slot object
- /// After creation an Effect has no type (EfxEffectType.Null), so before it can be used to store a set of parameters, the application must specify what type of effect should be stored in the object, using Effect() with EfxEffecti.
- /// Number of Effects to be created.
- /// Pointer addressing sufficient memory to store n Effect object identifiers.
- public void GenEffects(int n, out int effects)
- {
- unsafe
- {
- fixed (int* ptr = &effects)
- {
- Imported_alGenEffects(n, (uint*)ptr);
- effects = *ptr;
- }
- }
- }
-
- /// Generates one or more effect objects.
- /// Number of Effect object identifiers to generate.
- ///
- /// The GenEffects function is used to create one or more Effect objects. An Effect object stores an effect type and a set of parameter values to control that Effect. In order to use an Effect it must be attached to an Auxiliary Effect Slot object.
- /// After creation an Effect has no type (EfxEffectType.Null), so before it can be used to store a set of parameters, the application must specify what type of effect should be stored in the object, using Effect() with EfxEffecti.
- ///
- public int[] GenEffects(int n)
- {
- if (n <= 0) throw new ArgumentOutOfRangeException("n", "Must be higher than 0.");
- int[] effects = new int[n];
- GenEffects(n, out effects[0]);
- return effects;
- }
-
- /// Generates a single effect object.
- /// A handle to the generated effect object.
- ///
- /// The GenEffects function is used to create one or more Effect objects. An Effect object stores an effect type and a set of parameter values to control that Effect. In order to use an Effect it must be attached to an Auxiliary Effect Slot object.
- /// After creation an Effect has no type (EfxEffectType.Null), so before it can be used to store a set of parameters, the application must specify what type of effect should be stored in the object, using Effect() with EfxEffecti.
- ///
- public int GenEffect()
- {
- int temp;
- GenEffects(1, out temp);
- return temp;
- }
-
- /// Generates a single effect object.
- /// A handle to the generated effect object.
- [CLSCompliant(false)]
- public void GenEffect(out uint effect)
- {
- unsafe
- {
- fixed (uint* ptr = &effect)
- {
- Imported_alGenEffects(1, ptr);
- effect = *ptr;
- }
- }
-
- }
-
- #endregion alGenEffects
-
- #region alDeleteEffects
-
- //[CLSCompliant(false)]
- unsafe private delegate void Delegate_alDeleteEffects(int n, [In] uint* effects);
- // typedef void (__cdecl *LPALDELETEEFFECTS)( ALsizei n, ALuint* effects );
-
- //[CLSCompliant(false)]
- private Delegate_alDeleteEffects Imported_alDeleteEffects;
-
- /// The DeleteEffects function is used to delete and free resources for Effect objects previously created with GenEffects.
- /// Number of Effects to be deleted.
- /// Pointer to n Effect object identifiers.
- [CLSCompliant(false)]
- public void DeleteEffects(int n, ref uint effects)
- {
- unsafe
- {
- fixed (uint* ptr = &effects)
- {
- Imported_alDeleteEffects(n, ptr);
- }
- }
- }
-
- /// The DeleteEffects function is used to delete and free resources for Effect objects previously created with GenEffects.
- /// Number of Effects to be deleted.
- /// Pointer to n Effect object identifiers.
- public void DeleteEffects(int n, ref int effects)
- {
- unsafe
- {
- fixed (int* ptr = &effects)
- {
- Imported_alDeleteEffects(n, (uint*)ptr);
- }
- }
- }
-
- /// The DeleteEffects function is used to delete and free resources for Effect objects previously created with GenEffects.
- /// Pointer to n Effect object identifiers.
- public void DeleteEffects(int[] effects)
- {
- if (effects == null) throw new ArgumentNullException("effects");
- DeleteEffects(effects.Length, ref effects[0]);
- }
-
- /// The DeleteEffects function is used to delete and free resources for Effect objects previously created with GenEffects.
- /// Pointer to n Effect object identifiers.
- [CLSCompliant(false)]
- public void DeleteEffects(uint[] effects)
- {
- if (effects == null) throw new ArgumentNullException("effects");
- DeleteEffects(effects.Length, ref effects[0]);
- }
-
- /// This function deletes one Effect only.
- /// Pointer to an effect name/handle identifying the Effect Object to be deleted.
- public void DeleteEffect(int effect)
- {
- DeleteEffects(1, ref effect);
- }
-
- /// This function deletes one Effect only.
- /// Pointer to an effect name/handle identifying the Effect Object to be deleted.
- [CLSCompliant(false)]
- public void DeleteEffect(ref uint effect)
- {
- unsafe
- {
- fixed (uint* ptr = &effect)
- {
- Imported_alDeleteEffects(1, ptr);
- }
- }
- }
-
- #endregion alDeleteEffects
-
- #region alIsEffect
-
- //[CLSCompliant(false)]
- private delegate bool Delegate_alIsEffect(uint eid);
- // typedef ALboolean (__cdecl *LPALISEFFECT)( ALuint eid );
-
- //[CLSCompliant(false)]
- private Delegate_alIsEffect Imported_alIsEffect;
-
- /// The IsEffect function is used to determine if an object identifier is a valid Effect object.
- /// Effect identifier to validate.
- /// True if the identifier is a valid Effect, False otherwise.
- [CLSCompliant(false)]
- public bool IsEffect(uint eid)
- {
- return Imported_alIsEffect(eid);
- }
-
- /// The IsEffect function is used to determine if an object identifier is a valid Effect object.
- /// Effect identifier to validate.
- /// True if the identifier is a valid Effect, False otherwise.
-
- public bool IsEffect(int eid)
- {
- return Imported_alIsEffect((uint)eid);
- }
-
- #endregion alIsEffect
-
- #region alEffecti
-
- //[CLSCompliant(false)]
- private delegate void Delegate_alEffecti(uint eid, EfxEffecti param, int value);
- // typedef void (__cdecl *LPALEFFECTI)( ALuint eid, ALenum param, ALint value);
-
- //[CLSCompliant(false)]
- private Delegate_alEffecti Imported_alEffecti;
-
- /// This function is used to set integer properties on Effect objects.
- /// Effect object identifier.
- /// Effect property to set.
- /// Integer value.
- [CLSCompliant(false)]
- public void Effect(uint eid, EfxEffecti param, int value)
- {
- Imported_alEffecti(eid, param, value);
- }
-
- /// This function is used to set integer properties on Effect objects.
- /// Effect object identifier.
- /// Effect property to set.
- /// Integer value.
-
- public void Effect(int eid, EfxEffecti param, int value)
- {
- Imported_alEffecti((uint)eid, param, value);
- }
-
- #endregion alEffecti
-
- #region alEffectf
-
- //[CLSCompliant(false)]
- private delegate void Delegate_alEffectf(uint eid, EfxEffectf param, float value);
- // typedef void (__cdecl *LPALEFFECTF)( ALuint eid, ALenum param, ALfloat value);
-
- //[CLSCompliant(false)]
- private Delegate_alEffectf Imported_alEffectf;
-
- /// This function is used to set floating-point properties on Effect objects.
- /// Effect object identifier.
- /// Effect property to set.
- /// Floating-point value.
- [CLSCompliant(false)]
- public void Effect(uint eid, EfxEffectf param, float value)
- {
- Imported_alEffectf(eid, param, value);
- }
-
- /// This function is used to set floating-point properties on Effect objects.
- /// Effect object identifier.
- /// Effect property to set.
- /// Floating-point value.
-
- public void Effect(int eid, EfxEffectf param, float value)
- {
- Imported_alEffectf((uint)eid, param, value);
- }
-
- #endregion alEffectf
-
- #region alEffectfv
-
- //[CLSCompliant(false)]
- unsafe private delegate void Delegate_alEffectfv(uint eid, EfxEffect3f param, [In] float* values);
- // typedef void (__cdecl *LPALEFFECTFV)( ALuint eid, ALenum param, ALfloat* values );
-
- //[CLSCompliant(false)]
- private Delegate_alEffectfv Imported_alEffectfv;
-
- /// This function is used to set 3 floating-point properties on Effect objects.
- /// Effect object identifier.
- /// Effect property to set.
- /// Pointer to Math.Vector3.
- [CLSCompliant(false)]
- public void Effect(uint eid, EfxEffect3f param, ref Vector3 values)
- {
- unsafe
- {
- fixed (float* ptr = &values.X)
- {
- Imported_alEffectfv(eid, param, ptr);
- }
- }
- }
-
- /// This function is used to set 3 floating-point properties on Effect objects.
- /// Effect object identifier.
- /// Effect property to set.
- /// Pointer to Math.Vector3.
-
- public void Effect(int eid, EfxEffect3f param, ref Vector3 values)
- {
- Effect((uint)eid, param, ref values);
- }
-
- #endregion alEffectfv
-
- #region alGetEffecti
-
- //[CLSCompliant(false)]
- unsafe private delegate void Delegate_alGetEffecti(uint eid, EfxEffecti pname, [Out] int* value);
- // typedef void (__cdecl *LPALGETEFFECTI)( ALuint eid, ALenum pname, ALint* value );
-
- //[CLSCompliant(false)]
- private Delegate_alGetEffecti Imported_alGetEffecti;
-
- /// This function is used to retrieve integer properties from Effect objects.
- /// Effect object identifier.
- /// Effect property to retrieve.
- /// Address where integer value will be stored.
- [CLSCompliant(false)]
- public void GetEffect(uint eid, EfxEffecti pname, out int value)
- {
- unsafe
- {
- fixed (int* ptr = &value)
- {
- Imported_alGetEffecti(eid, pname, ptr);
- }
- }
- }
-
- /// This function is used to retrieve integer properties from Effect objects.
- /// Effect object identifier.
- /// Effect property to retrieve.
- /// Address where integer value will be stored.
-
- public void GetEffect(int eid, EfxEffecti pname, out int value)
- {
- GetEffect((uint)eid, pname, out value);
- }
-
- #endregion alGetEffecti
-
- #region alGetEffectf
-
- //[CLSCompliant(false)]
- unsafe private delegate void Delegate_alGetEffectf(uint eid, EfxEffectf pname, [Out]float* value);
- // typedef void (__cdecl *LPALGETEFFECTF)( ALuint eid, ALenum pname, ALfloat* value );
-
- //[CLSCompliant(false)]
- private Delegate_alGetEffectf Imported_alGetEffectf;
-
- /// This function is used to retrieve floating-point properties from Effect objects.
- /// Effect object identifier.
- /// Effect property to retrieve.
- /// Address where floating-point value will be stored.
- [CLSCompliant(false)]
- public void GetEffect(uint eid, EfxEffectf pname, out float value)
- {
- unsafe
- {
- fixed (float* ptr = &value)
- {
- Imported_alGetEffectf(eid, pname, ptr);
- }
- }
- }
-
- /// This function is used to retrieve floating-point properties from Effect objects.
- /// Effect object identifier.
- /// Effect property to retrieve.
- /// Address where floating-point value will be stored.
-
- public void GetEffect(int eid, EfxEffectf pname, out float value)
- {
- GetEffect((uint)eid, pname, out value);
- }
-
- #endregion alGetEffectf
-
- #region alGetEffectfv
-
- //[CLSCompliant(false)]
- unsafe private delegate void Delegate_alGetEffectfv(uint eid, EfxEffect3f param, [Out] float* values);
- // typedef void (__cdecl *LPALGETEFFECTFV)( ALuint eid, ALenum pname, ALfloat* values );
-
- //[CLSCompliant(false)]
- private Delegate_alGetEffectfv Imported_alGetEffectfv;
-
- /// This function is used to retrieve 3 floating-point properties from Effect objects.
- /// Effect object identifier.
- /// Effect property to retrieve.
- /// A Math.Vector3 to hold the values.
- [CLSCompliant(false)]
- public void GetEffect(uint eid, EfxEffect3f param, out Vector3 values)
- {
- unsafe
- {
- fixed (float* ptr = &values.X)
- {
- Imported_alGetEffectfv(eid, param, ptr);
- values.X = ptr[0];
- values.Y = ptr[1];
- values.Z = ptr[2];
- }
- }
- }
-
- /// This function is used to retrieve 3 floating-point properties from Effect objects.
- /// Effect object identifier.
- /// Effect property to retrieve.
- /// A Math.Vector3 to hold the values.
-
- public void GetEffect(int eid, EfxEffect3f param, out Vector3 values)
- {
- GetEffect((uint)eid, param, out values);
- }
-
- #endregion alGetEffectfv
-
- // Not used:
- // typedef void (__cdecl *LPALEFFECTIV)( ALuint eid, ALenum param, ALint* values );
- // typedef void (__cdecl *LPALGETEFFECTIV)( ALuint eid, ALenum pname, ALint* values );
-
- #endregion Effect Object
-
- #region Filter Object
-
- #region alGenFilters
-
- //[CLSCompliant(false)]
- unsafe private delegate void Delegate_alGenFilters(int n, [Out] uint* filters);
- // typedef void (__cdecl *LPALGENFILTERS)( ALsizei n, ALuint* filters );
-
- //[CLSCompliant(false)]
- private Delegate_alGenFilters Imported_alGenFilters;
-
- /// The GenFilters function is used to create one or more Filter objects. A Filter object stores a filter type and a set of parameter values to control that Filter. Filter objects can be attached to Sources as Direct Filters or Auxiliary Send Filters.
- /// After creation a Filter has no type (EfxFilterType.Null), so before it can be used to store a set of parameters, the application must specify what type of filter should be stored in the object, using Filter() with EfxFilteri.
- /// Number of Filters to be created.
- /// Pointer addressing sufficient memory to store n Filter object identifiers.
- [CLSCompliant(false)]
- public void GenFilters(int n, out uint filters)
- {
- unsafe
- {
- fixed (uint* ptr = &filters)
- {
- Imported_alGenFilters(n, ptr);
- filters = *ptr;
- }
- }
- }
-
- /// The GenFilters function is used to create one or more Filter objects. A Filter object stores a filter type and a set of parameter values to control that Filter. Filter objects can be attached to Sources as Direct Filters or Auxiliary Send Filters.
- /// After creation a Filter has no type (EfxFilterType.Null), so before it can be used to store a set of parameters, the application must specify what type of filter should be stored in the object, using Filter() with EfxFilteri.
- /// Number of Filters to be created.
- /// Pointer addressing sufficient memory to store n Filter object identifiers.
- public void GenFilters(int n, out int filters)
- {
- unsafe
- {
- fixed (int* ptr = &filters)
- {
- Imported_alGenFilters(n, (uint*)ptr);
- filters = *ptr;
- }
- }
- }
-
-
- /// The GenFilters function is used to create one or more Filter objects. A Filter object stores a filter type and a set of parameter values to control that Filter. Filter objects can be attached to Sources as Direct Filters or Auxiliary Send Filters.
- /// After creation a Filter has no type (EfxFilterType.Null), so before it can be used to store a set of parameters, the application must specify what type of filter should be stored in the object, using Filter() with EfxFilteri.
- /// Number of Filters to be created.
- /// Pointer addressing sufficient memory to store n Filter object identifiers.
- public int[] GenFilters(int n)
- {
-
- if (n <= 0) throw new ArgumentOutOfRangeException("n", "Must be higher than 0.");
- int[] filters = new int[n];
- GenFilters(filters.Length, out filters[0]);
- return filters;
- }
-
- /// This function generates only one Filter.
- /// Storage Int32 for the new filter name/handle.
- public int GenFilter()
- {
- int filter;
- GenFilters(1, out filter);
- return filter;
- }
-
- /// This function generates only one Filter.
- /// Storage UInt32 for the new filter name/handle.
- [CLSCompliant(false)]
- unsafe public void GenFilter(out uint filter)
- {
- unsafe
- {
- fixed (uint* ptr = &filter)
- {
- Imported_alGenFilters(1, ptr);
- filter = *ptr;
- }
- }
- }
-
- #endregion alGenFilters
-
- #region alDeleteFilters
-
- //[CLSCompliant(false)]
- unsafe private delegate void Delegate_alDeleteFilters(int n, [In] uint* filters);
- // typedef void (__cdecl *LPALDELETEFILTERS)( ALsizei n, ALuint* filters );
-
- //[CLSCompliant(false)]
- private Delegate_alDeleteFilters Imported_alDeleteFilters;
-
- /// The DeleteFilters function is used to delete and free resources for Filter objects previously created with GenFilters.
- /// Number of Filters to be deleted.
- /// Pointer to n Filter object identifiers.
- [CLSCompliant(false)]
- public void DeleteFilters(int n, ref uint filters)
- {
- unsafe
- {
- fixed (uint* ptr = &filters)
- {
- Imported_alDeleteFilters(n, ptr);
- }
- }
- }
-
- /// The DeleteFilters function is used to delete and free resources for Filter objects previously created with GenFilters.
- /// Number of Filters to be deleted.
- /// Pointer to n Filter object identifiers.
- public void DeleteFilters(int n, ref int filters)
- {
- unsafe
- {
- fixed (int* ptr = &filters)
- {
- Imported_alDeleteFilters(n, (uint*)ptr);
- }
- }
- }
-
- /// This function deletes one Filter only.
- /// Pointer to an filter name/handle identifying the Filter Object to be deleted.
- [CLSCompliant(false)]
- public void DeleteFilters(uint[] filters)
- {
- if (filters == null) throw new ArgumentNullException("filters");
- DeleteFilters(filters.Length, ref filters[0]);
- }
-
- /// This function deletes one Filter only.
- /// Pointer to an filter name/handle identifying the Filter Object to be deleted.
- public void DeleteFilters(int[] filters)
- {
- if (filters == null) throw new ArgumentNullException("filters");
- DeleteFilters(filters.Length, ref filters[0]);
- }
-
- /// This function deletes one Filter only.
- /// Pointer to an filter name/handle identifying the Filter Object to be deleted.
- public void DeleteFilter(int filter)
- {
- DeleteFilters(1, ref filter);
- }
-
- /// This function deletes one Filter only.
- /// Pointer to an filter name/handle identifying the Filter Object to be deleted.
- [CLSCompliant(false)]
- public void DeleteFilter(ref uint filter)
- {
- unsafe
- {
- fixed (uint* ptr = &filter)
- {
- Imported_alDeleteFilters(1, ptr);
- }
- }
- }
-
- #endregion alDeleteFilters
-
- #region alIsFilter
-
- //[CLSCompliant(false)]
- private delegate bool Delegate_alIsFilter(uint fid);
- // typedef ALboolean (__cdecl *LPALISFILTER)( ALuint fid );
-
- //[CLSCompliant(false)]
- private Delegate_alIsFilter Imported_alIsFilter;
-
- /// The IsFilter function is used to determine if an object identifier is a valid Filter object.
- /// Effect identifier to validate.
- /// True if the identifier is a valid Filter, False otherwise.
- [CLSCompliant(false)]
- public bool IsFilter(uint fid)
- {
- return Imported_alIsFilter(fid);
- }
-
- /// The IsFilter function is used to determine if an object identifier is a valid Filter object.
- /// Effect identifier to validate.
- /// True if the identifier is a valid Filter, False otherwise.
-
- public bool IsFilter(int fid)
- {
- return Imported_alIsFilter((uint)fid);
- }
-
- #endregion alIsFilter
-
- #region alFilteri
-
- //[CLSCompliant(false)]
- private delegate void Delegate_alFilteri(uint fid, EfxFilteri param, int value);
- // typedef void (__cdecl *LPALFILTERI)( ALuint fid, ALenum param, ALint value );
-
- //[CLSCompliant(false)]
- private Delegate_alFilteri Imported_alFilteri;
-
- /// This function is used to set integer properties on Filter objects.
- /// Filter object identifier.
- /// Effect property to set.
- /// Integer value.
- [CLSCompliant(false)]
- public void Filter(uint fid, EfxFilteri param, int value)
- {
- Imported_alFilteri(fid, param, value);
- }
-
- /// This function is used to set integer properties on Filter objects.
- /// Filter object identifier.
- /// Effect property to set.
- /// Integer value.
-
- public void Filter(int fid, EfxFilteri param, int value)
- {
- Imported_alFilteri((uint)fid, param, value);
- }
-
- #endregion alFilteri
-
- #region alFilterf
-
- //[CLSCompliant(false)]
- private delegate void Delegate_alFilterf(uint fid, EfxFilterf param, float value);
- // typedef void (__cdecl *LPALFILTERF)( ALuint fid, ALenum param, ALfloat value);
-
- //[CLSCompliant(false)]
- private Delegate_alFilterf Imported_alFilterf;
-
- /// This function is used to set floating-point properties on Filter objects.
- /// Filter object identifier.
- /// Effect property to set.
- /// Floating-point value.
- [CLSCompliant(false)]
- public void Filter(uint fid, EfxFilterf param, float value)
- {
- Imported_alFilterf(fid, param, value);
- }
-
- /// This function is used to set floating-point properties on Filter objects.
- /// Filter object identifier.
- /// Effect property to set.
- /// Floating-point value.
-
- public void Filter(int fid, EfxFilterf param, float value)
- {
- Imported_alFilterf((uint)fid, param, value);
- }
-
- #endregion alFilterf
-
- #region alGetFilteri
-
- //[CLSCompliant(false)]
- unsafe private delegate void Delegate_alGetFilteri(uint fid, EfxFilteri pname, [Out] int* value);
- // typedef void (__cdecl *LPALGETFILTERI)( ALuint fid, ALenum pname, ALint* value );
-
- //[CLSCompliant(false)]
- private Delegate_alGetFilteri Imported_alGetFilteri;
-
- /// This function is used to retrieve integer properties from Filter objects.
- /// Filter object identifier.
- /// Effect property to retrieve.
- /// Address where integer value will be stored.
- [CLSCompliant(false)]
- public void GetFilter(uint fid, EfxFilteri pname, out int value)
- {
- unsafe
- {
- fixed (int* ptr = &value)
- {
- Imported_alGetFilteri(fid, pname, ptr);
- }
- }
- }
-
- /// This function is used to retrieve integer properties from Filter objects.
- /// Filter object identifier.
- /// Effect property to retrieve.
- /// Address where integer value will be stored.
-
- public void GetFilter(int fid, EfxFilteri pname, out int value)
- {
- GetFilter((uint)fid, pname, out value);
- }
-
- #endregion alGetFilteri
-
- #region alGetFilterf
-
- //[CLSCompliant(false)]
- unsafe private delegate void Delegate_alGetFilterf(uint fid, EfxFilterf pname, [Out] float* value);
- // typedef void (__cdecl *LPALGETFILTERF)( ALuint fid, ALenum pname, ALfloat* value );
-
- //[CLSCompliant(false)]
- private Delegate_alGetFilterf Imported_alGetFilterf;
-
- /// This function is used to retrieve floating-point properties from Filter objects.
- /// Filter object identifier.
- /// Effect property to retrieve.
- /// Address where floating-point value will be stored.
- [CLSCompliant(false)]
- public void GetFilter(uint fid, EfxFilterf pname, out float value)
- {
- unsafe
- {
- fixed (float* ptr = &value)
- {
- Imported_alGetFilterf(fid, pname, ptr);
- }
- }
- }
-
- /// This function is used to retrieve floating-point properties from Filter objects.
- /// Filter object identifier.
- /// Effect property to retrieve.
- /// Address where floating-point value will be stored.
-
- public void GetFilter(int fid, EfxFilterf pname, out float value)
- {
- GetFilter((uint)fid, pname, out value);
- }
-
- #endregion alGetFilterf
-
- // Not used:
- // typedef void (__cdecl *LPALFILTERIV)( ALuint fid, ALenum param, ALint* values );
- // typedef void (__cdecl *LPALFILTERFV)( ALuint fid, ALenum param, ALfloat* values );
- // typedef void (__cdecl *LPALGETFILTERIV)( ALuint fid, ALenum pname, ALint* values );
- // typedef void (__cdecl *LPALGETFILTERFV)( ALuint fid, ALenum pname, ALfloat* values );
-
- #endregion Filter Object
-
- #region Auxiliary Effect Slot Object
-
- #region alGenAuxiliaryEffectSlots
-
- //[CLSCompliant(false)]
- unsafe private delegate void Delegate_alGenAuxiliaryEffectSlots(int n, [Out] uint* slots);
- // typedef void (__cdecl *LPALGENAUXILIARYEFFECTSLOTS)( ALsizei n, ALuint* slots );
-
- //[CLSCompliant(false)]
- private Delegate_alGenAuxiliaryEffectSlots Imported_alGenAuxiliaryEffectSlots;
-
- /// The GenAuxiliaryEffectSlots function is used to create one or more Auxiliary Effect Slots. The number of slots that can be created will be dependant upon the Open AL device used.
- /// An application should check the OpenAL error state after making this call to determine if the Effect Slot was successfully created. If the function call fails then none of the requested Effect Slots are created. A good strategy for creating any OpenAL object is to use a for-loop and generate one object each loop iteration and then check for an error condition. If an error is set then the loop can be broken and the application can determine if sufficient resources are available.
- /// Number of Auxiliary Effect Slots to be created.
- /// Pointer addressing sufficient memory to store n Effect Slot object identifiers.
- [CLSCompliant(false)]
- public void GenAuxiliaryEffectSlots(int n, out uint slots)
- {
- unsafe
- {
- fixed (uint* ptr = &slots)
- {
- Imported_alGenAuxiliaryEffectSlots(n, ptr);
- slots = *ptr;
- }
- }
- }
-
- /// The GenAuxiliaryEffectSlots function is used to create one or more Auxiliary Effect Slots. The number of slots that can be created will be dependant upon the Open AL device used.
- /// An application should check the OpenAL error state after making this call to determine if the Effect Slot was successfully created. If the function call fails then none of the requested Effect Slots are created. A good strategy for creating any OpenAL object is to use a for-loop and generate one object each loop iteration and then check for an error condition. If an error is set then the loop can be broken and the application can determine if sufficient resources are available.
- /// Number of Auxiliary Effect Slots to be created.
- /// Pointer addressing sufficient memory to store n Effect Slot object identifiers.
- public void GenAuxiliaryEffectSlots(int n, out int slots)
- {
- unsafe
- {
- fixed (int* ptr = &slots)
- {
- Imported_alGenAuxiliaryEffectSlots(n, (uint*)ptr);
- slots = *ptr;
- }
- }
- }
-
- /// The GenAuxiliaryEffectSlots function is used to create one or more Auxiliary Effect Slots. The number of slots that can be created will be dependant upon the Open AL device used.
- /// An application should check the OpenAL error state after making this call to determine if the Effect Slot was successfully created. If the function call fails then none of the requested Effect Slots are created. A good strategy for creating any OpenAL object is to use a for-loop and generate one object each loop iteration and then check for an error condition. If an error is set then the loop can be broken and the application can determine if sufficient resources are available.
- /// Number of Auxiliary Effect Slots to be created.
- /// Pointer addressing sufficient memory to store n Effect Slot object identifiers.
- public int[] GenAuxiliaryEffectSlots(int n)
- {
- if (n <= 0) throw new ArgumentOutOfRangeException("n", "Must be higher than 0.");
- int[] slots = new int[n];
- GenAuxiliaryEffectSlots(slots.Length, out slots[0]);
- return slots;
- }
-
- /// This function generates only one Auxiliary Effect Slot.
- /// Storage Int32 for the new auxiliary effect slot name/handle.
- public int GenAuxiliaryEffectSlot()
- {
- int temp;
- GenAuxiliaryEffectSlots(1, out temp);
- return temp;
- }
-
- /// This function generates only one Auxiliary Effect Slot.
- /// Storage UInt32 for the new auxiliary effect slot name/handle.
- [CLSCompliant(false)]
- public void GenAuxiliaryEffectSlot(out uint slot)
- {
- unsafe
- {
- fixed (uint* ptr = &slot)
- {
- Imported_alGenAuxiliaryEffectSlots(1, ptr);
- slot = *ptr;
- }
- }
- }
-
- #endregion alGenAuxiliaryEffectSlots
-
- #region DeleteAuxiliaryEffectSlots
-
- unsafe private delegate void Delegate_alDeleteAuxiliaryEffectSlots(int n, [In] uint* slots);
- // typedef void (__cdecl *LPALDELETEAUXILIARYEFFECTSLOTS)( ALsizei n, ALuint* slots );
-
- private Delegate_alDeleteAuxiliaryEffectSlots Imported_alDeleteAuxiliaryEffectSlots;
-
- /// The DeleteAuxiliaryEffectSlots function is used to delete and free resources for Auxiliary Effect Slots previously created with GenAuxiliaryEffectSlots.
- /// Number of Auxiliary Effect Slots to be deleted.
- /// Pointer to n Effect Slot object identifiers.
- [CLSCompliant(false)]
- public void DeleteAuxiliaryEffectSlots(int n, ref uint slots)
- {
- unsafe
- {
- fixed (uint* ptr = &slots)
- {
- Imported_alDeleteAuxiliaryEffectSlots(n, ptr);
- }
- }
- }
-
- /// The DeleteAuxiliaryEffectSlots function is used to delete and free resources for Auxiliary Effect Slots previously created with GenAuxiliaryEffectSlots.
- /// Number of Auxiliary Effect Slots to be deleted.
- /// Pointer to n Effect Slot object identifiers.
- public void DeleteAuxiliaryEffectSlots(int n, ref int slots)
- {
- unsafe
- {
- fixed (int* ptr = &slots)
- {
- Imported_alDeleteAuxiliaryEffectSlots(n, (uint*)ptr);
- }
- }
- }
-
- /// The DeleteAuxiliaryEffectSlots function is used to delete and free resources for Auxiliary Effect Slots previously created with GenAuxiliaryEffectSlots.
- /// Pointer to n Effect Slot object identifiers.
- public void DeleteAuxiliaryEffectSlots(int[] slots)
- {
- if (slots == null) throw new ArgumentNullException("slots");
- DeleteAuxiliaryEffectSlots(slots.Length, ref slots[0]);
- }
-
- /// This function deletes one AuxiliaryEffectSlot only.
- /// Pointer to an auxiliary effect slot name/handle identifying the Auxiliary Effect Slot Object to be deleted.
- [CLSCompliant(false)]
- public void DeleteAuxiliaryEffectSlots(uint[] slots)
- {
- if (slots == null) throw new ArgumentNullException("slots");
- DeleteAuxiliaryEffectSlots(slots.Length, ref slots[0]);
- }
-
- /// This function deletes one AuxiliaryEffectSlot only.
- /// Pointer to an auxiliary effect slot name/handle identifying the Auxiliary Effect Slot Object to be deleted.
- public void DeleteAuxiliaryEffectSlot(int slot)
- {
- DeleteAuxiliaryEffectSlots(1, ref slot);
- }
-
- /// This function deletes one AuxiliaryEffectSlot only.
- /// Pointer to an auxiliary effect slot name/handle identifying the Auxiliary Effect Slot Object to be deleted.
- [CLSCompliant(false)]
- public void DeleteAuxiliaryEffectSlot(ref uint slot)
- {
- unsafe
- {
- fixed (uint* ptr = &slot)
- {
- Imported_alDeleteAuxiliaryEffectSlots(1, ptr);
- }
- }
- }
-
- #endregion alDeleteAuxiliaryEffectSlots
-
- #region alIsAuxiliaryEffectSlot
-
- //[CLSCompliant(false)]
- private delegate bool Delegate_alIsAuxiliaryEffectSlot(uint slot);
- // typedef ALboolean (__cdecl *LPALISAUXILIARYEFFECTSLOT)( ALuint slot );
-
- //[CLSCompliant(false)]
- private Delegate_alIsAuxiliaryEffectSlot Imported_alIsAuxiliaryEffectSlot;
-
- /// The IsAuxiliaryEffectSlot function is used to determine if an object identifier is a valid Auxiliary Effect Slot object.
- /// Effect Slot object identifier to validate.
- /// True if the identifier is a valid Auxiliary Effect Slot, False otherwise.
- [CLSCompliant(false)]
- public bool IsAuxiliaryEffectSlot(uint slot)
- {
- return Imported_alIsAuxiliaryEffectSlot(slot);
- }
-
- /// The IsAuxiliaryEffectSlot function is used to determine if an object identifier is a valid Auxiliary Effect Slot object.
- /// Effect Slot object identifier to validate.
- /// True if the identifier is a valid Auxiliary Effect Slot, False otherwise.
-
- public bool IsAuxiliaryEffectSlot(int slot)
- {
- return Imported_alIsAuxiliaryEffectSlot((uint)slot);
- }
-
- #endregion alIsAuxiliaryEffectSlot
-
- #region alAuxiliaryEffectSloti
-
- //[CLSCompliant(false)]
- private delegate void Delegate_alAuxiliaryEffectSloti(uint asid, EfxAuxiliaryi param, int value);
- // typedef void (__cdecl *LPALAUXILIARYEFFECTSLOTI)( ALuint asid, ALenum param, ALint value );
-
- //[CLSCompliant(false)]
- private Delegate_alAuxiliaryEffectSloti Imported_alAuxiliaryEffectSloti;
-
- /// This function is used to set integer properties on Auxiliary Effect Slot objects.
- /// Auxiliary Effect Slot object identifier.
- /// Auxiliary Effect Slot property to set.
- /// Integer value.
- [CLSCompliant(false)]
- public void AuxiliaryEffectSlot(uint asid, EfxAuxiliaryi param, int value)
- {
- Imported_alAuxiliaryEffectSloti(asid, param, value);
- }
-
- /// This function is used to set integer properties on Auxiliary Effect Slot objects.
- /// Auxiliary Effect Slot object identifier.
- /// Auxiliary Effect Slot property to set.
- /// Integer value.
-
- public void AuxiliaryEffectSlot(int asid, EfxAuxiliaryi param, int value)
- {
- Imported_alAuxiliaryEffectSloti((uint)asid, param, value);
- }
-
- #endregion alAuxiliaryEffectSloti
-
- #region alAuxiliaryEffectSlotf
-
- //[CLSCompliant(false)]
- private delegate void Delegate_alAuxiliaryEffectSlotf(uint asid, EfxAuxiliaryf param, float value);
- // typedef void (__cdecl *LPALAUXILIARYEFFECTSLOTF)( ALuint asid, ALenum param, ALfloat value );
-
- //[CLSCompliant(false)]
- private Delegate_alAuxiliaryEffectSlotf Imported_alAuxiliaryEffectSlotf;
-
- /// This function is used to set floating-point properties on Auxiliary Effect Slot objects.
- /// Auxiliary Effect Slot object identifier.
- /// Auxiliary Effect Slot property to set.
- /// Floating-point value.
- [CLSCompliant(false)]
- public void AuxiliaryEffectSlot(uint asid, EfxAuxiliaryf param, float value)
- {
- Imported_alAuxiliaryEffectSlotf(asid, param, value);
- }
-
- /// This function is used to set floating-point properties on Auxiliary Effect Slot objects.
- /// Auxiliary Effect Slot object identifier.
- /// Auxiliary Effect Slot property to set.
- /// Floating-point value.
-
- public void AuxiliaryEffectSlot(int asid, EfxAuxiliaryf param, float value)
- {
- Imported_alAuxiliaryEffectSlotf((uint)asid, param, value);
- }
-
- #endregion alAuxiliaryEffectSlotf
-
- #region alGetAuxiliaryEffectSloti
-
- //[CLSCompliant(false)]
- unsafe private delegate void Delegate_alGetAuxiliaryEffectSloti(uint asid, EfxAuxiliaryi pname, [Out] int* value);
- // typedef void (__cdecl *LPALGETAUXILIARYEFFECTSLOTI)( ALuint asid, ALenum pname, ALint* value );
-
- //[CLSCompliant(false)]
- private Delegate_alGetAuxiliaryEffectSloti Imported_alGetAuxiliaryEffectSloti;
-
- /// This function is used to retrieve integer properties on Auxiliary Effect Slot objects.
- /// Auxiliary Effect Slot object identifier.
- /// Auxiliary Effect Slot property to retrieve.
- /// Address where integer value will be stored.
- [CLSCompliant(false)]
- public void GetAuxiliaryEffectSlot(uint asid, EfxAuxiliaryi pname, out int value)
- {
- unsafe
- {
- fixed (int* ptr = &value)
- {
- Imported_alGetAuxiliaryEffectSloti(asid, pname, ptr);
- }
- }
- }
-
- /// This function is used to retrieve integer properties on Auxiliary Effect Slot objects.
- /// Auxiliary Effect Slot object identifier.
- /// Auxiliary Effect Slot property to retrieve.
- /// Address where integer value will be stored.
-
- public void GetAuxiliaryEffectSlot(int asid, EfxAuxiliaryi pname, out int value)
- {
- GetAuxiliaryEffectSlot((uint)asid, pname, out value);
- }
-
- #endregion alGetAuxiliaryEffectSloti
-
- #region alGetAuxiliaryEffectSlotf
-
- //[CLSCompliant(false)]
- unsafe private delegate void Delegate_alGetAuxiliaryEffectSlotf(uint asid, EfxAuxiliaryf pname, [Out] float* value);
- // typedef void (__cdecl *LPALGETAUXILIARYEFFECTSLOTF)( ALuint asid, ALenum pname, ALfloat* value );
-
- //[CLSCompliant(false)]
- private Delegate_alGetAuxiliaryEffectSlotf Imported_alGetAuxiliaryEffectSlotf;
-
- /// This function is used to retrieve floating properties on Auxiliary Effect Slot objects.
- /// Auxiliary Effect Slot object identifier.
- /// Auxiliary Effect Slot property to retrieve.
- /// Address where floating-point value will be stored.
- [CLSCompliant(false)]
- public void GetAuxiliaryEffectSlot(uint asid, EfxAuxiliaryf pname, out float value)
- {
- unsafe
- {
- fixed (float* ptr = &value)
- {
- Imported_alGetAuxiliaryEffectSlotf(asid, pname, ptr);
- }
- }
- }
-
- /// This function is used to retrieve floating properties on Auxiliary Effect Slot objects.
- /// Auxiliary Effect Slot object identifier.
- /// Auxiliary Effect Slot property to retrieve.
- /// Address where floating-point value will be stored.
-
- public void GetAuxiliaryEffectSlot(int asid, EfxAuxiliaryf pname, out float value)
- {
- GetAuxiliaryEffectSlot((uint)asid, pname, out value);
- }
-
- #endregion alGetAuxiliaryEffectSlotf
-
- // Not used:
- // typedef void (__cdecl *LPALAUXILIARYEFFECTSLOTIV)( ALuint asid, ALenum param, ALint* values );
- // typedef void (__cdecl *LPALAUXILIARYEFFECTSLOTFV)( ALuint asid, ALenum param, ALfloat* values );
- // typedef void (__cdecl *LPALGETAUXILIARYEFFECTSLOTIV)( ALuint asid, ALenum pname, ALint* values );
- // typedef void (__cdecl *LPALGETAUXILIARYEFFECTSLOTFV)( ALuint asid, ALenum pname, ALfloat* values );
-
- #endregion Auxiliary Effect Slot Object
-
- #region Constructor / Extension Loading
-
- private bool _valid;
-
- /// Returns True if the EFX Extension has been found and could be initialized.
- public bool IsInitialized
- {
- get
- {
- return _valid;
- }
- }
-
- ///
- /// Constructs a new EffectsExtension instance.
- ///
- public EffectsExtension()
- {
- _valid = false;
-
- if (AudioContext.CurrentContext == null)
- throw new InvalidOperationException("AL.LoadAll() needs a current AudioContext.");
-
- if (!AudioContext.CurrentContext.SupportsExtension("ALC_EXT_EFX"))
- {
- Debug.WriteLine("EFX Extension (ALC_EXT_EFX) is not supported(AudioContext: {0}).", AudioContext.CurrentContext.ToString());
- return;
- }
- // Console.WriteLine("ALC_EXT_EFX found. Efx can be used.");
-
- try
- {
- Imported_alGenEffects = (Delegate_alGenEffects)Marshal.GetDelegateForFunctionPointer(AL.GetProcAddress("alGenEffects"), typeof(Delegate_alGenEffects));
- Imported_alDeleteEffects = (Delegate_alDeleteEffects)Marshal.GetDelegateForFunctionPointer(AL.GetProcAddress("alDeleteEffects"), typeof(Delegate_alDeleteEffects));
- Imported_alIsEffect = (Delegate_alIsEffect)Marshal.GetDelegateForFunctionPointer(AL.GetProcAddress("alIsEffect"), typeof(Delegate_alIsEffect));
- Imported_alEffecti = (Delegate_alEffecti)Marshal.GetDelegateForFunctionPointer(AL.GetProcAddress("alEffecti"), typeof(Delegate_alEffecti));
- Imported_alEffectf = (Delegate_alEffectf)Marshal.GetDelegateForFunctionPointer(AL.GetProcAddress("alEffectf"), typeof(Delegate_alEffectf));
- Imported_alEffectfv = (Delegate_alEffectfv)Marshal.GetDelegateForFunctionPointer(AL.GetProcAddress("alEffectfv"), typeof(Delegate_alEffectfv));
- Imported_alGetEffecti = (Delegate_alGetEffecti)Marshal.GetDelegateForFunctionPointer(AL.GetProcAddress("alGetEffecti"), typeof(Delegate_alGetEffecti));
- Imported_alGetEffectf = (Delegate_alGetEffectf)Marshal.GetDelegateForFunctionPointer(AL.GetProcAddress("alGetEffectf"), typeof(Delegate_alGetEffectf));
- Imported_alGetEffectfv = (Delegate_alGetEffectfv)Marshal.GetDelegateForFunctionPointer(AL.GetProcAddress("alGetEffectfv"), typeof(Delegate_alGetEffectfv));
- }
- catch (Exception e)
- {
- Debug.WriteLine("Failed to marshal Effect functions. " + e.ToString());
- return;
- }
- // Console.WriteLine("Effect functions appear to be ok.");
-
- try
- {
- Imported_alGenFilters = (Delegate_alGenFilters)Marshal.GetDelegateForFunctionPointer(AL.GetProcAddress("alGenFilters"), typeof(Delegate_alGenFilters));
- Imported_alDeleteFilters = (Delegate_alDeleteFilters)Marshal.GetDelegateForFunctionPointer(AL.GetProcAddress("alDeleteFilters"), typeof(Delegate_alDeleteFilters));
- Imported_alIsFilter = (Delegate_alIsFilter)Marshal.GetDelegateForFunctionPointer(AL.GetProcAddress("alIsFilter"), typeof(Delegate_alIsFilter));
- Imported_alFilteri = (Delegate_alFilteri)Marshal.GetDelegateForFunctionPointer(AL.GetProcAddress("alFilteri"), typeof(Delegate_alFilteri));
- Imported_alFilterf = (Delegate_alFilterf)Marshal.GetDelegateForFunctionPointer(AL.GetProcAddress("alFilterf"), typeof(Delegate_alFilterf));
- Imported_alGetFilteri = (Delegate_alGetFilteri)Marshal.GetDelegateForFunctionPointer(AL.GetProcAddress("alGetFilteri"), typeof(Delegate_alGetFilteri));
- Imported_alGetFilterf = (Delegate_alGetFilterf)Marshal.GetDelegateForFunctionPointer(AL.GetProcAddress("alGetFilterf"), typeof(Delegate_alGetFilterf));
- }
- catch (Exception e)
- {
- Debug.WriteLine("Failed to marshal Filter functions. " + e.ToString());
- return;
- }
- // Console.WriteLine("Filter functions appear to be ok.");
-
- try
- {
- Imported_alGenAuxiliaryEffectSlots = (Delegate_alGenAuxiliaryEffectSlots)Marshal.GetDelegateForFunctionPointer(AL.GetProcAddress("alGenAuxiliaryEffectSlots"), typeof(Delegate_alGenAuxiliaryEffectSlots));
- Imported_alDeleteAuxiliaryEffectSlots = (Delegate_alDeleteAuxiliaryEffectSlots)Marshal.GetDelegateForFunctionPointer(AL.GetProcAddress("alDeleteAuxiliaryEffectSlots"), typeof(Delegate_alDeleteAuxiliaryEffectSlots));
- Imported_alIsAuxiliaryEffectSlot = (Delegate_alIsAuxiliaryEffectSlot)Marshal.GetDelegateForFunctionPointer(AL.GetProcAddress("alIsAuxiliaryEffectSlot"), typeof(Delegate_alIsAuxiliaryEffectSlot));
- Imported_alAuxiliaryEffectSloti = (Delegate_alAuxiliaryEffectSloti)Marshal.GetDelegateForFunctionPointer(AL.GetProcAddress("alAuxiliaryEffectSloti"), typeof(Delegate_alAuxiliaryEffectSloti));
- Imported_alAuxiliaryEffectSlotf = (Delegate_alAuxiliaryEffectSlotf)Marshal.GetDelegateForFunctionPointer(AL.GetProcAddress("alAuxiliaryEffectSlotf"), typeof(Delegate_alAuxiliaryEffectSlotf));
- Imported_alGetAuxiliaryEffectSloti = (Delegate_alGetAuxiliaryEffectSloti)Marshal.GetDelegateForFunctionPointer(AL.GetProcAddress("alGetAuxiliaryEffectSloti"), typeof(Delegate_alGetAuxiliaryEffectSloti));
- Imported_alGetAuxiliaryEffectSlotf = (Delegate_alGetAuxiliaryEffectSlotf)Marshal.GetDelegateForFunctionPointer(AL.GetProcAddress("alGetAuxiliaryEffectSlotf"), typeof(Delegate_alGetAuxiliaryEffectSlotf));
- }
- catch (Exception e)
- {
- Debug.WriteLine("Failed to marshal AuxiliaryEffectSlot functions. " + e.ToString());
- return;
- }
- // Console.WriteLine("Auxiliary Effect Slot functions appear to be ok.");
-
- // didn't return so far, everything went fine.
- _valid = true;
- }
-
- #endregion Constructor / Extension Loading
- }
-}
\ No newline at end of file
diff --git a/Source/Compatibility/Audio/OpenAL/AL/EffectsExtensionEnums.cs b/Source/Compatibility/Audio/OpenAL/AL/EffectsExtensionEnums.cs
deleted file mode 100644
index 7078440c..00000000
--- a/Source/Compatibility/Audio/OpenAL/AL/EffectsExtensionEnums.cs
+++ /dev/null
@@ -1,361 +0,0 @@
-#region --- OpenTK.OpenAL License ---
-/* EfxTokens.cs
- * C headers: \OpenAL 1.1 SDK\include\ "efx.h", "efx-creative.h", "Efx-Util.h"
- * Spec: Effects Extension Guide.pdf (bundled with OpenAL SDK)
- * Copyright (c) 2008 Christoph Brandtner and Stefanos Apostolopoulos
- * See license.txt for license details
- * http://www.OpenTK.net */
-#endregion
-
-using System;
-
-namespace OpenTK.Audio
-{
- #region Effect
-
- ///A list of valid 32-bit Float Effect/GetEffect parameters
- public enum EfxEffectf : int
- {
- ///Reverb Modal Density controls the coloration of the late reverb. Lowering the value adds more coloration to the late reverb. Range [0.0f .. 1.0f] Default: 1.0f
- ReverbDensity = 0x0001,
- ///The Reverb Diffusion property controls the echo density in the reverberation decay. The default 1.0f provides the highest density. Reducing diffusion gives the reverberation a more "grainy" character that is especially noticeable with percussive sound sources. If you set a diffusion value of 0.0f, the later reverberation sounds like a succession of distinct echoes. Range [0.0f .. 1.0f] Default: 1.0f
- ReverbDiffusion = 0x0002,
- ///The Reverb Gain property is the master volume control for the reflected sound - both early reflections and reverberation - that the reverb effect adds to all sound sources. Ranges from 1.0 (0db) (the maximum amount) to 0.0 (-100db) (no reflected sound at all) are accepted. Units: Linear gain Range [0.0f .. 1.0f] Default: 0.32f
- ReverbGain = 0x0003,
- ///The Reverb Gain HF property further tweaks reflected sound by attenuating it at high frequencies. It controls a low-pass filter that applies globally to the reflected sound of all sound sources feeding the particular instance of the reverb effect. Ranges from 1.0f (0db) (no filter) to 0.0f (-100db) (virtually no reflected sound) are accepted. Units: Linear gain Range [0.0f .. 1.0f] Default: 0.89f
- ReverbGainHF = 0x0004,
- ///The Decay Time property sets the reverberation decay time. It ranges from 0.1f (typically a small room with very dead surfaces) to 20.0 (typically a large room with very live surfaces). Unit: Seconds Range [0.1f .. 20.0f] Default: 1.49f
- ReverbDecayTime = 0x0005,
- ///The Decay HF Ratio property sets the spectral quality of the Decay Time parameter. It is the ratio of high-frequency decay time relative to the time set by Decay Time.. Unit: linear multiplier Range [0.1f .. 2.0f] Default: 0.83f
- ReverbDecayHFRatio = 0x0006,
- ///The Reflections Gain property controls the overall amount of initial reflections relative to the Gain property. The value of Reflections Gain ranges from a maximum of 3.16f (+10 dB) to a minimum of 0.0f (-100 dB) (no initial reflections at all), and is corrected by the value of the Gain property. Unit: Linear gain Range [0.0f .. 3.16f] Default: 0.05f
- ReverbReflectionsGain = 0x0007,
- ///The Reflections Delay property is the amount of delay between the arrival time of the direct path from the source to the first reflection from the source. It ranges from 0 to 300 milliseconds. Unit: Seconds Range [0.0f .. 0.3f] Default: 0.007f
- ReverbReflectionsDelay = 0x0008,
- ///The Late Reverb Gain property controls the overall amount of later reverberation relative to the Gain property. The value of Late Reverb Gain ranges from a maximum of 10.0f (+20 dB) to a minimum of 0.0f (-100 dB) (no late reverberation at all). Unit: Linear gain Range [0.0f .. 10.0f] Default: 1.26f
- ReverbLateReverbGain = 0x0009,
- ///The Late Reverb Delay property defines the begin time of the late reverberation relative to the time of the initial reflection (the first of the early reflections). It ranges from 0 to 100 milliseconds. Unit: Seconds Range [0.0f .. 0.1f] Default: 0.011f
- ReverbLateReverbDelay = 0x000A,
- ///The Air Absorption Gain HF property controls the distance-dependent attenuation at high frequencies caused by the propagation medium and applies to reflected sound only. Unit: Linear gain per meter Range [0.892f .. 1.0f] Default: 0.994f
- ReverbAirAbsorptionGainHF = 0x000B,
- ///The Room Rolloff Factor property is one of two methods available to attenuate the reflected sound (containing both reflections and reverberation) according to source-listener distance. It's defined the same way as OpenAL's Rolloff Factor, but operates on reverb sound instead of direct-path sound. Unit: Linear multiplier Range [0.0f .. 10.0f] Default: 0.0f
- ReverbRoomRolloffFactor = 0x000C,
-
- ///This property sets the modulation rate of the low-frequency oscillator that controls the delay time of the delayed signals. Unit: Hz Range [0.0f .. 10.0f] Default: 1.1f
- ChorusRate = 0x0003,
- ///This property controls the amount by which the delay time is modulated by the low-frequency oscillator. Range [0.0f .. 1.0f] Default: 0.1f
- ChorusDepth = 0x0004,
- ///This property controls the amount of processed signal that is fed back to the input of the chorus effect. Negative values will reverse the phase of the feedback signal. At full magnitude the identical sample will repeat endlessly. Range [-1.0f .. +1.0f] Default: +0.25f
- ChorusFeedback = 0x0005,
- ///This property controls the average amount of time the sample is delayed before it is played back, and with feedback, the amount of time between iterations of the sample. Larger values lower the pitch. Unit: Seconds Range [0.0f .. 0.016f] Default: 0.016f
- ChorusDelay = 0x0006,
-
- ///This property controls the shape of the distortion. The higher the value for Edge, the "dirtier" and "fuzzier" the effect. Range [0.0f .. 1.0f] Default: 0.2f
- DistortionEdge = 0x0001,
- ///This property allows you to attenuate the distorted sound. Range [0.01f .. 1.0f] Default: 0.05f
- DistortionGain = 0x0002,
- ///Input signals can have a low pass filter applied, to limit the amount of high frequency signal feeding into the distortion effect. Unit: Hz Range [80.0f .. 24000.0f] Default: 8000.0f
- DistortionLowpassCutoff = 0x0003,
- ///This property controls the frequency at which the post-distortion attenuation (Distortion Gain) is active. Unit: Hz Range [80.0f .. 24000.0f] Default: 3600.0f
- DistortionEQCenter = 0x0004,
- ///This property controls the bandwidth of the post-distortion attenuation. Unit: Hz Range [80.0f .. 24000.0f] Default: 3600.0f
- DistortionEQBandwidth = 0x0005,
-
- ///This property controls the delay between the original sound and the first "tap", or echo instance. Subsequently, the value for Echo Delay is used to determine the time delay between each "second tap" and the next "first tap". Unit: Seconds Range [0.0f .. 0.207f] Default: 0.1f
- EchoDelay = 0x0001,
- ///This property controls the delay between the "first tap" and the "second tap". Subsequently, the value for Echo LR Delay is used to determine the time delay between each "first tap" and the next "second tap". Unit: Seconds Range [0.0f .. 0.404f] Default: 0.1f
- EchoLRDelay = 0x0002,
- ///This property controls the amount of high frequency damping applied to each echo. As the sound is subsequently fed back for further echoes, damping results in an echo which progressively gets softer in tone as well as intensity. Range [0.0f .. 0.99f] Default: 0.5f
- EchoDamping = 0x0003,
- ///This property controls the amount of feedback the output signal fed back into the input. Use this parameter to create "cascading" echoes. At full magnitude, the identical sample will repeat endlessly. Below full magnitude, the sample will repeat and fade. Range [0.0f .. 1.0f] Default: 0.5f
- EchoFeedback = 0x0004,
- ///This property controls how hard panned the individual echoes are. With a value of 1.0f, the first "tap" will be panned hard left, and the second "tap" hard right. –1.0f gives the opposite result and values near to 0.0f result in less emphasized panning. Range [-1.0f .. +1.0f] Default: -1.0f
- EchoSpread = 0x0005,
-
- ///The number of times per second the low-frequency oscillator controlling the amount of delay repeats. Range [0.0f .. 10.0f] Default: 0.27f
- FlangerRate = 0x0003,
- ///The ratio by which the delay time is modulated by the low-frequency oscillator. Range [0.0f .. 1.0f] Default: 1.0f
- FlangerDepth = 0x0004,
- ///This is the amount of the output signal level fed back into the effect's input. A negative value will reverse the phase of the feedback signal. Range [-1.0f .. +1.0f] Default: -0.5f
- FlangerFeedback = 0x0005,
- ///The average amount of time the sample is delayed before it is played back. When used with the Feedback property it's the amount of time between iterations of the sample. Unit: Seconds Range [0.0f .. 0.004f] Default: 0.002f
- FlangerDelay = 0x0006,
-
- ///This is the carrier frequency. For carrier frequencies below the audible range, the single sideband modulator may produce phaser effects, spatial effects or a slight pitch-shift. As the carrier frequency increases, the timbre of the sound is affected. Unit: Hz Range [0.0f .. 24000.0f] Default: 0.0f
- FrequencyShifterFrequency = 0x0001,
-
- ///This controls the frequency of the low-frequency oscillator used to morph between the two phoneme filters. Unit: Hz Range [0.0f .. 10.0f] Default: 1.41f
- VocalMorpherRate = 0x0006,
-
- ///This is the frequency of the carrier signal. If the carrier signal is slowly varying (less than 20 Hz), the result is a slow amplitude variation effect (tremolo). Unit: Hz Range [0.0f .. 8000.0f] Default: 440.0f
- RingModulatorFrequency = 0x0001,
- ///This controls the cutoff frequency at which the input signal is high-pass filtered before being ring modulated. Unit: Hz Range [0.0f .. 24000.0f] Default: 800.0f
- RingModulatorHighpassCutoff = 0x0002,
-
- ///This property controls the time the filtering effect takes to sweep from minimum to maximum center frequency when it is triggered by input signal. Unit: Seconds Range [0.0001f .. 1.0f] Default: 0.06f
- AutowahAttackTime = 0x0001,
- ///This property controls the time the filtering effect takes to sweep from maximum back to base center frequency, when the input signal ends. Unit: Seconds Range [0.0001f .. 1.0f] Default: 0.06f
- AutowahReleaseTime = 0x0002,
- ///This property controls the resonant peak, sometimes known as emphasis or Q, of the auto-wah band-pass filter. Range [2.0f .. 1000.0f] Default: 1000.0f
- AutowahResonance = 0x0003,
- ///This property controls the input signal level at which the band-pass filter will be fully opened. Range [0.00003f .. 31621.0f] Default: 11.22f
- AutowahPeakGain = 0x0004,
-
- ///This property controls amount of cut or boost on the low frequency range. Range [0.126f .. 7.943f] Default: 1.0f
- EqualizerLowGain = 0x0001,
- ///This property controls the low frequency below which signal will be cut off. Unit: Hz Range [50.0f .. 800.0f] Default: 200.0f
- EqualizerLowCutoff = 0x0002,
- ///This property allows you to cut/boost signal on the "mid1" range. Range [0.126f .. 7.943f] Default: 1.0f
- EqualizerMid1Gain = 0x0003,
- ///This property sets the center frequency for the "mid1" range. Unit: Hz Range [200.0f .. 3000.0f] Default: 500.0f
- EqualizerMid1Center = 0x0004,
- ///This property controls the width of the "mid1" range. Range [0.01f .. 1.0f] Default: 1.0f
- EqualizerMid1Width = 0x0005,
- ///This property allows you to cut/boost signal on the "mid2" range. Range [0.126f .. 7.943f] Default: 1.0f
- EqualizerMid2Gain = 0x0006,
- ///This property sets the center frequency for the "mid2" range. Unit: Hz Range [1000.0f .. 8000.0f] Default: 3000.0f
- EqualizerMid2Center = 0x0007,
- ///This property controls the width of the "mid2" range. Range [0.01f .. 1.0f] Default: 1.0f
- EqualizerMid2Width = 0x0008,
- ///This property allows to cut/boost the signal at high frequencies. Range [0.126f .. 7.943f] Default: 1.0f
- EqualizerHighGain = 0x0009,
- ///This property controls the high frequency above which signal will be cut off. Unit: Hz Range [4000.0f .. 16000.0f] Default: 6000.0f
- EqualizerHighCutoff = 0x000A,
-
- ///Reverb Modal Density controls the coloration of the late reverb. Range [0.0f .. 1.0f] Default: 1.0f
- EaxReverbDensity = 0x0001,
- ///The Reverb Diffusion property controls the echo density in the reverberation decay. Range [0.0f .. 1.0f] Default: 1.0f
- EaxReverbDiffusion = 0x0002,
- ///Reverb Gain controls the level of the reverberant sound in an environment. A high level of reverb is characteristic of rooms with highly reflective walls and/or small dimensions. Unit: Linear gain Range [0.0f .. 1.0f] Default: 0.32f
- EaxReverbGain = 0x0003,
- ///Gain HF is used to attenuate the high frequency content of all the reflected sound in an environment. You can use this property to give a room specific spectral characteristic. Unit: Linear gain Range [0.0f .. 1.0f] Default: 0.89f
- EaxReverbGainHF = 0x0004,
- ///Gain LF is the low frequency counterpart to Gain HF. Use this to reduce or boost the low frequency content in an environment. Unit: Linear gain Range [0.0f .. 1.0f] Default: 1.0f
- EaxReverbGainLF = 0x0005,
- ///The Decay Time property sets the reverberation decay time. It ranges from 0.1f (typically a small room with very dead surfaces) to 20.0f (typically a large room with very live surfaces). Unit: Seconds Range [0.1f .. 20.0f] Default: 1.49f
- EaxReverbDecayTime = 0x0006,
- ///Decay HF Ratio scales the decay time of high frequencies relative to the value of the Decay Time property. By changing this value, you are changing the amount of time it takes for the high frequencies to decay compared to the mid frequencies of the reverb. Range [0.1f .. 2.0f] Default: 0.83f
- EaxReverbDecayHFRatio = 0x0007,
- ///Decay LF Ratio scales the decay time of low frequencies in the reverberation in the same manner that Decay HF Ratio handles high frequencies. Unit: Linear multiplier Range [0.1f .. 2.0f] Default: 1.0f
- EaxReverbDecayLFRatio = 0x0008,
- ///Reflections Gain sets the level of the early reflections in an environment. Early reflections are used as a cue for determining the size of the environment we are in. Unit: Linear gain Range [0.0f .. 3.16f] Default: 0.05f
- EaxReverbReflectionsGain = 0x0009,
- ///Reflections Delay controls the amount of time it takes for the first reflected wave front to reach the listener, relative to the arrival of the direct-path sound. Unit: Seconds Range [0.0f .. 0.3f] Default: 0.007f
- EaxReverbReflectionsDelay = 0x000A,
- ///The Late Reverb Gain property controls the overall amount of later reverberation relative to the Gain property. Range [0.0f .. 10.0f] Default: 1.26f
- EaxReverbLateReverbGain = 0x000C,
- ///The Late Reverb Delay property defines the begin time of the late reverberation relative to the time of the initial reflection (the first of the early reflections). It ranges from 0 to 100 milliseconds. Unit: Seconds Range [0.0f .. 0.1f] Default: 0.011f
- EaxReverbLateReverbDelay = 0x000D,
- ///Echo Time controls the rate at which the cyclic echo repeats itself along the reverberation decay. Range [0.075f .. 0.25f] Default: 0.25f
- EaxReverbEchoTime = 0x000F,
- ///Echo Depth introduces a cyclic echo in the reverberation decay, which will be noticeable with transient or percussive sounds. Range [0.0f .. 1.0f] Default: 0.0f
- EaxReverbEchoDepth = 0x0010,
- ///Modulation Time controls the speed of the rate of periodic changes in pitch (vibrato). Range [0.04f .. 4.0f] Default: 0.25f
- EaxReverbModulationTime = 0x0011,
- ///Modulation Depth controls the amount of pitch change. Low values of Diffusion will contribute to reinforcing the perceived effect by reducing the mixing of overlapping reflections in the reverberation decay. Range [0.0f .. 1.0f] Default: 0.0f
- EaxReverbModulationDepth = 0x0012,
- ///The Air Absorption Gain HF property controls the distance-dependent attenuation at high frequencies caused by the propagation medium. It applies to reflected sound only. Range [0.892f .. 1.0f] Default: 0.994f
- EaxReverbAirAbsorptionGainHF = 0x0013,
- ///The property HF reference determines the frequency at which the high-frequency effects created by Reverb properties are measured. Unit: Hz Range [1000.0f .. 20000.0f] Default: 5000.0f
- EaxReverbHFReference = 0x0014,
- ///The property LF reference determines the frequency at which the low-frequency effects created by Reverb properties are measured. Unit: Hz Range [20.0f .. 1000.0f] Default: 250.0f
- EaxReverbLFReference = 0x0015,
- ///The Room Rolloff Factor property is one of two methods available to attenuate the reflected sound (containing both reflections and reverberation) according to source-listener distance. It's defined the same way as OpenAL Rolloff Factor, but operates on reverb sound instead of direct-path sound. Range [0.0f .. 10.0f] Default: 0.0f
- EaxReverbRoomRolloffFactor = 0x0016,
- }
-
- ///A list of valid Math.Vector3 Effect/GetEffect parameters
- public enum EfxEffect3f : int
- {
- /// Reverb Pan does for the Reverb what Reflections Pan does for the Reflections. Unit: Vector3 of length 0f to 1f Default: {0.0f, 0.0f, 0.0f}
- EaxReverbLateReverbPan = 0x000E,
- /// This Vector3 controls the spatial distribution of the cluster of early reflections. The direction of this vector controls the global direction of the reflections, while its magnitude controls how focused the reflections are towards this direction. For legacy reasons this Vector3 follows a left-handed co-ordinate system! Note that OpenAL uses a right-handed coordinate system. Unit: Vector3 of length 0f to 1f Default: {0.0f, 0.0f, 0.0f}
- EaxReverbReflectionsPan = 0x000B,
- }
-
- ///A list of valid Int32 Effect/GetEffect parameters
- public enum EfxEffecti : int
- {
- ///This property sets the waveform shape of the low-frequency oscillator that controls the delay time of the delayed signals. Unit: (0) Sinusoid, (1) Triangle Range [0 .. 1] Default: 1
- ChorusWaveform = 0x0001,
- ///This property controls the phase difference between the left and right low-frequency oscillators. At zero degrees the two low-frequency oscillators are synchronized. Unit: Degrees Range [-180 .. 180] Default: 90
- ChorusPhase = 0x0002,
-
- ///Selects the shape of the low-frequency oscillator waveform that controls the amount of the delay of the sampled signal. Unit: (0) Sinusoid, (1) Triangle Range [0 .. 1] Default: 1
- FlangerWaveform = 0x0001,
- ///This changes the phase difference between the left and right low-frequency oscillator's. At zero degrees the two low-frequency oscillators are synchronized. Range [-180 .. +180] Default: 0
- FlangerPhase = 0x0002,
-
- ///These select which internal signals are added together to produce the output. Unit: (0) Down, (1) Up, (2) Off Range [0 .. 2] Default: 0
- FrequencyShifterLeftDirection = 0x0002,
- ///These select which internal signals are added together to produce the output. Unit: (0) Down, (1) Up, (2) Off Range [0 .. 2] Default: 0
- FrequencyShifterRightDirection = 0x0003,
-
- ///Sets the vocal morpher 4-band formant filter A, used to impose vocal tract effects upon the input signal. The vocal morpher is not necessarily intended for use on voice signals; it is primarily intended for pitched noise effects, vocal-like wind effects, etc. Unit: Use enum EfxFormantFilterSettings Range [0 .. 29] Default: 0, "Phoneme A"
- VocalMorpherPhonemeA = 0x0001,
- ///This is used to adjust the pitch of phoneme filter A in 1-semitone increments. Unit: Semitones Range [-24 .. +24] Default: 0
- VocalMorpherPhonemeACoarseTuning = 0x0002,
- ///Sets the vocal morpher 4-band formant filter B, used to impose vocal tract effects upon the input signal. The vocal morpher is not necessarily intended for use on voice signals; it is primarily intended for pitched noise effects, vocal-like wind effects, etc. Unit: Use enum EfxFormantFilterSettings Range [0 .. 29] Default: 10, "Phoneme ER"
- VocalMorpherPhonemeB = 0x0003,
- ///This is used to adjust the pitch of phoneme filter B in 1-semitone increments. Unit: Semitones Range [-24 .. +24] Default: 0
- VocalMorpherPhonemeBCoarseTuning = 0x0004,
- ///This controls the shape of the low-frequency oscillator used to morph between the two phoneme filters. Unit: (0) Sinusoid, (1) Triangle, (2) Sawtooth Range [0 .. 2] Default: 0
- VocalMorpherWaveform = 0x0005,
-
- ///This sets the number of semitones by which the pitch is shifted. There are 12 semitones per octave. Unit: Semitones Range [-12 .. +12] Default: +12
- PitchShifterCoarseTune = 0x0001,
- ///This sets the number of cents between Semitones a pitch is shifted. A Cent is 1/100th of a Semitone. Unit: Cents Range [-50 .. +50] Default: 0
- PitchShifterFineTune = 0x0002,
-
- ///This controls which waveform is used as the carrier signal. Traditional ring modulator and tremolo effects generally use a sinusoidal carrier. Unit: (0) Sinusoid, (1) Sawtooth, (2) Square Range [0 .. 2] Default: 0
- RingModulatorWaveform = 0x0003,
-
- ///Enabling this will result in audio exhibiting smaller variation in intensity between the loudest and quietest portions. Unit: (0) Off, (1) On Range [0 .. 1] Default: 1
- CompressorOnoff = 0x0001,
-
- ///When this flag is set, the high-frequency decay time automatically stays below a limit value that's derived from the setting of the property Air Absorption HF. Unit: (0) False, (1) True Range [False, True] Default: True
- ReverbDecayHFLimit = 0x000D,
-
- ///When this flag is set, the high-frequency decay time automatically stays below a limit value that's derived from the setting of the property AirAbsorptionGainHF. Unit: (0) False, (1) True Range [False, True] Default: True
- EaxReverbDecayHFLimit = 0x0017,
-
- /// Used with the enum EfxEffectType as it's parameter.
- EffectType = 0x8001,
- }
-
- ///Vocal morpher effect parameters. If both parameters are set to the same phoneme, that determines the filtering effect that will be heard. If these two parameters are set to different phonemes, the filtering effect will morph between the two settings at a rate specified by EfxEffectf.VocalMorpherRate.
- public enum EfxFormantFilterSettings : int
- {
- VocalMorpherPhonemeA = 0,
- VocalMorpherPhonemeE = 1,
- VocalMorpherPhonemeI = 2,
- VocalMorpherPhonemeO = 3,
- VocalMorpherPhonemeU = 4,
- VocalMorpherPhonemeAA = 5,
- VocalMorpherPhonemeAE = 6,
- VocalMorpherPhonemeAH = 7,
- VocalMorpherPhonemeAO = 8,
- VocalMorpherPhonemeEH = 9,
- VocalMorpherPhonemeER = 10,
- VocalMorpherPhonemeIH = 11,
- VocalMorpherPhonemeIY = 12,
- VocalMorpherPhonemeUH = 13,
- VocalMorpherPhonemeUW = 14,
- VocalMorpherPhonemeB = 15,
- VocalMorpherPhonemeD = 16,
- VocalMorpherPhonemeF = 17,
- VocalMorpherPhonemeG = 18,
- VocalMorpherPhonemeJ = 19,
- VocalMorpherPhonemeK = 20,
- VocalMorpherPhonemeL = 21,
- VocalMorpherPhonemeM = 22,
- VocalMorpherPhonemeN = 23,
- VocalMorpherPhonemeP = 24,
- VocalMorpherPhonemeR = 25,
- VocalMorpherPhonemeS = 26,
- VocalMorpherPhonemeT = 27,
- VocalMorpherPhonemeV = 28,
- VocalMorpherPhonemeZ = 29,
- }
-
- ///Effect type definitions to be used with EfxEffecti.EffectType.
- public enum EfxEffectType : int
- {
- ///No Effect, disable. This Effect type is used when an Effect object is initially created.
- Null = 0x0000,
- ///The Reverb effect is the standard Effects Extension's environmental reverberation effect. It is available on all Generic Software and Generic Hardware devices.
- Reverb = 0x0001,
- ///The Chorus effect essentially replays the input audio accompanied by another slightly delayed version of the signal, creating a "doubling" effect.
- Chorus = 0x0002,
- ///The Distortion effect simulates turning up (overdriving) the gain stage on a guitar amplifier or adding a distortion pedal to an instrument's output.
- Distortion = 0x0003,
- ///The Echo effect generates discrete, delayed instances of the input signal.
- Echo = 0x0004,
- ///The Flanger effect creates a "tearing" or "whooshing" sound, like a jet flying overhead.
- Flanger = 0x0005,
- ///The Frequency shifter is a single-sideband modulator, which translates all the component frequencies of the input signal by an equal amount.
- FrequencyShifter = 0x0006,
- ///The Vocal morpher consists of a pair of 4-band formant filters, used to impose vocal tract effects upon the input signal.
- VocalMorpher = 0x0007,
- ///The Pitch shifter applies time-invariant pitch shifting to the input signal, over a one octave range and controllable at a semi-tone and cent resolution.
- PitchShifter = 0x0008,
- ///The Ring modulator multiplies an input signal by a carrier signal in the time domain, resulting in tremolo or inharmonic effects.
- RingModulator = 0x0009,
- ///The Auto-wah effect emulates the sound of a wah-wah pedal used with an electric guitar, or a mute on a brass instrument.
- Autowah = 0x000A,
- ///The Compressor will boost quieter portions of the audio, while louder portions will stay the same or may even be reduced.
- Compressor = 0x000B,
- ///The Equalizer is very flexible, providing tonal control over four different adjustable frequency ranges.
- Equalizer = 0x000C,
- ///The EAX Reverb has a more advanced parameter set than EfxEffectType.Reverb, but is only natively supported on devices that support the EAX 3.0 or above.
- EaxReverb = 0x8000,
- }
-
- #endregion Effect
-
- #region Auxiliary Effect Slot
-
- ///A list of valid Int32 AuxiliaryEffectSlot/GetAuxiliaryEffectSlot parameters
- public enum EfxAuxiliaryi : int
- {
- /// This property is used to attach an Effect object to the Auxiliary Effect Slot object. After the attachment, the Auxiliary Effect Slot object will contain the effect type and have the same effect parameters that were stored in the Effect object. Any Sources feeding the Auxiliary Effect Slot will immediate feed the new effect type and new effect parameters.
- EffectslotEffect = 0x0001,
-
- /// This property is used to enable or disable automatic send adjustments based on the physical positions of the sources and the listener. This property should be enabled when an application wishes to use a reverb effect to simulate the environment surrounding a listener or a collection of Sources. Range [False, True] Default: True
- EffectslotAuxiliarySendAuto = 0x0003,
- }
-
- ///A list of valid 32-bits Float AuxiliaryEffectSlot/GetAuxiliaryEffectSlot parameters
- public enum EfxAuxiliaryf : int
- {
- /// This property is used to specify an output level for the Auxiliary Effect Slot. Setting the gain to 0.0f mutes the output. Range [0.0f .. 1.0f] Default: 1.0f
- EffectslotGain = 0x0002,
- }
-
- #endregion Auxiliary Effect Slot
-
- #region Filter Object
-
- ///A list of valid 32-bits Float Filter/GetFilter parameters
- public enum EfxFilterf : int
- {
- ///Range [0.0f .. 1.0f] Default: 1.0f
- LowpassGain = 0x0001,
- ///Range [0.0f .. 1.0f] Default: 1.0f
- LowpassGainHF = 0x0002,
-
- ///Range [0.0f .. 1.0f] Default: 1.0f
- HighpassGain = 0x0001,
- ///Range [0.0f .. 1.0f] Default: 1.0f
- HighpassGainLF = 0x0002,
-
- ///Range [0.0f .. 1.0f] Default: 1.0f
- BandpassGain = 0x0001,
- ///Range [0.0f .. 1.0f] Default: 1.0f
- BandpassGainLF = 0x0002,
- ///Range [0.0f .. 1.0f] Default: 1.0f
- BandpassGainHF = 0x0003,
- }
-
- ///A list of valid Int32 Filter/GetFilter parameters
- public enum EfxFilteri : int
- {
- /// Used with the enum EfxFilterType as Parameter to select a filter logic.
- FilterType = 0x8001,
- }
-
- ///Filter type definitions to be used with EfxFilteri.FilterType.
- public enum EfxFilterType : int
- {
- ///No Filter, disable. This Filter type is used when a Filter object is initially created.
- Null = 0x0000,
- /// A low-pass filter is used to remove high frequency content from a signal.
- Lowpass = 0x0001,
- ///Currently not implemented. A high-pass filter is used to remove low frequency content from a signal.
- Highpass = 0x0002,
- ///Currently not implemented. A band-pass filter is used to remove high and low frequency content from a signal.
- Bandpass = 0x0003,
- }
-
- #endregion Filter Object
-}
diff --git a/Source/Compatibility/Audio/OpenAL/AL/EffectsExtensionPresets.cs b/Source/Compatibility/Audio/OpenAL/AL/EffectsExtensionPresets.cs
deleted file mode 100644
index 3cc16afc..00000000
--- a/Source/Compatibility/Audio/OpenAL/AL/EffectsExtensionPresets.cs
+++ /dev/null
@@ -1,367 +0,0 @@
-#region --- OpenTK.OpenAL License ---
-/* EfxPresets.cs
- * C headers: \OpenAL 1.1 SDK\include\ "efx.h", "efx-creative.h", "Efx-Util.h"
- * Spec: Effects Extension Guide.pdf (bundled with OpenAL SDK)
- * Copyright (c) 2008 Christoph Brandtner and Stefanos Apostolopoulos
- * See license.txt for license details
- * http://www.OpenTK.net */
-#endregion
-
-using System;
-
-
-namespace OpenTK.Audio
-{
- public partial class EffectsExtension
- {
- // Todo: Add documentation
- // Todo: CLS compliance.
-
-#pragma warning disable 1591
-
- [CLSCompliant(false)]
- public struct EaxReverb
- {
- public uint Environment; // TODO: EAX-EFX conversion
- public float EnvironmentSize; // TODO: EAX-EFX conversion
- public float EnvironmentDiffusion; // TODO: EAX-EFX conversion
- public int Room; // TODO: EAX-EFX conversion
- public int RoomHF; // TODO: EAX-EFX conversion
- public int RoomLF; // TODO: EAX-EFX conversion
- public float DecayTime;
- public float DecayHFRatio;
- public float DecayLFRatio;
- public int Reflections; // TODO: EAX-EFX conversion
- public float ReflectionsDelay;
- public Vector3 ReflectionsPan;
- public int Reverb; // TODO: EAX-EFX conversion
- public float ReverbDelay;
- public Vector3 ReverbPan;
- public float EchoTime;
- public float EchoDepth;
- public float ModulationTime;
- public float ModulationDepth;
- public float AirAbsorptionHF;
- public float HFReference;
- public float LFReference;
- public float RoomRolloffFactor;
- public uint Flags; // TODO: EAX-EFX conversion
-
- public EaxReverb(uint environment,
- float environmentSize,
- float environmentDiffusion,
- int room,
- int roomHF,
- int roomLF,
- float decayTime,
- float decayHFRatio,
- float decayLFRatio,
- int reflections,
- float reflectionsDelay,
- float reflectionsPanX,
- float reflectionsPanY,
- float reflectionsPanZ,
- int reverb,
- float reverbDelay,
- float reverbPanX,
- float reverbPanY,
- float reverbPanZ,
- float echoTime,
- float echoDepth,
- float modulationTime,
- float modulationDepth,
- float airAbsorptionHF,
- float hfReference,
- float lfReference,
- float roomRolloffFactor,
- uint flags)
- {
- Environment = environment;
- EnvironmentSize = environmentSize;
- EnvironmentDiffusion = environmentDiffusion;
- Room = room;
- RoomHF = roomHF;
- RoomLF = roomLF;
- DecayTime = decayTime;
- DecayHFRatio = decayHFRatio;
- DecayLFRatio = decayLFRatio;
- Reflections = reflections;
- ReflectionsDelay = reflectionsDelay;
- ReflectionsPan = new Vector3(reflectionsPanX, reflectionsPanY, reflectionsPanZ);
- Reverb = reverb;
- ReverbDelay = reverbDelay;
- ReverbPan = new Vector3(reverbPanX, reverbPanY, reverbPanZ);
- EchoTime = echoTime;
- EchoDepth = echoDepth;
- ModulationTime = modulationTime;
- ModulationDepth = modulationDepth;
- AirAbsorptionHF = airAbsorptionHF;
- HFReference = hfReference;
- LFReference = lfReference;
- RoomRolloffFactor = roomRolloffFactor;
- Flags = flags;
- }
-
- }
-
- // TODO: CLS compliance.
- [CLSCompliant(false)]
- public static void GetEaxFromEfxEax(ref EaxReverb input, out EfxEaxReverb output)
- {
- output.AirAbsorptionGainHF = 0.995f; // input.AirAbsorptionHF * somegain?
- output.RoomRolloffFactor = input.RoomRolloffFactor;
-
- output.Density = 1f; // todo, currently default
- output.Diffusion = 1f; // todo, currently default
-
- output.DecayTime = input.DecayTime;
- output.DecayHFLimit = 1; // todo, currently default
- output.DecayHFRatio = input.DecayHFRatio;
- output.DecayLFRatio = input.DecayLFRatio;
-
- output.EchoDepth = input.EchoDepth;
- output.EchoTime = input.EchoTime;
-
- output.Gain = 0.32f; // todo, currently default
- output.GainHF = 0.89f; // todo, currently default
- output.GainLF = 1f;// todo, currently default
-
- output.LFReference = input.LFReference;
- output.HFReference = input.HFReference;
-
- output.LateReverbDelay = input.ReverbDelay;
- output.LateReverbGain = 1.26f; // todo, currently default
- output.LateReverbPan = input.ReverbPan;
-
- output.ModulationDepth = input.ModulationDepth;
- output.ModulationTime = input.ModulationTime;
-
- output.ReflectionsDelay = input.ReflectionsDelay;
- output.ReflectionsGain = 0.05f; // todo, currently default
- output.ReflectionsPan = input.ReflectionsPan;
- }
-
- public struct EfxEaxReverb
- {
- public float Density;
- public float Diffusion;
- public float Gain;
- public float GainHF;
- public float GainLF;
- public float DecayTime;
- public float DecayHFRatio;
- public float DecayLFRatio;
- public float ReflectionsGain;
- public float ReflectionsDelay;
- public Vector3 ReflectionsPan;
- public float LateReverbGain;
- public float LateReverbDelay;
- public Vector3 LateReverbPan;
- public float EchoTime;
- public float EchoDepth;
- public float ModulationTime;
- public float ModulationDepth;
- public float AirAbsorptionGainHF;
- public float HFReference;
- public float LFReference;
- public float RoomRolloffFactor;
- public int DecayHFLimit;
- }
-
- /*
- public struct _EAXOBSTRUCTIONPROPERTIES
- {
- public int lObstruction;
- public float flObstructionLFRatio;
- }
- _EAXOBSTRUCTIONPROPERTIES EAXOBSTRUCTIONPROPERTIES;//, *LPEAXOBSTRUCTIONPROPERTIES;
-
- public struct _EAXOCCLUSIONPROPERTIES
- {
- public int lOcclusion;
- public float flOcclusionLFRatio;
- public float flOcclusionRoomRatio;
- public float flOcclusionDirectRatio;
- }
- _EAXOCCLUSIONPROPERTIES EAXOCCLUSIONPROPERTIES;//, *LPEAXOCCLUSIONPROPERTIES;
-
- public struct _EAXEXCLUSIONPROPERTIES
- {
- public int lExclusion;
- public float flExclusionLFRatio;
- }
- _EAXEXCLUSIONPROPERTIES EAXEXCLUSIONPROPERTIES;//, *LPEAXEXCLUSIONPROPERTIES;
-
- public struct _EFXLOWPASSFILTER
- {
- public float flGain;
- public float flGainHF;
- }
- _EFXLOWPASSFILTER EFXLOWPASSFILTER;//, *LPEFXLOWPASSFILTER;
-
-
- void ConvertReverbParameters(EAXREVERBPROPERTIES *pEAXProp, EFXEAXREVERBPROPERTIES *pEFXEAXReverb);
- void ConvertObstructionParameters(EAXOBSTRUCTIONPROPERTIES *pObProp, EFXLOWPASSFILTER *pDirectLowPassFilter);
- void ConvertExclusionParameters(EAXEXCLUSIONPROPERTIES *pExProp, EFXLOWPASSFILTER *pSendLowPassFilter);
- void ConvertOcclusionParameters(EAXOCCLUSIONPROPERTIES *pOcProp, EFXLOWPASSFILTER *pDirectLowPassFilter, EFXLOWPASSFILTER *pSendLowPassFilter);
- */
-
- // TODO: CLS compliance.
- ///EAX Reverb Presets in legacy format - use ConvertReverbParameters() to convert to EFX EAX Reverb Presets for use with the OpenAL Effects Extension.
- [CLSCompliant(false)]
- public static class ReverbPresets
- {
- // CASTLE PRESETS
-
- public static EaxReverb CastleSmallRoom = new EaxReverb(26, 8.3f, 0.890f, -1000, -800, -2000, 1.22f, 0.83f, 0.31f, -100, 0.022f, 0f, 0f, 0f, 600, 0.011f, 0f, 0f, 0f, 0.138f, 0.080f, 0.250f, 0f, -5f, 5168.6f, 139.5f, 0f, 0x20);
- public static EaxReverb CastleShortPassage = new EaxReverb(26, 8.3f, 0.890f, -1000, -1000, -2000, 2.32f, 0.83f, 0.31f, -100, 0.007f, 0f, 0f, 0f, 200, 0.023f, 0f, 0f, 0f, 0.138f, 0.080f, 0.250f, 0f, -5f, 5168.6f, 139.5f, 0f, 0x20);
- public static EaxReverb CastleMediumroom = new EaxReverb(26, 8.3f, 0.930f, -1000, -1100, -2000, 2.04f, 0.83f, 0.46f, -400, 0.022f, 0f, 0f, 0f, 400, 0.011f, 0f, 0f, 0f, 0.155f, 0.030f, 0.250f, 0f, -5f, 5168.6f, 139.5f, 0f, 0x20);
- public static EaxReverb CastleLongpassage = new EaxReverb(26, 8.3f, 0.890f, -1000, -800, -2000, 3.42f, 0.83f, 0.31f, -100, 0.007f, 0f, 0f, 0f, 300, 0.023f, 0f, 0f, 0f, 0.138f, 0.080f, 0.250f, 0f, -5f, 5168.6f, 139.5f, 0f, 0x20);
- public static EaxReverb CastleLargeroom = new EaxReverb(26, 8.3f, 0.820f, -1000, -1100, -1800, 2.53f, 0.83f, 0.50f, -700, 0.034f, 0f, 0f, 0f, 200, 0.016f, 0f, 0f, 0f, 0.185f, 0.070f, 0.250f, 0f, -5f, 5168.6f, 139.5f, 0f, 0x20);
- public static EaxReverb CastleHall = new EaxReverb(26, 8.3f, 0.810f, -1000, -1100, -1500, 3.14f, 0.79f, 0.62f, -1500, 0.056f, 0f, 0f, 0f, 100, 0.024f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 5168.6f, 139.5f, 0f, 0x20);
- public static EaxReverb CastleCupboard = new EaxReverb(26, 8.3f, 0.890f, -1000, -1100, -2000, 0.67f, 0.87f, 0.31f, 300, 0.010f, 0f, 0f, 0f, 1100, 0.007f, 0f, 0f, 0f, 0.138f, 0.080f, 0.250f, 0f, -5f, 5168.6f, 139.5f, 0f, 0x20);
- public static EaxReverb CastleCourtyard = new EaxReverb(26, 8.3f, 0.420f, -1000, -700, -1400, 2.13f, 0.61f, 0.23f, -1300, 0.160f, 0f, 0f, 0f, -300, 0.036f, 0f, 0f, 0f, 0.250f, 0.370f, 0.250f, 0f, -5f, 5000f, 250f, 0f, 0x1f);
- public static EaxReverb CastleAlcove = new EaxReverb(26, 8.3f, 0.890f, -1000, -600, -2000, 1.64f, 0.87f, 0.31f, 00, 0.007f, 0f, 0f, 0f, 300, 0.034f, 0f, 0f, 0f, 0.138f, 0.080f, 0.250f, 0f, -5f, 5168.6f, 139.5f, 0f, 0x20);
-
- // FACTORY PRESETS
-
- public static EaxReverb FactoryAlcove = new EaxReverb(26, 1.8f, 0.590f, -1200, -200, -600, 3.14f, 0.65f, 1.31f, 300, 0.010f, 0f, 0f, 0f, 000, 0.038f, 0f, 0f, 0f, 0.114f, 0.100f, 0.250f, 0f, -5f, 3762.6f, 362.5f, 0f, 0x20);
- public static EaxReverb FactoryShortpassage = new EaxReverb(26, 1.8f, 0.640f, -1200, -200, -600, 2.53f, 0.65f, 1.31f, 0, 0.010f, 0f, 0f, 0f, 200, 0.038f, 0f, 0f, 0f, 0.135f, 0.230f, 0.250f, 0f, -5f, 3762.6f, 362.5f, 0f, 0x20);
- public static EaxReverb FactoryMediumroom = new EaxReverb(26, 1.9f, 0.820f, -1200, -200, -600, 2.76f, 0.65f, 1.31f, -1100, 0.022f, 0f, 0f, 0f, 300, 0.023f, 0f, 0f, 0f, 0.174f, 0.070f, 0.250f, 0f, -5f, 3762.6f, 362.5f, 0f, 0x20);
- public static EaxReverb FactoryLongpassage = new EaxReverb(26, 1.8f, 0.640f, -1200, -200, -600, 4.06f, 0.65f, 1.31f, 0, 0.020f, 0f, 0f, 0f, 200, 0.037f, 0f, 0f, 0f, 0.135f, 0.230f, 0.250f, 0f, -5f, 3762.6f, 362.5f, 0f, 0x20);
- public static EaxReverb FactoryLargeroom = new EaxReverb(26, 1.9f, 0.750f, -1200, -300, -400, 4.24f, 0.51f, 1.31f, -1500, 0.039f, 0f, 0f, 0f, 100, 0.023f, 0f, 0f, 0f, 0.231f, 0.070f, 0.250f, 0f, -5f, 3762.6f, 362.5f, 0f, 0x20);
- public static EaxReverb FactoryHall = new EaxReverb(26, 1.9f, 0.750f, -1000, -300, -400, 7.43f, 0.51f, 1.31f, -2400, 0.073f, 0f, 0f, 0f, -100, 0.027f, 0f, 0f, 0f, 0.250f, 0.070f, 0.250f, 0f, -5f, 3762.6f, 362.5f, 0f, 0x20);
- public static EaxReverb FactoryCupboard = new EaxReverb(26, 1.7f, 0.630f, -1200, -200, -600, 0.49f, 0.65f, 1.31f, 200, 0.010f, 0f, 0f, 0f, 600, 0.032f, 0f, 0f, 0f, 0.107f, 0.070f, 0.250f, 0f, -5f, 3762.6f, 362.5f, 0f, 0x20);
- public static EaxReverb FactoryCourtyard = new EaxReverb(26, 1.7f, 0.570f, -1000, -1000, -400, 2.32f, 0.29f, 0.56f, -1300, 0.140f, 0f, 0f, 0f, -800, 0.039f, 0f, 0f, 0f, 0.250f, 0.290f, 0.250f, 0f, -5f, 3762.6f, 362.5f, 0f, 0x20);
- public static EaxReverb FactorySmallroom = new EaxReverb(26, 1.8f, 0.820f, -1000, -200, -600, 1.72f, 0.65f, 1.31f, -300, 0.010f, 0f, 0f, 0f, 500, 0.024f, 0f, 0f, 0f, 0.119f, 0.070f, 0.250f, 0f, -5f, 3762.6f, 362.5f, 0f, 0x20);
-
- // ICE PALACE PRESETS
-
- public static EaxReverb IcepalaceAlcove = new EaxReverb(26, 2.7f, 0.840f, -1000, -500, -1100, 2.76f, 1.46f, 0.28f, 100, 0.010f, 0f, 0f, 0f, -100, 0.030f, 0f, 0f, 0f, 0.161f, 0.090f, 0.250f, 0f, -5f, 12428.5f, 99.6f, 0f, 0x20);
- public static EaxReverb IcepalaceShortpassage = new EaxReverb(26, 2.7f, 0.750f, -1000, -500, -1100, 1.79f, 1.46f, 0.28f, -600, 0.010f, 0f, 0f, 0f, 100, 0.019f, 0f, 0f, 0f, 0.177f, 0.090f, 0.250f, 0f, -5f, 12428.5f, 99.6f, 0f, 0x20);
- public static EaxReverb IcepalaceMediumroom = new EaxReverb(26, 2.7f, 0.870f, -1000, -500, -700, 2.22f, 1.53f, 0.32f, -800, 0.039f, 0f, 0f, 0f, 100, 0.027f, 0f, 0f, 0f, 0.186f, 0.120f, 0.250f, 0f, -5f, 12428.5f, 99.6f, 0f, 0x20);
- public static EaxReverb IcepalaceLongpassage = new EaxReverb(26, 2.7f, 0.770f, -1000, -500, -800, 3.01f, 1.46f, 0.28f, -200, 0.012f, 0f, 0f, 0f, 200, 0.025f, 0f, 0f, 0f, 0.186f, 0.040f, 0.250f, 0f, -5f, 12428.5f, 99.6f, 0f, 0x20);
- public static EaxReverb IcepalaceLargeroom = new EaxReverb(26, 2.9f, 0.810f, -1000, -500, -700, 3.14f, 1.53f, 0.32f, -1200, 0.039f, 0f, 0f, 0f, 000, 0.027f, 0f, 0f, 0f, 0.214f, 0.110f, 0.250f, 0f, -5f, 12428.5f, 99.6f, 0f, 0x20);
- public static EaxReverb IcepalaceHall = new EaxReverb(26, 2.9f, 0.760f, -1000, -700, -500, 5.49f, 1.53f, 0.38f, -1900, 0.054f, 0f, 0f, 0f, -400, 0.052f, 0f, 0f, 0f, 0.226f, 0.110f, 0.250f, 0f, -5f, 12428.5f, 99.6f, 0f, 0x20);
- public static EaxReverb IcepalaceCupboard = new EaxReverb(26, 2.7f, 0.830f, -1000, -600, -1300, 0.76f, 1.53f, 0.26f, 100, 0.012f, 0f, 0f, 0f, 600, 0.016f, 0f, 0f, 0f, 0.143f, 0.080f, 0.250f, 0f, -5f, 12428.5f, 99.6f, 0f, 0x20);
- public static EaxReverb IcepalaceCourtyard = new EaxReverb(26, 2.9f, 0.590f, -1000, -1100, -1000, 2.04f, 1.20f, 0.38f, -1000, 0.173f, 0f, 0f, 0f, -1000, 0.043f, 0f, 0f, 0f, 0.235f, 0.480f, 0.250f, 0f, -5f, 12428.5f, 99.6f, 0f, 0x20);
- public static EaxReverb IcepalaceSmallroom = new EaxReverb(26, 2.7f, 0.840f, -1000, -500, -1100, 1.51f, 1.53f, 0.27f, -100, 0.010f, 0f, 0f, 0f, 300, 0.011f, 0f, 0f, 0f, 0.164f, 0.140f, 0.250f, 0f, -5f, 12428.5f, 99.6f, 0f, 0x20);
-
- // SPACE STATION PRESETS
-
- public static EaxReverb SpacestationAlcove = new EaxReverb(26, 1.5f, 0.780f, -1000, -300, -100, 1.16f, 0.81f, 0.55f, 300, 0.007f, 0f, 0f, 0f, 000, 0.018f, 0f, 0f, 0f, 0.192f, 0.210f, 0.250f, 0f, -5f, 3316.1f, 458.2f, 0f, 0x20);
- public static EaxReverb SpacestationMediumroom = new EaxReverb(26, 1.5f, 0.750f, -1000, -400, -100, 3.01f, 0.50f, 0.55f, -800, 0.034f, 0f, 0f, 0f, 100, 0.035f, 0f, 0f, 0f, 0.209f, 0.310f, 0.250f, 0f, -5f, 3316.1f, 458.2f, 0f, 0x20);
- public static EaxReverb SpacestationShortpassage = new EaxReverb(26, 1.5f, 0.870f, -1000, -400, -100, 3.57f, 0.50f, 0.55f, 0, 0.012f, 0f, 0f, 0f, 100, 0.016f, 0f, 0f, 0f, 0.172f, 0.200f, 0.250f, 0f, -5f, 3316.1f, 458.2f, 0f, 0x20);
- public static EaxReverb SpacestationLongpassage = new EaxReverb(26, 1.9f, 0.820f, -1000, -400, -100, 4.62f, 0.62f, 0.55f, 0, 0.012f, 0f, 0f, 0f, 200, 0.031f, 0f, 0f, 0f, 0.250f, 0.230f, 0.250f, 0f, -5f, 3316.1f, 458.2f, 0f, 0x20);
- public static EaxReverb SpacestationLargeroom = new EaxReverb(26, 1.8f, 0.810f, -1000, -400, -100, 3.89f, 0.38f, 0.61f, -1000, 0.056f, 0f, 0f, 0f, -100, 0.035f, 0f, 0f, 0f, 0.233f, 0.280f, 0.250f, 0f, -5f, 3316.1f, 458.2f, 0f, 0x20);
- public static EaxReverb SpacestationHall = new EaxReverb(26, 1.9f, 0.870f, -1000, -400, -100, 7.11f, 0.38f, 0.61f, -1500, 0.100f, 0f, 0f, 0f, -400, 0.047f, 0f, 0f, 0f, 0.250f, 0.250f, 0.250f, 0f, -5f, 3316.1f, 458.2f, 0f, 0x20);
- public static EaxReverb SpacestationCupboard = new EaxReverb(26, 1.4f, 0.560f, -1000, -300, -100, 0.79f, 0.81f, 0.55f, 300, 0.007f, 0f, 0f, 0f, 500, 0.018f, 0f, 0f, 0f, 0.181f, 0.310f, 0.250f, 0f, -5f, 3316.1f, 458.2f, 0f, 0x20);
- public static EaxReverb SpacestationSmallroom = new EaxReverb(26, 1.5f, 0.700f, -1000, -300, -100, 1.72f, 0.82f, 0.55f, -200, 0.007f, 0f, 0f, 0f, 300, 0.013f, 0f, 0f, 0f, 0.188f, 0.260f, 0.250f, 0f, -5f, 3316.1f, 458.2f, 0f, 0x20);
-
- // WOODEN GALLEON PRESETS
-
- public static EaxReverb WoodenAlcove = new EaxReverb(26, 7.5f, 1f, -1000, -1800, -1000, 1.22f, 0.62f, 0.91f, 100, 0.012f, 0f, 0f, 0f, -300, 0.024f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 4705f, 99.6f, 0f, 0x3f);
- public static EaxReverb WoodenShortpassage = new EaxReverb(26, 7.5f, 1f, -1000, -1800, -1000, 1.75f, 0.50f, 0.87f, -100, 0.012f, 0f, 0f, 0f, -400, 0.024f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 4705f, 99.6f, 0f, 0x3f);
- public static EaxReverb WoodenMediumroom = new EaxReverb(26, 7.5f, 1f, -1000, -2000, -1100, 1.47f, 0.42f, 0.82f, -100, 0.049f, 0f, 0f, 0f, -100, 0.029f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 4705f, 99.6f, 0f, 0x3f);
- public static EaxReverb WoodenLongpassage = new EaxReverb(26, 7.5f, 1f, -1000, -2000, -1000, 1.99f, 0.40f, 0.79f, 000, 0.020f, 0f, 0f, 0f, -700, 0.036f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 4705f, 99.6f, 0f, 0x3f);
- public static EaxReverb WoodenLargeroom = new EaxReverb(26, 7.5f, 1f, -1000, -2100, -1100, 2.65f, 0.33f, 0.82f, -100, 0.066f, 0f, 0f, 0f, -200, 0.049f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 4705f, 99.6f, 0f, 0x3f);
- public static EaxReverb WoodenHall = new EaxReverb(26, 7.5f, 1f, -1000, -2200, -1100, 3.45f, 0.30f, 0.82f, -100, 0.088f, 0f, 0f, 0f, -200, 0.063f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 4705f, 99.6f, 0f, 0x3f);
- public static EaxReverb WoodenCupboard = new EaxReverb(26, 7.5f, 1f, -1000, -1700, -1000, 0.56f, 0.46f, 0.91f, 100, 0.012f, 0f, 0f, 0f, 100, 0.028f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 4705f, 99.6f, 0f, 0x3f);
- public static EaxReverb WoodenSmallroom = new EaxReverb(26, 7.5f, 1f, -1000, -1900, -1000, 0.79f, 0.32f, 0.87f, 00, 0.032f, 0f, 0f, 0f, -100, 0.029f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 4705f, 99.6f, 0f, 0x3f);
- public static EaxReverb WoodenCourtyard = new EaxReverb(26, 7.5f, 0.650f, -1000, -2200, -1000, 1.79f, 0.35f, 0.79f, -500, 0.123f, 0f, 0f, 0f, -2000, 0.032f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 4705f, 99.6f, 0f, 0x3f);
-
- // SPORTS PRESETS
-
- public static EaxReverb SportEmptystadium = new EaxReverb(26, 7.2f, 1f, -1000, -700, -200, 6.26f, 0.51f, 1.10f, -2400, 0.183f, 0f, 0f, 0f, -800, 0.038f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 5000f, 250f, 0f, 0x20);
- public static EaxReverb SportSquashcourt = new EaxReverb(26, 7.5f, 0.750f, -1000, -1000, -200, 2.22f, 0.91f, 1.16f, -700, 0.007f, 0f, 0f, 0f, -200, 0.011f, 0f, 0f, 0f, 0.126f, 0.190f, 0.250f, 0f, -5f, 7176.9f, 211.2f, 0f, 0x20);
- public static EaxReverb SportSmallswimmingpool = new EaxReverb(26, 36.2f, 0.700f, -1000, -200, -100, 2.76f, 1.25f, 1.14f, -400, 0.020f, 0f, 0f, 0f, -200, 0.030f, 0f, 0f, 0f, 0.179f, 0.150f, 0.895f, 0.190f, -5f, 5000f, 250f, 0f, 0x0);
- public static EaxReverb SportLargeswimmingpool = new EaxReverb(26, 36.2f, 0.820f, -1000, -200, 0, 5.49f, 1.31f, 1.14f, -700, 0.039f, 0f, 0f, 0f, -600, 0.049f, 0f, 0f, 0f, 0.222f, 0.550f, 1.159f, 0.210f, -5f, 5000f, 250f, 0f, 0x0);
- public static EaxReverb SportGymnasium = new EaxReverb(26, 7.5f, 0.810f, -1000, -700, -100, 3.14f, 1.06f, 1.35f, -800, 0.029f, 0f, 0f, 0f, -500, 0.045f, 0f, 0f, 0f, 0.146f, 0.140f, 0.250f, 0f, -5f, 7176.9f, 211.2f, 0f, 0x20);
- public static EaxReverb SportFullstadium = new EaxReverb(26, 7.2f, 1f, -1000, -2300, -200, 5.25f, 0.17f, 0.80f, -2000, 0.188f, 0f, 0f, 0f, -1100, 0.038f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 5000f, 250f, 0f, 0x20);
- public static EaxReverb SportStadimtannoy = new EaxReverb(26, 3f, 0.780f, -1000, -500, -600, 2.53f, 0.88f, 0.68f, -1100, 0.230f, 0f, 0f, 0f, -600, 0.063f, 0f, 0f, 0f, 0.250f, 0.200f, 0.250f, 0f, -5f, 5000f, 250f, 0f, 0x20);
-
- // PREFAB PRESETS
-
- public static EaxReverb PrefabWorkshop = new EaxReverb(26, 1.9f, 1f, -1000, -1700, -800, 0.76f, 1f, 1f, 0, 0.012f, 0f, 0f, 0f, 100, 0.012f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 5000f, 250f, 0f, 0x0);
- public static EaxReverb PrefabSchoolroom = new EaxReverb(26, 1.86f, 0.690f, -1000, -400, -600, 0.98f, 0.45f, 0.18f, 300, 0.017f, 0f, 0f, 0f, 300, 0.015f, 0f, 0f, 0f, 0.095f, 0.140f, 0.250f, 0f, -5f, 7176.9f, 211.2f, 0f, 0x20);
- public static EaxReverb PrefabPractiseroom = new EaxReverb(26, 1.86f, 0.870f, -1000, -800, -600, 1.12f, 0.56f, 0.18f, 200, 0.010f, 0f, 0f, 0f, 300, 0.011f, 0f, 0f, 0f, 0.095f, 0.140f, 0.250f, 0f, -5f, 7176.9f, 211.2f, 0f, 0x20);
- public static EaxReverb PrefabOuthouse = new EaxReverb(26, 80.3f, 0.820f, -1000, -1900, -1600, 1.38f, 0.38f, 0.35f, -100, 0.024f, 0f, 0f, -0f, -400, 0.044f, 0f, 0f, 0f, 0.121f, 0.170f, 0.250f, 0f, -5f, 2854.4f, 107.5f, 0f, 0x0);
- public static EaxReverb PrefabCaravan = new EaxReverb(26, 8.3f, 1f, -1000, -2100, -1800, 0.43f, 1.50f, 1f, 0, 0.012f, 0f, 0f, 0f, 600, 0.012f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 5000f, 250f, 0f, 0x1f);
-
- // DOME AND PIPE PRESETS
-
- public static EaxReverb DomeTomb = new EaxReverb(26, 51.8f, 0.790f, -1000, -900, -1300, 4.18f, 0.21f, 0.10f, -825, 0.030f, 0f, 0f, 0f, 450, 0.022f, 0f, 0f, 0f, 0.177f, 0.190f, 0.250f, 0f, -5f, 2854.4f, 20f, 0f, 0x0);
- public static EaxReverb DomeSaintPauls = new EaxReverb(26, 50.3f, 0.870f, -1000, -900, -1300, 10.48f, 0.19f, 0.10f, -1500, 0.090f, 0f, 0f, 0f, 200, 0.042f, 0f, 0f, 0f, 0.250f, 0.120f, 0.250f, 0f, -5f, 2854.4f, 20f, 0f, 0x3f);
- public static EaxReverb PipeSmall = new EaxReverb(26, 50.3f, 1f, -1000, -900, -1300, 5.04f, 0.10f, 0.10f, -600, 0.032f, 0f, 0f, 0f, 800, 0.015f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 2854.4f, 20f, 0f, 0x3f);
- public static EaxReverb PipeLongthin = new EaxReverb(26, 1.6f, 0.910f, -1000, -700, -1100, 9.21f, 0.18f, 0.10f, -300, 0.010f, 0f, 0f, 0f, -300, 0.022f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 2854.4f, 20f, 0f, 0x0);
- public static EaxReverb PipeLarge = new EaxReverb(26, 50.3f, 1f, -1000, -900, -1300, 8.45f, 0.10f, 0.10f, -800, 0.046f, 0f, 0f, 0f, 400, 0.032f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 2854.4f, 20f, 0f, 0x3f);
- public static EaxReverb PipeResonant = new EaxReverb(26, 1.3f, 0.910f, -1000, -700, -1100, 6.81f, 0.18f, 0.10f, -300, 0.010f, 0f, 0f, 0f, 00, 0.022f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 2854.4f, 20f, 0f, 0x0);
-
- // OUTDOORS PRESETS
-
- public static EaxReverb OutdoorsBackyard = new EaxReverb(26, 80.3f, 0.450f, -1000, -1200, -600, 1.12f, 0.34f, 0.46f, -700, 0.069f, 0f, 0f, -0f, -300, 0.023f, 0f, 0f, 0f, 0.218f, 0.340f, 0.250f, 0f, -5f, 4399.1f, 242.9f, 0f, 0x0);
- public static EaxReverb OutdoorsRollingplains = new EaxReverb(26, 80.3f, 0f, -1000, -3900, -400, 2.13f, 0.21f, 0.46f, -1500, 0.300f, 0f, 0f, -0f, -700, 0.019f, 0f, 0f, 0f, 0.250f, 1f, 0.250f, 0f, -5f, 4399.1f, 242.9f, 0f, 0x0);
- public static EaxReverb OutdoorsDeepcanyon = new EaxReverb(26, 80.3f, 0.740f, -1000, -1500, -400, 3.89f, 0.21f, 0.46f, -1000, 0.223f, 0f, 0f, -0f, -900, 0.019f, 0f, 0f, 0f, 0.250f, 1f, 0.250f, 0f, -5f, 4399.1f, 242.9f, 0f, 0x0);
- public static EaxReverb OutdoorsCreek = new EaxReverb(26, 80.3f, 0.350f, -1000, -1500, -600, 2.13f, 0.21f, 0.46f, -800, 0.115f, 0f, 0f, -0f, -1400, 0.031f, 0f, 0f, 0f, 0.218f, 0.340f, 0.250f, 0f, -5f, 4399.1f, 242.9f, 0f, 0x0);
- public static EaxReverb OutdoorsValley = new EaxReverb(26, 80.3f, 0.280f, -1000, -3100, -1600, 2.88f, 0.26f, 0.35f, -1700, 0.263f, 0f, 0f, -0f, -800, 0.100f, 0f, 0f, 0f, 0.250f, 0.340f, 0.250f, 0f, -5f, 2854.4f, 107.5f, 0f, 0x0);
-
- // MOOD PRESETS
-
- public static EaxReverb MoodHeaven = new EaxReverb(26, 19.6f, 0.940f, -1000, -200, -700, 5.04f, 1.12f, 0.56f, -1230, 0.020f, 0f, 0f, 0f, 200, 0.029f, 0f, 0f, 0f, 0.250f, 0.080f, 2.742f, 0.050f, -2f, 5000f, 250f, 0f, 0x3f);
- public static EaxReverb MoodHell = new EaxReverb(26, 100f, 0.570f, -1000, -900, -700, 3.57f, 0.49f, 2f, -10000, 0.020f, 0f, 0f, 0f, 300, 0.030f, 0f, 0f, 0f, 0.110f, 0.040f, 2.109f, 0.520f, -5f, 5000f, 139.5f, 0f, 0x40);
- public static EaxReverb MoodMemory = new EaxReverb(26, 8f, 0.850f, -1000, -400, -900, 4.06f, 0.82f, 0.56f, -2800, 0f, 0f, 0f, 0f, 100, 0f, 0f, 0f, 0f, 0.250f, 0f, 0.474f, 0.450f, -10f, 5000f, 250f, 0f, 0x0);
-
- // DRIVING SIMULATION PRESETS
-
- public static EaxReverb DrivingCommentator = new EaxReverb(26, 3f, 0f, 1000, -500, -600, 2.42f, 0.88f, 0.68f, -1400, 0.093f, 0f, 0f, 0f, -1200, 0.017f, 0f, 0f, 0f, 0.250f, 1f, 0.250f, 0f, -10f, 5000f, 250f, 0f, 0x20);
- public static EaxReverb DrivingPitgarage = new EaxReverb(26, 1.9f, 0.590f, -1000, -300, -500, 1.72f, 0.93f, 0.87f, -500, 0f, 0f, 0f, 0f, 200, 0.016f, 0f, 0f, 0f, 0.250f, 0.110f, 0.250f, 0f, -5f, 5000f, 250f, 0f, 0x0);
- public static EaxReverb DrivingIncarRacer = new EaxReverb(26, 1.1f, 0.800f, -1000, 0, -200, 0.17f, 2f, 0.41f, 500, 0.007f, 0f, 0f, 0f, -300, 0.015f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 10268.2f, 251f, 0f, 0x20);
- public static EaxReverb DrivingIncarSports = new EaxReverb(26, 1.1f, 0.800f, -1000, -400, 0, 0.17f, 0.75f, 0.41f, 0, 0.010f, 0f, 0f, 0f, -500, 0f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 10268.2f, 251f, 0f, 0x20);
- public static EaxReverb DrivingIncarLuxury = new EaxReverb(26, 1.6f, 1f, -1000, -2000, -600, 0.13f, 0.41f, 0.46f, -200, 0.010f, 0f, 0f, 0f, 400, 0.010f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 10268.2f, 251f, 0f, 0x20);
- public static EaxReverb DrivingFullgrandstand = new EaxReverb(26, 8.3f, 1f, -1000, -1100, -400, 3.01f, 1.37f, 1.28f, -900, 0.090f, 0f, 0f, 0f, -1500, 0.049f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 10420.2f, 250f, 0f, 0x1f);
- public static EaxReverb DrivingEmptygrandstand = new EaxReverb(26, 8.3f, 1f, -1000, 0, -200, 4.62f, 1.75f, 1.40f, -1363, 0.090f, 0f, 0f, 0f, -1200, 0.049f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 10420.2f, 250f, 0f, 0x1f);
- public static EaxReverb DrivingTunnel = new EaxReverb(26, 3.1f, 0.810f, -1000, -800, -100, 3.42f, 0.94f, 1.31f, -300, 0.051f, 0f, 0f, 0f, -300, 0.047f, 0f, 0f, 0f, 0.214f, 0.050f, 0.250f, 0f, -5f, 5000f, 155.3f, 0f, 0x20);
-
- // CITY PRESETS
-
- public static EaxReverb CityStreets = new EaxReverb(26, 3f, 0.780f, -1000, -300, -100, 1.79f, 1.12f, 0.91f, -1100, 0.046f, 0f, 0f, 0f, -1400, 0.028f, 0f, 0f, 0f, 0.250f, 0.200f, 0.250f, 0f, -5f, 5000f, 250f, 0f, 0x20);
- public static EaxReverb CitySubway = new EaxReverb(26, 3f, 0.740f, -1000, -300, -100, 3.01f, 1.23f, 0.91f, -300, 0.046f, 0f, 0f, 0f, 200, 0.028f, 0f, 0f, 0f, 0.125f, 0.210f, 0.250f, 0f, -5f, 5000f, 250f, 0f, 0x20);
- public static EaxReverb CityMuseum = new EaxReverb(26, 80.3f, 0.820f, -1000, -1500, -1500, 3.28f, 1.40f, 0.57f, -1200, 0.039f, 0f, 0f, -0f, -100, 0.034f, 0f, 0f, 0f, 0.130f, 0.170f, 0.250f, 0f, -5f, 2854.4f, 107.5f, 0f, 0x0);
- public static EaxReverb CityLibrary = new EaxReverb(26, 80.3f, 0.820f, -1000, -1100, -2100, 2.76f, 0.89f, 0.41f, -900, 0.029f, 0f, 0f, -0f, -100, 0.020f, 0f, 0f, 0f, 0.130f, 0.170f, 0.250f, 0f, -5f, 2854.4f, 107.5f, 0f, 0x0);
- public static EaxReverb CityUnderpass = new EaxReverb(26, 3f, 0.820f, -1000, -700, -100, 3.57f, 1.12f, 0.91f, -800, 0.059f, 0f, 0f, 0f, -100, 0.037f, 0f, 0f, 0f, 0.250f, 0.140f, 0.250f, 0f, -7f, 5000f, 250f, 0f, 0x20);
- public static EaxReverb CityAbandoned = new EaxReverb(26, 3f, 0.690f, -1000, -200, -100, 3.28f, 1.17f, 0.91f, -700, 0.044f, 0f, 0f, 0f, -1100, 0.024f, 0f, 0f, 0f, 0.250f, 0.200f, 0.250f, 0f, -3f, 5000f, 250f, 0f, 0x20);
-
- // MISC ROOMS
-
- public static EaxReverb Generic = new EaxReverb(0, 7.5f, 1f, -1000, -100, 0, 1.49f, 0.83f, 1f, -2602, 0.007f, 0f, 0f, 0f, 200, 0.011f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 5000f, 250f, 0f, 0x3f);
- public static EaxReverb Paddedcell = new EaxReverb(1, 1.4f, 1f, -1000, -6000, 0, 0.17f, 0.10f, 1f, -1204, 0.001f, 0f, 0f, 0f, 207, 0.002f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 5000f, 250f, 0f, 0x3f);
- public static EaxReverb Room = new EaxReverb(2, 1.9f, 1f, -1000, -454, 0, 0.40f, 0.83f, 1f, -1646, 0.002f, 0f, 0f, 0f, 53, 0.003f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 5000f, 250f, 0f, 0x3f);
- public static EaxReverb Bathroom = new EaxReverb(3, 1.4f, 1f, -1000, -1200, 0, 1.49f, 0.54f, 1f, -370, 0.007f, 0f, 0f, 0f, 1030, 0.011f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 5000f, 250f, 0f, 0x3f);
- public static EaxReverb Livingroom = new EaxReverb(4, 2.5f, 1f, -1000, -6000, 0, 0.50f, 0.10f, 1f, -1376, 0.003f, 0f, 0f, 0f, -1104, 0.004f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 5000f, 250f, 0f, 0x3f);
- public static EaxReverb Stoneroom = new EaxReverb(5, 11.6f, 1f, -1000, -300, 0, 2.31f, 0.64f, 1f, -711, 0.012f, 0f, 0f, 0f, 83, 0.017f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 5000f, 250f, 0f, 0x3f);
- public static EaxReverb Auditorium = new EaxReverb(6, 21.6f, 1f, -1000, -476, 0, 4.32f, 0.59f, 1f, -789, 0.020f, 0f, 0f, 0f, -289, 0.030f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 5000f, 250f, 0f, 0x3f);
- public static EaxReverb Concerthall = new EaxReverb(7, 19.6f, 1f, -1000, -500, 0, 3.92f, 0.70f, 1f, -1230, 0.020f, 0f, 0f, 0f, -02, 0.029f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 5000f, 250f, 0f, 0x3f);
- public static EaxReverb Cave = new EaxReverb(8, 14.6f, 1f, -1000, 0, 0, 2.91f, 1.30f, 1f, -602, 0.015f, 0f, 0f, 0f, -302, 0.022f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 5000f, 250f, 0f, 0x1f);
- public static EaxReverb Arena = new EaxReverb(9, 36.2f, 1f, -1000, -698, 0, 7.24f, 0.33f, 1f, -1166, 0.020f, 0f, 0f, 0f, 16, 0.030f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 5000f, 250f, 0f, 0x3f);
- public static EaxReverb Hangar = new EaxReverb(10, 50.3f, 1f, -1000, -1000, 0, 10.05f, 0.23f, 1f, -602, 0.020f, 0f, 0f, 0f, 198, 0.030f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 5000f, 250f, 0f, 0x3f);
- public static EaxReverb Carpettedhallway = new EaxReverb(11, 1.9f, 1f, -1000, -4000, 0, 0.30f, 0.10f, 1f, -1831, 0.002f, 0f, 0f, 0f, -1630, 0.030f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 5000f, 250f, 0f, 0x3f);
- public static EaxReverb Hallway = new EaxReverb(12, 1.8f, 1f, -1000, -300, 0, 1.49f, 0.59f, 1f, -1219, 0.007f, 0f, 0f, 0f, 441, 0.011f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 5000f, 250f, 0f, 0x3f);
- public static EaxReverb Stonecorridor = new EaxReverb(13, 13.5f, 1f, -1000, -237, 0, 2.70f, 0.79f, 1f, -1214, 0.013f, 0f, 0f, 0f, 395, 0.020f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 5000f, 250f, 0f, 0x3f);
- public static EaxReverb Alley = new EaxReverb(14, 7.5f, 0.300f, -1000, -270, 0, 1.49f, 0.86f, 1f, -1204, 0.007f, 0f, 0f, 0f, -4, 0.011f, 0f, 0f, 0f, 0.125f, 0.950f, 0.250f, 0f, -5f, 5000f, 250f, 0f, 0x3f);
- public static EaxReverb Forest = new EaxReverb(15, 38f, 0.300f, -1000, -3300, 0, 1.49f, 0.54f, 1f, -2560, 0.162f, 0f, 0f, 0f, -229, 0.088f, 0f, 0f, 0f, 0.125f, 1f, 0.250f, 0f, -5f, 5000f, 250f, 0f, 0x3f);
- public static EaxReverb City = new EaxReverb(16, 7.5f, 0.500f, -1000, -800, 0, 1.49f, 0.67f, 1f, -2273, 0.007f, 0f, 0f, 0f, -1691, 0.011f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 5000f, 250f, 0f, 0x3f);
- public static EaxReverb Mountains = new EaxReverb(17, 100f, 0.270f, -1000, -2500, 0, 1.49f, 0.21f, 1f, -2780, 0.300f, 0f, 0f, 0f, -1434, 0.100f, 0f, 0f, 0f, 0.250f, 1f, 0.250f, 0f, -5f, 5000f, 250f, 0f, 0x1f);
- public static EaxReverb Quarry = new EaxReverb(18, 17.5f, 1f, -1000, -1000, 0, 1.49f, 0.83f, 1f, -10000, 0.061f, 0f, 0f, 0f, 500, 0.025f, 0f, 0f, 0f, 0.125f, 0.700f, 0.250f, 0f, -5f, 5000f, 250f, 0f, 0x3f);
- public static EaxReverb Plain = new EaxReverb(19, 42.5f, 0.210f, -1000, -2000, 0, 1.49f, 0.50f, 1f, -2466, 0.179f, 0f, 0f, 0f, -1926, 0.100f, 0f, 0f, 0f, 0.250f, 1f, 0.250f, 0f, -5f, 5000f, 250f, 0f, 0x3f);
- public static EaxReverb Parkinglot = new EaxReverb(20, 8.3f, 1f, -1000, 0, 0, 1.65f, 1.50f, 1f, -1363, 0.008f, 0f, 0f, 0f, -1153, 0.012f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 5000f, 250f, 0f, 0x1f);
- public static EaxReverb Sewerpipe = new EaxReverb(21, 1.7f, 0.800f, -1000, -1000, 0, 2.81f, 0.14f, 1f, 429, 0.014f, 0f, 0f, 0f, 1023, 0.021f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0f, -5f, 5000f, 250f, 0f, 0x3f);
- public static EaxReverb Underwater = new EaxReverb(22, 1.8f, 1f, -1000, -4000, 0, 1.49f, 0.10f, 1f, -449, 0.007f, 0f, 0f, 0f, 1700, 0.011f, 0f, 0f, 0f, 0.250f, 0f, 1.180f, 0.348f, -5f, 5000f, 250f, 0f, 0x3f);
- public static EaxReverb Drugged = new EaxReverb(23, 1.9f, 0.500f, -1000, 0, 0, 8.39f, 1.39f, 1f, -115, 0.002f, 0f, 0f, 0f, 985, 0.030f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 1f, -5f, 5000f, 250f, 0f, 0x1f);
- public static EaxReverb Dizzy = new EaxReverb(24, 1.8f, 0.600f, -1000, -400, 0, 17.23f, 0.56f, 1f, -1713, 0.020f, 0f, 0f, 0f, -613, 0.030f, 0f, 0f, 0f, 0.250f, 1f, 0.810f, 0.310f, -5f, 5000f, 250f, 0f, 0x1f);
- public static EaxReverb Psychotic = new EaxReverb(25, 1f, 0.500f, -1000, -151, 0, 7.56f, 0.91f, 1f, -626, 0.020f, 0f, 0f, 0f, 774, 0.030f, 0f, 0f, 0f, 0.250f, 0f, 4f, 1f, -5f, 5000f, 250f, 0f, 0x1f);
- public static EaxReverb Dustyroom = new EaxReverb(26, 1.8f, 0.560f, -1000, -200, -300, 1.79f, 0.38f, 0.21f, -600, 0.002f, 0f, 0f, 0f, 200, 0.006f, 0f, 0f, 0f, 0.202f, 0.050f, 0.250f, 0f, -10f, 13046f, 163.3f, 0f, 0x20);
- public static EaxReverb Chapel = new EaxReverb(26, 19.6f, 0.840f, -1000, -500, 0, 4.62f, 0.64f, 1.23f, -700, 0.032f, 0f, 0f, 0f, -200, 0.049f, 0f, 0f, 0f, 0.250f, 0f, 0.250f, 0.110f, -5f, 5000f, 250f, 0f, 0x3f);
- public static EaxReverb Smallwaterroom = new EaxReverb(26, 36.2f, 0.700f, -1000, -698, 0, 1.51f, 1.25f, 1.14f, -100, 0.020f, 0f, 0f, 0f, 300, 0.030f, 0f, 0f, 0f, 0.179f, 0.150f, 0.895f, 0.190f, -7f, 5000f, 250f, 0f, 0x0);
- }
- }
-}
diff --git a/Source/Compatibility/Audio/OpenAL/AL/XRamExtension.cs b/Source/Compatibility/Audio/OpenAL/AL/XRamExtension.cs
deleted file mode 100644
index d32208c7..00000000
--- a/Source/Compatibility/Audio/OpenAL/AL/XRamExtension.cs
+++ /dev/null
@@ -1,193 +0,0 @@
-#region --- OpenTK.OpenAL License ---
-/* XRamExtension.cs
- * C header: \OpenAL 1.1 SDK\include\xram.h
- * Spec: ?
- * Copyright (c) 2008 Christoph Brandtner and Stefanos Apostolopoulos
- * See license.txt for license details (MIT)
- * http://www.OpenTK.net */
-#endregion
-
-using System;
-using System.Diagnostics;
-using System.Runtime.InteropServices;
-
-namespace OpenTK.Audio
-{
-
- ///The X-Ram Extension is provided on the top-end Sound Blaster X-Fi solutions (Sound Blaster X-Fi Fatal1ty, Sound Blaster X-Fi Elite Pro, or later). These products feature 64MB of X-Ram that can only be used for audio purposes, which can be controlled by this Extension.
- [CLSCompliant(true)]
- public sealed class XRamExtension
- {
- #region Instance state
-
- private bool _valid = false;
-
- /// Returns True if the X-Ram Extension has been found and could be initialized.
- public bool IsInitialized
- {
- get { return _valid; }
- }
-
- #endregion Instance state
-
- #region X-RAM Function pointer definitions
-
- // [CLSCompliant(false)]
- private delegate bool Delegate_SetBufferMode(int n, ref uint buffers, int value);
- //typedef ALboolean (__cdecl *EAXSetBufferMode)(ALsizei n, ALuint *buffers, ALint value);
-
- // [CLSCompliant( false )]
- private delegate int Delegate_GetBufferMode(uint buffer, IntPtr value);
- //typedef ALenum (__cdecl *EAXGetBufferMode)(ALuint buffer, ALint *value);
-
- //[CLSCompliant(false)]
- private Delegate_SetBufferMode Imported_SetBufferMode;
- //[CLSCompliant(false)]
- private Delegate_GetBufferMode Imported_GetBufferMode;
-
- #endregion X-RAM Function pointer definitions
-
- #region X-RAM Tokens
-
- private int AL_EAX_RAM_SIZE, AL_EAX_RAM_FREE,
- AL_STORAGE_AUTOMATIC, AL_STORAGE_HARDWARE, AL_STORAGE_ACCESSIBLE;
-
- #endregion X-RAM Tokens
-
- #region Constructor / Extension Loading
-
- public XRamExtension()
- { // Query if Extension supported and retrieve Tokens/Pointers if it is.
- _valid = false;
- if (AL.IsExtensionPresent("EAX-RAM") == false)
- return;
-
- AL_EAX_RAM_SIZE = AL.GetEnumValue("AL_EAX_RAM_SIZE");
- AL_EAX_RAM_FREE = AL.GetEnumValue("AL_EAX_RAM_FREE");
- AL_STORAGE_AUTOMATIC = AL.GetEnumValue("AL_STORAGE_AUTOMATIC");
- AL_STORAGE_HARDWARE = AL.GetEnumValue("AL_STORAGE_HARDWARE");
- AL_STORAGE_ACCESSIBLE = AL.GetEnumValue("AL_STORAGE_ACCESSIBLE");
-
- // Console.WriteLine("RamSize: {0} RamFree: {1} StorageAuto: {2} StorageHW: {3} StorageAccess: {4}",AL_EAX_RAM_SIZE,AL_EAX_RAM_FREE,AL_STORAGE_AUTOMATIC,AL_STORAGE_HARDWARE,AL_STORAGE_ACCESSIBLE);
-
- if (AL_EAX_RAM_SIZE == 0 ||
- AL_EAX_RAM_FREE == 0 ||
- AL_STORAGE_AUTOMATIC == 0 ||
- AL_STORAGE_HARDWARE == 0 ||
- AL_STORAGE_ACCESSIBLE == 0)
- {
- Debug.WriteLine("X-Ram: Token values could not be retrieved.");
- return;
- }
-
- // Console.WriteLine("Free Ram: {0} / {1}",GetRamFree( ),GetRamSize( ));
-
- try
- {
- Imported_GetBufferMode = (Delegate_GetBufferMode)Marshal.GetDelegateForFunctionPointer(AL.GetProcAddress("EAXGetBufferMode"), typeof(Delegate_GetBufferMode));
- Imported_SetBufferMode = (Delegate_SetBufferMode)Marshal.GetDelegateForFunctionPointer(AL.GetProcAddress("EAXSetBufferMode"), typeof(Delegate_SetBufferMode));
- }
- catch (Exception e)
- {
- Debug.WriteLine("X-Ram: Attempt to marshal function pointers with AL.GetProcAddress failed. " + e.ToString());
- return;
- }
-
- _valid = true;
- }
-
- #endregion Constructor / Extension Loading
-
- #region Public Methods
-
- /// Query total amount of X-RAM in bytes.
- public int GetRamSize
- {
- get
- {
- return AL.Get((ALGetInteger)AL_EAX_RAM_SIZE);
- }
- }
-
- /// Query free X-RAM available in bytes.
- public int GetRamFree
- {
- get
- {
- return AL.Get((ALGetInteger)AL_EAX_RAM_FREE);
- }
- }
-
- /// This enum is used to abstract the need of using AL.GetEnumValue() with the Extension. The values do NOT correspond to AL_STORAGE_* tokens!
- public enum XRamStorage : byte
- {
- /// Put an Open AL Buffer into X-RAM if memory is available, otherwise use host RAM. This is the default mode.
- Automatic = 0,
- /// Force an Open AL Buffer into X-RAM, good for non-streaming buffers.
- Hardware = 1,
- /// Force an Open AL Buffer into 'accessible' (currently host) RAM, good for streaming buffers.
- Accessible = 2,
- }
-
- /// This function is used to set the storage Mode of an array of OpenAL Buffers.
- /// The number of OpenAL Buffers pointed to by buffer.
- /// An array of OpenAL Buffer handles.
- /// The storage mode that should be used for all the given buffers. Should be the value of one of the following enum names: XRamStorage.Automatic, XRamStorage.Hardware, XRamStorage.Accessible
- /// True if all the Buffers were successfully set to the requested storage mode, False otherwise.
- [CLSCompliant(false)]
- public bool SetBufferMode(int n, ref uint buffer, XRamStorage mode)
- {
- switch (mode)
- {
- case XRamStorage.Accessible:
- return Imported_SetBufferMode(n, ref buffer, AL_STORAGE_ACCESSIBLE);
- case XRamStorage.Hardware:
- return Imported_SetBufferMode(n, ref buffer, AL_STORAGE_HARDWARE);
- default:
- return Imported_SetBufferMode(n, ref buffer, AL_STORAGE_AUTOMATIC);
- }
- }
-
- /// This function is used to set the storage Mode of an array of OpenAL Buffers.
- /// The number of OpenAL Buffers pointed to by buffer.
- /// An array of OpenAL Buffer handles.
- /// The storage mode that should be used for all the given buffers. Should be the value of one of the following enum names: XRamStorage.Automatic, XRamStorage.Hardware, XRamStorage.Accessible
- /// True if all the Buffers were successfully set to the requested storage mode, False otherwise.
- [CLSCompliant(true)]
- public bool SetBufferMode(int n, ref int buffer, XRamStorage mode)
- {
- uint temp = (uint)buffer;
- return SetBufferMode(n, ref temp, mode);
- }
-
- /// This function is used to retrieve the storage Mode of a single OpenAL Buffer.
- /// The handle of an OpenAL Buffer.
- /// The current Mode of the Buffer.
- [CLSCompliant(false)]
- public XRamStorage GetBufferMode(ref uint buffer)
- {
- int tempresult = Imported_GetBufferMode(buffer, IntPtr.Zero); // IntPtr.Zero due to the parameter being unused/reserved atm
-
- if (tempresult == AL_STORAGE_ACCESSIBLE)
- return XRamStorage.Accessible;
- if (tempresult == AL_STORAGE_HARDWARE)
- return XRamStorage.Hardware;
- // default:
- return XRamStorage.Automatic;
- }
-
- /// This function is used to retrieve the storage Mode of a single OpenAL Buffer.
- /// The handle of an OpenAL Buffer.
- /// The current Mode of the Buffer.
- [CLSCompliant(true)]
- public XRamStorage GetBufferMode(ref int buffer)
- {
- uint temp = (uint)buffer;
- return GetBufferMode(ref temp);
- }
-
- #endregion Public Methods
- }
-
-}
-
diff --git a/Source/Compatibility/Audio/OpenAL/Alc/Alc.cs b/Source/Compatibility/Audio/OpenAL/Alc/Alc.cs
deleted file mode 100644
index a772450c..00000000
--- a/Source/Compatibility/Audio/OpenAL/Alc/Alc.cs
+++ /dev/null
@@ -1,406 +0,0 @@
-#region --- OpenTK.OpenAL License ---
-/* AlcFunctions.cs
- * C header: \OpenAL 1.1 SDK\include\Alc.h
- * Spec: http://www.openal.org/openal_webstf/specs/OpenAL11Specification.pdf
- * Copyright (c) 2008 Christoph Brandtner and Stefanos Apostolopoulos
- * See license.txt for license details
- * http://www.OpenTK.net */
-#endregion
-
-using System;
-using System.Collections.Generic;
-using System.Runtime.InteropServices;
-using System.Security;
-
-/* Type Mapping
-// 8-bit boolean
-typedef char ALCboolean;
- * byte
-// character
-typedef char ALCchar;
- * byte
-// signed 8-bit 2's complement integer
-typedef char ALCbyte;
- * byte
-
-// unsigned 8-bit integer
-typedef unsigned char ALCubyte;
- * ubyte
-
-// signed 16-bit 2's complement integer
-typedef short ALCshort;
- * short
-
-// unsigned 16-bit integer
-typedef unsigned short ALCushort;
- * ushort
-
-// unsigned 32-bit integer
-typedef unsigned int ALCuint;
- * uint
-
-// signed 32-bit 2's complement integer
-typedef int ALCint;
- * int
-// non-negative 32-bit binary integer size
-typedef int ALCsizei;
- * int
-// enumerated 32-bit value
-typedef int ALCenum;
- * int
-
-// 32-bit IEEE754 floating-point
-typedef float ALCfloat;
- * float
-
-// 64-bit IEEE754 floating-point
-typedef double ALCdouble;
- * double
-
-// void type (for opaque pointers only)
-typedef void ALCvoid;
- * void
-
- * ALCdevice
- * ALCcontext *context
- * IntPtr
-*/
-
-namespace OpenTK.Audio
-{
-
- /// Alc = Audio Library Context
- public static class Alc
- {
- #region Constants
-
- private const string Lib = AL.Lib;
- private const CallingConvention Style = CallingConvention.Cdecl;
-
- #endregion Constants
-
- #region Context Management
-
- #region CreateContext
-
- /// This function creates a context using a specified device.
- /// a pointer to a device
- /// a pointer to a set of attributes: ALC_FREQUENCY, ALC_MONO_SOURCES, ALC_REFRESH, ALC_STEREO_SOURCES, ALC_SYNC
- /// Returns a pointer to the new context (NULL on failure). The attribute list can be NULL, or a zero terminated list of integer pairs composed of valid ALC attribute tokens and requested values.
- [DllImport(Alc.Lib, EntryPoint = "alcCreateContext", ExactSpelling = true, CallingConvention = Alc.Style), SuppressUnmanagedCodeSecurity]
- [CLSCompliant(false)]
- unsafe public static extern ContextHandle CreateContext([In] IntPtr device, [In] int* attrlist);
- // ALC_API ALCcontext * ALC_APIENTRY alcCreateContext( ALCdevice *device, const ALCint* attrlist );
-
- /// This function creates a context using a specified device.
- /// a pointer to a device
- /// an array of a set of attributes: ALC_FREQUENCY, ALC_MONO_SOURCES, ALC_REFRESH, ALC_STEREO_SOURCES, ALC_SYNC
- /// Returns a pointer to the new context (NULL on failure).
- /// The attribute list can be NULL, or a zero terminated list of integer pairs composed of valid ALC attribute tokens and requested values.
- public static ContextHandle CreateContext(IntPtr device, int[] attriblist)
- {
- unsafe
- {
- fixed (int* attriblist_ptr = attriblist)
- {
- return CreateContext(device, attriblist_ptr);
- }
- }
- }
-
- #endregion
-
- /// This function makes a specified context the current context.
- /// A pointer to the new context.
- /// Returns True on success, or False on failure.
- [DllImport(Alc.Lib, EntryPoint = "alcMakeContextCurrent", ExactSpelling = true, CallingConvention = Alc.Style), SuppressUnmanagedCodeSecurity()]
- public static extern bool MakeContextCurrent([In] ContextHandle context);
- // ALC_API ALCboolean ALC_APIENTRY alcMakeContextCurrent( ALCcontext *context );
-
- /// This function tells a context to begin processing. When a context is suspended, changes in OpenAL state will be accepted but will not be processed. alcSuspendContext can be used to suspend a context, and then all the OpenAL state changes can be applied at once, followed by a call to alcProcessContext to apply all the state changes immediately. In some cases, this procedure may be more efficient than application of properties in a non-suspended state. In some implementations, process and suspend calls are each a NOP.
- /// a pointer to the new context
- [DllImport(Alc.Lib, EntryPoint = "alcProcessContext", ExactSpelling = true, CallingConvention = Alc.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void ProcessContext([In] ContextHandle context);
- // ALC_API void ALC_APIENTRY alcProcessContext( ALCcontext *context );
-
- /// This function suspends processing on a specified context. When a context is suspended, changes in OpenAL state will be accepted but will not be processed. A typical use of alcSuspendContext would be to suspend a context, apply all the OpenAL state changes at once, and then call alcProcessContext to apply all the state changes at once. In some cases, this procedure may be more efficient than application of properties in a non-suspended state. In some implementations, process and suspend calls are each a NOP.
- /// a pointer to the context to be suspended.
- [DllImport(Alc.Lib, EntryPoint = "alcSuspendContext", ExactSpelling = true, CallingConvention = Alc.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void SuspendContext([In] ContextHandle context);
- // ALC_API void ALC_APIENTRY alcSuspendContext( ALCcontext *context );
-
- /// This function destroys a context.
- /// a pointer to the new context.
- [DllImport(Alc.Lib, EntryPoint = "alcDestroyContext", ExactSpelling = true, CallingConvention = Alc.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void DestroyContext([In] ContextHandle context);
- // ALC_API void ALC_APIENTRY alcDestroyContext( ALCcontext *context );
-
- /// This function retrieves the current context.
- /// Returns a pointer to the current context.
- [DllImport(Alc.Lib, EntryPoint = "alcGetCurrentContext", ExactSpelling = true, CallingConvention = Alc.Style), SuppressUnmanagedCodeSecurity()]
- public static extern ContextHandle GetCurrentContext();
- // ALC_API ALCcontext * ALC_APIENTRY alcGetCurrentContext( void );
-
- /// This function retrieves a context's device pointer.
- /// a pointer to a context.
- /// Returns a pointer to the specified context's device.
- [DllImport(Alc.Lib, EntryPoint = "alcGetContextsDevice", ExactSpelling = true, CallingConvention = Alc.Style), SuppressUnmanagedCodeSecurity()]
- public static extern IntPtr GetContextsDevice([In] ContextHandle context);
- // ALC_API ALCdevice* ALC_APIENTRY alcGetContextsDevice( ALCcontext *context );
-
- #endregion Context Management
-
- #region Device Management
-
- /// This function opens a device by name.
- /// a null-terminated string describing a device.
- /// Returns a pointer to the opened device. The return value will be NULL if there is an error.
- [DllImport(Alc.Lib, EntryPoint = "alcOpenDevice", ExactSpelling = true, CallingConvention = Alc.Style, CharSet = CharSet.Ansi), SuppressUnmanagedCodeSecurity()]
- public static extern IntPtr OpenDevice([In] string devicename);
- // ALC_API ALCdevice * ALC_APIENTRY alcOpenDevice( const ALCchar *devicename );
-
- /// This function closes a device by name.
- /// a pointer to an opened device
- /// True will be returned on success or False on failure. Closing a device will fail if the device contains any contexts or buffers.
- [DllImport(Alc.Lib, EntryPoint = "alcCloseDevice", ExactSpelling = true, CallingConvention = Alc.Style), SuppressUnmanagedCodeSecurity()]
- public static extern bool CloseDevice([In] IntPtr device);
- // ALC_API ALCboolean ALC_APIENTRY alcCloseDevice( ALCdevice *device );
-
- #endregion Device Management
-
- #region Error support.
-
- /// This function retrieves the current context error state.
- /// a pointer to the device to retrieve the error state from
- /// Errorcode Int32.
- [DllImport(Alc.Lib, EntryPoint = "alcGetError", ExactSpelling = true, CallingConvention = Alc.Style), SuppressUnmanagedCodeSecurity()]
- public static extern AlcError GetError([In] IntPtr device);
- // ALC_API ALCenum ALC_APIENTRY alcGetError( ALCdevice *device );
-
- #endregion Error support.
-
- #region Extension support.
-
- /// This function queries if a specified context extension is available.
- /// a pointer to the device to be queried for an extension.
- /// a null-terminated string describing the extension.
- /// Returns True if the extension is available, False if the extension is not available.
- [DllImport(Alc.Lib, EntryPoint = "alcIsExtensionPresent", ExactSpelling = true, CallingConvention = Alc.Style, CharSet = CharSet.Ansi), SuppressUnmanagedCodeSecurity()]
- public static extern bool IsExtensionPresent([In] IntPtr device, [In] string extname);
- // ALC_API ALCboolean ALC_APIENTRY alcIsExtensionPresent( ALCdevice *device, const ALCchar *extname );
-
- /// This function retrieves the address of a specified context extension function.
- /// a pointer to the device to be queried for the function.
- /// a null-terminated string describing the function.
- /// Returns the address of the function, or NULL if it is not found.
- [DllImport(Alc.Lib, EntryPoint = "alcGetProcAddress", ExactSpelling = true, CallingConvention = Alc.Style, CharSet = CharSet.Ansi), SuppressUnmanagedCodeSecurity()]
- public static extern IntPtr GetProcAddress([In] IntPtr device, [In] string funcname);
- // ALC_API void * ALC_APIENTRY alcGetProcAddress( ALCdevice *device, const ALCchar *funcname );
-
- /// This function retrieves the enum value for a specified enumeration name.
- /// a pointer to the device to be queried.
- /// a null terminated string describing the enum value.
- /// Returns the enum value described by the enumName string. This is most often used for querying an enum value for an ALC extension.
- [DllImport(Alc.Lib, EntryPoint = "alcGetEnumValue", ExactSpelling = true, CallingConvention = Alc.Style, CharSet = CharSet.Ansi), SuppressUnmanagedCodeSecurity()]
- public static extern int GetEnumValue([In] IntPtr device, [In] string enumname);
- // ALC_API ALCenum ALC_APIENTRY alcGetEnumValue( ALCdevice *device, const ALCchar *enumname );
-
- #endregion Extension support.
-
- #region Query functions
-
- [DllImport(Alc.Lib, EntryPoint = "alcGetString", ExactSpelling = true, CallingConvention = Alc.Style, CharSet = CharSet.Ansi), SuppressUnmanagedCodeSecurity()]
- private static extern IntPtr GetStringPrivate([In] IntPtr device, AlcGetString param);
- // ALC_API const ALCchar * ALC_APIENTRY alcGetString( ALCdevice *device, ALCenum param );
-
- /// This function returns pointers to strings related to the context.
- ///
- /// ALC_DEFAULT_DEVICE_SPECIFIER will return the name of the default output device.
- /// ALC_CAPTURE_DEFAULT_DEVICE_SPECIFIER will return the name of the default capture device.
- /// ALC_DEVICE_SPECIFIER will return the name of the specified output device if a pointer is supplied, or will return a list of all available devices if a NULL device pointer is supplied. A list is a pointer to a series of strings separated by NULL characters, with the list terminated by two NULL characters. See Enumeration Extension for more details.
- /// ALC_CAPTURE_DEVICE_SPECIFIER will return the name of the specified capture device if a pointer is supplied, or will return a list of all available devices if a NULL device pointer is supplied.
- /// ALC_EXTENSIONS returns a list of available context extensions, with each extension separated by a space and the list terminated by a NULL character.
- ///
- /// a pointer to the device to be queried.
- /// an attribute to be retrieved: ALC_DEFAULT_DEVICE_SPECIFIER, ALC_CAPTURE_DEFAULT_DEVICE_SPECIFIER, ALC_DEVICE_SPECIFIER, ALC_CAPTURE_DEVICE_SPECIFIER, ALC_EXTENSIONS
- /// A string containing the name of the Device.
- public static string GetString(IntPtr device, AlcGetString param)
- {
- return Marshal.PtrToStringAnsi(GetStringPrivate(device, param));
- }
-
- /// This function returns a List of strings related to the context.
- ///
- /// ALC_DEVICE_SPECIFIER will return the name of the specified output device if a pointer is supplied, or will return a list of all available devices if a NULL device pointer is supplied. A list is a pointer to a series of strings separated by NULL characters, with the list terminated by two NULL characters. See Enumeration Extension for more details.
- /// ALC_CAPTURE_DEVICE_SPECIFIER will return the name of the specified capture device if a pointer is supplied, or will return a list of all available devices if a NULL device pointer is supplied.
- /// ALC_EXTENSIONS returns a list of available context extensions, with each extension separated by a space and the list terminated by a NULL character.
- ///
- /// a pointer to the device to be queried.
- /// an attribute to be retrieved: ALC_DEVICE_SPECIFIER, ALC_CAPTURE_DEVICE_SPECIFIER, ALC_ALL_DEVICES_SPECIFIER
- /// A List of strings containing the names of the Devices.
- public static IList GetString(IntPtr device, AlcGetStringList param)
- {
- List result = new List();
- IntPtr t = GetStringPrivate(IntPtr.Zero, (AlcGetString)param);
- System.Text.StringBuilder sb = new System.Text.StringBuilder();
- byte b;
- int offset = 0;
- do
- {
- b = Marshal.ReadByte(t, offset++);
- if (b != 0)
- sb.Append((char)b);
- if (b == 0)
- {
- result.Add(sb.ToString());
- if (Marshal.ReadByte(t, offset) == 0) // offset already properly increased through ++
- break; // 2x null
- else
- sb.Remove(0, sb.Length); // 1x null
- }
- } while (true);
-
- return (IList)result;
- }
-
- [DllImport(Alc.Lib, EntryPoint = "alcGetIntegerv", ExactSpelling = true, CallingConvention = Alc.Style, CharSet = CharSet.Ansi), SuppressUnmanagedCodeSecurity()]
- unsafe static extern void GetInteger(IntPtr device, AlcGetInteger param, int size, int* data);
- // ALC_API void ALC_APIENTRY alcGetIntegerv( ALCdevice *device, ALCenum param, ALCsizei size, ALCint *buffer );
-
- /// This function returns integers related to the context.
- /// a pointer to the device to be queried.
- /// an attribute to be retrieved: ALC_MAJOR_VERSION, ALC_MINOR_VERSION, ALC_ATTRIBUTES_SIZE, ALC_ALL_ATTRIBUTES
- /// the size of the destination buffer provided, in number of integers.
- /// a pointer to the buffer to be returned
- public static void GetInteger(IntPtr device, AlcGetInteger param, int size, out int data)
- {
- unsafe
- {
- fixed (int* data_ptr = &data)
- {
- GetInteger(device, param, size, data_ptr);
- }
- }
- }
-
- /// This function returns integers related to the context.
- /// a pointer to the device to be queried.
- /// an attribute to be retrieved: ALC_MAJOR_VERSION, ALC_MINOR_VERSION, ALC_ATTRIBUTES_SIZE, ALC_ALL_ATTRIBUTES
- /// the size of the destination buffer provided, in number of integers.
- /// a pointer to the buffer to be returned
- public static void GetInteger(IntPtr device, AlcGetInteger param, int size, int[] data)
- {
- unsafe
- {
- fixed (int* data_ptr = data)
- {
- GetInteger(device, param, size, data_ptr);
- }
- }
- }
-
- #endregion Query functions
-
- #region Capture functions
-
- /// This function opens a capture device by name.
- /// a pointer to a device name string.
- /// the frequency that the buffer should be captured at.
- /// the requested capture buffer format.
- /// the size of the capture buffer in samples, not bytes.
- /// Returns the capture device pointer, or NULL on failure.
- [CLSCompliant(false), DllImport(Alc.Lib, EntryPoint = "alcCaptureOpenDevice", ExactSpelling = true, CallingConvention = Alc.Style, CharSet = CharSet.Ansi), SuppressUnmanagedCodeSecurity()]
- public static extern IntPtr CaptureOpenDevice(string devicename, uint frequency, ALFormat format, int buffersize);
-
- /// This function opens a capture device by name.
- /// a pointer to a device name string.
- /// the frequency that the buffer should be captured at.
- /// the requested capture buffer format.
- /// the size of the capture buffer in samples, not bytes.
- /// Returns the capture device pointer, or NULL on failure.
- [DllImport(Alc.Lib, EntryPoint = "alcCaptureOpenDevice", ExactSpelling = true, CallingConvention = Alc.Style, CharSet = CharSet.Ansi), SuppressUnmanagedCodeSecurity()]
- public static extern IntPtr CaptureOpenDevice(string devicename, int frequency, ALFormat format, int buffersize);
-
- // ALC_API ALCdevice* ALC_APIENTRY alcCaptureOpenDevice( const ALCchar *devicename, ALCuint frequency, ALCenum format, ALCsizei buffersize );
-
- /// This function closes the specified capture device.
- /// a pointer to a capture device.
- /// Returns True if the close operation was successful, False on failure.
- [DllImport(Alc.Lib, EntryPoint = "alcCaptureCloseDevice", ExactSpelling = true, CallingConvention = Alc.Style), SuppressUnmanagedCodeSecurity()]
- public static extern bool CaptureCloseDevice([In] IntPtr device);
- // ALC_API ALCboolean ALC_APIENTRY alcCaptureCloseDevice( ALCdevice *device );
-
- /// This function begins a capture operation.
- /// alcCaptureStart will begin recording to an internal ring buffer of the size specified when opening the capture device. The application can then retrieve the number of samples currently available using the ALC_CAPTURE_SAPMPLES token with alcGetIntegerv. When the application determines that enough samples are available for processing, then it can obtain them with a call to alcCaptureSamples.
- /// a pointer to a capture device.
- [DllImport(Alc.Lib, EntryPoint = "alcCaptureStart", ExactSpelling = true, CallingConvention = Alc.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void CaptureStart([In] IntPtr device);
- // ALC_API void ALC_APIENTRY alcCaptureStart( ALCdevice *device );
-
- /// This function stops a capture operation.
- /// a pointer to a capture device.
- [DllImport(Alc.Lib, EntryPoint = "alcCaptureStop", ExactSpelling = true, CallingConvention = Alc.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void CaptureStop([In] IntPtr device);
- // ALC_API void ALC_APIENTRY alcCaptureStop( ALCdevice *device );
-
- /// This function completes a capture operation, and does not block.
- /// a pointer to a capture device.
- /// a pointer to a buffer, which must be large enough to accommodate the number of samples.
- /// the number of samples to be retrieved.
- [DllImport(Alc.Lib, EntryPoint = "alcCaptureSamples", ExactSpelling = true, CallingConvention = Alc.Style), SuppressUnmanagedCodeSecurity()]
- public static extern void CaptureSamples(IntPtr device, IntPtr buffer, int samples);
- // ALC_API void ALC_APIENTRY alcCaptureSamples( ALCdevice *device, ALCvoid *buffer, ALCsizei samples );
-
- /// This function completes a capture operation, and does not block.
- /// a pointer to a capture device.
- /// a reference to a buffer, which must be large enough to accommodate the number of samples.
- /// the number of samples to be retrieved.
- public static void CaptureSamples(IntPtr device, ref T buffer, int samples)
- where T : struct
- {
- GCHandle handle = GCHandle.Alloc(buffer, GCHandleType.Pinned);
- try
- {
- CaptureSamples(device, handle.AddrOfPinnedObject(), samples);
- }
- finally
- {
- handle.Free();
- }
- }
-
- /// This function completes a capture operation, and does not block.
- /// a pointer to a capture device.
- /// a buffer, which must be large enough to accommodate the number of samples.
- /// the number of samples to be retrieved.
- public static void CaptureSamples(IntPtr device, T[] buffer, int samples)
- where T : struct
- {
- CaptureSamples(device, ref buffer[0], samples);
- }
-
- /// This function completes a capture operation, and does not block.
- /// a pointer to a capture device.
- /// a buffer, which must be large enough to accommodate the number of samples.
- /// the number of samples to be retrieved.
- public static void CaptureSamples(IntPtr device, T[,] buffer, int samples)
- where T : struct
- {
- CaptureSamples(device, ref buffer[0, 0], samples);
- }
-
- /// This function completes a capture operation, and does not block.
- /// a pointer to a capture device.
- /// a buffer, which must be large enough to accommodate the number of samples.
- /// the number of samples to be retrieved.
- public static void CaptureSamples(IntPtr device, T[,,] buffer, int samples)
- where T : struct
- {
- CaptureSamples(device, ref buffer[0, 0, 0], samples);
- }
-
- #endregion Capture functions
-
- }
-
-}
\ No newline at end of file
diff --git a/Source/Compatibility/Audio/OpenAL/Alc/AlcEnums.cs b/Source/Compatibility/Audio/OpenAL/Alc/AlcEnums.cs
deleted file mode 100644
index 9c1dba7c..00000000
--- a/Source/Compatibility/Audio/OpenAL/Alc/AlcEnums.cs
+++ /dev/null
@@ -1,135 +0,0 @@
-#region --- OpenTK.OpenAL License ---
-/* AlcTokens.cs
- * C header: \OpenAL 1.1 SDK\include\Alc.h
- * Spec: http://www.openal.org/openal_webstf/specs/OpenAL11Specification.pdf
- * Copyright (c) 2008 Christoph Brandtner and Stefanos Apostolopoulos
- * See license.txt for license details
- * http://www.OpenTK.net */
-#endregion
-
-using System;
-
-namespace OpenTK.Audio
-{
- ///
- /// Defines available context attributes.
- ///
- public enum AlcContextAttributes : int
- {
- ///Followed by System.Int32 Hz
- Frequency = 0x1007,
-
- ///Followed by System.Int32 Hz
- Refresh = 0x1008,
-
- ///Followed by AlBoolean.True, or AlBoolean.False
- Sync = 0x1009,
-
- ///Followed by System.Int32 Num of requested Mono (3D) Sources
- MonoSources = 0x1010,
-
- ///Followed by System.Int32 Num of requested Stereo Sources
- StereoSources = 0x1011,
-
- /// (EFX Extension) This Context property can be passed to OpenAL during Context creation (alcCreateContext) to request a maximum number of Auxiliary Sends desired on each Source. It is not guaranteed that the desired number of sends will be available, so an application should query this property after creating the context using alcGetIntergerv. Default: 2
- EfxMaxAuxiliarySends = 0x20003,
- }
-
- ///
- /// Defines OpenAL context errors.
- ///
- public enum AlcError : int
- {
- ///There is no current error.
- NoError = 0,
-
- ///No Device. The device handle or specifier names an inaccessible driver/server.
- InvalidDevice = 0xA001,
-
- ///Invalid context ID. The Context argument does not name a valid context.
- InvalidContext = 0xA002,
-
- ///Bad enum. A token used is not valid, or not applicable.
- InvalidEnum = 0xA003,
-
- ///Bad value. A value (e.g. Attribute) is not valid, or not applicable.
- InvalidValue = 0xA004,
-
- ///Out of memory. Unable to allocate memory.
- OutOfMemory = 0xA005,
- }
-
- ///
- /// Defines available parameters for .
- ///
- public enum AlcGetString : int
- {
- ///The specifier string for the default device.
- DefaultDeviceSpecifier = 0x1004,
-
- ///A list of available context extensions separated by spaces.
- Extensions = 0x1006,
-
- ///The name of the default capture device
- CaptureDefaultDeviceSpecifier = 0x311, // ALC_EXT_CAPTURE extension.
-
- /// a list of the default devices.
- DefaultAllDevicesSpecifier = 0x1012,
-
- // duplicates from AlcGetStringList:
-
- ///Will only return the first Device, not a list. Use AlcGetStringList.CaptureDeviceSpecifier. ALC_EXT_CAPTURE_EXT
- CaptureDeviceSpecifier = 0x310,
-
- ///Will only return the first Device, not a list. Use AlcGetStringList.DeviceSpecifier
- DeviceSpecifier = 0x1005,
-
- /// Will only return the first Device, not a list. Use AlcGetStringList.AllDevicesSpecifier
- AllDevicesSpecifier = 0x1013,
- }
-
- ///
- /// Defines available parameters for .
- ///
- public enum AlcGetStringList : int
- {
- ///The name of the specified capture device, or a list of all available capture devices if no capture device is specified. ALC_EXT_CAPTURE_EXT
- CaptureDeviceSpecifier = 0x310,
-
- ///The specifier strings for all available devices. ALC_ENUMERATION_EXT
- DeviceSpecifier = 0x1005,
-
- /// The specifier strings for all available devices. ALC_ENUMERATE_ALL_EXT
- AllDevicesSpecifier = 0x1013,
- }
-
- ///
- /// Defines available parameters for .
- ///
- public enum AlcGetInteger : int
- {
- ///The specification revision for this implementation (major version). NULL is an acceptable device.
- MajorVersion = 0x1000,
-
- ///The specification revision for this implementation (minor version). NULL is an acceptable device.
- MinorVersion = 0x1001,
-
- ///The size (number of ALCint values) required for a zero-terminated attributes list, for the current context. NULL is an invalid device.
- AttributesSize = 0x1002,
-
- ///Expects a destination of ALC_ATTRIBUTES_SIZE, and provides an attribute list for the current context of the specified device. NULL is an invalid device.
- AllAttributes = 0x1003,
-
- ///The number of capture samples available. NULL is an invalid device.
- CaptureSamples = 0x312,
-
- /// (EFX Extension) This property can be used by the application to retrieve the Major version number of the Effects Extension supported by this OpenAL implementation. As this is a Context property is should be retrieved using alcGetIntegerv.
- EfxMajorVersion = 0x20001,
-
- /// (EFX Extension) This property can be used by the application to retrieve the Minor version number of the Effects Extension supported by this OpenAL implementation. As this is a Context property is should be retrieved using alcGetIntegerv.
- EfxMinorVersion = 0x20002,
-
- /// (EFX Extension) This Context property can be passed to OpenAL during Context creation (alcCreateContext) to request a maximum number of Auxiliary Sends desired on each Source. It is not guaranteed that the desired number of sends will be available, so an application should query this property after creating the context using alcGetIntergerv. Default: 2
- EfxMaxAuxiliarySends = 0x20003,
- }
-}
diff --git a/Source/Compatibility/Audio/OpenAL/Alut/Alut.cs b/Source/Compatibility/Audio/OpenAL/Alut/Alut.cs
deleted file mode 100644
index 24fc82dc..00000000
--- a/Source/Compatibility/Audio/OpenAL/Alut/Alut.cs
+++ /dev/null
@@ -1,172 +0,0 @@
-#region --- OpenTK.OpenAL License ---
-/* AlutFunctions.cs
- * C header: \freealut-1.1.0-src\include\AL\Alut.h
- * Spec: http://www.openal.org/openal_webstf/specs/alut.html
- * Copyright (c) 2008 Christoph Brandtner and Stefanos Apostolopoulos
- * See license.txt for license details
- * http://www.OpenTK.net */
-#endregion
-
-using System;
-using System.Runtime.InteropServices;
-using System.Security;
-
-namespace OpenTK.Audio
-{
-
- /// Alut, FreeAlut = Free Audio Library Utilities
- [Obsolete("Use OpenTK.Audio.AudioContext and OpenTK.Audio.Alc instead.")]
- public static class Alut
- {
- #region Constants
-
- private const string Lib = "alut.dll";
- private const CallingConvention Style = CallingConvention.Cdecl;
-
- #endregion Constants
-
- #region Init/Exit
-
- /// Alut.Init initializes the ALUT internals and creates an OpenAL context on the default device and makes it the current OpenAL context. If you want something more complex than that (e.g. running on a non-default device or opening multiple contexts on multiple devices), you can use alutInitWithoutContext instead. alutInit examines the commandline arguments passed to it and remove those it recognizes. It is acceptable to pass two NULL pointers in settings where no useful information can be obtained from argc and argv.
- /// Application Main Parameters. Can be IntPtr.Zero.
- /// Application Main Parameters. Can be IntPtr.Zero.
- /// Success.
- [DllImport(Alut.Lib, EntryPoint = "alutInit", ExactSpelling = true, CallingConvention = Alut.Style), SuppressUnmanagedCodeSecurity()]
- public static extern bool Init([In] IntPtr argcp, [In] IntPtr argv);
- // ALUT_API ALboolean ALUT_APIENTRY alutInit (int *argcp, char **argv);
-
- /// Parameterless function for convenience. Internally passes IntPtr.Zero as parameters.
- /// Success.
- public static bool Init() // overload for convenience
- {
- return Init(IntPtr.Zero, IntPtr.Zero);
- }
-
- /// Alut.InitWithoutContext initializes the ALUT internals. It does not create any OpenAL context or device, so this has to be done via the usual ALC calls. alutInitWithoutContext examines the commandline arguments passed to it and remove those it recognizes. It is acceptable to pass two NULL pointers in settings where no useful information can be obtained from argc and argv.
- /// Application Main Parameters
- /// Application Main Parameters
- /// Success.
- [DllImport(Alut.Lib, EntryPoint = "alutInitWithoutContext", ExactSpelling = true, CallingConvention = Alut.Style), SuppressUnmanagedCodeSecurity()]
- public static extern bool InitWithoutContext([In] IntPtr argcp, [In] IntPtr argv);
- // ALUT_API ALboolean ALUT_APIENTRY alutInitWithoutContext (int *argcp, char **argv);
-
- /// Alut.InitWithoutContext initializes the ALUT internals. It does not create any OpenAL context or device, so this has to be done via the usual ALC calls. alutInitWithoutContext examines the commandline arguments passed to it and remove those it recognizes. It is acceptable to pass two NULL pointers in settings where no useful information can be obtained from argc and argv.
- /// Success.
- public static bool InitWithoutContext() // overload for convenience
- {
- return InitWithoutContext(IntPtr.Zero, IntPtr.Zero);
- }
-
- /// When the application has finished playing audio, it should shut down ALUT using Alut.Exit. This closes any OpenAL device/context that ALUT may have created in alutInit (but not any that the application created using ALC). After calling alutExit, you may subsequently call alutInit or alutInitWithoutContext again. Note that under well-behaved operating systems, it should be acceptable to simply exit from your program without bothering to call alutExit, relying on the OS to clean up after you. However, it is dangerous to rely on this behavior if portable operation is expected.
- /// Success.
- [DllImport(Alut.Lib, EntryPoint = "alutExit", ExactSpelling = true, CallingConvention = Alut.Style), SuppressUnmanagedCodeSecurity()]
- public static extern bool Exit();
- // ALUT_API ALboolean ALUT_APIENTRY alutExit (void);
-
- #endregion Init/Exit
-
- #region Error Checking
-
- /// Any ALUT routine that fails will return AL_FALSE / AL_NONE / NULL and set the global error state. If a subsequent error occurs while there is still an error recorded internally, the second error will simply be ignored. Calling alutGetError will reset the error code to ALUT_ERROR_NO_ERROR. Note that the error state is not cleared by other successful ALUT calls. Alut.GetError can be called in any ALUT state and will never fail.
- ///
- [DllImport(Alut.Lib, EntryPoint = "alutGetError", ExactSpelling = true, CallingConvention = Alut.Style), SuppressUnmanagedCodeSecurity()]
- public static extern AlutError GetError();
- // ALUT_API ALenum ALUT_APIENTRY alutGetError (void);
-
- [DllImport(Alut.Lib, EntryPoint = "alutGetErrorString", ExactSpelling = true, CallingConvention = Alut.Style, CharSet = CharSet.Ansi), SuppressUnmanagedCodeSecurity()]
- private static extern IntPtr GetErrorStringPrivate(AlutError error);
- // ALUT_API const char *ALUT_APIENTRY alutGetErrorString (ALenum error);
-
- /// Alut.GetErrorString can be used to convert an error code into a human-readable description. The precise text of these descriptions may vary from implementation to implementation and should not be relied upon by the application.
- /// Retrieve first occured error with Alut.GetError
- /// A human-readable description of the Error.
- public static string GetErrorString(AlutError error)
- {
- return Marshal.PtrToStringAnsi(GetErrorStringPrivate(error));
- }
-
- #endregion Error Checking
-
- #region File Loading
-
- /// Alut.CreateBufferFromFile tries to guess the sound buffer format by looking at the filename and/or the file contents and loads the sound buffer into an OpenAL buffer.
- /// The file to be loaded
- /// OpenAL Buffer, 0 on failure.
- [CLSCompliant(false), DllImport(Alut.Lib, EntryPoint = "alutCreateBufferFromFile", ExactSpelling = true, CallingConvention = Alut.Style, CharSet = CharSet.Ansi), SuppressUnmanagedCodeSecurity()]
- public static extern uint CreateBufferFromFile([In] string filename);
- // ALUT_API ALuint ALUT_APIENTRY alutCreateBufferFromFile (const char *fileName);
-
- /// Alut.CreateBufferFromFileImage tries to guess the sound buffer format by looking at the contents of the memory region given as parameters and loads the sound buffer into an OpenAL buffer.
- /// A Pointer to the sound buffer in memory.
- /// Size in Bytes of the sound buffer.
- /// OpenAL Buffer, 0 on failure.
- [CLSCompliant(false), DllImport(Alut.Lib, EntryPoint = "alutCreateBufferFromFileImage", ExactSpelling = true, CallingConvention = Alut.Style), SuppressUnmanagedCodeSecurity()]
- public static extern uint CreateBufferFromFileImage([In] IntPtr buffer, int length);
- // ALUT_API ALuint ALUT_APIENTRY alutCreateBufferFromFileImage (const ALvoid *buffer, ALsizei length);
-
-
- /// Alut.CreateBufferHelloWorld returns a handle to an OpenAL buffer containing the sound of someone saying 'Hello, world!'.
- /// OpenAL Buffer, 0 on failure.
- [CLSCompliant(false), DllImport(Alut.Lib, EntryPoint = "alutCreateBufferHelloWorld", ExactSpelling = true, CallingConvention = Alut.Style), SuppressUnmanagedCodeSecurity()]
- public static extern uint CreateBufferHelloWorld();
- //ALUT_API ALuint ALUT_APIENTRY alutCreateBufferHelloWorld (void);
-
- /// Alut.CreateBufferWaveform returns a handle to an OpenAL buffer containing a snippet of audio with the specified waveshape at the specified frequency (in hertz), phase (in degrees: -180 to +180) and duration (in seconds).
- ///
- /// Frequency in hertz [Hz].
- /// Phase (in degrees: -180 to +180)
- /// Duration (in seconds)
- /// OpenAL Buffer, 0 on failure.
- [CLSCompliant(false), DllImport(Alut.Lib, EntryPoint = "alutCreateBufferWaveform", ExactSpelling = true, CallingConvention = Alut.Style), SuppressUnmanagedCodeSecurity()]
- public static extern uint CreateBufferWaveform(AlutWaveform waveshape, float frequency, float phase, float duration);
- // ALUT_API ALuint ALUT_APIENTRY alutCreateBufferWaveform (ALenum waveshape, ALfloat frequency, ALfloat phase, ALfloat duration);
-
- // Warning: these leak memory if not properly free'd
- // ALUT_API ALvoid *ALUT_APIENTRY alutLoadMemoryFromFile (const char *fileName, ALenum *format, ALsizei *size, ALfloat *frequency);
- // ALUT_API ALvoid *ALUT_APIENTRY alutLoadMemoryFromFileImage (const ALvoid *buffer, ALsizei length, ALenum *format, ALsizei *size, ALfloat *frequency);
- // ALUT_API ALvoid *ALUT_APIENTRY alutLoadMemoryHelloWorld (ALenum *format, ALsizei *size, ALfloat *frequency);
- // ALUT_API ALvoid *ALUT_APIENTRY alutLoadMemoryWaveform (ALenum waveshape, ALfloat frequency, ALfloat phase, ALfloat duration, ALenum *format, ALsizei *size, ALfloat *freq);
-
- #endregion File Loading
-
- #region Misc
- [DllImport(Alut.Lib, EntryPoint = "alutGetMIMETypes", ExactSpelling = true, CallingConvention = Alut.Style, CharSet = CharSet.Ansi), SuppressUnmanagedCodeSecurity()]
- private static extern IntPtr GetMIMETypesPrivate(AlutLoader loader);
- // ALUT_API const char *ALUT_APIENTRY alutGetMIMETypes (ALenum loader);
-
- /// Alut.GetMIMETypes returns a comma-separated list of supported MIME types for the given loader type, e.g. something like "audio/basic,audio/mpeg,audio/x-wav".
- /// It is possible that AlutLoader.Memory loaders will be unable to support some file types that AlutLoader.Buffer loaders can support (although the reverse is never the case). Furthermore, it is possible that for some file types (notably audio/x-wav) the support may be only for a few sub-formats. For example, an implementation may advertise that audio/x-wav is supported when in fact it only supports uncompressed (i.e. PCM) WAV files and not any of the compressed subformats. In this event, the various ALUT loaders may return an error and set ALUT_ERROR_UNSUPPORTED_FILE_SUBTYPE rather than ALUT_ERROR_UNSUPPORTED_FILE_TYPE which would indicate that no files of this type are allowed.
- ///
- ///
- /// A comma-separated list of supported MIME types.
- public static string GetMIMETypes(AlutLoader loader)
- {
- return Marshal.PtrToStringAnsi(GetMIMETypesPrivate(loader));
- }
-
- /// Alut.GetMajorVersion returns the major version number of the ALUT in use, which will match the major version number of the corresponding ALUT specification document. Can be compared using AlutVersions.
- /// Major Version Number.
- [DllImport(Alut.Lib, EntryPoint = "alutGetMajorVersion", ExactSpelling = true, CallingConvention = Alut.Style), SuppressUnmanagedCodeSecurity()]
- public static extern int GetMajorVersion();
- // ALUT_API ALint ALUT_APIENTRY alutGetMajorVersion (void);
-
- /// Alut.GetMinorVersion returns the minor version number of the ALUT in use, which will match the minor version number of the corresponding ALUT specification document. Can be compared using AlutVersions.
- /// Minor Version Number.
- [DllImport(Alut.Lib, EntryPoint = "alutGetMinorVersion", ExactSpelling = true, CallingConvention = Alut.Style), SuppressUnmanagedCodeSecurity()]
- public static extern int GetMinorVersion();
- // ALUT_API ALint ALUT_APIENTRY alutGetMinorVersion (void);
-
- /*
- /// Alut.Sleep will delay the execution of the current thread for at least the given amount of seconds. It will only return earlier if a signal has been delivered to the thread, but this does not count as an error. Note that sleeping for zero seconds will give other runnable threads a chance to run.
- /// Having a general utility function like the following in an audio-related toolkit might seem strange at first, but sleeping is a common task in a lot of audio demos and it can't be done portably without cluttering the source code with #ifdefs.
- ///
- /// Number of seconds. May not be negative.
- /// Success.
- [DllImport( Alut.Lib, EntryPoint = "alutSleep", ExactSpelling = true, CallingConvention = Alut.Style ), SuppressUnmanagedCodeSecurity( )]
- public static extern bool Sleep( float duration );
- // ALUT_API ALboolean ALUT_APIENTRY alutSleep (ALfloat duration);
- */
- #endregion Misc
- }
-
-}
diff --git a/Source/Compatibility/Audio/OpenAL/Alut/AlutEnums.cs b/Source/Compatibility/Audio/OpenAL/Alut/AlutEnums.cs
deleted file mode 100644
index 4555fd13..00000000
--- a/Source/Compatibility/Audio/OpenAL/Alut/AlutEnums.cs
+++ /dev/null
@@ -1,98 +0,0 @@
-#region --- OpenTK.OpenAL License ---
-/* AlutTokens.cs
- * C header: \freealut-1.1.0-src\include\AL\Alut.h
- * Spec: http://www.openal.org/openal_webstf/specs/alut.html
- * Copyright (c) 2008 Christoph Brandtner and Stefanos Apostolopoulos
- * See license.txt for license details
- * http://www.OpenTK.net */
-#endregion
-
-using System;
-
-namespace OpenTK.Audio
-{
- ///
- /// Defines the version of the Alut library.
- ///
- public enum AlutVersions : int
- {
- /// Defines the A in OpenAL A.B
- ApiMajorVersion = 1,
- /// Defines the B in OpenAL A.B
- ApiMinorVersion = 1,
- }
-
- ///
- /// Defines available alut error codes.
- ///
- public enum AlutError : int
- {
- /// No ALUT error found.
- NoError = 0,
- /// ALUT ran out of memory.
- OutOfMemory = 0x200,
- /// ALUT was given an invalid enumeration token.
- InvalidEnum = 0x201,
- /// ALUT was given an invalid value.
- InvalidValue = 0x202,
- /// The operation is invalid in the current ALUT state.
- InvalidOperation = 0x203,
- /// There is no current AL context.
- NoCurrentContext = 0x204,
- /// There was already an AL error on entry to an ALUT function.
- AlErrorOnEntry = 0x205,
- /// There was already an ALC error on entry to an ALUT function.
- AlcErrorOnEntry = 0x206,
- /// There was an error opening the ALC device.
- OpenDevice = 0x207,
- /// There was an error closing the ALC device.
- CloseDevice = 0x208,
- /// There was an error creating an ALC context.
- CreateContext = 0x209,
- /// Could not change the current ALC context.
- MakeContextCurrent = 0x20A,
- /// There was an error destroying the ALC context.
- DestroyContext = 0x20B,
- /// There was an error generating an AL buffer.
- GenBuffers = 0x20C,
- /// There was an error passing buffer buffer to AL.
- BufferData = 0x20D,
- /// I/O error, consult errno for more details.
- IoError = 0x20E,
- /// Unsupported file type.
- UnsupportedFileType = 0x20F,
- /// Unsupported mode within an otherwise usable file type.
- UnsupportedFileSubtype = 0x210,
- /// The sound buffer was corrupt or truncated.
- CorruptOrTruncatedData = 0x211,
- }
-
- ///
- /// Defines available alut waveform types.
- ///
- public enum AlutWaveform : int
- {
- /// A sine waveform
- Sine = 0x100,
- /// A square waveform
- Square = 0x101,
- /// A sawtooth waveform
- SawTooth = 0x102,
- /// A waveform containing white noise
- WhiteNoise = 0x103,
- /// A waveform containing an impusle
- Impulse = 0x104,
- }
-
- ///
- /// Defines parameters for alut loaders.
- ///
- public enum AlutLoader : int
- {
- ///For the loaders returning sound buffer in an OpenAL buffer, e.g. Alut.CreateBufferFromFile and Alut.CreateBufferFromFileImage
- Buffer = 0x300,
- ///For the loaders returning sound buffer in a newly allocated memory region, e.g. Alut.LoadMemoryFromFile and Alut.LoadMemoryFromFileImage.
- Memory = 0x301,
- }
-
-}
diff --git a/Source/Compatibility/Audio/Sound.cs b/Source/Compatibility/Audio/Sound.cs
deleted file mode 100644
index 19863266..00000000
--- a/Source/Compatibility/Audio/Sound.cs
+++ /dev/null
@@ -1,87 +0,0 @@
-#region --- License ---
-/* Licensed under the MIT/X11 license.
- * Copyright (c) 2006-2008 the OpenTK Team.
- * This notice may not be removed from any source distribution.
- * See license.txt for licensing details.
- */
-#endregion
-
-using System;
-using System.Collections.Generic;
-using System.Text;
-using System.IO;
-
-namespace OpenTK.Audio
-{
-#if false
- /// Defines methods to load and hold sound buffer.
- public class Sound : IDisposable
- {
- bool disposed;
- SoundReader reader;
- SoundData data;
-
- public Sound(Stream s)
- {
- if (s == null) throw new ArgumentNullException("s", "Must be a valid System.IO.Stream.");
-
- reader = SoundReader.Create(s);
- }
-
- public Sound(string filename)
- {
- if (String.IsNullOrEmpty(filename)) throw new ArgumentNullException("s", "Must be a valid System.IO.Stream.");
-
- reader = SoundReader.Create(filename);
- }
-
- #region --- Public Members ---
-
- public SoundData ReadSamples(int count)
- {
- if (count <= 0) throw new ArgumentOutOfRangeException("count", "Must be larger than zero.");
- throw new NotImplementedException();
- }
-
- public SoundData ReadToEnd()
- {
- return reader.ReadToEnd();
- }
-
- public SoundData SoundData { get { return data; } }
-
- public void WriteToBuffer(int buffer, int length)
- {
- if (buffer == 0) throw new ArgumentOutOfRangeException("buffer", "May not be zero.");
- }
-
- #endregion
-
- #region --- IDisposable Members ---
-
- /// Disposes of the sound buffer.
- public void Dispose()
- {
- this.Dispose(true);
- GC.SuppressFinalize(this);
- }
-
- private void Dispose(bool manual)
- {
- if (!disposed)
- {
- if (manual)
- reader.Dispose();
- disposed = true;
- }
- }
-
- ~Sound()
- {
- this.Dispose(false);
- }
-
- #endregion
- }
-#endif
-}
diff --git a/Source/Compatibility/Audio/SoundData.cs b/Source/Compatibility/Audio/SoundData.cs
deleted file mode 100644
index 7bb4c506..00000000
--- a/Source/Compatibility/Audio/SoundData.cs
+++ /dev/null
@@ -1,66 +0,0 @@
-#region License
-//
-// The Open Toolkit Library License
-//
-// Copyright (c) 2006 - 2009 the Open Toolkit library.
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights to
-// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-// the Software, and to permit persons to whom the Software is furnished to do
-// so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-// OTHER DEALINGS IN THE SOFTWARE.
-//
-#endregion
-
-
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-namespace OpenTK.Audio
-{
- /// Encapsulates a pointer to a decoded sound buffer.
- public class SoundData
- {
- byte[] buffer;
- SoundFormat format;
-
- #region --- Constructors ---
-
- ///
- /// Constructs a new SoundData object.
- /// The SoundFormat of these SoundData.
- /// An array of PCM buffer.
- internal SoundData(SoundFormat format, byte[] data)
- {
- if (data == null) throw new ArgumentNullException("buffer", "Must be a valid array of samples.");
- if (data.Length == 0) throw new ArgumentOutOfRangeException("buffer", "Data length must be higher than 0.");
-
- this.SoundFormat = format;
-
- buffer = new byte[data.Length];
- Array.Copy(data, buffer, data.Length);
- }
-
- #endregion
-
- /// Gets the raw PCM buffer.
- public byte[] Data { get { return buffer; } internal set { buffer = value; } }
-
- /// Gets the SoundFormat of the SoundData.
- public SoundFormat SoundFormat { get { return format; } internal set { format = value; } }
- }
-}
diff --git a/Source/Compatibility/Audio/SoundFormat.cs b/Source/Compatibility/Audio/SoundFormat.cs
deleted file mode 100644
index 67330814..00000000
--- a/Source/Compatibility/Audio/SoundFormat.cs
+++ /dev/null
@@ -1,105 +0,0 @@
-#region License
-//
-// The Open Toolkit Library License
-//
-// Copyright (c) 2006 - 2009 the Open Toolkit library.
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights to
-// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-// the Software, and to permit persons to whom the Software is furnished to do
-// so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-// OTHER DEALINGS IN THE SOFTWARE.
-//
-#endregion
-
-
-using System;
-
-namespace OpenTK.Audio
-{
- /// Describes the format of the SoundData.
- public struct SoundFormat
- {
- #region --- Constructors ---
-
- /// Constructs a new SoundFormat.
- public SoundFormat(int channels, int bitsPerSample, int sampleRate)
- {
- if (sampleRate <= 0) throw new ArgumentOutOfRangeException("sampleRate", "Must be higher than 0.");
-
- SampleFormat = 0;
-
- switch (channels)
- {
- case 1:
- if (bitsPerSample == 8) SampleFormat = SampleFormat.Mono8;
- else if (bitsPerSample == 16) SampleFormat = SampleFormat.Mono16;
- break;
-
- case 2:
- if (bitsPerSample == 8) SampleFormat = SampleFormat.Stereo8;
- else if (bitsPerSample == 16) SampleFormat = SampleFormat.Stereo16;
- break;
- }
- SampleRate = sampleRate;
- }
-
- #endregion
-
- #region --- Public Members ---
-
- /// Describes the SampleFormat of the SoundData.
- public readonly SampleFormat SampleFormat;
-
- /// Describes the sample rate (frequency) of the SoundData.
- public readonly int SampleRate;
-
- /// Gets the SampleFormat of the buffer as an OpenTK.Audio.ALFormat enumeration.
- public OpenTK.Audio.ALFormat SampleFormatAsOpenALFormat
- {
- get
- {
- switch (SampleFormat)
- {
- case SampleFormat.Mono8: return OpenTK.Audio.ALFormat.Mono8;
- case SampleFormat.Mono16: return OpenTK.Audio.ALFormat.Mono16;
- case SampleFormat.Stereo8: return OpenTK.Audio.ALFormat.Stereo8;
- case SampleFormat.Stereo16: return OpenTK.Audio.ALFormat.Stereo16;
- default: throw new NotSupportedException("Unknown PCM SampleFormat.");
- }
- }
- }
-
- #endregion
- }
-
- #region public enum SampleFormat
-
- /// Defines the available formats for SoundData.
- public enum SampleFormat
- {
- /// 8 bits per sample, 1 channel.
- Mono8 = OpenTK.Audio.ALFormat.Mono8,
- /// 16 bits per sample, 1 channel.
- Mono16 = OpenTK.Audio.ALFormat.Mono16,
- /// 8 bits per sample, 2 channels.
- Stereo8 = OpenTK.Audio.ALFormat.Stereo8,
- /// 16 bits per sample, 2 channels.
- Stereo16 = OpenTK.Audio.ALFormat.Stereo16
- }
-
- #endregion
-}
\ No newline at end of file
diff --git a/Source/Compatibility/Audio/WaveReader.cs b/Source/Compatibility/Audio/WaveReader.cs
deleted file mode 100644
index 18942e55..00000000
--- a/Source/Compatibility/Audio/WaveReader.cs
+++ /dev/null
@@ -1,266 +0,0 @@
-#region --- License ---
-/* Licensed under the MIT/X11 license.
- * Copyright (c) 2006-2008 the OpenTK Team.
- * This notice may not be removed from any source distribution.
- * See license.txt for licensing details.
- */
-#endregion
-
-using System;
-using System.IO;
-
-using OpenTK.Audio;
-using System.Diagnostics;
-using System.Runtime.InteropServices;
-
-namespace OpenTK.Audio
-{
- internal sealed class WaveReader : AudioReader
- {
- SoundData decoded_data;
-
- //RIFF header
- string signature;
- int riff_chunck_size;
- string format;
-
- //WAVE header
- string format_signature;
- int format_chunk_size;
- short audio_format;
- short channels;
- int sample_rate;
- int byte_rate;
- short block_align;
- short bits_per_sample;
-
- //DATA header
- string data_signature;
- int data_chunk_size;
-
- BinaryReader reader;
-
- internal WaveReader() { }
-
- internal WaveReader(Stream s)
- {
- if (s == null) throw new ArgumentNullException();
- if (!s.CanRead) throw new ArgumentException("Cannot read from specified Stream.");
-
- reader = new BinaryReader(s);
- this.Stream = s;
- }
-
-#if false
- ///
- /// Writes the WaveSound's data to the specified OpenAL buffer in the correct format.
- ///
- ///
- /// A
- ///
- public void WriteToBuffer(uint bid)
- {
- unsafe
- {
- //fix the array as a byte
- fixed (byte* p_Data = _Data)
- {
- if (Channels == 1)
- {
- if (BitsPerSample == 16)
- {
- Console.Write("Uploading 16-bit mono data to OpenAL...");
- AL.BufferData(bid, ALFormat.Mono16, (IntPtr)p_Data, _Data.Length, SampleRate);
- }
- else
- {
- if (BitsPerSample == 8)
- {
- Console.Write("Uploading 8-bit mono data to OpenAL...");
- AL.BufferData(bid, ALFormat.Mono8, (IntPtr)p_Data, _Data.Length, SampleRate);
- }
- }
-
- }
- else
- {
- if (Channels == 2)
- {
- if (BitsPerSample == 16)
- {
- Console.Write("Uploading 16-bit stereo data to OpenAL...");
- AL.BufferData(bid, ALFormat.Stereo16, (IntPtr)p_Data, _Data.Length, SampleRate);
- }
- else
- {
- if (BitsPerSample == 8)
- {
- Console.Write("Uploading 8-bit stereo data to OpenAL...");
- AL.BufferData(bid, ALFormat.Stereo8, (IntPtr)p_Data, _Data.Length, SampleRate);
- }
- }
- }
- }
- }
- }
- }
-
- ///
- /// Writes all relevent information about the WaveSound to the console window.
- ///
- public void DumpParamsToConsole()
- {
- Console.WriteLine("AudioFormat:" + AudioFormat);
- Console.WriteLine("Channels:" + Channels);
- Console.WriteLine("SampleRate:" + SampleRate);
- Console.WriteLine("ByteRate:" + ByteRate);
- Console.WriteLine("BlockAlign:" + BlockAlign);
- Console.WriteLine("BitsPerSample:" + BitsPerSample);
- }
-
- ///
- /// Returns the WaveSound's raw sound data as an array of bytes.
- ///
- public byte[] Data
- {
- get
- {
- return _Data;
- }
- }
-#endif
-
- #region --- Public Members ---
-
- #region public override bool Supports(Stream s)
-
- ///
- /// Checks whether the specified stream contains valid WAVE/RIFF buffer.
- ///
- /// The System.IO.Stream to check.
- /// True if the stream is a valid WAVE/RIFF file; false otherwise.
- public override bool Supports(Stream s)
- {
- BinaryReader reader = new BinaryReader(s);
- return this.ReadHeaders(reader);
- }
-
- #endregion
-
- #region public override SoundData ReadSamples(int samples)
-
- ///
- /// Reads and decodes the specified number of samples from the sound stream.
- ///
- /// The number of samples to read and decode.
- /// An OpenTK.Audio.SoundData object that contains the decoded buffer.
- public override SoundData ReadSamples(long samples)
- {
- if (samples > reader.BaseStream.Length - reader.BaseStream.Position)
- samples = reader.BaseStream.Length - reader.BaseStream.Position;
-
- //while (samples > decoded_data.Data.Length * (bits_per_sample / 8))
- // Array.Resize(ref decoded_data.Data, decoded_data.Data.Length * 2);
-
- decoded_data = new SoundData(new SoundFormat(channels, bits_per_sample, sample_rate),
- reader.ReadBytes((int)samples));
-
- return decoded_data;
- }
-
- #endregion
-
- #region public override SoundData ReadToEnd()
-
- ///
- /// Reads and decodes the sound stream.
- ///
- /// An OpenTK.Audio.SoundData object that contains the decoded buffer.
- public override SoundData ReadToEnd()
- {
- try
- {
- //read the buffer into a byte array, even if the format is 16 bit
- //decoded_data = new byte[data_chunk_size];
-
- decoded_data = new SoundData(new SoundFormat(channels, bits_per_sample, sample_rate),
- reader.ReadBytes((int)reader.BaseStream.Length));
-
- Debug.WriteLine("decoded!");
-
- //return new SoundData(decoded_data, new SoundFormat(channels, bits_per_sample, sample_rate));
- return decoded_data;
- }
- catch (AudioReaderException)
- {
- reader.Close();
- throw;
- }
- }
-
- #endregion
-
- #endregion
-
- #region --- Protected Members ---
-
- protected override Stream Stream
- {
- get { return base.Stream; }
- set
- {
- base.Stream = value;
- if (!ReadHeaders(reader))
- throw new AudioReaderException("Invalid WAVE/RIFF file: invalid or corrupt signature.");
-
- Debug.Write(String.Format("Opened WAVE/RIFF file: ({0}, {1}, {2}, {3}) ", sample_rate.ToString(), bits_per_sample.ToString(),
- channels.ToString(), audio_format.ToString()));
- }
- }
-
- #endregion
-
- #region --- Private Members ---
-
- // Tries to read the WAVE/RIFF headers, and returns true if they are valid.
- bool ReadHeaders(BinaryReader reader)
- {
- // Don't explicitly call reader.Close()/.Dispose(), as that will close the inner stream.
- // There's no such danger if the BinaryReader isn't explicitly destroyed.
-
- // RIFF header
- signature = new string(reader.ReadChars(4));
- if (signature != "RIFF")
- return false;
-
- riff_chunck_size = reader.ReadInt32();
-
- format = new string(reader.ReadChars(4));
- if (format != "WAVE")
- return false;
-
- // WAVE header
- format_signature = new string(reader.ReadChars(4));
- if (format_signature != "fmt ")
- return false;
-
- format_chunk_size = reader.ReadInt32();
- audio_format = reader.ReadInt16();
- channels = reader.ReadInt16();
- sample_rate = reader.ReadInt32();
- byte_rate = reader.ReadInt32();
- block_align = reader.ReadInt16();
- bits_per_sample = reader.ReadInt16();
-
- data_signature = new string(reader.ReadChars(4));
- if (data_signature != "data")
- return false;
-
- data_chunk_size = reader.ReadInt32();
-
- return true;
- }
-
- #endregion
- }
-}
diff --git a/Source/Compatibility/Fonts/DisplayListTextHandle.cs b/Source/Compatibility/Fonts/DisplayListTextHandle.cs
deleted file mode 100644
index 44395d58..00000000
--- a/Source/Compatibility/Fonts/DisplayListTextHandle.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-#region --- License ---
-/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos
- * See license.txt for license info
- */
-#endregion
-
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-using OpenTK.Graphics.OpenGL;
-
-namespace OpenTK.Graphics
-{
- [Obsolete()]
- class DisplayListTextHandle : TextHandle
- {
- public DisplayListTextHandle(int handle) : base(handle) { }
-
- public override string ToString()
- {
- return String.Format("TextHandle (display list): {0}", Handle);
- }
-
- protected override void Dispose(bool manual)
- {
- if (!disposed)
- {
- if (manual)
- {
- GL.DeleteLists(Handle, 1);
- }
- disposed = true;
- }
- }
- }
-}
diff --git a/Source/Compatibility/Fonts/DisplayListTextPrinter.cs b/Source/Compatibility/Fonts/DisplayListTextPrinter.cs
deleted file mode 100644
index 2db546e2..00000000
--- a/Source/Compatibility/Fonts/DisplayListTextPrinter.cs
+++ /dev/null
@@ -1,57 +0,0 @@
-#region --- License ---
-/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos
- * See license.txt for license info
- */
-#endregion
-
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-using OpenTK.Graphics.OpenGL;
-
-namespace OpenTK.Graphics
-{
- ///
- /// Provides text printing through OpenGL 1.1 Display Lists.
- ///
- [Obsolete()]
- class DisplayListTextPrinter : ITextPrinterImplementation
- {
- #region IPrinter Members
-
- public TextHandle Load(Vector2[] vertices, ushort[] indices, int index_count)
- {
- DisplayListTextHandle handle = new DisplayListTextHandle(GL.GenLists(1));
-
- GL.NewList(handle.Handle, ListMode.Compile);
-
- this.Draw(vertices, indices, index_count);
-
- GL.EndList();
-
- return handle;
- }
-
- public void Draw(TextHandle handle)
- {
- GL.CallList(handle.Handle);
- }
-
- public void Draw(Vector2[] vertices, ushort[] indices, int index_count)
- {
- GL.Begin(BeginMode.Triangles);
-
- for (int i = 0; i < index_count; i++)
- //foreach (ushort index in indices)
- {
- GL.TexCoord2(vertices[indices[i] + 1]);
- GL.Vertex2(vertices[indices[i]]);
- }
-
- GL.End();
- }
-
- #endregion
- }
-}
diff --git a/Source/Compatibility/Fonts/Glyph.cs b/Source/Compatibility/Fonts/Glyph.cs
deleted file mode 100644
index 8cbb83c4..00000000
--- a/Source/Compatibility/Fonts/Glyph.cs
+++ /dev/null
@@ -1,176 +0,0 @@
-#region --- License ---
-/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos
- * See license.txt for license info
- */
-#endregion
-
-using System;
-using System.Collections.Generic;
-using System.Text;
-using System.Drawing;
-
-namespace OpenTK.Graphics
-{
- using Graphics = System.Drawing.Graphics;
-
- ///
- /// Represents a single character of a specific Font.
- ///
- [Obsolete]
- struct Glyph : IPackable
- {
- char character;
- Font font;
- SizeF size;
-
- #region --- Constructors ---
-
- // Constructs a new Glyph that represents the given character and Font.
- public Glyph(char c, Font f, SizeF s)
- {
- if (f == null)
- throw new ArgumentNullException("f", "You must specify a valid font");
- character = c;
- font = f;
- size = s;
- }
-
- #endregion
-
- #region --- Public Methods ---
-
- #region public char Character
-
- ///
- /// Gets the character represented by this Glyph.
- ///
- public char Character
- {
- get { return character; }
- private set { character = value; }
- }
-
- #endregion
-
- #region public Font Font
-
- ///
- /// Gets the Font of this Glyph.
- ///
- public Font Font
- {
- get { return font; }
- private set
- {
- if (value == null)
- throw new ArgumentNullException("Font", "Glyph font cannot be null");
-
- font = value;
- }
- }
-
- #endregion
-
- #region public override bool Equals(object obj)
-
- ///
- /// Checks whether the given object is equal (memberwise) to the current Glyph.
- ///
- /// The obj to check.
- /// True, if the object is identical to the current Glyph.
- public override bool Equals(object obj)
- {
- if (obj is Glyph)
- return this.Equals((Glyph)obj);
- return base.Equals(obj);
- }
-
- #endregion
-
- #region public override string ToString()
-
- ///
- /// Describes this Glyph object.
- ///
- /// Returns a System.String describing this Glyph.
- public override string ToString()
- {
- return String.Format("'{0}', {1} {2}, {3} {4}, ({5}, {6})", Character, Font.Name, font.Style, font.Size, font.Unit, Width, Height);
- }
-
- #endregion
-
- #region public override int GetHashCode()
-
- ///
- /// Calculates the hashcode for this Glyph.
- ///
- /// A System.Int32 containing a hashcode that uniquely identifies this Glyph.
- public override int GetHashCode()
- {
- return character.GetHashCode() ^ font.GetHashCode() ^ size.GetHashCode();
- }
-
- #endregion
-
- #region public SizeF Size
-
- ///
- /// Gets the size of this Glyph.
- ///
- public SizeF Size { get { return size; } }
-
- #endregion
-
- #region public RectangleF Rectangle
-
- ///
- /// Gets the bounding box of this Glyph.
- ///
- public RectangleF Rectangle { get { return new RectangleF(PointF.Empty, Size); } }
-
- #endregion
-
- #endregion
-
- #region --- IPackable Members ---
-
- ///
- /// Gets an integer representing the width of the Glyph in pixels.
- ///
- public int Width
- {
- get
- {
- return (int)System.Math.Ceiling(size.Width);
- }
- }
-
- ///
- /// Gets an integer representing the height of the Glyph in pixels.
- ///
- public int Height
- {
- get
- {
- return (int)System.Math.Ceiling(size.Height);
- }
- }
-
- #endregion
-
- #region --- IEquatable Members ---
-
- ///
- /// Compares the current Glyph with the given Glyph.
- ///
- /// The Glyph to compare to.
- /// True if both Glyphs represent the same character of the same Font, false otherwise.
- public bool Equals(Glyph other)
- {
- return Character == other.Character && Font == other.Font && Size == other.Size;
- }
-
- #endregion
- }
-}
diff --git a/Source/Compatibility/Fonts/IFont.cs b/Source/Compatibility/Fonts/IFont.cs
deleted file mode 100644
index d73ddbb9..00000000
--- a/Source/Compatibility/Fonts/IFont.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-#region --- License ---
-/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos
- * See license.txt for license info
- */
-#endregion
-
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-
-namespace OpenTK.Graphics
-{
- [Obsolete]
- public interface IFont : IDisposable
- {
- void LoadGlyphs(string glyphs);
- float Height { get; }
- void MeasureString(string str, out float width, out float height);
- }
-}
diff --git a/Source/Compatibility/Fonts/IPrinterImplementation.cs b/Source/Compatibility/Fonts/IPrinterImplementation.cs
deleted file mode 100644
index 5f51a45b..00000000
--- a/Source/Compatibility/Fonts/IPrinterImplementation.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-#region --- License ---
-/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos
- * See license.txt for license info
- */
-#endregion
-
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-
-namespace OpenTK.Graphics
-{
- ///
- /// Defines the interface for TextPrinter implementations.
- ///
- [Obsolete("Use ITextOutputProvider instead")]
- [CLSCompliant(false)]
- public interface ITextPrinterImplementation
- {
- ///
- /// Caches a text fragment for future use.
- ///
- /// The vertex array for the text fragment.
- /// The index array for the text fragment. Please use the indexCount parameter
- /// instead of indices.Count, as the indices array may be larger than necessary for performance reasons.
- /// The actual number of indices in the text fragment.
- /// A TextHandle that can be used to draw the text fragment.
- TextHandle Load(Vector2[] vertices, ushort[] indices, int indexCount);
-
- ///
- /// Draws the specified cached text fragment.
- ///
- /// The TextHandle corresponding to the desired text fragment.
- void Draw(TextHandle handle);
-
- ///
- /// Draws a text fragment, without caching.
- ///
- /// The vertex array for the text fragment.
- /// The index array for the text fragment. Please use the indexCount parameter
- /// instead of indices.Count, as the indices array may be larger than necessary for performance reasons.
- /// The actual number of indices in the text fragment.
- void Draw(Vector2[] vertices, ushort[] indices, int indexCount);
- }
-}
diff --git a/Source/Compatibility/Fonts/TextHandle.cs b/Source/Compatibility/Fonts/TextHandle.cs
deleted file mode 100644
index e730c7b5..00000000
--- a/Source/Compatibility/Fonts/TextHandle.cs
+++ /dev/null
@@ -1,89 +0,0 @@
-#region --- License ---
-/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos
- * See license.txt for license info
- */
-#endregion
-
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-namespace OpenTK.Graphics
-{
- ///
- /// Represents a handle to cached text.
- ///
- [Obsolete("Use TextPrinter.Print instead")]
- public class TextHandle : IDisposable
- {
- internal string Text;
- internal System.Drawing.Font GdiPFont;
-
- ///
- /// Constructs a new TextHandle,
- ///
- ///
- internal TextHandle(int handle)
- {
- Handle = handle;
- }
-
- internal TextHandle(string text, System.Drawing.Font font)
- {
- Text = text;
- GdiPFont = font;
- }
-
- private int handle;
- [CLSCompliant(false)]
- protected TextureFont font;
- protected bool disposed;
-
- ///
- /// Gets the handle of the cached text run. Call the OpenTK.Graphics.ITextPrinter.Draw() method
- /// to draw the text represented by this TextHandle.
- ///
- public int Handle
- {
- get { return handle; }
- protected set { handle = value; }
- }
-
- ///
- /// Gets the TextureFont used for this text run.
- ///
- public TextureFont Font
- {
- get { return font; }
- internal set { font = value; }
- }
-
- #region public override string ToString()
-
- ///
- /// Returns a System.String that represents the current TextHandle.
- ///
- /// a System.String that descibes the current TextHandle.
- public override string ToString()
- {
- return String.Format("TextHandle: {0}", Handle);
- }
-
- #endregion
-
- #region --- IDisposable Members ---
-
- ///
- /// Frees the resource consumed by the TextHandle.
- ///
- public void Dispose()
- {
- this.Dispose(true);
- GC.SuppressFinalize(this);
- }
- protected virtual void Dispose(bool manual) { }
- ~TextHandle() { this.Dispose(false); }
-
- #endregion
- }
-}
diff --git a/Source/Compatibility/Fonts/TextureFont.cs b/Source/Compatibility/Fonts/TextureFont.cs
deleted file mode 100644
index b8d434f8..00000000
--- a/Source/Compatibility/Fonts/TextureFont.cs
+++ /dev/null
@@ -1,563 +0,0 @@
-#region --- License ---
-/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos
- * See license.txt for license info
- */
-#endregion
-
-using System;
-using System.Collections.Generic;
-using System.Text;
-using System.Drawing.Text;
-using System.Drawing;
-using System.Drawing.Imaging;
-using System.Runtime.InteropServices;
-using System.Diagnostics;
-
-using OpenTK.Graphics.OpenGL;
-using OpenTK.Platform;
-
-namespace OpenTK.Graphics
-{
- using Graphics = System.Drawing.Graphics;
- using PixelFormat = OpenTK.Graphics.OpenGL.PixelFormat;
- using System.Text.RegularExpressions;
-
- [Obsolete("Use System.Drawing.Font instead")]
- public class TextureFont : IFont
- {
- internal Font font;
- Dictionary loaded_glyphs = new Dictionary(64);
-
- Bitmap bmp;
- Graphics gfx;
- // TODO: We need to be able to use multiple font sheets.
- static int texture;
- static TexturePacker pack;
- static int texture_width, texture_height;
- static readonly StringFormat default_string_format = StringFormat.GenericTypographic; // Check the constructor, too, for additional flags.
- static readonly StringFormat load_glyph_string_format = StringFormat.GenericDefault;
- static SizeF maximum_graphics_size;
-
- int[] data = new int[256]; // Used to upload the glyph buffer to the OpenGL texture.
-
- object upload_lock = new object();
-
- static readonly char[] newline_characters = new char[] { '\n', '\r' };
-
- #region --- Constructor ---
-
- ///
- /// Constructs a new TextureFont, using the specified System.Drawing.Font.
- ///
- /// The System.Drawing.Font to use.
- public TextureFont(Font font)
- {
- if (font == null)
- throw new ArgumentNullException("font", "Argument to TextureFont constructor cannot be null.");
-
- this.font = font;
-
- bmp = new Bitmap(font.Height * 2, font.Height * 2);
- gfx = Graphics.FromImage(bmp);
- maximum_graphics_size = gfx.ClipBounds.Size;
-
- // Adjust font rendering mode. Small sizes look blurry without gridfitting, so turn
- // that on. Increasing contrast also seems to help.
- if (font.Size <= 18.0f)
- {
- gfx.TextRenderingHint = TextRenderingHint.AntiAliasGridFit;
- //gfx.TextContrast = 11;
- }
- else
- {
- gfx.TextRenderingHint = TextRenderingHint.AntiAlias;
- //gfx.TextContrast = 0;
- }
-
- default_string_format.FormatFlags |= StringFormatFlags.MeasureTrailingSpaces;
- }
-
- ///
- /// Constructs a new TextureFont, using the specified parameters.
- ///
- /// The System.Drawing.FontFamily to use for the typeface.
- /// The em size to use for the typeface.
- public TextureFont(FontFamily family, float emSize)
- : this(new Font(family, emSize))
- { }
-
- ///
- /// Constructs a new TextureFont, using the specified parameters.
- ///
- /// The System.Drawing.FontFamily to use for the typeface.
- /// The em size to use for the typeface.
- /// The style to use for the typeface.
- public TextureFont(FontFamily family, float emSize, FontStyle style)
- : this(new Font(family, emSize, style))
- { }
-
- #endregion
-
- #region --- Public Methods ---
-
- #region public void LoadGlyphs(string glyphs)
-
- ///
- /// Prepares the specified glyphs for rendering.
- ///
- /// The glyphs to prepare for rendering.
- public void LoadGlyphs(string glyphs)
- {
- RectangleF rect = new RectangleF();
- foreach (char c in glyphs)
- {
- if (Char.IsWhiteSpace(c))
- continue;
-
- try
- {
- if (!loaded_glyphs.ContainsKey(c))
- LoadGlyph(c, out rect);
- }
- catch (Exception e)
- {
- Debug.Print(e.ToString());
- throw;
- }
- }
- }
-
- #endregion
-
- #region public void LoadGlyph(char glyph)
-
- ///
- /// Prepares the specified glyph for rendering.
- ///
- /// The glyph to prepare for rendering.
- public void LoadGlyph(char glyph)
- {
- RectangleF rect = new RectangleF();
- if (!loaded_glyphs.ContainsKey(glyph))
- LoadGlyph(glyph, out rect);
- }
-
- #endregion
-
- #region public bool GlyphData(char glyph, out float width, out float height, out RectangleF textureRectangle, out int texture)
-
- ///
- /// Returns the characteristics of a loaded glyph.
- ///
- /// The character corresponding to this glyph.
- /// The width of this glyph.
- /// The height of this glyph (line spacing).
- /// The bounding box of the texture buffer of this glyph.
- /// The handle to the texture that contains this glyph.
- /// True if the glyph has been loaded, false otherwise.
- ///
- public bool GlyphData(char glyph, out float width, out float height, out RectangleF textureRectangle, out int texture)
- {
- if (loaded_glyphs.TryGetValue(glyph, out textureRectangle))
- {
- width = textureRectangle.Width * texture_width;
- height = textureRectangle.Height * texture_height;
- texture = TextureFont.texture;
- return true;
- }
- width = height = texture = 0;
- return false;
- }
-
- #endregion
-
- #region public float Height
-
- ///
- /// Gets a float indicating the default line spacing of this font.
- ///
- public float Height
- {
- get { return font.Height; }
- }
-
- #endregion
-
- #region public float Width
-
- ///
- /// Gets a float indicating the default size of this font, in points.
- ///
- public float Width
- {
- get { return font.SizeInPoints; }
- }
-
- #endregion
-
- #region public void MeasureString(string str, out float width, out float height, bool accountForOverhangs)
-
- ///
- /// Measures the width of the specified string.
- ///
- /// The string to measure.
- /// The measured width.
- /// The measured height.
- /// If true, adds space to account for glyph overhangs. Set to true if you wish to measure a complete string. Set to false if you wish to perform layout on adjacent strings.
- [Obsolete("Returns invalid results - use MeasureText() instead")]
- public void MeasureString(string str, out float width, out float height, bool accountForOverhangs)
- {
- System.Drawing.StringFormat format = accountForOverhangs ? System.Drawing.StringFormat.GenericDefault : System.Drawing.StringFormat.GenericTypographic;
-
- System.Drawing.SizeF size = gfx.MeasureString(str, font, 16384, format);
- height = size.Height;
- width = size.Width;
- }
-
- #endregion
-
- #region public void MeasureString(string str, out float width, out float height)
-
- ///
- /// Measures the width of the specified string.
- ///
- /// The string to measure.
- /// The measured width.
- /// The measured height.
- ///
- [Obsolete("Returns invalid results - use MeasureText() instead")]
- public void MeasureString(string str, out float width, out float height)
- {
- MeasureString(str, out width, out height, true);
- }
-
- #endregion
-
- #region public RectangleF MeasureText(string text)
-
- ///
- /// Calculates size information for the specified text.
- ///
- /// The string to measure.
- /// A RectangleF containing the bounding box for the specified text.
- public RectangleF MeasureText(string text)
- {
- return MeasureText(text, SizeF.Empty, default_string_format, null);
- }
-
- #endregion
-
- #region public RectangleF MeasureText(string text, SizeF bounds)
-
- ///
- /// Calculates size information for the specified text.
- ///
- /// The string to measure.
- /// A SizeF structure containing the maximum desired width and height of the text. Default is SizeF.Empty.
- /// A RectangleF containing the bounding box for the specified text.
- public RectangleF MeasureText(string text, SizeF bounds)
- {
- return MeasureText(text, bounds, default_string_format, null);
- }
-
- #endregion
-
- #region public RectangleF MeasureText(string text, SizeF bounds, StringFormat format)
-
- ///
- /// Calculates size information for the specified text.
- ///
- /// The string to measure.
- /// A SizeF structure containing the maximum desired width and height of the text. Pass SizeF.Empty to disable wrapping calculations. A width or height of 0 disables the relevant calculation.
- /// A StringFormat object which specifies the measurement format of the string. Pass null to use the default StringFormat (StringFormat.GenericTypographic).
- /// A RectangleF containing the bounding box for the specified text.
- public RectangleF MeasureText(string text, SizeF bounds, StringFormat format)
- {
- return MeasureText(text, bounds, format, null);
- }
-
- #endregion
-
- #region public RectangleF MeasureText(string text, SizeF bounds, StringFormat format, IList ranges)
-
- IntPtr[] regions = new IntPtr[GdiPlus.MaxMeasurableCharacterRanges];
- CharacterRange[] characterRanges = new CharacterRange[GdiPlus.MaxMeasurableCharacterRanges];
-
- ///
- /// Calculates size information for the specified text.
- ///
- /// The string to measure.
- /// A SizeF structure containing the maximum desired width and height of the text. Pass SizeF.Empty to disable wrapping calculations. A width or height of 0 disables the relevant calculation.
- /// A StringFormat object which specifies the measurement format of the string. Pass null to use the default StringFormat (StringFormat.GenericDefault).
- /// Fills the specified IList of RectangleF structures with position information for individual characters. If this argument is null, these calculations are skipped.
- /// A RectangleF containing the bounding box for the specified text.
- public RectangleF MeasureText(string text, SizeF bounds, StringFormat format, List ranges)
- {
- if (String.IsNullOrEmpty(text))
- return RectangleF.Empty;
-
- if (bounds == SizeF.Empty)
- bounds = maximum_graphics_size;
-
- if (format == null)
- format = default_string_format;
-
- // TODO: What should we do in this case?
- if (ranges == null)
- ranges = new List();
-
- ranges.Clear();
-
- PointF origin = PointF.Empty;
- SizeF size = SizeF.Empty;
-
- IntPtr native_graphics = GdiPlus.GetNativeGraphics(gfx);
- IntPtr native_font = GdiPlus.GetNativeFont(font);
- IntPtr native_string_format = GdiPlus.GetNativeStringFormat(format);
-
- RectangleF layoutRect = new RectangleF(PointF.Empty, bounds);
-
- int height = 0;
-
- // It seems that the mere presence of \n and \r characters
- // is enough for Mono to botch the layout (even if these
- // characters are not processed.) We'll need to find a
- // different way to perform layout on Mono, probably
- // through Pango.
- // Todo: This workaround allocates memory.
- //if (Configuration.RunningOnMono)
- {
- string[] lines = text.Replace("\r", String.Empty).Split(newline_characters);
- foreach (string s in lines)
- {
- ranges.AddRange(GetCharExtents(
- s, height, 0, s.Length, layoutRect,
- native_graphics, native_font, native_string_format));
- height += font.Height;
- }
- }
-
- return new RectangleF(ranges[0].X, ranges[0].Y, ranges[ranges.Count - 1].Right, ranges[ranges.Count - 1].Bottom);
- }
-
- #endregion
-
- #endregion
-
- #region --- Private Methods ---
-
- #region private void PrepareTexturePacker()
-
- ///
- /// Calculates the optimal size for the font texture and TexturePacker, and creates both.
- ///
- private void PrepareTexturePacker()
- {
- // Calculate the size of the texture packer. We want a power-of-two size
- // that is less than 1024 (supported in Geforce256-era cards), but large
- // enough to hold at least 256 (16*16) font glyphs.
- // TODO: Find the actual card limits, maybe?
- int size = (int)(font.Size * 16);
- size = (int)System.Math.Pow(2.0, System.Math.Ceiling(System.Math.Log((double)size, 2.0)));
- if (size > 1024)
- size = 1024;
-
- texture_width = size;
- texture_height = size;
- pack = new TexturePacker(texture_width, texture_height);
-
- GL.GenTextures(1, out texture);
- GL.BindTexture(TextureTarget.Texture2D, texture);
- GL.TexParameter(TextureTarget.Texture2D, TextureParameterName.TextureMinFilter, (int)All.Linear);
- GL.TexParameter(TextureTarget.Texture2D, TextureParameterName.TextureMagFilter, (int)All.Linear);
- if (GL.SupportsExtension("Version12"))
- {
- GL.TexParameter(TextureTarget.Texture2D, TextureParameterName.TextureWrapS, (int)All.ClampToEdge);
- GL.TexParameter(TextureTarget.Texture2D, TextureParameterName.TextureWrapT, (int)All.ClampToEdge);
- }
- else
- {
- GL.TexParameter(TextureTarget.Texture2D, TextureParameterName.TextureWrapS, (int)All.Clamp);
- GL.TexParameter(TextureTarget.Texture2D, TextureParameterName.TextureWrapT, (int)All.Clamp);
- }
-
- GL.TexImage2D(TextureTarget.Texture2D, 0, PixelInternalFormat.Alpha, texture_width, texture_height, 0,
- OpenTK.Graphics.PixelFormat.Rgba, PixelType.UnsignedByte, IntPtr.Zero);
- }
-
- #endregion
-
- #region private void LoadGlyph(char c, out RectangleF rectangle)
-
- // Adds the specified caharacter to the texture packer.
- private void LoadGlyph(char c, out RectangleF rectangle)
- {
- if (pack == null)
- PrepareTexturePacker();
-
- RectangleF glyph_rect = MeasureText(c.ToString(), SizeF.Empty, load_glyph_string_format);
- SizeF glyph_size = new SizeF(glyph_rect.Right, glyph_rect.Bottom); // We need to do this, since the origin might not be (0, 0)
- Glyph g = new Glyph(c, font, glyph_size);
- Rectangle rect;
-
- try
- {
- pack.Add(g, out rect);
- }
- catch (InvalidOperationException expt)
- {
- // TODO: The TexturePacker is full, create a new font sheet.
- Trace.WriteLine(expt);
- throw;
- }
-
- GL.BindTexture(TextureTarget.Texture2D, texture);
-
- gfx.Clear(System.Drawing.Color.Transparent);
- gfx.DrawString(g.Character.ToString(), g.Font, System.Drawing.Brushes.White, 0.0f, 0.0f, default_string_format);
-
- BitmapData bitmap_data = bmp.LockBits(new Rectangle(0, 0, bmp.Width, bmp.Height), ImageLockMode.ReadOnly,
- System.Drawing.Imaging.PixelFormat.Format32bppArgb);
-
- GL.PushClientAttrib(ClientAttribMask.ClientPixelStoreBit);
- try
- {
- GL.PixelStore(PixelStoreParameter.UnpackAlignment, 1.0f);
- GL.PixelStore(PixelStoreParameter.UnpackRowLength, bmp.Width);
- GL.TexSubImage2D(TextureTarget.Texture2D, 0, (int)rect.Left, (int)rect.Top,
- rect.Width, rect.Height,
- OpenTK.Graphics.PixelFormat.Rgba,
- PixelType.UnsignedByte, bitmap_data.Scan0);
- }
- finally
- {
- GL.PopClientAttrib();
- }
-
- bmp.UnlockBits(bitmap_data);
-
- rectangle = RectangleF.FromLTRB(
- rect.Left / (float)texture_width,
- rect.Top / (float)texture_height,
- rect.Right / (float)texture_width,
- rect.Bottom / (float)texture_height);
-
- loaded_glyphs.Add(g.Character, rectangle);
- }
-
- #endregion
-
- #region GetCharExtents
-
- // Gets the bounds of each character in a line of text.
- // The line is processed in blocks of 32 characters (GdiPlus.MaxMeasurableCharacterRanges).
- IEnumerable GetCharExtents(string text, int height, int line_start, int line_length,
- RectangleF layoutRect, IntPtr native_graphics, IntPtr native_font, IntPtr native_string_format)
- {
- RectangleF rect = new RectangleF();
- int line_end = line_start + line_length;
- while (line_start < line_end)
- {
- //if (text[line_start] == '\n' || text[line_start] == '\r')
- //{
- // line_start++;
- // continue;
- //}
-
- int num_characters = (line_end - line_start) > GdiPlus.MaxMeasurableCharacterRanges ?
- GdiPlus.MaxMeasurableCharacterRanges :
- line_end - line_start;
- int status = 0;
-
- for (int i = 0; i < num_characters; i++)
- {
- characterRanges[i] = new CharacterRange(line_start + i, 1);
-
- IntPtr region;
- status = GdiPlus.CreateRegion(out region);
- regions[i] = region;
- Debug.Assert(status == 0, String.Format("GDI+ error: {0}", status));
- }
-
- status = GdiPlus.SetStringFormatMeasurableCharacterRanges(native_string_format, num_characters, characterRanges);
- Debug.Assert(status == 0, String.Format("GDI+ error: {0}", status));
-
- status = GdiPlus.MeasureCharacterRanges(native_graphics, text, text.Length,
- native_font, ref layoutRect, native_string_format, num_characters, regions);
- Debug.Assert(status == 0, String.Format("GDI+ error: {0}", status));
-
- for (int i = 0; i < num_characters; i++)
- {
- GdiPlus.GetRegionBounds(regions[i], native_graphics, ref rect);
- Debug.Assert(status == 0, String.Format("GDI+ error: {0}", status));
- GdiPlus.DeleteRegion(regions[i]);
- Debug.Assert(status == 0, String.Format("GDI+ error: {0}", status));
-
- rect.Y += height;
- yield return rect;
- }
-
- line_start += num_characters;
- }
- }
-
- #endregion
-
- #endregion
-
- #region --- Internal Methods ---
-
- #region internal int Texture
-
- ///
- /// Gets the handle to the texture were this font resides.
- ///
- internal int Texture
- {
- get { return TextureFont.texture; }
- }
-
- #endregion
-
- #endregion
-
- #region --- IDisposable Members ---
-
- bool disposed;
-
- ///
- /// Releases all resources used by this OpenTK.Graphics.TextureFont.
- ///
- public void Dispose()
- {
- GC.SuppressFinalize(this);
- Dispose(true);
- }
-
- private void Dispose(bool manual)
- {
- if (!disposed)
- {
- pack = null;
- if (manual)
- {
- GL.DeleteTextures(1, ref texture);
- font.Dispose();
- gfx.Dispose();
- }
-
- disposed = true;
- }
- }
-
- ///
- /// Finalizes this TextureFont.
- ///
- ~TextureFont()
- {
- Dispose(false);
- }
-
- #endregion
- }
-}
diff --git a/Source/Compatibility/Fonts/VboTextPrinter.cs b/Source/Compatibility/Fonts/VboTextPrinter.cs
deleted file mode 100644
index 15333ddb..00000000
--- a/Source/Compatibility/Fonts/VboTextPrinter.cs
+++ /dev/null
@@ -1,104 +0,0 @@
-#region --- License ---
-/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos
- * See license.txt for license info
- */
-#endregion
-
-using System;
-using System.Collections.Generic;
-using System.Text;
-using System.Runtime.InteropServices;
-
-using OpenTK.Graphics.OpenGL;
-
-namespace OpenTK.Graphics
-{
- ///
- /// Provides text printing through OpenGL 1.5 vertex buffer objects.
- ///
- [Obsolete]
- class VboTextPrinter : ITextPrinterImplementation
- {
- static int allocated_handles;
- static int vector2_size = Marshal.SizeOf(new Vector2());
-
- #region --- IPrinter Members ---
-
- public TextHandle Load(Vector2[] vertices, ushort[] indices, int index_count)
- {
- VboTextHandle handle = new VboTextHandle(++allocated_handles);
-
- GL.GenBuffers(1, out handle.vbo_id);
- GL.BindBuffer(BufferTarget.ArrayBuffer, handle.vbo_id);
- GL.BufferData(BufferTarget.ArrayBuffer, (IntPtr)(vertices.Length * vector2_size), vertices,
- BufferUsageHint.StaticDraw);
- GL.BindBuffer(BufferTarget.ArrayBuffer, 0);
-
- GL.GenBuffers(1, out handle.ebo_id);
- GL.BindBuffer(BufferTarget.ElementArrayBuffer, handle.ebo_id);
- GL.BufferData(BufferTarget.ElementArrayBuffer, (IntPtr)(indices.Length * sizeof(ushort)), indices,
- BufferUsageHint.StaticDraw);
- GL.BindBuffer(BufferTarget.ElementArrayBuffer, 0);
-
- handle.element_count = indices.Length;
- return handle;
- }
-
- public void Draw(TextHandle handle)
- {
- VboTextHandle vbo = (VboTextHandle)handle;
-
- //GL.PushClientAttrib(ClientAttribMask.ClientVertexArrayBit);
-
- //GL.EnableClientState(EnableCap.TextureCoordArray);
- GL.EnableClientState(EnableCap.VertexArray);
-
- GL.BindBuffer(BufferTarget.ArrayBuffer, vbo.vbo_id);
- GL.BindBuffer(BufferTarget.ElementArrayBuffer, vbo.ebo_id);
-
- GL.TexCoordPointer(2, TexCoordPointerType.Float, vector2_size, (IntPtr)vector2_size);
- GL.VertexPointer(2, VertexPointerType.Float, vector2_size, IntPtr.Zero);
-
- GL.DrawElements(BeginMode.Triangles, vbo.element_count, DrawElementsType.UnsignedShort, IntPtr.Zero);
- //GL.DrawArrays(BeginMode.LineLoop, 0, vbo.element_count);
-
- GL.BindBuffer(BufferTarget.ArrayBuffer, 0);
- GL.BindBuffer(BufferTarget.ElementArrayBuffer, 0);
-
- GL.DisableClientState(EnableCap.VertexArray);
- //GL.DisableClientState(EnableCap.TextureCoordArray);
-
- //GL.PopClientAttrib();
- }
-
- public void Draw(Vector2[] vertices, ushort[] indices, int index_count)
- {
- throw new NotImplementedException();
- }
-
- #endregion
- }
-
- #region class VboTextHandle : TextHandle
-
- ///
- /// Contains the necessary information to print text through the VboTextPrinter implementation.
- ///
- [Obsolete]
- class VboTextHandle : TextHandle
- {
- public VboTextHandle(int handle) : base(handle) { }
-
- internal int vbo_id; // vertex buffer object id.
- internal int ebo_id; // index buffer object id.
- internal int element_count; // Number of elements in the ebo.
-
- public override string ToString()
- {
- return String.Format("TextHandle (vbo): {0} ({1} element(s), vbo id: {2}, ebo id: {3}",
- Handle, element_count / 6, vbo_id, ebo_id);
- }
- }
-
- #endregion
-}
diff --git a/Source/Compatibility/Graphics/AlphaTexture2D.cs b/Source/Compatibility/Graphics/AlphaTexture2D.cs
deleted file mode 100644
index 35044d09..00000000
--- a/Source/Compatibility/Graphics/AlphaTexture2D.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-#region License
-//
-// The Open Toolkit Library License
-//
-// Copyright (c) 2006 - 2008 the Open Toolkit library, except where noted.
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights to
-// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-// the Software, and to permit persons to whom the Software is furnished to do
-// so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-// OTHER DEALINGS IN THE SOFTWARE.
-//
-#endregion
-
-using System;
-using System.Collections.Generic;
-using System.Text;
-using System.Drawing;
-using System.Drawing.Imaging;
-using OpenTK.Graphics.OpenGL;
-
-namespace OpenTK.Graphics
-{
- ///
- /// Encapsulates an OpenGL texture.
- ///
- [Obsolete]
- class AlphaTexture2D : Texture2D
- {
- #region Constructors
-
- ///
- /// Constructs a new Texture.
- ///
- public AlphaTexture2D(int width, int height)
- : base(width, height)
- { }
-
- #endregion
-
- #region Protected Members
-
- protected override PixelInternalFormat InternalFormat
- {
- get { return PixelInternalFormat.Alpha; }
- }
-
- #endregion
- }
-}
diff --git a/Source/Compatibility/Graphics/GL/ErrorHelper.cs b/Source/Compatibility/Graphics/GL/ErrorHelper.cs
deleted file mode 100644
index 13d40d4a..00000000
--- a/Source/Compatibility/Graphics/GL/ErrorHelper.cs
+++ /dev/null
@@ -1,135 +0,0 @@
-#region License
-//
-// The Open Toolkit Library License
-//
-// Copyright (c) 2006 - 2009 the Open Toolkit library.
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights to
-// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-// the Software, and to permit persons to whom the Software is furnished to do
-// so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-// OTHER DEALINGS IN THE SOFTWARE.
-//
-#endregion
-
-using System;
-using System.Collections.Generic;
-using System.Text;
-using System.Diagnostics;
-
-namespace OpenTK.Graphics
-{
- // Used in debug-mode only, for automatic OpenGL error-checking.
- //
- // Works like this: an instance is created before each OpenGL function is called.
- // The constructor resets the OpenGL error state. Once the native function returns,
- // the error state is checked again, raising the relevant exceptions.
- //
- // A using-region is used to ensure Dispose() is called.
- //
- // Make sure that no error checking is added to the GetError function,
- // as that would cause infinite recursion!
- [Obsolete]
- struct ErrorHelper : IDisposable
- {
- #region Fields
-
- static readonly object SyncRoot = new object();
- static readonly Dictionary> ContextErrors =
- new Dictionary>();
- readonly GraphicsContext Context;
-
- #endregion
-
- #region Constructors
-
- public ErrorHelper(IGraphicsContext context)
- {
- if (context == null)
- throw new GraphicsContextMissingException();
-
- Context = (GraphicsContext)context;
- lock (SyncRoot)
- {
- if (!ContextErrors.ContainsKey(Context))
- ContextErrors.Add(Context, new List());
- }
- ResetErrors();
- }
-
- #endregion
-
- #region Public Members
-
- // Retrieve all OpenGL errors to clear the error list.
- // See http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/geterror.html
- [Conditional("DEBUG")]
- internal void ResetErrors()
- {
- if (Context.ErrorChecking)
- {
- while (GL.GetError() != ErrorCode.NoError)
- { }
- }
- }
-
- // Retrieve all OpenGL errors and throw an exception if anything other than NoError is returned.
- [Conditional("DEBUG")]
- internal void CheckErrors()
- {
- if (Context.ErrorChecking)
- {
- List error_list = ContextErrors[Context];
- error_list.Clear();
- ErrorCode error;
- do
- {
- error = GL.GetError();
- error_list.Add(error);
- } while (error != ErrorCode.NoError);
-
- if (error_list.Count != 1)
- {
- StringBuilder sb = new StringBuilder();
- foreach (ErrorCode e in error_list)
- {
- if (e != ErrorCode.NoError)
- {
- sb.Append(e.ToString());
- sb.Append(", ");
- }
- else
- break;
- }
- sb.Remove(sb.Length - 2, 2); // Remove the last comma
-
- throw new GraphicsErrorException(sb.ToString());
- }
- }
- }
-
- #endregion
-
- #region IDisposable Members
-
- public void Dispose()
- {
- CheckErrors();
- }
-
- #endregion
- }
-}
diff --git a/Source/Compatibility/Graphics/GL/GL.cs b/Source/Compatibility/Graphics/GL/GL.cs
deleted file mode 100644
index 9fef7f13..00000000
--- a/Source/Compatibility/Graphics/GL/GL.cs
+++ /dev/null
@@ -1,144350 +0,0 @@
-#region License
-//
-// The Open Toolkit Library License
-//
-// Copyright (c) 2006 - 2009 the Open Toolkit library.
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights to
-// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-// the Software, and to permit persons to whom the Software is furnished to do
-// so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-// OTHER DEALINGS IN THE SOFTWARE.
-//
-#endregion
-
-namespace OpenTK.Graphics
-{
- using System;
- using System.Runtime.InteropServices;
- #pragma warning disable 3019
- #pragma warning disable 1591
- #pragma warning disable 1572
- #pragma warning disable 1573
-
- static partial class GL
- {
-
- public static partial class GL_3dfx
- {
- [AutoGenerated(Category = "3DfxTbuffer", Version = "1.2", EntryPoint = "glTbufferMask3DFX")]
- public static
- void TbufferMask(Int32 mask)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTbufferMask3DFX((UInt32)mask);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "3DfxTbuffer", Version = "1.2", EntryPoint = "glTbufferMask3DFX")]
- public static
- void TbufferMask(UInt32 mask)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTbufferMask3DFX((UInt32)mask);
- #if DEBUG
- }
- #endif
- }
-
- }
-
- public static partial class Amd
- {
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glBeginPerfMonitorAMD")]
- public static
- void BeginPerfMonitor(Int32 monitor)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBeginPerfMonitorAMD((UInt32)monitor);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glBeginPerfMonitorAMD")]
- public static
- void BeginPerfMonitor(UInt32 monitor)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBeginPerfMonitorAMD((UInt32)monitor);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendEquationIndexedAMD")]
- public static
- void BlendEquationIndexed(Int32 buf, AmdDrawBuffersBlend mode)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlendEquationIndexedAMD((UInt32)buf, (AmdDrawBuffersBlend)mode);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendEquationIndexedAMD")]
- public static
- void BlendEquationIndexed(UInt32 buf, AmdDrawBuffersBlend mode)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlendEquationIndexedAMD((UInt32)buf, (AmdDrawBuffersBlend)mode);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendEquationSeparateIndexedAMD")]
- public static
- void BlendEquationSeparateIndexed(Int32 buf, AmdDrawBuffersBlend modeRGB, AmdDrawBuffersBlend modeAlpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlendEquationSeparateIndexedAMD((UInt32)buf, (AmdDrawBuffersBlend)modeRGB, (AmdDrawBuffersBlend)modeAlpha);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendEquationSeparateIndexedAMD")]
- public static
- void BlendEquationSeparateIndexed(UInt32 buf, AmdDrawBuffersBlend modeRGB, AmdDrawBuffersBlend modeAlpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlendEquationSeparateIndexedAMD((UInt32)buf, (AmdDrawBuffersBlend)modeRGB, (AmdDrawBuffersBlend)modeAlpha);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendFuncIndexedAMD")]
- public static
- void BlendFuncIndexed(Int32 buf, AmdDrawBuffersBlend src, AmdDrawBuffersBlend dst)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlendFuncIndexedAMD((UInt32)buf, (AmdDrawBuffersBlend)src, (AmdDrawBuffersBlend)dst);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendFuncIndexedAMD")]
- public static
- void BlendFuncIndexed(UInt32 buf, AmdDrawBuffersBlend src, AmdDrawBuffersBlend dst)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlendFuncIndexedAMD((UInt32)buf, (AmdDrawBuffersBlend)src, (AmdDrawBuffersBlend)dst);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendFuncSeparateIndexedAMD")]
- public static
- void BlendFuncSeparateIndexed(Int32 buf, AmdDrawBuffersBlend srcRGB, AmdDrawBuffersBlend dstRGB, AmdDrawBuffersBlend srcAlpha, AmdDrawBuffersBlend dstAlpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlendFuncSeparateIndexedAMD((UInt32)buf, (AmdDrawBuffersBlend)srcRGB, (AmdDrawBuffersBlend)dstRGB, (AmdDrawBuffersBlend)srcAlpha, (AmdDrawBuffersBlend)dstAlpha);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendFuncSeparateIndexedAMD")]
- public static
- void BlendFuncSeparateIndexed(UInt32 buf, AmdDrawBuffersBlend srcRGB, AmdDrawBuffersBlend dstRGB, AmdDrawBuffersBlend srcAlpha, AmdDrawBuffersBlend dstAlpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlendFuncSeparateIndexedAMD((UInt32)buf, (AmdDrawBuffersBlend)srcRGB, (AmdDrawBuffersBlend)dstRGB, (AmdDrawBuffersBlend)srcAlpha, (AmdDrawBuffersBlend)dstAlpha);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")]
- public static
- unsafe void DeletePerfMonitors(Int32 n, [Out] Int32* monitors)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")]
- public static
- void DeletePerfMonitors(Int32 n, [Out] Int32[] monitors)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* monitors_ptr = monitors)
- {
- Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")]
- public static
- void DeletePerfMonitors(Int32 n, [Out] out Int32 monitors)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* monitors_ptr = &monitors)
- {
- Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
- monitors = *monitors_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")]
- public static
- void DeletePerfMonitors(Int32 n, [Out] out UInt32 monitors)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* monitors_ptr = &monitors)
- {
- Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
- monitors = *monitors_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")]
- public static
- unsafe void DeletePerfMonitors(Int32 n, [Out] UInt32* monitors)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")]
- public static
- void DeletePerfMonitors(Int32 n, [Out] UInt32[] monitors)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* monitors_ptr = monitors)
- {
- Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glEndPerfMonitorAMD")]
- public static
- void EndPerfMonitor(Int32 monitor)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEndPerfMonitorAMD((UInt32)monitor);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glEndPerfMonitorAMD")]
- public static
- void EndPerfMonitor(UInt32 monitor)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEndPerfMonitorAMD((UInt32)monitor);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")]
- public static
- unsafe void GenPerfMonitors(Int32 n, [Out] Int32* monitors)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")]
- public static
- void GenPerfMonitors(Int32 n, [Out] Int32[] monitors)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* monitors_ptr = monitors)
- {
- Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")]
- public static
- void GenPerfMonitors(Int32 n, [Out] out Int32 monitors)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* monitors_ptr = &monitors)
- {
- Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
- monitors = *monitors_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")]
- public static
- void GenPerfMonitors(Int32 n, [Out] out UInt32 monitors)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* monitors_ptr = &monitors)
- {
- Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
- monitors = *monitors_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")]
- public static
- unsafe void GenPerfMonitors(Int32 n, [Out] UInt32* monitors)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")]
- public static
- void GenPerfMonitors(Int32 n, [Out] UInt32[] monitors)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* monitors_ptr = monitors)
- {
- Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
- public static
- unsafe void GetPerfMonitorCounterData(Int32 monitor, AmdPerformanceMonitor pname, Int32 dataSize, [Out] Int32* data, [Out] Int32* bytesWritten)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
- public static
- unsafe void GetPerfMonitorCounterData(Int32 monitor, AmdPerformanceMonitor pname, Int32 dataSize, [Out] Int32[] data, [Out] Int32* bytesWritten)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- fixed (Int32* data_ptr = data)
- {
- Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten);
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
- public static
- void GetPerfMonitorCounterData(Int32 monitor, AmdPerformanceMonitor pname, Int32 dataSize, [Out] out Int32 data, [Out] out Int32 bytesWritten)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* data_ptr = &data)
- fixed (Int32* bytesWritten_ptr = &bytesWritten)
- {
- Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr);
- data = *data_ptr;
- bytesWritten = *bytesWritten_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
- public static
- void GetPerfMonitorCounterData(UInt32 monitor, AmdPerformanceMonitor pname, Int32 dataSize, [Out] out UInt32 data, [Out] out Int32 bytesWritten)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* data_ptr = &data)
- fixed (Int32* bytesWritten_ptr = &bytesWritten)
- {
- Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr);
- data = *data_ptr;
- bytesWritten = *bytesWritten_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
- public static
- unsafe void GetPerfMonitorCounterData(UInt32 monitor, AmdPerformanceMonitor pname, Int32 dataSize, [Out] UInt32* data, [Out] Int32* bytesWritten)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
- public static
- unsafe void GetPerfMonitorCounterData(UInt32 monitor, AmdPerformanceMonitor pname, Int32 dataSize, [Out] UInt32[] data, [Out] Int32* bytesWritten)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- fixed (UInt32* data_ptr = data)
- {
- Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten);
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
- public static
- void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, AmdPerformanceMonitor pname, [In, Out] ref T3 data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
- public static
- void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, AmdPerformanceMonitor pname, [In, Out] T3[,,] data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
- public static
- void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, AmdPerformanceMonitor pname, [In, Out] T3[,] data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
- public static
- void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, AmdPerformanceMonitor pname, [In, Out] T3[] data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
- public static
- void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, AmdPerformanceMonitor pname, [Out] IntPtr data)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (AmdPerformanceMonitor)pname, (IntPtr)data);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
- public static
- void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, AmdPerformanceMonitor pname, [In, Out] ref T3 data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
- public static
- void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, AmdPerformanceMonitor pname, [In, Out] T3[,,] data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
- public static
- void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, AmdPerformanceMonitor pname, [In, Out] T3[,] data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
- public static
- void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, AmdPerformanceMonitor pname, [In, Out] T3[] data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
- public static
- void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, AmdPerformanceMonitor pname, [Out] IntPtr data)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (AmdPerformanceMonitor)pname, (IntPtr)data);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")]
- public static
- unsafe void GetPerfMonitorCounters(Int32 group, [Out] Int32* numCounters, [Out] Int32* maxActiveCounters, Int32 counterSize, [Out] Int32* counters)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")]
- public static
- unsafe void GetPerfMonitorCounters(Int32 group, [Out] Int32* numCounters, [Out] Int32* maxActiveCounters, Int32 counterSize, [Out] Int32[] counters)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- fixed (Int32* counters_ptr = counters)
- {
- Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters_ptr);
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")]
- public static
- void GetPerfMonitorCounters(Int32 group, [Out] out Int32 numCounters, [Out] out Int32 maxActiveCounters, Int32 counterSize, [Out] out Int32 counters)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* numCounters_ptr = &numCounters)
- fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters)
- fixed (Int32* counters_ptr = &counters)
- {
- Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr);
- numCounters = *numCounters_ptr;
- maxActiveCounters = *maxActiveCounters_ptr;
- counters = *counters_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")]
- public static
- unsafe void GetPerfMonitorCounters(UInt32 group, [Out] Int32* numCounters, [Out] Int32* maxActiveCounters, Int32 counterSize, [Out] UInt32* counters)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")]
- public static
- unsafe void GetPerfMonitorCounters(UInt32 group, [Out] Int32* numCounters, [Out] Int32* maxActiveCounters, Int32 counterSize, [Out] UInt32[] counters)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- fixed (UInt32* counters_ptr = counters)
- {
- Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters_ptr);
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")]
- public static
- void GetPerfMonitorCounters(UInt32 group, [Out] out Int32 numCounters, [Out] out Int32 maxActiveCounters, Int32 counterSize, [Out] out UInt32 counters)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* numCounters_ptr = &numCounters)
- fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters)
- fixed (UInt32* counters_ptr = &counters)
- {
- Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr);
- numCounters = *numCounters_ptr;
- maxActiveCounters = *maxActiveCounters_ptr;
- counters = *counters_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")]
- public static
- unsafe void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder counterString)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)counterString);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")]
- public static
- void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder counterString)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- {
- Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)counterString);
- length = *length_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")]
- public static
- unsafe void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder counterString)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)counterString);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")]
- public static
- void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder counterString)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- {
- Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)counterString);
- length = *length_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")]
- public static
- unsafe void GetPerfMonitorGroup([Out] Int32* numGroups, Int32 groupsSize, [Out] Int32* groups)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")]
- public static
- unsafe void GetPerfMonitorGroup([Out] Int32* numGroups, Int32 groupsSize, [Out] Int32[] groups)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- fixed (Int32* groups_ptr = groups)
- {
- Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups_ptr);
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")]
- public static
- unsafe void GetPerfMonitorGroup([Out] Int32* numGroups, Int32 groupsSize, [Out] UInt32* groups)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")]
- public static
- unsafe void GetPerfMonitorGroup([Out] Int32* numGroups, Int32 groupsSize, [Out] UInt32[] groups)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- fixed (UInt32* groups_ptr = groups)
- {
- Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups_ptr);
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")]
- public static
- void GetPerfMonitorGroup([Out] out Int32 numGroups, Int32 groupsSize, [Out] out Int32 groups)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* numGroups_ptr = &numGroups)
- fixed (Int32* groups_ptr = &groups)
- {
- Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr);
- numGroups = *numGroups_ptr;
- groups = *groups_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")]
- public static
- void GetPerfMonitorGroup([Out] out Int32 numGroups, Int32 groupsSize, [Out] out UInt32 groups)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* numGroups_ptr = &numGroups)
- fixed (UInt32* groups_ptr = &groups)
- {
- Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr);
- numGroups = *numGroups_ptr;
- groups = *groups_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupStringAMD")]
- public static
- unsafe void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder groupString)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)groupString);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupStringAMD")]
- public static
- void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder groupString)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- {
- Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)groupString);
- length = *length_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupStringAMD")]
- public static
- unsafe void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder groupString)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)groupString);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupStringAMD")]
- public static
- void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder groupString)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- {
- Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)groupString);
- length = *length_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")]
- public static
- unsafe void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [Out] Int32* counterList)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")]
- public static
- void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [Out] Int32[] counterList)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* counterList_ptr = counterList)
- {
- Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")]
- public static
- void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [Out] out Int32 counterList)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* counterList_ptr = &counterList)
- {
- Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr);
- counterList = *counterList_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")]
- public static
- void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [Out] out UInt32 counterList)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* counterList_ptr = &counterList)
- {
- Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr);
- counterList = *counterList_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")]
- public static
- unsafe void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [Out] UInt32* counterList)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")]
- public static
- void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [Out] UInt32[] counterList)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* counterList_ptr = counterList)
- {
- Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AmdVertexShaderTesselator", Version = "2.0", EntryPoint = "glTessellationFactorAMD")]
- public static
- void TessellationFactor(Single factor)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTessellationFactorAMD((Single)factor);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AmdVertexShaderTesselator", Version = "2.0", EntryPoint = "glTessellationModeAMD")]
- public static
- void TessellationMode(AmdVertexShaderTesselator mode)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTessellationModeAMD((AmdVertexShaderTesselator)mode);
- #if DEBUG
- }
- #endif
- }
-
- }
-
- public static partial class Apple
- {
- [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glBindVertexArrayAPPLE")]
- public static
- void BindVertexArray(Int32 array)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindVertexArrayAPPLE((UInt32)array);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glBindVertexArrayAPPLE")]
- public static
- void BindVertexArray(UInt32 array)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindVertexArrayAPPLE((UInt32)array);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleFlushBufferRange", Version = "1.5", EntryPoint = "glBufferParameteriAPPLE")]
- public static
- void BufferParameter(BufferTarget target, BufferParameterApple pname, Int32 param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBufferParameteriAPPLE((BufferTarget)target, (BufferParameterApple)pname, (Int32)param);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")]
- public static
- unsafe void DeleteFences(Int32 n, Int32* fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")]
- public static
- void DeleteFences(Int32 n, Int32[] fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* fences_ptr = fences)
- {
- Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")]
- public static
- void DeleteFences(Int32 n, ref Int32 fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* fences_ptr = &fences)
- {
- Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")]
- public static
- void DeleteFences(Int32 n, ref UInt32 fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* fences_ptr = &fences)
- {
- Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")]
- public static
- unsafe void DeleteFences(Int32 n, UInt32* fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")]
- public static
- void DeleteFences(Int32 n, UInt32[] fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* fences_ptr = fences)
- {
- Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")]
- public static
- unsafe void DeleteVertexArrays(Int32 n, Int32* arrays)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")]
- public static
- void DeleteVertexArrays(Int32 n, Int32[] arrays)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* arrays_ptr = arrays)
- {
- Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")]
- public static
- void DeleteVertexArrays(Int32 n, ref Int32 arrays)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* arrays_ptr = &arrays)
- {
- Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")]
- public static
- void DeleteVertexArrays(Int32 n, ref UInt32 arrays)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* arrays_ptr = &arrays)
- {
- Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")]
- public static
- unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")]
- public static
- void DeleteVertexArrays(Int32 n, UInt32[] arrays)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* arrays_ptr = arrays)
- {
- Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glDisableVertexAttribAPPLE")]
- public static
- void DisableVertexAttrib(Int32 index, AppleVertexProgramEvaluators pname)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDisableVertexAttribAPPLE((UInt32)index, (AppleVertexProgramEvaluators)pname);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glDisableVertexAttribAPPLE")]
- public static
- void DisableVertexAttrib(UInt32 index, AppleVertexProgramEvaluators pname)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDisableVertexAttribAPPLE((UInt32)index, (AppleVertexProgramEvaluators)pname);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glDrawElementArrayAPPLE")]
- public static
- void DrawElementArray(BeginMode mode, Int32 first, Int32 count)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawElementArrayAPPLE((BeginMode)mode, (Int32)first, (Int32)count);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glDrawRangeElementArrayAPPLE")]
- public static
- void DrawRangeElementArray(BeginMode mode, Int32 start, Int32 end, Int32 first, Int32 count)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawRangeElementArrayAPPLE((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glDrawRangeElementArrayAPPLE")]
- public static
- void DrawRangeElementArray(BeginMode mode, UInt32 start, UInt32 end, Int32 first, Int32 count)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawRangeElementArrayAPPLE((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")]
- public static
- void ElementPointer(AppleElementArray type, [In, Out] ref T1 pointer)
- where T1 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glElementPointerAPPLE((AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")]
- public static
- void ElementPointer(AppleElementArray type, [In, Out] T1[,,] pointer)
- where T1 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glElementPointerAPPLE((AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")]
- public static
- void ElementPointer(AppleElementArray type, [In, Out] T1[,] pointer)
- where T1 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glElementPointerAPPLE((AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")]
- public static
- void ElementPointer(AppleElementArray type, [In, Out] T1[] pointer)
- where T1 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glElementPointerAPPLE((AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")]
- public static
- void ElementPointer(AppleElementArray type, IntPtr pointer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glElementPointerAPPLE((AppleElementArray)type, (IntPtr)pointer);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glEnableVertexAttribAPPLE")]
- public static
- void EnableVertexAttrib(Int32 index, AppleVertexProgramEvaluators pname)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEnableVertexAttribAPPLE((UInt32)index, (AppleVertexProgramEvaluators)pname);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glEnableVertexAttribAPPLE")]
- public static
- void EnableVertexAttrib(UInt32 index, AppleVertexProgramEvaluators pname)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEnableVertexAttribAPPLE((UInt32)index, (AppleVertexProgramEvaluators)pname);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glFinishFenceAPPLE")]
- public static
- void FinishFence(Int32 fence)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFinishFenceAPPLE((UInt32)fence);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glFinishFenceAPPLE")]
- public static
- void FinishFence(UInt32 fence)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFinishFenceAPPLE((UInt32)fence);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glFinishObjectAPPLE")]
- public static
- void FinishObject(AppleFence @object, Int32 name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFinishObjectAPPLE((AppleFence)@object, (Int32)name);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleFlushBufferRange", Version = "1.5", EntryPoint = "glFlushMappedBufferRangeAPPLE")]
- public static
- void FlushMappedBufferRange(BufferTarget target, IntPtr offset, IntPtr size)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFlushMappedBufferRangeAPPLE((BufferTarget)target, (IntPtr)offset, (IntPtr)size);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")]
- public static
- void FlushVertexArrayRange(Int32 length, [In, Out] ref T1 pointer)
- where T1 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")]
- public static
- void FlushVertexArrayRange(Int32 length, [In, Out] T1[,,] pointer)
- where T1 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")]
- public static
- void FlushVertexArrayRange(Int32 length, [In, Out] T1[,] pointer)
- where T1 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")]
- public static
- void FlushVertexArrayRange(Int32 length, [In, Out] T1[] pointer)
- where T1 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")]
- public static
- void FlushVertexArrayRange(Int32 length, [Out] IntPtr pointer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")]
- public static
- unsafe void GenFences(Int32 n, [Out] Int32* fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")]
- public static
- void GenFences(Int32 n, [Out] Int32[] fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* fences_ptr = fences)
- {
- Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")]
- public static
- void GenFences(Int32 n, [Out] out Int32 fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* fences_ptr = &fences)
- {
- Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
- fences = *fences_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")]
- public static
- void GenFences(Int32 n, [Out] out UInt32 fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* fences_ptr = &fences)
- {
- Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
- fences = *fences_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")]
- public static
- unsafe void GenFences(Int32 n, [Out] UInt32* fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")]
- public static
- void GenFences(Int32 n, [Out] UInt32[] fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* fences_ptr = fences)
- {
- Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")]
- public static
- unsafe void GenVertexArrays(Int32 n, [Out] Int32* arrays)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")]
- public static
- void GenVertexArrays(Int32 n, [Out] Int32[] arrays)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* arrays_ptr = arrays)
- {
- Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")]
- public static
- void GenVertexArrays(Int32 n, [Out] out Int32 arrays)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* arrays_ptr = &arrays)
- {
- Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
- arrays = *arrays_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")]
- public static
- void GenVertexArrays(Int32 n, [Out] out UInt32 arrays)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* arrays_ptr = &arrays)
- {
- Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
- arrays = *arrays_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")]
- public static
- unsafe void GenVertexArrays(Int32 n, [Out] UInt32* arrays)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")]
- public static
- void GenVertexArrays(Int32 n, [Out] UInt32[] arrays)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* arrays_ptr = arrays)
- {
- Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")]
- public static
- unsafe void GetObjectParameter(AppleObjectPurgeable objectType, Int32 name, AppleObjectPurgeable pname, [Out] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetObjectParameterivAPPLE((AppleObjectPurgeable)objectType, (UInt32)name, (AppleObjectPurgeable)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")]
- public static
- void GetObjectParameter(AppleObjectPurgeable objectType, Int32 name, AppleObjectPurgeable pname, [Out] Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetObjectParameterivAPPLE((AppleObjectPurgeable)objectType, (UInt32)name, (AppleObjectPurgeable)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")]
- public static
- void GetObjectParameter(AppleObjectPurgeable objectType, Int32 name, AppleObjectPurgeable pname, [Out] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetObjectParameterivAPPLE((AppleObjectPurgeable)objectType, (UInt32)name, (AppleObjectPurgeable)pname, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")]
- public static
- unsafe void GetObjectParameter(AppleObjectPurgeable objectType, UInt32 name, AppleObjectPurgeable pname, [Out] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetObjectParameterivAPPLE((AppleObjectPurgeable)objectType, (UInt32)name, (AppleObjectPurgeable)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")]
- public static
- void GetObjectParameter(AppleObjectPurgeable objectType, UInt32 name, AppleObjectPurgeable pname, [Out] Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetObjectParameterivAPPLE((AppleObjectPurgeable)objectType, (UInt32)name, (AppleObjectPurgeable)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")]
- public static
- void GetObjectParameter(AppleObjectPurgeable objectType, UInt32 name, AppleObjectPurgeable pname, [Out] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetObjectParameterivAPPLE((AppleObjectPurgeable)objectType, (UInt32)name, (AppleObjectPurgeable)pname, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glGetTexParameterPointervAPPLE")]
- public static
- void GetTexParameterPointer(AppleTextureRange target, AppleTextureRange pname, [In, Out] ref T2 @params)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
- try
- {
- Delegates.glGetTexParameterPointervAPPLE((AppleTextureRange)target, (AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
- }
- finally
- {
- @params_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glGetTexParameterPointervAPPLE")]
- public static
- void GetTexParameterPointer(AppleTextureRange target, AppleTextureRange pname, [In, Out] T2[,,] @params)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
- try
- {
- Delegates.glGetTexParameterPointervAPPLE((AppleTextureRange)target, (AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
- }
- finally
- {
- @params_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glGetTexParameterPointervAPPLE")]
- public static
- void GetTexParameterPointer(AppleTextureRange target, AppleTextureRange pname, [In, Out] T2[,] @params)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
- try
- {
- Delegates.glGetTexParameterPointervAPPLE((AppleTextureRange)target, (AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
- }
- finally
- {
- @params_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glGetTexParameterPointervAPPLE")]
- public static
- void GetTexParameterPointer(AppleTextureRange target, AppleTextureRange pname, [In, Out] T2[] @params)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
- try
- {
- Delegates.glGetTexParameterPointervAPPLE((AppleTextureRange)target, (AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
- }
- finally
- {
- @params_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glGetTexParameterPointervAPPLE")]
- public static
- void GetTexParameterPointer(AppleTextureRange target, AppleTextureRange pname, [Out] IntPtr @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetTexParameterPointervAPPLE((AppleTextureRange)target, (AppleTextureRange)pname, (IntPtr)@params);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glIsFenceAPPLE")]
- public static
- bool IsFence(Int32 fence)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsFenceAPPLE((UInt32)fence);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glIsFenceAPPLE")]
- public static
- bool IsFence(UInt32 fence)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsFenceAPPLE((UInt32)fence);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glIsVertexArrayAPPLE")]
- public static
- bool IsVertexArray(Int32 array)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsVertexArrayAPPLE((UInt32)array);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glIsVertexArrayAPPLE")]
- public static
- bool IsVertexArray(UInt32 array)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsVertexArrayAPPLE((UInt32)array);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glIsVertexAttribEnabledAPPLE")]
- public static
- bool IsVertexAttribEnabled(Int32 index, AppleVertexProgramEvaluators pname)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsVertexAttribEnabledAPPLE((UInt32)index, (AppleVertexProgramEvaluators)pname);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glIsVertexAttribEnabledAPPLE")]
- public static
- bool IsVertexAttribEnabled(UInt32 index, AppleVertexProgramEvaluators pname)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsVertexAttribEnabledAPPLE((UInt32)index, (AppleVertexProgramEvaluators)pname);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1dAPPLE")]
- public static
- unsafe void MapVertexAttrib1(Int32 index, Int32 size, Double u1, Double u2, Int32 stride, Int32 order, Double* points)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1dAPPLE")]
- public static
- void MapVertexAttrib1(Int32 index, Int32 size, Double u1, Double u2, Int32 stride, Int32 order, Double[] points)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* points_ptr = points)
- {
- Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1dAPPLE")]
- public static
- void MapVertexAttrib1(Int32 index, Int32 size, Double u1, Double u2, Int32 stride, Int32 order, ref Double points)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* points_ptr = &points)
- {
- Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1dAPPLE")]
- public static
- unsafe void MapVertexAttrib1(UInt32 index, UInt32 size, Double u1, Double u2, Int32 stride, Int32 order, Double* points)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1dAPPLE")]
- public static
- void MapVertexAttrib1(UInt32 index, UInt32 size, Double u1, Double u2, Int32 stride, Int32 order, Double[] points)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* points_ptr = points)
- {
- Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1dAPPLE")]
- public static
- void MapVertexAttrib1(UInt32 index, UInt32 size, Double u1, Double u2, Int32 stride, Int32 order, ref Double points)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* points_ptr = &points)
- {
- Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1fAPPLE")]
- public static
- void MapVertexAttrib1(Int32 index, Int32 size, Single u1, Single u2, Int32 stride, Int32 order, ref Single points)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* points_ptr = &points)
- {
- Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1fAPPLE")]
- public static
- unsafe void MapVertexAttrib1(Int32 index, Int32 size, Single u1, Single u2, Int32 stride, Int32 order, Single* points)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1fAPPLE")]
- public static
- void MapVertexAttrib1(Int32 index, Int32 size, Single u1, Single u2, Int32 stride, Int32 order, Single[] points)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* points_ptr = points)
- {
- Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1fAPPLE")]
- public static
- void MapVertexAttrib1(UInt32 index, UInt32 size, Single u1, Single u2, Int32 stride, Int32 order, ref Single points)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* points_ptr = &points)
- {
- Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1fAPPLE")]
- public static
- unsafe void MapVertexAttrib1(UInt32 index, UInt32 size, Single u1, Single u2, Int32 stride, Int32 order, Single* points)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1fAPPLE")]
- public static
- void MapVertexAttrib1(UInt32 index, UInt32 size, Single u1, Single u2, Int32 stride, Int32 order, Single[] points)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* points_ptr = points)
- {
- Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2dAPPLE")]
- public static
- unsafe void MapVertexAttrib2(Int32 index, Int32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMapVertexAttrib2dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2dAPPLE")]
- public static
- void MapVertexAttrib2(Int32 index, Int32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double[] points)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* points_ptr = points)
- {
- Delegates.glMapVertexAttrib2dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2dAPPLE")]
- public static
- void MapVertexAttrib2(Int32 index, Int32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, ref Double points)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* points_ptr = &points)
- {
- Delegates.glMapVertexAttrib2dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2dAPPLE")]
- public static
- unsafe void MapVertexAttrib2(UInt32 index, UInt32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMapVertexAttrib2dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2dAPPLE")]
- public static
- void MapVertexAttrib2(UInt32 index, UInt32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double[] points)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* points_ptr = points)
- {
- Delegates.glMapVertexAttrib2dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2dAPPLE")]
- public static
- void MapVertexAttrib2(UInt32 index, UInt32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, ref Double points)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* points_ptr = &points)
- {
- Delegates.glMapVertexAttrib2dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2fAPPLE")]
- public static
- void MapVertexAttrib2(Int32 index, Int32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, ref Single points)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* points_ptr = &points)
- {
- Delegates.glMapVertexAttrib2fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2fAPPLE")]
- public static
- unsafe void MapVertexAttrib2(Int32 index, Int32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMapVertexAttrib2fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2fAPPLE")]
- public static
- void MapVertexAttrib2(Int32 index, Int32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single[] points)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* points_ptr = points)
- {
- Delegates.glMapVertexAttrib2fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2fAPPLE")]
- public static
- void MapVertexAttrib2(UInt32 index, UInt32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, ref Single points)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* points_ptr = &points)
- {
- Delegates.glMapVertexAttrib2fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2fAPPLE")]
- public static
- unsafe void MapVertexAttrib2(UInt32 index, UInt32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMapVertexAttrib2fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2fAPPLE")]
- public static
- void MapVertexAttrib2(UInt32 index, UInt32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single[] points)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* points_ptr = points)
- {
- Delegates.glMapVertexAttrib2fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawElementArrayAPPLE")]
- public static
- unsafe void MultiDrawElementArray(BeginMode mode, Int32* first, Int32* count, Int32 primcount)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiDrawElementArrayAPPLE((BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawElementArrayAPPLE")]
- public static
- void MultiDrawElementArray(BeginMode mode, Int32[] first, Int32[] count, Int32 primcount)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* first_ptr = first)
- fixed (Int32* count_ptr = count)
- {
- Delegates.glMultiDrawElementArrayAPPLE((BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawElementArrayAPPLE")]
- public static
- void MultiDrawElementArray(BeginMode mode, ref Int32 first, ref Int32 count, Int32 primcount)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* first_ptr = &first)
- fixed (Int32* count_ptr = &count)
- {
- Delegates.glMultiDrawElementArrayAPPLE((BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")]
- public static
- unsafe void MultiDrawRangeElementArray(BeginMode mode, Int32 start, Int32 end, Int32* first, Int32* count, Int32 primcount)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiDrawRangeElementArrayAPPLE((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")]
- public static
- void MultiDrawRangeElementArray(BeginMode mode, Int32 start, Int32 end, Int32[] first, Int32[] count, Int32 primcount)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* first_ptr = first)
- fixed (Int32* count_ptr = count)
- {
- Delegates.glMultiDrawRangeElementArrayAPPLE((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")]
- public static
- void MultiDrawRangeElementArray(BeginMode mode, Int32 start, Int32 end, ref Int32 first, ref Int32 count, Int32 primcount)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* first_ptr = &first)
- fixed (Int32* count_ptr = &count)
- {
- Delegates.glMultiDrawRangeElementArrayAPPLE((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")]
- public static
- unsafe void MultiDrawRangeElementArray(BeginMode mode, UInt32 start, UInt32 end, Int32* first, Int32* count, Int32 primcount)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiDrawRangeElementArrayAPPLE((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")]
- public static
- void MultiDrawRangeElementArray(BeginMode mode, UInt32 start, UInt32 end, Int32[] first, Int32[] count, Int32 primcount)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* first_ptr = first)
- fixed (Int32* count_ptr = count)
- {
- Delegates.glMultiDrawRangeElementArrayAPPLE((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")]
- public static
- void MultiDrawRangeElementArray(BeginMode mode, UInt32 start, UInt32 end, ref Int32 first, ref Int32 count, Int32 primcount)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* first_ptr = &first)
- fixed (Int32* count_ptr = &count)
- {
- Delegates.glMultiDrawRangeElementArrayAPPLE((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glObjectPurgeableAPPLE")]
- public static
- IntPtr ObjectPurgeable(AppleObjectPurgeable objectType, Int32 name, AppleObjectPurgeable option)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glObjectPurgeableAPPLE((AppleObjectPurgeable)objectType, (UInt32)name, (AppleObjectPurgeable)option);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glObjectPurgeableAPPLE")]
- public static
- IntPtr ObjectPurgeable(AppleObjectPurgeable objectType, UInt32 name, AppleObjectPurgeable option)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glObjectPurgeableAPPLE((AppleObjectPurgeable)objectType, (UInt32)name, (AppleObjectPurgeable)option);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glObjectUnpurgeableAPPLE")]
- public static
- IntPtr ObjectUnpurgeable(AppleObjectPurgeable objectType, Int32 name, AppleObjectPurgeable option)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glObjectUnpurgeableAPPLE((AppleObjectPurgeable)objectType, (UInt32)name, (AppleObjectPurgeable)option);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glObjectUnpurgeableAPPLE")]
- public static
- IntPtr ObjectUnpurgeable(AppleObjectPurgeable objectType, UInt32 name, AppleObjectPurgeable option)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glObjectUnpurgeableAPPLE((AppleObjectPurgeable)objectType, (UInt32)name, (AppleObjectPurgeable)option);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glSetFenceAPPLE")]
- public static
- void SetFence(Int32 fence)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glSetFenceAPPLE((UInt32)fence);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glSetFenceAPPLE")]
- public static
- void SetFence(UInt32 fence)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glSetFenceAPPLE((UInt32)fence);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glTestFenceAPPLE")]
- public static
- bool TestFence(Int32 fence)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glTestFenceAPPLE((UInt32)fence);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glTestFenceAPPLE")]
- public static
- bool TestFence(UInt32 fence)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glTestFenceAPPLE((UInt32)fence);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glTestObjectAPPLE")]
- public static
- bool TestObject(AppleFence @object, Int32 name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glTestObjectAPPLE((AppleFence)@object, (UInt32)name);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glTestObjectAPPLE")]
- public static
- bool TestObject(AppleFence @object, UInt32 name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glTestObjectAPPLE((AppleFence)@object, (UInt32)name);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glTextureRangeAPPLE")]
- public static
- void TextureRange(AppleTextureRange target, Int32 length, [In, Out] ref T2 pointer)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glTextureRangeAPPLE((AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glTextureRangeAPPLE")]
- public static
- void TextureRange(AppleTextureRange target, Int32 length, [In, Out] T2[,,] pointer)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glTextureRangeAPPLE((AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glTextureRangeAPPLE")]
- public static
- void TextureRange(AppleTextureRange target, Int32 length, [In, Out] T2[,] pointer)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glTextureRangeAPPLE((AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glTextureRangeAPPLE")]
- public static
- void TextureRange(AppleTextureRange target, Int32 length, [In, Out] T2[] pointer)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glTextureRangeAPPLE((AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glTextureRangeAPPLE")]
- public static
- void TextureRange(AppleTextureRange target, Int32 length, IntPtr pointer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTextureRangeAPPLE((AppleTextureRange)target, (Int32)length, (IntPtr)pointer);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayParameteriAPPLE")]
- public static
- void VertexArrayParameter(AppleVertexArrayRange pname, Int32 param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexArrayParameteriAPPLE((AppleVertexArrayRange)pname, (Int32)param);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")]
- public static
- void VertexArrayRange(Int32 length, [In, Out] ref T1 pointer)
- where T1 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")]
- public static
- void VertexArrayRange(Int32 length, [In, Out] T1[,,] pointer)
- where T1 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")]
- public static
- void VertexArrayRange(Int32 length, [In, Out] T1[,] pointer)
- where T1 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")]
- public static
- void VertexArrayRange(Int32 length, [In, Out] T1[] pointer)
- where T1 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")]
- public static
- void VertexArrayRange(Int32 length, [Out] IntPtr pointer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer);
- #if DEBUG
- }
- #endif
- }
-
- }
-
- public static partial class Arb
- {
-
- ///
- /// Select active texture unit
- ///
- ///
- ///
- /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least two. texture must be one of GL_TEXTURE, where i ranges from 0 to the larger of (GL_MAX_TEXTURE_COORDS - 1) and (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glActiveTextureARB")]
- public static
- void ActiveTexture(TextureUnit texture)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glActiveTextureARB((TextureUnit)texture);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glAttachObjectARB")]
- public static
- void AttachObject(Int32 containerObj, Int32 obj)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glAttachObjectARB((UInt32)containerObj, (UInt32)obj);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glAttachObjectARB")]
- public static
- void AttachObject(UInt32 containerObj, UInt32 obj)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glAttachObjectARB((UInt32)containerObj, (UInt32)obj);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delimit the boundaries of a query object
- ///
- ///
- ///
- /// Specifies the target type of query object established between glBeginQuery and the subsequent glEndQuery. The symbolic constant must be GL_SAMPLES_PASSED.
- ///
- ///
- ///
- ///
- /// Specifies the name of a query object.
- ///
- ///
- [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glBeginQueryARB")]
- public static
- void BeginQuery(ArbOcclusionQuery target, Int32 id)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBeginQueryARB((ArbOcclusionQuery)target, (UInt32)id);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delimit the boundaries of a query object
- ///
- ///
- ///
- /// Specifies the target type of query object established between glBeginQuery and the subsequent glEndQuery. The symbolic constant must be GL_SAMPLES_PASSED.
- ///
- ///
- ///
- ///
- /// Specifies the name of a query object.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glBeginQueryARB")]
- public static
- void BeginQuery(ArbOcclusionQuery target, UInt32 id)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBeginQueryARB((ArbOcclusionQuery)target, (UInt32)id);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Associates a generic vertex attribute index with a named attribute variable
- ///
- ///
- ///
- /// Specifies the handle of the program object in which the association is to be made.
- ///
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be bound.
- ///
- ///
- ///
- ///
- /// Specifies a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glBindAttribLocationARB")]
- public static
- void BindAttribLocation(Int32 programObj, Int32 index, String name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindAttribLocationARB((UInt32)programObj, (UInt32)index, (String)name);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Associates a generic vertex attribute index with a named attribute variable
- ///
- ///
- ///
- /// Specifies the handle of the program object in which the association is to be made.
- ///
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be bound.
- ///
- ///
- ///
- ///
- /// Specifies a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glBindAttribLocationARB")]
- public static
- void BindAttribLocation(UInt32 programObj, UInt32 index, String name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindAttribLocationARB((UInt32)programObj, (UInt32)index, (String)name);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Bind a named buffer object
- ///
- ///
- ///
- /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the name of a buffer object.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBindBufferARB")]
- public static
- void BindBuffer(BufferTargetArb target, Int32 buffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindBufferARB((BufferTargetArb)target, (UInt32)buffer);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Bind a named buffer object
- ///
- ///
- ///
- /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the name of a buffer object.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBindBufferARB")]
- public static
- void BindBuffer(BufferTargetArb target, UInt32 buffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindBufferARB((BufferTargetArb)target, (UInt32)buffer);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glBindProgramARB")]
- public static
- void BindProgram(AssemblyProgramTargetArb target, Int32 program)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindProgramARB((AssemblyProgramTargetArb)target, (UInt32)program);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glBindProgramARB")]
- public static
- void BindProgram(AssemblyProgramTargetArb target, UInt32 program)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindProgramARB((AssemblyProgramTargetArb)target, (UInt32)program);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Creates and initializes a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the buffer object's new data store.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
- ///
- ///
- ///
- ///
- /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")]
- public static
- void BufferData(BufferTargetArb target, IntPtr size, [In, Out] ref T2 data, BufferUsageArb usage)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferDataARB((BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (BufferUsageArb)usage);
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Creates and initializes a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the buffer object's new data store.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
- ///
- ///
- ///
- ///
- /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")]
- public static
- void BufferData(BufferTargetArb target, IntPtr size, [In, Out] T2[,,] data, BufferUsageArb usage)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferDataARB((BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (BufferUsageArb)usage);
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Creates and initializes a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the buffer object's new data store.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
- ///
- ///
- ///
- ///
- /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")]
- public static
- void BufferData(BufferTargetArb target, IntPtr size, [In, Out] T2[,] data, BufferUsageArb usage)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferDataARB((BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (BufferUsageArb)usage);
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Creates and initializes a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the buffer object's new data store.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
- ///
- ///
- ///
- ///
- /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")]
- public static
- void BufferData(BufferTargetArb target, IntPtr size, [In, Out] T2[] data, BufferUsageArb usage)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferDataARB((BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (BufferUsageArb)usage);
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Creates and initializes a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the buffer object's new data store.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
- ///
- ///
- ///
- ///
- /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")]
- public static
- void BufferData(BufferTargetArb target, IntPtr size, IntPtr data, BufferUsageArb usage)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBufferDataARB((BufferTargetArb)target, (IntPtr)size, (IntPtr)data, (BufferUsageArb)usage);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Updates a subset of a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the data store region being replaced.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the new data that will be copied into the data store.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")]
- public static
- void BufferSubData(BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] ref T3 data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferSubDataARB((BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Updates a subset of a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the data store region being replaced.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the new data that will be copied into the data store.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")]
- public static
- void BufferSubData(BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[,,] data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferSubDataARB((BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Updates a subset of a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the data store region being replaced.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the new data that will be copied into the data store.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")]
- public static
- void BufferSubData(BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[,] data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferSubDataARB((BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Updates a subset of a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the data store region being replaced.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the new data that will be copied into the data store.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")]
- public static
- void BufferSubData(BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[] data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferSubDataARB((BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Updates a subset of a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the data store region being replaced.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the new data that will be copied into the data store.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")]
- public static
- void BufferSubData(BufferTargetArb target, IntPtr offset, IntPtr size, IntPtr data)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBufferSubDataARB((BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbColorBufferFloat", Version = "1.5", EntryPoint = "glClampColorARB")]
- public static
- void ClampColor(ArbColorBufferFloat target, ArbColorBufferFloat clamp)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClampColorARB((ArbColorBufferFloat)target, (ArbColorBufferFloat)clamp);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Select active texture unit
- ///
- ///
- ///
- /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least two. texture must be one of GL_TEXTURE, where i ranges from 0 to the value of GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. The initial value is GL_TEXTURE0.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glClientActiveTextureARB")]
- public static
- void ClientActiveTexture(TextureUnit texture)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClientActiveTextureARB((TextureUnit)texture);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Compiles a shader object
- ///
- ///
- ///
- /// Specifies the shader object to be compiled.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glCompileShaderARB")]
- public static
- void CompileShader(Int32 shaderObj)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCompileShaderARB((UInt32)shaderObj);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Compiles a shader object
- ///
- ///
- ///
- /// Specifies the shader object to be compiled.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glCompileShaderARB")]
- public static
- void CompileShader(UInt32 shaderObj)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCompileShaderARB((UInt32)shaderObj);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a one-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1.
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")]
- public static
- void CompressedTexImage1D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T6 data)
- where T6 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage1DARB((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a one-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1.
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")]
- public static
- void CompressedTexImage1D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[,,] data)
- where T6 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage1DARB((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a one-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1.
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")]
- public static
- void CompressedTexImage1D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[,] data)
- where T6 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage1DARB((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a one-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1.
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")]
- public static
- void CompressedTexImage1D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[] data)
- where T6 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage1DARB((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a one-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1.
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")]
- public static
- void CompressedTexImage1D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCompressedTexImage1DARB((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a two-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")]
- public static
- void CompressedTexImage2D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] ref T7 data)
- where T7 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage2DARB((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a two-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")]
- public static
- void CompressedTexImage2D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[,,] data)
- where T7 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage2DARB((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a two-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")]
- public static
- void CompressedTexImage2D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[,] data)
- where T7 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage2DARB((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a two-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")]
- public static
- void CompressedTexImage2D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[] data)
- where T7 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage2DARB((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a two-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")]
- public static
- void CompressedTexImage2D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCompressedTexImage2DARB((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a three-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep.
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")]
- public static
- void CompressedTexImage3D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T8 data)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage3DARB((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a three-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep.
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")]
- public static
- void CompressedTexImage3D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[,,] data)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage3DARB((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a three-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep.
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")]
- public static
- void CompressedTexImage3D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[,] data)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage3DARB((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a three-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep.
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")]
- public static
- void CompressedTexImage3D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[] data)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage3DARB((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a three-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep.
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")]
- public static
- void CompressedTexImage3D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCompressedTexImage3DARB((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a one-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_1D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")]
- public static
- void CompressedTexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, [In, Out] ref T6 data)
- where T6 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage1DARB((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a one-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_1D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")]
- public static
- void CompressedTexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, [In, Out] T6[,,] data)
- where T6 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage1DARB((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a one-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_1D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")]
- public static
- void CompressedTexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, [In, Out] T6[,] data)
- where T6 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage1DARB((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a one-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_1D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")]
- public static
- void CompressedTexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, [In, Out] T6[] data)
- where T6 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage1DARB((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a one-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_1D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")]
- public static
- void CompressedTexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, IntPtr data)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCompressedTexSubImage1DARB((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)data);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a two-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")]
- public static
- void CompressedTexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, [In, Out] ref T8 data)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage2DARB((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a two-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")]
- public static
- void CompressedTexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, [In, Out] T8[,,] data)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage2DARB((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a two-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")]
- public static
- void CompressedTexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, [In, Out] T8[,] data)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage2DARB((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a two-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")]
- public static
- void CompressedTexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, [In, Out] T8[] data)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage2DARB((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a two-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")]
- public static
- void CompressedTexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, IntPtr data)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCompressedTexSubImage2DARB((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)data);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a three-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_3D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the depth of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")]
- public static
- void CompressedTexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, [In, Out] ref T10 data)
- where T10 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage3DARB((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a three-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_3D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the depth of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")]
- public static
- void CompressedTexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, [In, Out] T10[,,] data)
- where T10 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage3DARB((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a three-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_3D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the depth of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")]
- public static
- void CompressedTexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, [In, Out] T10[,] data)
- where T10 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage3DARB((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a three-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_3D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the depth of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")]
- public static
- void CompressedTexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, [In, Out] T10[] data)
- where T10 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage3DARB((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a three-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_3D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the depth of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")]
- public static
- void CompressedTexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, IntPtr data)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCompressedTexSubImage3DARB((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)data);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glCreateProgramObjectARB")]
- public static
- Int32 CreateProgramObject()
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glCreateProgramObjectARB();
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glCreateShaderObjectARB")]
- public static
- Int32 CreateShaderObject(ArbShaderObjects shaderType)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glCreateShaderObjectARB((ArbShaderObjects)shaderType);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glCurrentPaletteMatrixARB")]
- public static
- void CurrentPaletteMatrix(Int32 index)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCurrentPaletteMatrixARB((Int32)index);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete named buffer objects
- ///
- ///
- ///
- /// Specifies the number of buffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of buffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")]
- public static
- unsafe void DeleteBuffers(Int32 n, Int32* buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete named buffer objects
- ///
- ///
- ///
- /// Specifies the number of buffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of buffer objects to be deleted.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")]
- public static
- void DeleteBuffers(Int32 n, Int32[] buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* buffers_ptr = buffers)
- {
- Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete named buffer objects
- ///
- ///
- ///
- /// Specifies the number of buffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of buffer objects to be deleted.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")]
- public static
- void DeleteBuffers(Int32 n, ref Int32 buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* buffers_ptr = &buffers)
- {
- Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete named buffer objects
- ///
- ///
- ///
- /// Specifies the number of buffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of buffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")]
- public static
- void DeleteBuffers(Int32 n, ref UInt32 buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* buffers_ptr = &buffers)
- {
- Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete named buffer objects
- ///
- ///
- ///
- /// Specifies the number of buffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of buffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")]
- public static
- unsafe void DeleteBuffers(Int32 n, UInt32* buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete named buffer objects
- ///
- ///
- ///
- /// Specifies the number of buffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of buffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")]
- public static
- void DeleteBuffers(Int32 n, UInt32[] buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* buffers_ptr = buffers)
- {
- Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glDeleteObjectARB")]
- public static
- void DeleteObject(Int32 obj)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteObjectARB((UInt32)obj);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glDeleteObjectARB")]
- public static
- void DeleteObject(UInt32 obj)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteObjectARB((UInt32)obj);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Deletes a program object
- ///
- ///
- ///
- /// Specifies the program object to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")]
- public static
- unsafe void DeleteProgram(Int32 n, Int32* programs)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Deletes a program object
- ///
- ///
- ///
- /// Specifies the program object to be deleted.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")]
- public static
- void DeleteProgram(Int32 n, Int32[] programs)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* programs_ptr = programs)
- {
- Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Deletes a program object
- ///
- ///
- ///
- /// Specifies the program object to be deleted.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")]
- public static
- void DeleteProgram(Int32 n, ref Int32 programs)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* programs_ptr = &programs)
- {
- Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Deletes a program object
- ///
- ///
- ///
- /// Specifies the program object to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")]
- public static
- void DeleteProgram(Int32 n, ref UInt32 programs)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* programs_ptr = &programs)
- {
- Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Deletes a program object
- ///
- ///
- ///
- /// Specifies the program object to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")]
- public static
- unsafe void DeleteProgram(Int32 n, UInt32* programs)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Deletes a program object
- ///
- ///
- ///
- /// Specifies the program object to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")]
- public static
- void DeleteProgram(Int32 n, UInt32[] programs)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* programs_ptr = programs)
- {
- Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete named query objects
- ///
- ///
- ///
- /// Specifies the number of query objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of query objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")]
- public static
- unsafe void DeleteQueries(Int32 n, Int32* ids)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete named query objects
- ///
- ///
- ///
- /// Specifies the number of query objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of query objects to be deleted.
- ///
- ///
- [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")]
- public static
- void DeleteQueries(Int32 n, Int32[] ids)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* ids_ptr = ids)
- {
- Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete named query objects
- ///
- ///
- ///
- /// Specifies the number of query objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of query objects to be deleted.
- ///
- ///
- [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")]
- public static
- void DeleteQueries(Int32 n, ref Int32 ids)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* ids_ptr = &ids)
- {
- Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete named query objects
- ///
- ///
- ///
- /// Specifies the number of query objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of query objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")]
- public static
- void DeleteQueries(Int32 n, ref UInt32 ids)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* ids_ptr = &ids)
- {
- Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete named query objects
- ///
- ///
- ///
- /// Specifies the number of query objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of query objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")]
- public static
- unsafe void DeleteQueries(Int32 n, UInt32* ids)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete named query objects
- ///
- ///
- ///
- /// Specifies the number of query objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of query objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")]
- public static
- void DeleteQueries(Int32 n, UInt32[] ids)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* ids_ptr = ids)
- {
- Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glDetachObjectARB")]
- public static
- void DetachObject(Int32 containerObj, Int32 attachedObj)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDetachObjectARB((UInt32)containerObj, (UInt32)attachedObj);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glDetachObjectARB")]
- public static
- void DetachObject(UInt32 containerObj, UInt32 attachedObj)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDetachObjectARB((UInt32)containerObj, (UInt32)attachedObj);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDisableVertexAttribArrayARB")]
- public static
- void DisableVertexAttribArray(Int32 index)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDisableVertexAttribArrayARB((UInt32)index);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDisableVertexAttribArrayARB")]
- public static
- void DisableVertexAttribArray(UInt32 index)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDisableVertexAttribArrayARB((UInt32)index);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawArraysInstancedARB")]
- public static
- void DrawArraysInstanced(BeginMode mode, Int32 first, Int32 count, Int32 primcount)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawArraysInstancedARB((BeginMode)mode, (Int32)first, (Int32)count, (Int32)primcount);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies a list of color buffers to be drawn into
- ///
- ///
- ///
- /// Specifies the number of buffers in bufs.
- ///
- ///
- ///
- ///
- /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbDrawBuffers", Version = "1.5", EntryPoint = "glDrawBuffersARB")]
- public static
- unsafe void DrawBuffers(Int32 n, ArbDrawBuffers* bufs)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawBuffersARB((Int32)n, (ArbDrawBuffers*)bufs);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies a list of color buffers to be drawn into
- ///
- ///
- ///
- /// Specifies the number of buffers in bufs.
- ///
- ///
- ///
- ///
- /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written.
- ///
- ///
- [AutoGenerated(Category = "ArbDrawBuffers", Version = "1.5", EntryPoint = "glDrawBuffersARB")]
- public static
- void DrawBuffers(Int32 n, ArbDrawBuffers[] bufs)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (ArbDrawBuffers* bufs_ptr = bufs)
- {
- Delegates.glDrawBuffersARB((Int32)n, (ArbDrawBuffers*)bufs_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies a list of color buffers to be drawn into
- ///
- ///
- ///
- /// Specifies the number of buffers in bufs.
- ///
- ///
- ///
- ///
- /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written.
- ///
- ///
- [AutoGenerated(Category = "ArbDrawBuffers", Version = "1.5", EntryPoint = "glDrawBuffersARB")]
- public static
- void DrawBuffers(Int32 n, ref ArbDrawBuffers bufs)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (ArbDrawBuffers* bufs_ptr = &bufs)
- {
- Delegates.glDrawBuffersARB((Int32)n, (ArbDrawBuffers*)bufs_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")]
- public static
- void DrawElementsInstanced(BeginMode mode, Int32 count, DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawElementsInstancedARB((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")]
- public static
- void DrawElementsInstanced(BeginMode mode, Int32 count, DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawElementsInstancedARB((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")]
- public static
- void DrawElementsInstanced(BeginMode mode, Int32 count, DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawElementsInstancedARB((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")]
- public static
- void DrawElementsInstanced(BeginMode mode, Int32 count, DrawElementsType type, [In, Out] T3[] indices, Int32 primcount)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawElementsInstancedARB((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")]
- public static
- void DrawElementsInstanced(BeginMode mode, Int32 count, DrawElementsType type, IntPtr indices, Int32 primcount)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawElementsInstancedARB((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices, (Int32)primcount);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Enable or disable a generic vertex attribute array
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be enabled or disabled.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glEnableVertexAttribArrayARB")]
- public static
- void EnableVertexAttribArray(Int32 index)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEnableVertexAttribArrayARB((UInt32)index);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Enable or disable a generic vertex attribute array
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be enabled or disabled.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glEnableVertexAttribArrayARB")]
- public static
- void EnableVertexAttribArray(UInt32 index)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEnableVertexAttribArrayARB((UInt32)index);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glEndQueryARB")]
- public static
- void EndQuery(ArbOcclusionQuery target)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEndQueryARB((ArbOcclusionQuery)target);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureARB")]
- public static
- void FramebufferTexture(FramebufferTarget target, FramebufferAttachment attachment, Int32 texture, Int32 level)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFramebufferTextureARB((FramebufferTarget)target, (FramebufferAttachment)attachment, (UInt32)texture, (Int32)level);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureARB")]
- public static
- void FramebufferTexture(FramebufferTarget target, FramebufferAttachment attachment, UInt32 texture, Int32 level)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFramebufferTextureARB((FramebufferTarget)target, (FramebufferAttachment)attachment, (UInt32)texture, (Int32)level);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureFaceARB")]
- public static
- void FramebufferTextureFace(FramebufferTarget target, FramebufferAttachment attachment, Int32 texture, Int32 level, TextureTarget face)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFramebufferTextureFaceARB((FramebufferTarget)target, (FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (TextureTarget)face);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureFaceARB")]
- public static
- void FramebufferTextureFace(FramebufferTarget target, FramebufferAttachment attachment, UInt32 texture, Int32 level, TextureTarget face)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFramebufferTextureFaceARB((FramebufferTarget)target, (FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (TextureTarget)face);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureLayerARB")]
- public static
- void FramebufferTextureLayer(FramebufferTarget target, FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFramebufferTextureLayerARB((FramebufferTarget)target, (FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureLayerARB")]
- public static
- void FramebufferTextureLayer(FramebufferTarget target, FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFramebufferTextureLayerARB((FramebufferTarget)target, (FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Generate buffer object names
- ///
- ///
- ///
- /// Specifies the number of buffer object names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated buffer object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")]
- public static
- unsafe void GenBuffers(Int32 n, [Out] Int32* buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Generate buffer object names
- ///
- ///
- ///
- /// Specifies the number of buffer object names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated buffer object names are stored.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")]
- public static
- void GenBuffers(Int32 n, [Out] Int32[] buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* buffers_ptr = buffers)
- {
- Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Generate buffer object names
- ///
- ///
- ///
- /// Specifies the number of buffer object names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated buffer object names are stored.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")]
- public static
- void GenBuffers(Int32 n, [Out] out Int32 buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* buffers_ptr = &buffers)
- {
- Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr);
- buffers = *buffers_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Generate buffer object names
- ///
- ///
- ///
- /// Specifies the number of buffer object names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated buffer object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")]
- public static
- void GenBuffers(Int32 n, [Out] out UInt32 buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* buffers_ptr = &buffers)
- {
- Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr);
- buffers = *buffers_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Generate buffer object names
- ///
- ///
- ///
- /// Specifies the number of buffer object names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated buffer object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")]
- public static
- unsafe void GenBuffers(Int32 n, [Out] UInt32* buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Generate buffer object names
- ///
- ///
- ///
- /// Specifies the number of buffer object names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated buffer object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")]
- public static
- void GenBuffers(Int32 n, [Out] UInt32[] buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* buffers_ptr = buffers)
- {
- Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")]
- public static
- unsafe void GenProgram(Int32 n, [Out] Int32* programs)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")]
- public static
- void GenProgram(Int32 n, [Out] Int32[] programs)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* programs_ptr = programs)
- {
- Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")]
- public static
- void GenProgram(Int32 n, [Out] out Int32 programs)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* programs_ptr = &programs)
- {
- Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr);
- programs = *programs_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")]
- public static
- void GenProgram(Int32 n, [Out] out UInt32 programs)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* programs_ptr = &programs)
- {
- Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr);
- programs = *programs_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")]
- public static
- unsafe void GenProgram(Int32 n, [Out] UInt32* programs)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")]
- public static
- void GenProgram(Int32 n, [Out] UInt32[] programs)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* programs_ptr = programs)
- {
- Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Generate query object names
- ///
- ///
- ///
- /// Specifies the number of query object names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated query object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")]
- public static
- unsafe void GenQueries(Int32 n, [Out] Int32* ids)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Generate query object names
- ///
- ///
- ///
- /// Specifies the number of query object names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated query object names are stored.
- ///
- ///
- [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")]
- public static
- void GenQueries(Int32 n, [Out] Int32[] ids)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* ids_ptr = ids)
- {
- Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Generate query object names
- ///
- ///
- ///
- /// Specifies the number of query object names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated query object names are stored.
- ///
- ///
- [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")]
- public static
- void GenQueries(Int32 n, [Out] out Int32 ids)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* ids_ptr = &ids)
- {
- Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr);
- ids = *ids_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Generate query object names
- ///
- ///
- ///
- /// Specifies the number of query object names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated query object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")]
- public static
- void GenQueries(Int32 n, [Out] out UInt32 ids)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* ids_ptr = &ids)
- {
- Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr);
- ids = *ids_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Generate query object names
- ///
- ///
- ///
- /// Specifies the number of query object names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated query object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")]
- public static
- unsafe void GenQueries(Int32 n, [Out] UInt32* ids)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Generate query object names
- ///
- ///
- ///
- /// Specifies the number of query object names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated query object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")]
- public static
- void GenQueries(Int32 n, [Out] UInt32[] ids)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* ids_ptr = ids)
- {
- Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns information about an active attribute variable for the specified program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the index of the attribute variable to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
- ///
- ///
- ///
- ///
- /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
- ///
- ///
- ///
- ///
- /// Returns the size of the attribute variable.
- ///
- ///
- ///
- ///
- /// Returns the data type of the attribute variable.
- ///
- ///
- ///
- ///
- /// Returns a null terminated string containing the name of the attribute variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")]
- public static
- unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] ArbVertexShader* type, [Out] System.Text.StringBuilder name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (ArbVertexShader*)type, (System.Text.StringBuilder)name);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns information about an active attribute variable for the specified program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the index of the attribute variable to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
- ///
- ///
- ///
- ///
- /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
- ///
- ///
- ///
- ///
- /// Returns the size of the attribute variable.
- ///
- ///
- ///
- ///
- /// Returns the data type of the attribute variable.
- ///
- ///
- ///
- ///
- /// Returns a null terminated string containing the name of the attribute variable.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")]
- public static
- void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out ArbVertexShader type, [Out] System.Text.StringBuilder name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- fixed (Int32* size_ptr = &size)
- fixed (ArbVertexShader* type_ptr = &type)
- {
- Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (ArbVertexShader*)type_ptr, (System.Text.StringBuilder)name);
- length = *length_ptr;
- size = *size_ptr;
- type = *type_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns information about an active attribute variable for the specified program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the index of the attribute variable to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
- ///
- ///
- ///
- ///
- /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
- ///
- ///
- ///
- ///
- /// Returns the size of the attribute variable.
- ///
- ///
- ///
- ///
- /// Returns the data type of the attribute variable.
- ///
- ///
- ///
- ///
- /// Returns a null terminated string containing the name of the attribute variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")]
- public static
- unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] ArbVertexShader* type, [Out] System.Text.StringBuilder name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (ArbVertexShader*)type, (System.Text.StringBuilder)name);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns information about an active attribute variable for the specified program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the index of the attribute variable to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
- ///
- ///
- ///
- ///
- /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
- ///
- ///
- ///
- ///
- /// Returns the size of the attribute variable.
- ///
- ///
- ///
- ///
- /// Returns the data type of the attribute variable.
- ///
- ///
- ///
- ///
- /// Returns a null terminated string containing the name of the attribute variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")]
- public static
- void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out ArbVertexShader type, [Out] System.Text.StringBuilder name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- fixed (Int32* size_ptr = &size)
- fixed (ArbVertexShader* type_ptr = &type)
- {
- Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (ArbVertexShader*)type_ptr, (System.Text.StringBuilder)name);
- length = *length_ptr;
- size = *size_ptr;
- type = *type_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns information about an active uniform variable for the specified program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the index of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
- ///
- ///
- ///
- ///
- /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
- ///
- ///
- ///
- ///
- /// Returns the size of the uniform variable.
- ///
- ///
- ///
- ///
- /// Returns the data type of the uniform variable.
- ///
- ///
- ///
- ///
- /// Returns a null terminated string containing the name of the uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")]
- public static
- unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] ArbShaderObjects* type, [Out] System.Text.StringBuilder name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (ArbShaderObjects*)type, (System.Text.StringBuilder)name);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns information about an active uniform variable for the specified program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the index of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
- ///
- ///
- ///
- ///
- /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
- ///
- ///
- ///
- ///
- /// Returns the size of the uniform variable.
- ///
- ///
- ///
- ///
- /// Returns the data type of the uniform variable.
- ///
- ///
- ///
- ///
- /// Returns a null terminated string containing the name of the uniform variable.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")]
- public static
- void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out ArbShaderObjects type, [Out] System.Text.StringBuilder name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- fixed (Int32* size_ptr = &size)
- fixed (ArbShaderObjects* type_ptr = &type)
- {
- Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (ArbShaderObjects*)type_ptr, (System.Text.StringBuilder)name);
- length = *length_ptr;
- size = *size_ptr;
- type = *type_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns information about an active uniform variable for the specified program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the index of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
- ///
- ///
- ///
- ///
- /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
- ///
- ///
- ///
- ///
- /// Returns the size of the uniform variable.
- ///
- ///
- ///
- ///
- /// Returns the data type of the uniform variable.
- ///
- ///
- ///
- ///
- /// Returns a null terminated string containing the name of the uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")]
- public static
- unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] ArbShaderObjects* type, [Out] System.Text.StringBuilder name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (ArbShaderObjects*)type, (System.Text.StringBuilder)name);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns information about an active uniform variable for the specified program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the index of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
- ///
- ///
- ///
- ///
- /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
- ///
- ///
- ///
- ///
- /// Returns the size of the uniform variable.
- ///
- ///
- ///
- ///
- /// Returns the data type of the uniform variable.
- ///
- ///
- ///
- ///
- /// Returns a null terminated string containing the name of the uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")]
- public static
- void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out ArbShaderObjects type, [Out] System.Text.StringBuilder name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- fixed (Int32* size_ptr = &size)
- fixed (ArbShaderObjects* type_ptr = &type)
- {
- Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (ArbShaderObjects*)type_ptr, (System.Text.StringBuilder)name);
- length = *length_ptr;
- size = *size_ptr;
- type = *type_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")]
- public static
- unsafe void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] Int32* obj)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")]
- public static
- unsafe void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] Int32[] obj)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- fixed (Int32* obj_ptr = obj)
- {
- Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr);
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")]
- public static
- void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [Out] out Int32 count, [Out] out Int32 obj)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* count_ptr = &count)
- fixed (Int32* obj_ptr = &obj)
- {
- Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr);
- count = *count_ptr;
- obj = *obj_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")]
- public static
- unsafe void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] UInt32* obj)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")]
- public static
- unsafe void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] UInt32[] obj)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- fixed (UInt32* obj_ptr = obj)
- {
- Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr);
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")]
- public static
- void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [Out] out Int32 count, [Out] out UInt32 obj)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* count_ptr = &count)
- fixed (UInt32* obj_ptr = &obj)
- {
- Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr);
- count = *count_ptr;
- obj = *obj_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns the location of an attribute variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Points to a null terminated string containing the name of the attribute variable whose location is to be queried.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetAttribLocationARB")]
- public static
- Int32 GetAttribLocation(Int32 programObj, String name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glGetAttribLocationARB((UInt32)programObj, (String)name);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns the location of an attribute variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Points to a null terminated string containing the name of the attribute variable whose location is to be queried.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetAttribLocationARB")]
- public static
- Int32 GetAttribLocation(UInt32 programObj, String name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glGetAttribLocationARB((UInt32)programObj, (String)name);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferParameterivARB")]
- public static
- unsafe void GetBufferParameter(ArbVertexBufferObject target, BufferParameterNameArb pname, [Out] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetBufferParameterivARB((ArbVertexBufferObject)target, (BufferParameterNameArb)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferParameterivARB")]
- public static
- void GetBufferParameter(ArbVertexBufferObject target, BufferParameterNameArb pname, [Out] Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetBufferParameterivARB((ArbVertexBufferObject)target, (BufferParameterNameArb)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferParameterivARB")]
- public static
- void GetBufferParameter(ArbVertexBufferObject target, BufferParameterNameArb pname, [Out] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetBufferParameterivARB((ArbVertexBufferObject)target, (BufferParameterNameArb)pname, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")]
- public static
- void GetBufferPointer(ArbVertexBufferObject target, BufferPointerNameArb pname, [In, Out] ref T2 @params)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
- try
- {
- Delegates.glGetBufferPointervARB((ArbVertexBufferObject)target, (BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
- }
- finally
- {
- @params_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")]
- public static
- void GetBufferPointer(ArbVertexBufferObject target, BufferPointerNameArb pname, [In, Out] T2[,,] @params)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
- try
- {
- Delegates.glGetBufferPointervARB((ArbVertexBufferObject)target, (BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
- }
- finally
- {
- @params_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")]
- public static
- void GetBufferPointer(ArbVertexBufferObject target, BufferPointerNameArb pname, [In, Out] T2[,] @params)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
- try
- {
- Delegates.glGetBufferPointervARB((ArbVertexBufferObject)target, (BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
- }
- finally
- {
- @params_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")]
- public static
- void GetBufferPointer(ArbVertexBufferObject target, BufferPointerNameArb pname, [In, Out] T2[] @params)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
- try
- {
- Delegates.glGetBufferPointervARB((ArbVertexBufferObject)target, (BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
- }
- finally
- {
- @params_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")]
- public static
- void GetBufferPointer(ArbVertexBufferObject target, BufferPointerNameArb pname, [Out] IntPtr @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetBufferPointervARB((ArbVertexBufferObject)target, (BufferPointerNameArb)pname, (IntPtr)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns a subset of a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the data store region being returned.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where buffer object data is returned.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")]
- public static
- void GetBufferSubData(BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] ref T3 data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glGetBufferSubDataARB((BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns a subset of a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the data store region being returned.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where buffer object data is returned.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")]
- public static
- void GetBufferSubData(BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[,,] data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glGetBufferSubDataARB((BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns a subset of a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the data store region being returned.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where buffer object data is returned.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")]
- public static
- void GetBufferSubData(BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[,] data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glGetBufferSubDataARB((BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns a subset of a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the data store region being returned.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where buffer object data is returned.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")]
- public static
- void GetBufferSubData(BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[] data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glGetBufferSubDataARB((BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns a subset of a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the data store region being returned.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where buffer object data is returned.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")]
- public static
- void GetBufferSubData(BufferTargetArb target, IntPtr offset, IntPtr size, [Out] IntPtr data)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetBufferSubDataARB((BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return a compressed texture image
- ///
- ///
- ///
- /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Returns the compressed texture image.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")]
- public static
- void GetCompressedTexImage(TextureTarget target, Int32 level, [In, Out] ref T2 img)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned);
- try
- {
- Delegates.glGetCompressedTexImageARB((TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject());
- }
- finally
- {
- img_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return a compressed texture image
- ///
- ///
- ///
- /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Returns the compressed texture image.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")]
- public static
- void GetCompressedTexImage(TextureTarget target, Int32 level, [In, Out] T2[,,] img)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned);
- try
- {
- Delegates.glGetCompressedTexImageARB((TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject());
- }
- finally
- {
- img_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return a compressed texture image
- ///
- ///
- ///
- /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Returns the compressed texture image.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")]
- public static
- void GetCompressedTexImage(TextureTarget target, Int32 level, [In, Out] T2[,] img)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned);
- try
- {
- Delegates.glGetCompressedTexImageARB((TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject());
- }
- finally
- {
- img_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return a compressed texture image
- ///
- ///
- ///
- /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Returns the compressed texture image.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")]
- public static
- void GetCompressedTexImage(TextureTarget target, Int32 level, [In, Out] T2[] img)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned);
- try
- {
- Delegates.glGetCompressedTexImageARB((TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject());
- }
- finally
- {
- img_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return a compressed texture image
- ///
- ///
- ///
- /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Returns the compressed texture image.
- ///
- ///
- [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")]
- public static
- void GetCompressedTexImage(TextureTarget target, Int32 level, [Out] IntPtr img)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetCompressedTexImageARB((TextureTarget)target, (Int32)level, (IntPtr)img);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetHandleARB")]
- public static
- Int32 GetHandle(ArbShaderObjects pname)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glGetHandleARB((ArbShaderObjects)pname);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetInfoLogARB")]
- public static
- unsafe void GetInfoLog(Int32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder)infoLog);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetInfoLogARB")]
- public static
- void GetInfoLog(Int32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- {
- Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog);
- length = *length_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetInfoLogARB")]
- public static
- unsafe void GetInfoLog(UInt32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder)infoLog);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetInfoLogARB")]
- public static
- void GetInfoLog(UInt32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- {
- Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog);
- length = *length_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")]
- public static
- void GetObjectParameter(Int32 obj, ArbShaderObjects pname, [Out] out Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glGetObjectParameterfvARB((UInt32)obj, (ArbShaderObjects)pname, (Single*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")]
- public static
- unsafe void GetObjectParameter(Int32 obj, ArbShaderObjects pname, [Out] Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetObjectParameterfvARB((UInt32)obj, (ArbShaderObjects)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")]
- public static
- void GetObjectParameter(Int32 obj, ArbShaderObjects pname, [Out] Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glGetObjectParameterfvARB((UInt32)obj, (ArbShaderObjects)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")]
- public static
- void GetObjectParameter(UInt32 obj, ArbShaderObjects pname, [Out] out Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glGetObjectParameterfvARB((UInt32)obj, (ArbShaderObjects)pname, (Single*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")]
- public static
- unsafe void GetObjectParameter(UInt32 obj, ArbShaderObjects pname, [Out] Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetObjectParameterfvARB((UInt32)obj, (ArbShaderObjects)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")]
- public static
- void GetObjectParameter(UInt32 obj, ArbShaderObjects pname, [Out] Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glGetObjectParameterfvARB((UInt32)obj, (ArbShaderObjects)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")]
- public static
- unsafe void GetObjectParameter(Int32 obj, ArbShaderObjects pname, [Out] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetObjectParameterivARB((UInt32)obj, (ArbShaderObjects)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")]
- public static
- void GetObjectParameter(Int32 obj, ArbShaderObjects pname, [Out] Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetObjectParameterivARB((UInt32)obj, (ArbShaderObjects)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")]
- public static
- void GetObjectParameter(Int32 obj, ArbShaderObjects pname, [Out] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetObjectParameterivARB((UInt32)obj, (ArbShaderObjects)pname, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")]
- public static
- unsafe void GetObjectParameter(UInt32 obj, ArbShaderObjects pname, [Out] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetObjectParameterivARB((UInt32)obj, (ArbShaderObjects)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")]
- public static
- void GetObjectParameter(UInt32 obj, ArbShaderObjects pname, [Out] Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetObjectParameterivARB((UInt32)obj, (ArbShaderObjects)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")]
- public static
- void GetObjectParameter(UInt32 obj, ArbShaderObjects pname, [Out] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetObjectParameterivARB((UInt32)obj, (ArbShaderObjects)pname, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")]
- public static
- unsafe void GetProgramEnvParameter(ArbVertexProgram target, Int32 index, [Out] Double* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetProgramEnvParameterdvARB((ArbVertexProgram)target, (UInt32)index, (Double*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")]
- public static
- void GetProgramEnvParameter(ArbVertexProgram target, Int32 index, [Out] Double[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* @params_ptr = @params)
- {
- Delegates.glGetProgramEnvParameterdvARB((ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")]
- public static
- void GetProgramEnvParameter(ArbVertexProgram target, Int32 index, [Out] out Double @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* @params_ptr = &@params)
- {
- Delegates.glGetProgramEnvParameterdvARB((ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")]
- public static
- unsafe void GetProgramEnvParameter(ArbVertexProgram target, UInt32 index, [Out] Double* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetProgramEnvParameterdvARB((ArbVertexProgram)target, (UInt32)index, (Double*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")]
- public static
- void GetProgramEnvParameter(ArbVertexProgram target, UInt32 index, [Out] Double[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* @params_ptr = @params)
- {
- Delegates.glGetProgramEnvParameterdvARB((ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")]
- public static
- void GetProgramEnvParameter(ArbVertexProgram target, UInt32 index, [Out] out Double @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* @params_ptr = &@params)
- {
- Delegates.glGetProgramEnvParameterdvARB((ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")]
- public static
- void GetProgramEnvParameter(ArbVertexProgram target, Int32 index, [Out] out Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glGetProgramEnvParameterfvARB((ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")]
- public static
- unsafe void GetProgramEnvParameter(ArbVertexProgram target, Int32 index, [Out] Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetProgramEnvParameterfvARB((ArbVertexProgram)target, (UInt32)index, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")]
- public static
- void GetProgramEnvParameter(ArbVertexProgram target, Int32 index, [Out] Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glGetProgramEnvParameterfvARB((ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")]
- public static
- void GetProgramEnvParameter(ArbVertexProgram target, UInt32 index, [Out] out Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glGetProgramEnvParameterfvARB((ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")]
- public static
- unsafe void GetProgramEnvParameter(ArbVertexProgram target, UInt32 index, [Out] Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetProgramEnvParameterfvARB((ArbVertexProgram)target, (UInt32)index, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")]
- public static
- void GetProgramEnvParameter(ArbVertexProgram target, UInt32 index, [Out] Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glGetProgramEnvParameterfvARB((ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns a parameter from a program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH.
- ///
- ///
- ///
- ///
- /// Returns the requested object parameter.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramivARB")]
- public static
- unsafe void GetProgram(AssemblyProgramTargetArb target, AssemblyProgramParameterArb pname, [Out] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetProgramivARB((AssemblyProgramTargetArb)target, (AssemblyProgramParameterArb)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns a parameter from a program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH.
- ///
- ///
- ///
- ///
- /// Returns the requested object parameter.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramivARB")]
- public static
- void GetProgram(AssemblyProgramTargetArb target, AssemblyProgramParameterArb pname, [Out] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetProgramivARB((AssemblyProgramTargetArb)target, (AssemblyProgramParameterArb)pname, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")]
- public static
- unsafe void GetProgramLocalParameter(ArbVertexProgram target, Int32 index, [Out] Double* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetProgramLocalParameterdvARB((ArbVertexProgram)target, (UInt32)index, (Double*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")]
- public static
- void GetProgramLocalParameter(ArbVertexProgram target, Int32 index, [Out] Double[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* @params_ptr = @params)
- {
- Delegates.glGetProgramLocalParameterdvARB((ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")]
- public static
- void GetProgramLocalParameter(ArbVertexProgram target, Int32 index, [Out] out Double @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* @params_ptr = &@params)
- {
- Delegates.glGetProgramLocalParameterdvARB((ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")]
- public static
- unsafe void GetProgramLocalParameter(ArbVertexProgram target, UInt32 index, [Out] Double* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetProgramLocalParameterdvARB((ArbVertexProgram)target, (UInt32)index, (Double*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")]
- public static
- void GetProgramLocalParameter(ArbVertexProgram target, UInt32 index, [Out] Double[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* @params_ptr = @params)
- {
- Delegates.glGetProgramLocalParameterdvARB((ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")]
- public static
- void GetProgramLocalParameter(ArbVertexProgram target, UInt32 index, [Out] out Double @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* @params_ptr = &@params)
- {
- Delegates.glGetProgramLocalParameterdvARB((ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")]
- public static
- void GetProgramLocalParameter(ArbVertexProgram target, Int32 index, [Out] out Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glGetProgramLocalParameterfvARB((ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")]
- public static
- unsafe void GetProgramLocalParameter(ArbVertexProgram target, Int32 index, [Out] Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetProgramLocalParameterfvARB((ArbVertexProgram)target, (UInt32)index, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")]
- public static
- void GetProgramLocalParameter(ArbVertexProgram target, Int32 index, [Out] Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glGetProgramLocalParameterfvARB((ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")]
- public static
- void GetProgramLocalParameter(ArbVertexProgram target, UInt32 index, [Out] out Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glGetProgramLocalParameterfvARB((ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")]
- public static
- unsafe void GetProgramLocalParameter(ArbVertexProgram target, UInt32 index, [Out] Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetProgramLocalParameterfvARB((ArbVertexProgram)target, (UInt32)index, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")]
- public static
- void GetProgramLocalParameter(ArbVertexProgram target, UInt32 index, [Out] Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glGetProgramLocalParameterfvARB((ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")]
- public static
- void GetProgramString(AssemblyProgramTargetArb target, AssemblyProgramParameterArb pname, [In, Out] ref T2 @string)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned);
- try
- {
- Delegates.glGetProgramStringARB((AssemblyProgramTargetArb)target, (AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject());
- }
- finally
- {
- @string_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")]
- public static
- void GetProgramString(AssemblyProgramTargetArb target, AssemblyProgramParameterArb pname, [In, Out] T2[,,] @string)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned);
- try
- {
- Delegates.glGetProgramStringARB((AssemblyProgramTargetArb)target, (AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject());
- }
- finally
- {
- @string_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")]
- public static
- void GetProgramString(AssemblyProgramTargetArb target, AssemblyProgramParameterArb pname, [In, Out] T2[,] @string)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned);
- try
- {
- Delegates.glGetProgramStringARB((AssemblyProgramTargetArb)target, (AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject());
- }
- finally
- {
- @string_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")]
- public static
- void GetProgramString(AssemblyProgramTargetArb target, AssemblyProgramParameterArb pname, [In, Out] T2[] @string)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned);
- try
- {
- Delegates.glGetProgramStringARB((AssemblyProgramTargetArb)target, (AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject());
- }
- finally
- {
- @string_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")]
- public static
- void GetProgramString(AssemblyProgramTargetArb target, AssemblyProgramParameterArb pname, [Out] IntPtr @string)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetProgramStringARB((AssemblyProgramTargetArb)target, (AssemblyProgramParameterArb)pname, (IntPtr)@string);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryivARB")]
- public static
- unsafe void GetQuery(ArbOcclusionQuery target, ArbOcclusionQuery pname, [Out] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetQueryivARB((ArbOcclusionQuery)target, (ArbOcclusionQuery)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryivARB")]
- public static
- void GetQuery(ArbOcclusionQuery target, ArbOcclusionQuery pname, [Out] Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetQueryivARB((ArbOcclusionQuery)target, (ArbOcclusionQuery)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryivARB")]
- public static
- void GetQuery(ArbOcclusionQuery target, ArbOcclusionQuery pname, [Out] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetQueryivARB((ArbOcclusionQuery)target, (ArbOcclusionQuery)pname, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return parameters of a query object
- ///
- ///
- ///
- /// Specifies the name of a query object.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")]
- public static
- unsafe void GetQueryObject(Int32 id, ArbOcclusionQuery pname, [Out] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetQueryObjectivARB((UInt32)id, (ArbOcclusionQuery)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return parameters of a query object
- ///
- ///
- ///
- /// Specifies the name of a query object.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")]
- public static
- void GetQueryObject(Int32 id, ArbOcclusionQuery pname, [Out] Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetQueryObjectivARB((UInt32)id, (ArbOcclusionQuery)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return parameters of a query object
- ///
- ///
- ///
- /// Specifies the name of a query object.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")]
- public static
- void GetQueryObject(Int32 id, ArbOcclusionQuery pname, [Out] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetQueryObjectivARB((UInt32)id, (ArbOcclusionQuery)pname, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return parameters of a query object
- ///
- ///
- ///
- /// Specifies the name of a query object.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")]
- public static
- unsafe void GetQueryObject(UInt32 id, ArbOcclusionQuery pname, [Out] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetQueryObjectivARB((UInt32)id, (ArbOcclusionQuery)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return parameters of a query object
- ///
- ///
- ///
- /// Specifies the name of a query object.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")]
- public static
- void GetQueryObject(UInt32 id, ArbOcclusionQuery pname, [Out] Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetQueryObjectivARB((UInt32)id, (ArbOcclusionQuery)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return parameters of a query object
- ///
- ///
- ///
- /// Specifies the name of a query object.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")]
- public static
- void GetQueryObject(UInt32 id, ArbOcclusionQuery pname, [Out] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetQueryObjectivARB((UInt32)id, (ArbOcclusionQuery)pname, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return parameters of a query object
- ///
- ///
- ///
- /// Specifies the name of a query object.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectuivARB")]
- public static
- void GetQueryObject(UInt32 id, ArbOcclusionQuery pname, [Out] out UInt32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* @params_ptr = &@params)
- {
- Delegates.glGetQueryObjectuivARB((UInt32)id, (ArbOcclusionQuery)pname, (UInt32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return parameters of a query object
- ///
- ///
- ///
- /// Specifies the name of a query object.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectuivARB")]
- public static
- unsafe void GetQueryObject(UInt32 id, ArbOcclusionQuery pname, [Out] UInt32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetQueryObjectuivARB((UInt32)id, (ArbOcclusionQuery)pname, (UInt32*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return parameters of a query object
- ///
- ///
- ///
- /// Specifies the name of a query object.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectuivARB")]
- public static
- void GetQueryObject(UInt32 id, ArbOcclusionQuery pname, [Out] UInt32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* @params_ptr = @params)
- {
- Delegates.glGetQueryObjectuivARB((UInt32)id, (ArbOcclusionQuery)pname, (UInt32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns the source code string from a shader object
- ///
- ///
- ///
- /// Specifies the shader object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the size of the character buffer for storing the returned source code string.
- ///
- ///
- ///
- ///
- /// Returns the length of the string returned in source (excluding the null terminator).
- ///
- ///
- ///
- ///
- /// Specifies an array of characters that is used to return the source code string.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")]
- public static
- unsafe void GetShaderSource(Int32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder source)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder)source);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns the source code string from a shader object
- ///
- ///
- ///
- /// Specifies the shader object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the size of the character buffer for storing the returned source code string.
- ///
- ///
- ///
- ///
- /// Returns the length of the string returned in source (excluding the null terminator).
- ///
- ///
- ///
- ///
- /// Specifies an array of characters that is used to return the source code string.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")]
- public static
- void GetShaderSource(Int32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder source)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- {
- Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder)source);
- length = *length_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns the source code string from a shader object
- ///
- ///
- ///
- /// Specifies the shader object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the size of the character buffer for storing the returned source code string.
- ///
- ///
- ///
- ///
- /// Returns the length of the string returned in source (excluding the null terminator).
- ///
- ///
- ///
- ///
- /// Specifies an array of characters that is used to return the source code string.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")]
- public static
- unsafe void GetShaderSource(UInt32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder source)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder)source);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns the source code string from a shader object
- ///
- ///
- ///
- /// Specifies the shader object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the size of the character buffer for storing the returned source code string.
- ///
- ///
- ///
- ///
- /// Returns the length of the string returned in source (excluding the null terminator).
- ///
- ///
- ///
- ///
- /// Specifies an array of characters that is used to return the source code string.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")]
- public static
- void GetShaderSource(UInt32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder source)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- {
- Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder)source);
- length = *length_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns the value of a uniform variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Returns the value of the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")]
- public static
- void GetUniform(Int32 programObj, Int32 location, [Out] out Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns the value of a uniform variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Returns the value of the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")]
- public static
- unsafe void GetUniform(Int32 programObj, Int32 location, [Out] Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns the value of a uniform variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Returns the value of the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")]
- public static
- void GetUniform(Int32 programObj, Int32 location, [Out] Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns the value of a uniform variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Returns the value of the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")]
- public static
- void GetUniform(UInt32 programObj, Int32 location, [Out] out Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns the value of a uniform variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Returns the value of the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")]
- public static
- unsafe void GetUniform(UInt32 programObj, Int32 location, [Out] Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns the value of a uniform variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Returns the value of the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")]
- public static
- void GetUniform(UInt32 programObj, Int32 location, [Out] Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns the value of a uniform variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Returns the value of the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")]
- public static
- unsafe void GetUniform(Int32 programObj, Int32 location, [Out] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns the value of a uniform variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Returns the value of the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")]
- public static
- void GetUniform(Int32 programObj, Int32 location, [Out] Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns the value of a uniform variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Returns the value of the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")]
- public static
- void GetUniform(Int32 programObj, Int32 location, [Out] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns the value of a uniform variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Returns the value of the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")]
- public static
- unsafe void GetUniform(UInt32 programObj, Int32 location, [Out] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns the value of a uniform variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Returns the value of the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")]
- public static
- void GetUniform(UInt32 programObj, Int32 location, [Out] Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns the value of a uniform variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Returns the value of the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")]
- public static
- void GetUniform(UInt32 programObj, Int32 location, [Out] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns the location of a uniform variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Points to a null terminated string containing the name of the uniform variable whose location is to be queried.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformLocationARB")]
- public static
- Int32 GetUniformLocation(Int32 programObj, String name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glGetUniformLocationARB((UInt32)programObj, (String)name);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Returns the location of a uniform variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Points to a null terminated string containing the name of the uniform variable whose location is to be queried.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformLocationARB")]
- public static
- Int32 GetUniformLocation(UInt32 programObj, String name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glGetUniformLocationARB((UInt32)programObj, (String)name);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return a generic vertex attribute parameter
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")]
- public static
- unsafe void GetVertexAttrib(Int32 index, VertexAttribParameterArb pname, [Out] Double* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetVertexAttribdvARB((UInt32)index, (VertexAttribParameterArb)pname, (Double*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return a generic vertex attribute parameter
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")]
- public static
- void GetVertexAttrib(Int32 index, VertexAttribParameterArb pname, [Out] Double[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* @params_ptr = @params)
- {
- Delegates.glGetVertexAttribdvARB((UInt32)index, (VertexAttribParameterArb)pname, (Double*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return a generic vertex attribute parameter
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")]
- public static
- void GetVertexAttrib(Int32 index, VertexAttribParameterArb pname, [Out] out Double @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* @params_ptr = &@params)
- {
- Delegates.glGetVertexAttribdvARB((UInt32)index, (VertexAttribParameterArb)pname, (Double*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return a generic vertex attribute parameter
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")]
- public static
- unsafe void GetVertexAttrib(UInt32 index, VertexAttribParameterArb pname, [Out] Double* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetVertexAttribdvARB((UInt32)index, (VertexAttribParameterArb)pname, (Double*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return a generic vertex attribute parameter
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")]
- public static
- void GetVertexAttrib(UInt32 index, VertexAttribParameterArb pname, [Out] Double[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* @params_ptr = @params)
- {
- Delegates.glGetVertexAttribdvARB((UInt32)index, (VertexAttribParameterArb)pname, (Double*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return a generic vertex attribute parameter
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")]
- public static
- void GetVertexAttrib(UInt32 index, VertexAttribParameterArb pname, [Out] out Double @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* @params_ptr = &@params)
- {
- Delegates.glGetVertexAttribdvARB((UInt32)index, (VertexAttribParameterArb)pname, (Double*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return a generic vertex attribute parameter
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")]
- public static
- void GetVertexAttrib(Int32 index, VertexAttribParameterArb pname, [Out] out Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glGetVertexAttribfvARB((UInt32)index, (VertexAttribParameterArb)pname, (Single*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return a generic vertex attribute parameter
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")]
- public static
- unsafe void GetVertexAttrib(Int32 index, VertexAttribParameterArb pname, [Out] Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetVertexAttribfvARB((UInt32)index, (VertexAttribParameterArb)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return a generic vertex attribute parameter
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")]
- public static
- void GetVertexAttrib(Int32 index, VertexAttribParameterArb pname, [Out] Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glGetVertexAttribfvARB((UInt32)index, (VertexAttribParameterArb)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return a generic vertex attribute parameter
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")]
- public static
- void GetVertexAttrib(UInt32 index, VertexAttribParameterArb pname, [Out] out Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glGetVertexAttribfvARB((UInt32)index, (VertexAttribParameterArb)pname, (Single*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return a generic vertex attribute parameter
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")]
- public static
- unsafe void GetVertexAttrib(UInt32 index, VertexAttribParameterArb pname, [Out] Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetVertexAttribfvARB((UInt32)index, (VertexAttribParameterArb)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return a generic vertex attribute parameter
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")]
- public static
- void GetVertexAttrib(UInt32 index, VertexAttribParameterArb pname, [Out] Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glGetVertexAttribfvARB((UInt32)index, (VertexAttribParameterArb)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return a generic vertex attribute parameter
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")]
- public static
- unsafe void GetVertexAttrib(Int32 index, VertexAttribParameterArb pname, [Out] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetVertexAttribivARB((UInt32)index, (VertexAttribParameterArb)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return a generic vertex attribute parameter
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")]
- public static
- void GetVertexAttrib(Int32 index, VertexAttribParameterArb pname, [Out] Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetVertexAttribivARB((UInt32)index, (VertexAttribParameterArb)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return a generic vertex attribute parameter
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")]
- public static
- void GetVertexAttrib(Int32 index, VertexAttribParameterArb pname, [Out] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetVertexAttribivARB((UInt32)index, (VertexAttribParameterArb)pname, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return a generic vertex attribute parameter
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")]
- public static
- unsafe void GetVertexAttrib(UInt32 index, VertexAttribParameterArb pname, [Out] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetVertexAttribivARB((UInt32)index, (VertexAttribParameterArb)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return a generic vertex attribute parameter
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")]
- public static
- void GetVertexAttrib(UInt32 index, VertexAttribParameterArb pname, [Out] Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetVertexAttribivARB((UInt32)index, (VertexAttribParameterArb)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Return a generic vertex attribute parameter
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")]
- public static
- void GetVertexAttrib(UInt32 index, VertexAttribParameterArb pname, [Out] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetVertexAttribivARB((UInt32)index, (VertexAttribParameterArb)pname, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")]
- public static
- void GetVertexAttribPointer(Int32 index, VertexAttribPointerParameterArb pname, [In, Out] ref T2 pointer)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glGetVertexAttribPointervARB((UInt32)index, (VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")]
- public static
- void GetVertexAttribPointer(Int32 index, VertexAttribPointerParameterArb pname, [In, Out] T2[,,] pointer)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glGetVertexAttribPointervARB((UInt32)index, (VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")]
- public static
- void GetVertexAttribPointer(Int32 index, VertexAttribPointerParameterArb pname, [In, Out] T2[,] pointer)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glGetVertexAttribPointervARB((UInt32)index, (VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")]
- public static
- void GetVertexAttribPointer(Int32 index, VertexAttribPointerParameterArb pname, [In, Out] T2[] pointer)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glGetVertexAttribPointervARB((UInt32)index, (VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")]
- public static
- void GetVertexAttribPointer(Int32 index, VertexAttribPointerParameterArb pname, [Out] IntPtr pointer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetVertexAttribPointervARB((UInt32)index, (VertexAttribPointerParameterArb)pname, (IntPtr)pointer);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")]
- public static
- void GetVertexAttribPointer(UInt32 index, VertexAttribPointerParameterArb pname, [In, Out] ref T2 pointer)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glGetVertexAttribPointervARB((UInt32)index, (VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")]
- public static
- void GetVertexAttribPointer(UInt32 index, VertexAttribPointerParameterArb pname, [In, Out] T2[,,] pointer)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glGetVertexAttribPointervARB((UInt32)index, (VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")]
- public static
- void GetVertexAttribPointer(UInt32 index, VertexAttribPointerParameterArb pname, [In, Out] T2[,] pointer)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glGetVertexAttribPointervARB((UInt32)index, (VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")]
- public static
- void GetVertexAttribPointer(UInt32 index, VertexAttribPointerParameterArb pname, [In, Out] T2[] pointer)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glGetVertexAttribPointervARB((UInt32)index, (VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")]
- public static
- void GetVertexAttribPointer(UInt32 index, VertexAttribPointerParameterArb pname, [Out] IntPtr pointer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetVertexAttribPointervARB((UInt32)index, (VertexAttribPointerParameterArb)pname, (IntPtr)pointer);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Determine if a name corresponds to a buffer object
- ///
- ///
- ///
- /// Specifies a value that may be the name of a buffer object.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glIsBufferARB")]
- public static
- bool IsBuffer(Int32 buffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsBufferARB((UInt32)buffer);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Determine if a name corresponds to a buffer object
- ///
- ///
- ///
- /// Specifies a value that may be the name of a buffer object.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glIsBufferARB")]
- public static
- bool IsBuffer(UInt32 buffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsBufferARB((UInt32)buffer);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Determines if a name corresponds to a program object
- ///
- ///
- ///
- /// Specifies a potential program object.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glIsProgramARB")]
- public static
- bool IsProgram(Int32 program)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsProgramARB((UInt32)program);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Determines if a name corresponds to a program object
- ///
- ///
- ///
- /// Specifies a potential program object.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glIsProgramARB")]
- public static
- bool IsProgram(UInt32 program)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsProgramARB((UInt32)program);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Determine if a name corresponds to a query object
- ///
- ///
- ///
- /// Specifies a value that may be the name of a query object.
- ///
- ///
- [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glIsQueryARB")]
- public static
- bool IsQuery(Int32 id)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsQueryARB((UInt32)id);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Determine if a name corresponds to a query object
- ///
- ///
- ///
- /// Specifies a value that may be the name of a query object.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glIsQueryARB")]
- public static
- bool IsQuery(UInt32 id)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsQueryARB((UInt32)id);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Links a program object
- ///
- ///
- ///
- /// Specifies the handle of the program object to be linked.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glLinkProgramARB")]
- public static
- void LinkProgram(Int32 programObj)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glLinkProgramARB((UInt32)programObj);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Links a program object
- ///
- ///
- ///
- /// Specifies the handle of the program object to be linked.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glLinkProgramARB")]
- public static
- void LinkProgram(UInt32 programObj)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glLinkProgramARB((UInt32)programObj);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Replace the current matrix with the specified row-major ordered matrix
- ///
- ///
- ///
- /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixdARB")]
- public static
- unsafe void LoadTransposeMatrix(Double* m)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glLoadTransposeMatrixdARB((Double*)m);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Replace the current matrix with the specified row-major ordered matrix
- ///
- ///
- ///
- /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix.
- ///
- ///
- [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixdARB")]
- public static
- void LoadTransposeMatrix(Double[] m)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* m_ptr = m)
- {
- Delegates.glLoadTransposeMatrixdARB((Double*)m_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Replace the current matrix with the specified row-major ordered matrix
- ///
- ///
- ///
- /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix.
- ///
- ///
- [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixdARB")]
- public static
- void LoadTransposeMatrix(ref Double m)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* m_ptr = &m)
- {
- Delegates.glLoadTransposeMatrixdARB((Double*)m_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Replace the current matrix with the specified row-major ordered matrix
- ///
- ///
- ///
- /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix.
- ///
- ///
- [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixfARB")]
- public static
- void LoadTransposeMatrix(ref Single m)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* m_ptr = &m)
- {
- Delegates.glLoadTransposeMatrixfARB((Single*)m_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Replace the current matrix with the specified row-major ordered matrix
- ///
- ///
- ///
- /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixfARB")]
- public static
- unsafe void LoadTransposeMatrix(Single* m)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glLoadTransposeMatrixfARB((Single*)m);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Replace the current matrix with the specified row-major ordered matrix
- ///
- ///
- ///
- /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix.
- ///
- ///
- [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixfARB")]
- public static
- void LoadTransposeMatrix(Single[] m)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* m_ptr = m)
- {
- Delegates.glLoadTransposeMatrixfARB((Single*)m_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Map a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object being mapped. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the access policy, indicating whether it will be possible to read from, write to, or both read from and write to the buffer object's mapped data store. The symbolic constant must be GL_READ_ONLY, GL_WRITE_ONLY, or GL_READ_WRITE.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glMapBufferARB")]
- public static
- unsafe IntPtr MapBuffer(BufferTargetArb target, ArbVertexBufferObject access)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glMapBufferARB((BufferTargetArb)target, (ArbVertexBufferObject)access);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")]
- public static
- void MatrixIndexPointer(Int32 size, ArbMatrixPalette type, Int32 stride, [In, Out] ref T3 pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glMatrixIndexPointerARB((Int32)size, (ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")]
- public static
- void MatrixIndexPointer(Int32 size, ArbMatrixPalette type, Int32 stride, [In, Out] T3[,,] pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glMatrixIndexPointerARB((Int32)size, (ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")]
- public static
- void MatrixIndexPointer(Int32 size, ArbMatrixPalette type, Int32 stride, [In, Out] T3[,] pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glMatrixIndexPointerARB((Int32)size, (ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")]
- public static
- void MatrixIndexPointer(Int32 size, ArbMatrixPalette type, Int32 stride, [In, Out] T3[] pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glMatrixIndexPointerARB((Int32)size, (ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")]
- public static
- void MatrixIndexPointer(Int32 size, ArbMatrixPalette type, Int32 stride, IntPtr pointer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMatrixIndexPointerARB((Int32)size, (ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexubvARB")]
- public static
- unsafe void MatrixIndex(Int32 size, Byte* indices)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMatrixIndexubvARB((Int32)size, (Byte*)indices);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexubvARB")]
- public static
- void MatrixIndex(Int32 size, Byte[] indices)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Byte* indices_ptr = indices)
- {
- Delegates.glMatrixIndexubvARB((Int32)size, (Byte*)indices_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexubvARB")]
- public static
- void MatrixIndex(Int32 size, ref Byte indices)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Byte* indices_ptr = &indices)
- {
- Delegates.glMatrixIndexubvARB((Int32)size, (Byte*)indices_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")]
- public static
- unsafe void MatrixIndex(Int32 size, Int32* indices)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")]
- public static
- void MatrixIndex(Int32 size, Int32[] indices)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* indices_ptr = indices)
- {
- Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")]
- public static
- void MatrixIndex(Int32 size, ref Int32 indices)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* indices_ptr = &indices)
- {
- Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")]
- public static
- void MatrixIndex(Int32 size, ref UInt32 indices)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* indices_ptr = &indices)
- {
- Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")]
- public static
- unsafe void MatrixIndex(Int32 size, UInt32* indices)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")]
- public static
- void MatrixIndex(Int32 size, UInt32[] indices)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* indices_ptr = indices)
- {
- Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")]
- public static
- unsafe void MatrixIndex(Int32 size, Int16* indices)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")]
- public static
- void MatrixIndex(Int32 size, Int16[] indices)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* indices_ptr = indices)
- {
- Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")]
- public static
- void MatrixIndex(Int32 size, ref Int16 indices)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* indices_ptr = &indices)
- {
- Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")]
- public static
- void MatrixIndex(Int32 size, ref UInt16 indices)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt16* indices_ptr = &indices)
- {
- Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")]
- public static
- unsafe void MatrixIndex(Int32 size, UInt16* indices)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")]
- public static
- void MatrixIndex(Int32 size, UInt16[] indices)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt16* indices_ptr = indices)
- {
- Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1dARB")]
- public static
- void MultiTexCoord1(TextureUnit target, Double s)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord1dARB((TextureUnit)target, (Double)s);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1dvARB")]
- public static
- unsafe void MultiTexCoord1(TextureUnit target, Double* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord1dvARB((TextureUnit)target, (Double*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1fARB")]
- public static
- void MultiTexCoord1(TextureUnit target, Single s)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord1fARB((TextureUnit)target, (Single)s);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1fvARB")]
- public static
- unsafe void MultiTexCoord1(TextureUnit target, Single* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord1fvARB((TextureUnit)target, (Single*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1iARB")]
- public static
- void MultiTexCoord1(TextureUnit target, Int32 s)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord1iARB((TextureUnit)target, (Int32)s);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1ivARB")]
- public static
- unsafe void MultiTexCoord1(TextureUnit target, Int32* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord1ivARB((TextureUnit)target, (Int32*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1sARB")]
- public static
- void MultiTexCoord1(TextureUnit target, Int16 s)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord1sARB((TextureUnit)target, (Int16)s);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1svARB")]
- public static
- unsafe void MultiTexCoord1(TextureUnit target, Int16* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord1svARB((TextureUnit)target, (Int16*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dARB")]
- public static
- void MultiTexCoord2(TextureUnit target, Double s, Double t)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord2dARB((TextureUnit)target, (Double)s, (Double)t);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dvARB")]
- public static
- unsafe void MultiTexCoord2(TextureUnit target, Double* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord2dvARB((TextureUnit)target, (Double*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dvARB")]
- public static
- void MultiTexCoord2(TextureUnit target, Double[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* v_ptr = v)
- {
- Delegates.glMultiTexCoord2dvARB((TextureUnit)target, (Double*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dvARB")]
- public static
- void MultiTexCoord2(TextureUnit target, ref Double v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* v_ptr = &v)
- {
- Delegates.glMultiTexCoord2dvARB((TextureUnit)target, (Double*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fARB")]
- public static
- void MultiTexCoord2(TextureUnit target, Single s, Single t)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord2fARB((TextureUnit)target, (Single)s, (Single)t);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fvARB")]
- public static
- void MultiTexCoord2(TextureUnit target, ref Single v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = &v)
- {
- Delegates.glMultiTexCoord2fvARB((TextureUnit)target, (Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fvARB")]
- public static
- unsafe void MultiTexCoord2(TextureUnit target, Single* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord2fvARB((TextureUnit)target, (Single*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fvARB")]
- public static
- void MultiTexCoord2(TextureUnit target, Single[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = v)
- {
- Delegates.glMultiTexCoord2fvARB((TextureUnit)target, (Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2iARB")]
- public static
- void MultiTexCoord2(TextureUnit target, Int32 s, Int32 t)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord2iARB((TextureUnit)target, (Int32)s, (Int32)t);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2ivARB")]
- public static
- unsafe void MultiTexCoord2(TextureUnit target, Int32* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord2ivARB((TextureUnit)target, (Int32*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2ivARB")]
- public static
- void MultiTexCoord2(TextureUnit target, Int32[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* v_ptr = v)
- {
- Delegates.glMultiTexCoord2ivARB((TextureUnit)target, (Int32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2ivARB")]
- public static
- void MultiTexCoord2(TextureUnit target, ref Int32 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* v_ptr = &v)
- {
- Delegates.glMultiTexCoord2ivARB((TextureUnit)target, (Int32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2sARB")]
- public static
- void MultiTexCoord2(TextureUnit target, Int16 s, Int16 t)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord2sARB((TextureUnit)target, (Int16)s, (Int16)t);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2svARB")]
- public static
- unsafe void MultiTexCoord2(TextureUnit target, Int16* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord2svARB((TextureUnit)target, (Int16*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2svARB")]
- public static
- void MultiTexCoord2(TextureUnit target, Int16[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* v_ptr = v)
- {
- Delegates.glMultiTexCoord2svARB((TextureUnit)target, (Int16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2svARB")]
- public static
- void MultiTexCoord2(TextureUnit target, ref Int16 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* v_ptr = &v)
- {
- Delegates.glMultiTexCoord2svARB((TextureUnit)target, (Int16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3dARB")]
- public static
- void MultiTexCoord3(TextureUnit target, Double s, Double t, Double r)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord3dARB((TextureUnit)target, (Double)s, (Double)t, (Double)r);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3dvARB")]
- public static
- unsafe void MultiTexCoord3(TextureUnit target, Double* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord3dvARB((TextureUnit)target, (Double*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3dvARB")]
- public static
- void MultiTexCoord3(TextureUnit target, Double[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* v_ptr = v)
- {
- Delegates.glMultiTexCoord3dvARB((TextureUnit)target, (Double*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3dvARB")]
- public static
- void MultiTexCoord3(TextureUnit target, ref Double v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* v_ptr = &v)
- {
- Delegates.glMultiTexCoord3dvARB((TextureUnit)target, (Double*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3fARB")]
- public static
- void MultiTexCoord3(TextureUnit target, Single s, Single t, Single r)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord3fARB((TextureUnit)target, (Single)s, (Single)t, (Single)r);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3fvARB")]
- public static
- void MultiTexCoord3(TextureUnit target, ref Single v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = &v)
- {
- Delegates.glMultiTexCoord3fvARB((TextureUnit)target, (Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3fvARB")]
- public static
- unsafe void MultiTexCoord3(TextureUnit target, Single* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord3fvARB((TextureUnit)target, (Single*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3fvARB")]
- public static
- void MultiTexCoord3(TextureUnit target, Single[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = v)
- {
- Delegates.glMultiTexCoord3fvARB((TextureUnit)target, (Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3iARB")]
- public static
- void MultiTexCoord3(TextureUnit target, Int32 s, Int32 t, Int32 r)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord3iARB((TextureUnit)target, (Int32)s, (Int32)t, (Int32)r);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3ivARB")]
- public static
- unsafe void MultiTexCoord3(TextureUnit target, Int32* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord3ivARB((TextureUnit)target, (Int32*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3ivARB")]
- public static
- void MultiTexCoord3(TextureUnit target, Int32[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* v_ptr = v)
- {
- Delegates.glMultiTexCoord3ivARB((TextureUnit)target, (Int32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3ivARB")]
- public static
- void MultiTexCoord3(TextureUnit target, ref Int32 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* v_ptr = &v)
- {
- Delegates.glMultiTexCoord3ivARB((TextureUnit)target, (Int32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3sARB")]
- public static
- void MultiTexCoord3(TextureUnit target, Int16 s, Int16 t, Int16 r)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord3sARB((TextureUnit)target, (Int16)s, (Int16)t, (Int16)r);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3svARB")]
- public static
- unsafe void MultiTexCoord3(TextureUnit target, Int16* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord3svARB((TextureUnit)target, (Int16*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3svARB")]
- public static
- void MultiTexCoord3(TextureUnit target, Int16[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* v_ptr = v)
- {
- Delegates.glMultiTexCoord3svARB((TextureUnit)target, (Int16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3svARB")]
- public static
- void MultiTexCoord3(TextureUnit target, ref Int16 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* v_ptr = &v)
- {
- Delegates.glMultiTexCoord3svARB((TextureUnit)target, (Int16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4dARB")]
- public static
- void MultiTexCoord4(TextureUnit target, Double s, Double t, Double r, Double q)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord4dARB((TextureUnit)target, (Double)s, (Double)t, (Double)r, (Double)q);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4dvARB")]
- public static
- unsafe void MultiTexCoord4(TextureUnit target, Double* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord4dvARB((TextureUnit)target, (Double*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4dvARB")]
- public static
- void MultiTexCoord4(TextureUnit target, Double[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* v_ptr = v)
- {
- Delegates.glMultiTexCoord4dvARB((TextureUnit)target, (Double*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4dvARB")]
- public static
- void MultiTexCoord4(TextureUnit target, ref Double v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* v_ptr = &v)
- {
- Delegates.glMultiTexCoord4dvARB((TextureUnit)target, (Double*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4fARB")]
- public static
- void MultiTexCoord4(TextureUnit target, Single s, Single t, Single r, Single q)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord4fARB((TextureUnit)target, (Single)s, (Single)t, (Single)r, (Single)q);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4fvARB")]
- public static
- void MultiTexCoord4(TextureUnit target, ref Single v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = &v)
- {
- Delegates.glMultiTexCoord4fvARB((TextureUnit)target, (Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4fvARB")]
- public static
- unsafe void MultiTexCoord4(TextureUnit target, Single* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord4fvARB((TextureUnit)target, (Single*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4fvARB")]
- public static
- void MultiTexCoord4(TextureUnit target, Single[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = v)
- {
- Delegates.glMultiTexCoord4fvARB((TextureUnit)target, (Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4iARB")]
- public static
- void MultiTexCoord4(TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord4iARB((TextureUnit)target, (Int32)s, (Int32)t, (Int32)r, (Int32)q);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4ivARB")]
- public static
- unsafe void MultiTexCoord4(TextureUnit target, Int32* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord4ivARB((TextureUnit)target, (Int32*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4ivARB")]
- public static
- void MultiTexCoord4(TextureUnit target, Int32[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* v_ptr = v)
- {
- Delegates.glMultiTexCoord4ivARB((TextureUnit)target, (Int32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4ivARB")]
- public static
- void MultiTexCoord4(TextureUnit target, ref Int32 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* v_ptr = &v)
- {
- Delegates.glMultiTexCoord4ivARB((TextureUnit)target, (Int32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4sARB")]
- public static
- void MultiTexCoord4(TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord4sARB((TextureUnit)target, (Int16)s, (Int16)t, (Int16)r, (Int16)q);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4svARB")]
- public static
- unsafe void MultiTexCoord4(TextureUnit target, Int16* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord4svARB((TextureUnit)target, (Int16*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4svARB")]
- public static
- void MultiTexCoord4(TextureUnit target, Int16[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* v_ptr = v)
- {
- Delegates.glMultiTexCoord4svARB((TextureUnit)target, (Int16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4svARB")]
- public static
- void MultiTexCoord4(TextureUnit target, ref Int16 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* v_ptr = &v)
- {
- Delegates.glMultiTexCoord4svARB((TextureUnit)target, (Int16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Multiply the current matrix with the specified row-major ordered matrix
- ///
- ///
- ///
- /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixdARB")]
- public static
- unsafe void MultTransposeMatrix(Double* m)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultTransposeMatrixdARB((Double*)m);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Multiply the current matrix with the specified row-major ordered matrix
- ///
- ///
- ///
- /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix.
- ///
- ///
- [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixdARB")]
- public static
- void MultTransposeMatrix(Double[] m)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* m_ptr = m)
- {
- Delegates.glMultTransposeMatrixdARB((Double*)m_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Multiply the current matrix with the specified row-major ordered matrix
- ///
- ///
- ///
- /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix.
- ///
- ///
- [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixdARB")]
- public static
- void MultTransposeMatrix(ref Double m)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* m_ptr = &m)
- {
- Delegates.glMultTransposeMatrixdARB((Double*)m_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Multiply the current matrix with the specified row-major ordered matrix
- ///
- ///
- ///
- /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix.
- ///
- ///
- [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixfARB")]
- public static
- void MultTransposeMatrix(ref Single m)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* m_ptr = &m)
- {
- Delegates.glMultTransposeMatrixfARB((Single*)m_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Multiply the current matrix with the specified row-major ordered matrix
- ///
- ///
- ///
- /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixfARB")]
- public static
- unsafe void MultTransposeMatrix(Single* m)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultTransposeMatrixfARB((Single*)m);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Multiply the current matrix with the specified row-major ordered matrix
- ///
- ///
- ///
- /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix.
- ///
- ///
- [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixfARB")]
- public static
- void MultTransposeMatrix(Single[] m)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* m_ptr = m)
- {
- Delegates.glMultTransposeMatrixfARB((Single*)m_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify point parameters
- ///
- ///
- ///
- /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the value that pname will be set to.
- ///
- ///
- [AutoGenerated(Category = "ArbPointParameters", Version = "1.0", EntryPoint = "glPointParameterfARB")]
- public static
- void PointParameter(ArbPointParameters pname, Single param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glPointParameterfARB((ArbPointParameters)pname, (Single)param);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify point parameters
- ///
- ///
- ///
- /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the value that pname will be set to.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbPointParameters", Version = "1.0", EntryPoint = "glPointParameterfvARB")]
- public static
- unsafe void PointParameter(ArbPointParameters pname, Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glPointParameterfvARB((ArbPointParameters)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify point parameters
- ///
- ///
- ///
- /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the value that pname will be set to.
- ///
- ///
- [AutoGenerated(Category = "ArbPointParameters", Version = "1.0", EntryPoint = "glPointParameterfvARB")]
- public static
- void PointParameter(ArbPointParameters pname, Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glPointParameterfvARB((ArbPointParameters)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dARB")]
- public static
- void ProgramEnvParameter4(AssemblyProgramTargetArb target, Int32 index, Double x, Double y, Double z, Double w)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glProgramEnvParameter4dARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dARB")]
- public static
- void ProgramEnvParameter4(AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glProgramEnvParameter4dARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")]
- public static
- unsafe void ProgramEnvParameter4(AssemblyProgramTargetArb target, Int32 index, Double* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glProgramEnvParameter4dvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")]
- public static
- void ProgramEnvParameter4(AssemblyProgramTargetArb target, Int32 index, Double[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* @params_ptr = @params)
- {
- Delegates.glProgramEnvParameter4dvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")]
- public static
- void ProgramEnvParameter4(AssemblyProgramTargetArb target, Int32 index, ref Double @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* @params_ptr = &@params)
- {
- Delegates.glProgramEnvParameter4dvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")]
- public static
- unsafe void ProgramEnvParameter4(AssemblyProgramTargetArb target, UInt32 index, Double* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glProgramEnvParameter4dvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")]
- public static
- void ProgramEnvParameter4(AssemblyProgramTargetArb target, UInt32 index, Double[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* @params_ptr = @params)
- {
- Delegates.glProgramEnvParameter4dvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")]
- public static
- void ProgramEnvParameter4(AssemblyProgramTargetArb target, UInt32 index, ref Double @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* @params_ptr = &@params)
- {
- Delegates.glProgramEnvParameter4dvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fARB")]
- public static
- void ProgramEnvParameter4(AssemblyProgramTargetArb target, Int32 index, Single x, Single y, Single z, Single w)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glProgramEnvParameter4fARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fARB")]
- public static
- void ProgramEnvParameter4(AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glProgramEnvParameter4fARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fvARB")]
- public static
- void ProgramEnvParameter4(AssemblyProgramTargetArb target, Int32 index, ref Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glProgramEnvParameter4fvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fvARB")]
- public static
- unsafe void ProgramEnvParameter4(AssemblyProgramTargetArb target, Int32 index, Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glProgramEnvParameter4fvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fvARB")]
- public static
- void ProgramEnvParameter4(AssemblyProgramTargetArb target, Int32 index, Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glProgramEnvParameter4fvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fvARB")]
- public static
- void ProgramEnvParameter4(AssemblyProgramTargetArb target, UInt32 index, ref Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glProgramEnvParameter4fvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fvARB")]
- public static
- unsafe void ProgramEnvParameter4(AssemblyProgramTargetArb target, UInt32 index, Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glProgramEnvParameter4fvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fvARB")]
- public static
- void ProgramEnvParameter4(AssemblyProgramTargetArb target, UInt32 index, Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glProgramEnvParameter4fvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dARB")]
- public static
- void ProgramLocalParameter4(AssemblyProgramTargetArb target, Int32 index, Double x, Double y, Double z, Double w)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glProgramLocalParameter4dARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dARB")]
- public static
- void ProgramLocalParameter4(AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glProgramLocalParameter4dARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")]
- public static
- unsafe void ProgramLocalParameter4(AssemblyProgramTargetArb target, Int32 index, Double* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glProgramLocalParameter4dvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")]
- public static
- void ProgramLocalParameter4(AssemblyProgramTargetArb target, Int32 index, Double[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* @params_ptr = @params)
- {
- Delegates.glProgramLocalParameter4dvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")]
- public static
- void ProgramLocalParameter4(AssemblyProgramTargetArb target, Int32 index, ref Double @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* @params_ptr = &@params)
- {
- Delegates.glProgramLocalParameter4dvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")]
- public static
- unsafe void ProgramLocalParameter4(AssemblyProgramTargetArb target, UInt32 index, Double* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glProgramLocalParameter4dvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")]
- public static
- void ProgramLocalParameter4(AssemblyProgramTargetArb target, UInt32 index, Double[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* @params_ptr = @params)
- {
- Delegates.glProgramLocalParameter4dvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")]
- public static
- void ProgramLocalParameter4(AssemblyProgramTargetArb target, UInt32 index, ref Double @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* @params_ptr = &@params)
- {
- Delegates.glProgramLocalParameter4dvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fARB")]
- public static
- void ProgramLocalParameter4(AssemblyProgramTargetArb target, Int32 index, Single x, Single y, Single z, Single w)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glProgramLocalParameter4fARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fARB")]
- public static
- void ProgramLocalParameter4(AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glProgramLocalParameter4fARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fvARB")]
- public static
- void ProgramLocalParameter4(AssemblyProgramTargetArb target, Int32 index, ref Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glProgramLocalParameter4fvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fvARB")]
- public static
- unsafe void ProgramLocalParameter4(AssemblyProgramTargetArb target, Int32 index, Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glProgramLocalParameter4fvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fvARB")]
- public static
- void ProgramLocalParameter4(AssemblyProgramTargetArb target, Int32 index, Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glProgramLocalParameter4fvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fvARB")]
- public static
- void ProgramLocalParameter4(AssemblyProgramTargetArb target, UInt32 index, ref Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glProgramLocalParameter4fvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fvARB")]
- public static
- unsafe void ProgramLocalParameter4(AssemblyProgramTargetArb target, UInt32 index, Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glProgramLocalParameter4fvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fvARB")]
- public static
- void ProgramLocalParameter4(AssemblyProgramTargetArb target, UInt32 index, Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glProgramLocalParameter4fvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glProgramParameteriARB")]
- public static
- void ProgramParameter(Int32 program, ArbGeometryShader4 pname, Int32 value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glProgramParameteriARB((UInt32)program, (ArbGeometryShader4)pname, (Int32)value);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glProgramParameteriARB")]
- public static
- void ProgramParameter(UInt32 program, ArbGeometryShader4 pname, Int32 value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glProgramParameteriARB((UInt32)program, (ArbGeometryShader4)pname, (Int32)value);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramStringARB")]
- public static
- void ProgramString(AssemblyProgramTargetArb target, ArbVertexProgram format, Int32 len, [In, Out] ref T3 @string)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned);
- try
- {
- Delegates.glProgramStringARB((AssemblyProgramTargetArb)target, (ArbVertexProgram)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject());
- }
- finally
- {
- @string_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramStringARB")]
- public static
- void ProgramString(AssemblyProgramTargetArb target, ArbVertexProgram format, Int32 len, [In, Out] T3[,,] @string)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned);
- try
- {
- Delegates.glProgramStringARB((AssemblyProgramTargetArb)target, (ArbVertexProgram)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject());
- }
- finally
- {
- @string_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramStringARB")]
- public static
- void ProgramString(AssemblyProgramTargetArb target, ArbVertexProgram format, Int32 len, [In, Out] T3[,] @string)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned);
- try
- {
- Delegates.glProgramStringARB((AssemblyProgramTargetArb)target, (ArbVertexProgram)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject());
- }
- finally
- {
- @string_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramStringARB")]
- public static
- void ProgramString(AssemblyProgramTargetArb target, ArbVertexProgram format, Int32 len, [In, Out] T3[] @string)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned);
- try
- {
- Delegates.glProgramStringARB((AssemblyProgramTargetArb)target, (ArbVertexProgram)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject());
- }
- finally
- {
- @string_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramStringARB")]
- public static
- void ProgramString(AssemblyProgramTargetArb target, ArbVertexProgram format, Int32 len, IntPtr @string)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glProgramStringARB((AssemblyProgramTargetArb)target, (ArbVertexProgram)format, (Int32)len, (IntPtr)@string);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify multisample coverage parameters
- ///
- ///
- ///
- /// Specify a single floating-point sample coverage value. The value is clamped to the range [0 ,1]. The initial value is 1.0.
- ///
- ///
- ///
- ///
- /// Specify a single boolean value representing if the coverage masks should be inverted. GL_TRUE and GL_FALSE are accepted. The initial value is GL_FALSE.
- ///
- ///
- [AutoGenerated(Category = "ArbMultisample", Version = "1.2", EntryPoint = "glSampleCoverageARB")]
- public static
- void SampleCoverage(Single value, bool invert)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glSampleCoverageARB((Single)value, (bool)invert);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Replaces the source code in a shader object
- ///
- ///
- ///
- /// Specifies the handle of the shader object whose source code is to be replaced.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements in the string and length arrays.
- ///
- ///
- ///
- ///
- /// Specifies an array of pointers to strings containing the source code to be loaded into the shader.
- ///
- ///
- ///
- ///
- /// Specifies an array of string lengths.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glShaderSourceARB")]
- public static
- unsafe void ShaderSource(Int32 shaderObj, Int32 count, String[] @string, Int32* length)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Replaces the source code in a shader object
- ///
- ///
- ///
- /// Specifies the handle of the shader object whose source code is to be replaced.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements in the string and length arrays.
- ///
- ///
- ///
- ///
- /// Specifies an array of pointers to strings containing the source code to be loaded into the shader.
- ///
- ///
- ///
- ///
- /// Specifies an array of string lengths.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glShaderSourceARB")]
- public static
- void ShaderSource(Int32 shaderObj, Int32 count, String[] @string, ref Int32 length)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- {
- Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Replaces the source code in a shader object
- ///
- ///
- ///
- /// Specifies the handle of the shader object whose source code is to be replaced.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements in the string and length arrays.
- ///
- ///
- ///
- ///
- /// Specifies an array of pointers to strings containing the source code to be loaded into the shader.
- ///
- ///
- ///
- ///
- /// Specifies an array of string lengths.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glShaderSourceARB")]
- public static
- unsafe void ShaderSource(UInt32 shaderObj, Int32 count, String[] @string, Int32* length)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Replaces the source code in a shader object
- ///
- ///
- ///
- /// Specifies the handle of the shader object whose source code is to be replaced.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements in the string and length arrays.
- ///
- ///
- ///
- ///
- /// Specifies an array of pointers to strings containing the source code to be loaded into the shader.
- ///
- ///
- ///
- ///
- /// Specifies an array of string lengths.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glShaderSourceARB")]
- public static
- void ShaderSource(UInt32 shaderObj, Int32 count, String[] @string, ref Int32 length)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- {
- Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbTextureBufferObject", Version = "3.0", EntryPoint = "glTexBufferARB")]
- public static
- void TexBuffer(TextureTarget target, ArbTextureBufferObject internalformat, Int32 buffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexBufferARB((TextureTarget)target, (ArbTextureBufferObject)internalformat, (UInt32)buffer);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbTextureBufferObject", Version = "3.0", EntryPoint = "glTexBufferARB")]
- public static
- void TexBuffer(TextureTarget target, ArbTextureBufferObject internalformat, UInt32 buffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexBufferARB((TextureTarget)target, (ArbTextureBufferObject)internalformat, (UInt32)buffer);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1fARB")]
- public static
- void Uniform1(Int32 location, Single v0)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform1fARB((Int32)location, (Single)v0);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1fvARB")]
- public static
- void Uniform1(Int32 location, Int32 count, ref Single value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* value_ptr = &value)
- {
- Delegates.glUniform1fvARB((Int32)location, (Int32)count, (Single*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1fvARB")]
- public static
- unsafe void Uniform1(Int32 location, Int32 count, Single* value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform1fvARB((Int32)location, (Int32)count, (Single*)value);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1fvARB")]
- public static
- void Uniform1(Int32 location, Int32 count, Single[] value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* value_ptr = value)
- {
- Delegates.glUniform1fvARB((Int32)location, (Int32)count, (Single*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1iARB")]
- public static
- void Uniform1(Int32 location, Int32 v0)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform1iARB((Int32)location, (Int32)v0);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1ivARB")]
- public static
- unsafe void Uniform1(Int32 location, Int32 count, Int32* value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform1ivARB((Int32)location, (Int32)count, (Int32*)value);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1ivARB")]
- public static
- void Uniform1(Int32 location, Int32 count, Int32[] value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* value_ptr = value)
- {
- Delegates.glUniform1ivARB((Int32)location, (Int32)count, (Int32*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1ivARB")]
- public static
- void Uniform1(Int32 location, Int32 count, ref Int32 value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* value_ptr = &value)
- {
- Delegates.glUniform1ivARB((Int32)location, (Int32)count, (Int32*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2fARB")]
- public static
- void Uniform2(Int32 location, Single v0, Single v1)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform2fARB((Int32)location, (Single)v0, (Single)v1);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2fvARB")]
- public static
- void Uniform2(Int32 location, Int32 count, ref Single value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* value_ptr = &value)
- {
- Delegates.glUniform2fvARB((Int32)location, (Int32)count, (Single*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2fvARB")]
- public static
- unsafe void Uniform2(Int32 location, Int32 count, Single* value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform2fvARB((Int32)location, (Int32)count, (Single*)value);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2fvARB")]
- public static
- void Uniform2(Int32 location, Int32 count, Single[] value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* value_ptr = value)
- {
- Delegates.glUniform2fvARB((Int32)location, (Int32)count, (Single*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2iARB")]
- public static
- void Uniform2(Int32 location, Int32 v0, Int32 v1)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform2iARB((Int32)location, (Int32)v0, (Int32)v1);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2ivARB")]
- public static
- unsafe void Uniform2(Int32 location, Int32 count, Int32* value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform2ivARB((Int32)location, (Int32)count, (Int32*)value);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2ivARB")]
- public static
- void Uniform2(Int32 location, Int32 count, Int32[] value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* value_ptr = value)
- {
- Delegates.glUniform2ivARB((Int32)location, (Int32)count, (Int32*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3fARB")]
- public static
- void Uniform3(Int32 location, Single v0, Single v1, Single v2)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform3fARB((Int32)location, (Single)v0, (Single)v1, (Single)v2);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3fvARB")]
- public static
- void Uniform3(Int32 location, Int32 count, ref Single value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* value_ptr = &value)
- {
- Delegates.glUniform3fvARB((Int32)location, (Int32)count, (Single*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3fvARB")]
- public static
- unsafe void Uniform3(Int32 location, Int32 count, Single* value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform3fvARB((Int32)location, (Int32)count, (Single*)value);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3fvARB")]
- public static
- void Uniform3(Int32 location, Int32 count, Single[] value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* value_ptr = value)
- {
- Delegates.glUniform3fvARB((Int32)location, (Int32)count, (Single*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3iARB")]
- public static
- void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform3iARB((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3ivARB")]
- public static
- unsafe void Uniform3(Int32 location, Int32 count, Int32* value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform3ivARB((Int32)location, (Int32)count, (Int32*)value);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3ivARB")]
- public static
- void Uniform3(Int32 location, Int32 count, Int32[] value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* value_ptr = value)
- {
- Delegates.glUniform3ivARB((Int32)location, (Int32)count, (Int32*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3ivARB")]
- public static
- void Uniform3(Int32 location, Int32 count, ref Int32 value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* value_ptr = &value)
- {
- Delegates.glUniform3ivARB((Int32)location, (Int32)count, (Int32*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4fARB")]
- public static
- void Uniform4(Int32 location, Single v0, Single v1, Single v2, Single v3)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform4fARB((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4fvARB")]
- public static
- void Uniform4(Int32 location, Int32 count, ref Single value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* value_ptr = &value)
- {
- Delegates.glUniform4fvARB((Int32)location, (Int32)count, (Single*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4fvARB")]
- public static
- unsafe void Uniform4(Int32 location, Int32 count, Single* value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform4fvARB((Int32)location, (Int32)count, (Single*)value);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4fvARB")]
- public static
- void Uniform4(Int32 location, Int32 count, Single[] value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* value_ptr = value)
- {
- Delegates.glUniform4fvARB((Int32)location, (Int32)count, (Single*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4iARB")]
- public static
- void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform4iARB((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4ivARB")]
- public static
- unsafe void Uniform4(Int32 location, Int32 count, Int32* value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform4ivARB((Int32)location, (Int32)count, (Int32*)value);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4ivARB")]
- public static
- void Uniform4(Int32 location, Int32 count, Int32[] value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* value_ptr = value)
- {
- Delegates.glUniform4ivARB((Int32)location, (Int32)count, (Int32*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4ivARB")]
- public static
- void Uniform4(Int32 location, Int32 count, ref Int32 value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* value_ptr = &value)
- {
- Delegates.glUniform4ivARB((Int32)location, (Int32)count, (Int32*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix2fvARB")]
- public static
- void UniformMatrix2(Int32 location, Int32 count, bool transpose, ref Single value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* value_ptr = &value)
- {
- Delegates.glUniformMatrix2fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix2fvARB")]
- public static
- unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniformMatrix2fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix2fvARB")]
- public static
- void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single[] value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* value_ptr = value)
- {
- Delegates.glUniformMatrix2fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix3fvARB")]
- public static
- void UniformMatrix3(Int32 location, Int32 count, bool transpose, ref Single value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* value_ptr = &value)
- {
- Delegates.glUniformMatrix3fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix3fvARB")]
- public static
- unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniformMatrix3fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix3fvARB")]
- public static
- void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* value_ptr = value)
- {
- Delegates.glUniformMatrix3fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix4fvARB")]
- public static
- void UniformMatrix4(Int32 location, Int32 count, bool transpose, ref Single value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* value_ptr = &value)
- {
- Delegates.glUniformMatrix4fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix4fvARB")]
- public static
- unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniformMatrix4fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix4fvARB")]
- public static
- void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single[] value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* value_ptr = value)
- {
- Delegates.glUniformMatrix4fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glUnmapBufferARB")]
- public static
- bool UnmapBuffer(BufferTargetArb target)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glUnmapBufferARB((BufferTargetArb)target);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUseProgramObjectARB")]
- public static
- void UseProgramObject(Int32 programObj)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUseProgramObjectARB((UInt32)programObj);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUseProgramObjectARB")]
- public static
- void UseProgramObject(UInt32 programObj)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUseProgramObjectARB((UInt32)programObj);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Validates a program object
- ///
- ///
- ///
- /// Specifies the handle of the program object to be validated.
- ///
- ///
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glValidateProgramARB")]
- public static
- void ValidateProgram(Int32 programObj)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glValidateProgramARB((UInt32)programObj);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Validates a program object
- ///
- ///
- ///
- /// Specifies the handle of the program object to be validated.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glValidateProgramARB")]
- public static
- void ValidateProgram(UInt32 programObj)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glValidateProgramARB((UInt32)programObj);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1dARB")]
- public static
- void VertexAttrib1(Int32 index, Double x)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib1dARB((UInt32)index, (Double)x);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1dARB")]
- public static
- void VertexAttrib1(UInt32 index, Double x)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib1dARB((UInt32)index, (Double)x);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1dvARB")]
- public static
- unsafe void VertexAttrib1(Int32 index, Double* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib1dvARB((UInt32)index, (Double*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1dvARB")]
- public static
- unsafe void VertexAttrib1(UInt32 index, Double* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib1dvARB((UInt32)index, (Double*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1fARB")]
- public static
- void VertexAttrib1(Int32 index, Single x)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib1fARB((UInt32)index, (Single)x);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1fARB")]
- public static
- void VertexAttrib1(UInt32 index, Single x)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib1fARB((UInt32)index, (Single)x);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1fvARB")]
- public static
- unsafe void VertexAttrib1(Int32 index, Single* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib1fvARB((UInt32)index, (Single*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1fvARB")]
- public static
- unsafe void VertexAttrib1(UInt32 index, Single* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib1fvARB((UInt32)index, (Single*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1sARB")]
- public static
- void VertexAttrib1(Int32 index, Int16 x)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib1sARB((UInt32)index, (Int16)x);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1sARB")]
- public static
- void VertexAttrib1(UInt32 index, Int16 x)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib1sARB((UInt32)index, (Int16)x);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1svARB")]
- public static
- unsafe void VertexAttrib1(Int32 index, Int16* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib1svARB((UInt32)index, (Int16*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1svARB")]
- public static
- unsafe void VertexAttrib1(UInt32 index, Int16* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib1svARB((UInt32)index, (Int16*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dARB")]
- public static
- void VertexAttrib2(Int32 index, Double x, Double y)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib2dARB((UInt32)index, (Double)x, (Double)y);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dARB")]
- public static
- void VertexAttrib2(UInt32 index, Double x, Double y)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib2dARB((UInt32)index, (Double)x, (Double)y);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")]
- public static
- unsafe void VertexAttrib2(Int32 index, Double* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")]
- public static
- void VertexAttrib2(Int32 index, Double[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* v_ptr = v)
- {
- Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")]
- public static
- void VertexAttrib2(Int32 index, ref Double v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* v_ptr = &v)
- {
- Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")]
- public static
- unsafe void VertexAttrib2(UInt32 index, Double* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")]
- public static
- void VertexAttrib2(UInt32 index, Double[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* v_ptr = v)
- {
- Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")]
- public static
- void VertexAttrib2(UInt32 index, ref Double v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* v_ptr = &v)
- {
- Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fARB")]
- public static
- void VertexAttrib2(Int32 index, Single x, Single y)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib2fARB((UInt32)index, (Single)x, (Single)y);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fARB")]
- public static
- void VertexAttrib2(UInt32 index, Single x, Single y)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib2fARB((UInt32)index, (Single)x, (Single)y);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")]
- public static
- void VertexAttrib2(Int32 index, ref Single v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = &v)
- {
- Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")]
- public static
- unsafe void VertexAttrib2(Int32 index, Single* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")]
- public static
- void VertexAttrib2(Int32 index, Single[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = v)
- {
- Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")]
- public static
- void VertexAttrib2(UInt32 index, ref Single v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = &v)
- {
- Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")]
- public static
- unsafe void VertexAttrib2(UInt32 index, Single* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")]
- public static
- void VertexAttrib2(UInt32 index, Single[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = v)
- {
- Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2sARB")]
- public static
- void VertexAttrib2(Int32 index, Int16 x, Int16 y)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib2sARB((UInt32)index, (Int16)x, (Int16)y);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2sARB")]
- public static
- void VertexAttrib2(UInt32 index, Int16 x, Int16 y)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib2sARB((UInt32)index, (Int16)x, (Int16)y);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")]
- public static
- unsafe void VertexAttrib2(Int32 index, Int16* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")]
- public static
- void VertexAttrib2(Int32 index, Int16[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* v_ptr = v)
- {
- Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")]
- public static
- void VertexAttrib2(Int32 index, ref Int16 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* v_ptr = &v)
- {
- Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")]
- public static
- unsafe void VertexAttrib2(UInt32 index, Int16* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")]
- public static
- void VertexAttrib2(UInt32 index, Int16[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* v_ptr = v)
- {
- Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")]
- public static
- void VertexAttrib2(UInt32 index, ref Int16 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* v_ptr = &v)
- {
- Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dARB")]
- public static
- void VertexAttrib3(Int32 index, Double x, Double y, Double z)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib3dARB((UInt32)index, (Double)x, (Double)y, (Double)z);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dARB")]
- public static
- void VertexAttrib3(UInt32 index, Double x, Double y, Double z)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib3dARB((UInt32)index, (Double)x, (Double)y, (Double)z);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")]
- public static
- unsafe void VertexAttrib3(Int32 index, Double* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")]
- public static
- void VertexAttrib3(Int32 index, Double[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* v_ptr = v)
- {
- Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")]
- public static
- void VertexAttrib3(Int32 index, ref Double v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* v_ptr = &v)
- {
- Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")]
- public static
- unsafe void VertexAttrib3(UInt32 index, Double* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")]
- public static
- void VertexAttrib3(UInt32 index, Double[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* v_ptr = v)
- {
- Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")]
- public static
- void VertexAttrib3(UInt32 index, ref Double v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* v_ptr = &v)
- {
- Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fARB")]
- public static
- void VertexAttrib3(Int32 index, Single x, Single y, Single z)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib3fARB((UInt32)index, (Single)x, (Single)y, (Single)z);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fARB")]
- public static
- void VertexAttrib3(UInt32 index, Single x, Single y, Single z)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib3fARB((UInt32)index, (Single)x, (Single)y, (Single)z);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")]
- public static
- void VertexAttrib3(Int32 index, ref Single v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = &v)
- {
- Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")]
- public static
- unsafe void VertexAttrib3(Int32 index, Single* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")]
- public static
- void VertexAttrib3(Int32 index, Single[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = v)
- {
- Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")]
- public static
- void VertexAttrib3(UInt32 index, ref Single v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = &v)
- {
- Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")]
- public static
- unsafe void VertexAttrib3(UInt32 index, Single* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")]
- public static
- void VertexAttrib3(UInt32 index, Single[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = v)
- {
- Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3sARB")]
- public static
- void VertexAttrib3(Int32 index, Int16 x, Int16 y, Int16 z)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib3sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3sARB")]
- public static
- void VertexAttrib3(UInt32 index, Int16 x, Int16 y, Int16 z)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib3sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")]
- public static
- unsafe void VertexAttrib3(Int32 index, Int16* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")]
- public static
- void VertexAttrib3(Int32 index, Int16[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* v_ptr = v)
- {
- Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")]
- public static
- void VertexAttrib3(Int32 index, ref Int16 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* v_ptr = &v)
- {
- Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")]
- public static
- unsafe void VertexAttrib3(UInt32 index, Int16* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")]
- public static
- void VertexAttrib3(UInt32 index, Int16[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* v_ptr = v)
- {
- Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")]
- public static
- void VertexAttrib3(UInt32 index, ref Int16 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* v_ptr = &v)
- {
- Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4bvARB")]
- public static
- void VertexAttrib4(UInt32 index, ref SByte v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (SByte* v_ptr = &v)
- {
- Delegates.glVertexAttrib4bvARB((UInt32)index, (SByte*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4bvARB")]
- public static
- unsafe void VertexAttrib4(UInt32 index, SByte* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4bvARB((UInt32)index, (SByte*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4bvARB")]
- public static
- void VertexAttrib4(UInt32 index, SByte[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (SByte* v_ptr = v)
- {
- Delegates.glVertexAttrib4bvARB((UInt32)index, (SByte*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dARB")]
- public static
- void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4dARB((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dARB")]
- public static
- void VertexAttrib4(UInt32 index, Double x, Double y, Double z, Double w)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4dARB((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")]
- public static
- unsafe void VertexAttrib4(Int32 index, Double* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")]
- public static
- void VertexAttrib4(Int32 index, Double[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* v_ptr = v)
- {
- Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")]
- public static
- void VertexAttrib4(Int32 index, ref Double v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* v_ptr = &v)
- {
- Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")]
- public static
- unsafe void VertexAttrib4(UInt32 index, Double* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")]
- public static
- void VertexAttrib4(UInt32 index, Double[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* v_ptr = v)
- {
- Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")]
- public static
- void VertexAttrib4(UInt32 index, ref Double v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* v_ptr = &v)
- {
- Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fARB")]
- public static
- void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4fARB((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fARB")]
- public static
- void VertexAttrib4(UInt32 index, Single x, Single y, Single z, Single w)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4fARB((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")]
- public static
- void VertexAttrib4(Int32 index, ref Single v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = &v)
- {
- Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")]
- public static
- unsafe void VertexAttrib4(Int32 index, Single* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")]
- public static
- void VertexAttrib4(Int32 index, Single[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = v)
- {
- Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")]
- public static
- void VertexAttrib4(UInt32 index, ref Single v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = &v)
- {
- Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")]
- public static
- unsafe void VertexAttrib4(UInt32 index, Single* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")]
- public static
- void VertexAttrib4(UInt32 index, Single[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = v)
- {
- Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")]
- public static
- unsafe void VertexAttrib4(Int32 index, Int32* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")]
- public static
- void VertexAttrib4(Int32 index, Int32[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* v_ptr = v)
- {
- Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")]
- public static
- void VertexAttrib4(Int32 index, ref Int32 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* v_ptr = &v)
- {
- Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")]
- public static
- unsafe void VertexAttrib4(UInt32 index, Int32* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")]
- public static
- void VertexAttrib4(UInt32 index, Int32[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* v_ptr = v)
- {
- Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")]
- public static
- void VertexAttrib4(UInt32 index, ref Int32 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* v_ptr = &v)
- {
- Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NbvARB")]
- public static
- void VertexAttrib4N(UInt32 index, ref SByte v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (SByte* v_ptr = &v)
- {
- Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NbvARB")]
- public static
- unsafe void VertexAttrib4N(UInt32 index, SByte* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NbvARB")]
- public static
- void VertexAttrib4N(UInt32 index, SByte[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (SByte* v_ptr = v)
- {
- Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")]
- public static
- unsafe void VertexAttrib4N(Int32 index, Int32* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")]
- public static
- void VertexAttrib4N(Int32 index, Int32[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* v_ptr = v)
- {
- Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")]
- public static
- void VertexAttrib4N(Int32 index, ref Int32 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* v_ptr = &v)
- {
- Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")]
- public static
- unsafe void VertexAttrib4N(UInt32 index, Int32* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")]
- public static
- void VertexAttrib4N(UInt32 index, Int32[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* v_ptr = v)
- {
- Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")]
- public static
- void VertexAttrib4N(UInt32 index, ref Int32 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* v_ptr = &v)
- {
- Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")]
- public static
- unsafe void VertexAttrib4N(Int32 index, Int16* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")]
- public static
- void VertexAttrib4N(Int32 index, Int16[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* v_ptr = v)
- {
- Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")]
- public static
- void VertexAttrib4N(Int32 index, ref Int16 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* v_ptr = &v)
- {
- Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")]
- public static
- unsafe void VertexAttrib4N(UInt32 index, Int16* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")]
- public static
- void VertexAttrib4N(UInt32 index, Int16[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* v_ptr = v)
- {
- Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")]
- public static
- void VertexAttrib4N(UInt32 index, ref Int16 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* v_ptr = &v)
- {
- Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubARB")]
- public static
- void VertexAttrib4N(Int32 index, Byte x, Byte y, Byte z, Byte w)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4NubARB((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubARB")]
- public static
- void VertexAttrib4N(UInt32 index, Byte x, Byte y, Byte z, Byte w)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4NubARB((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")]
- public static
- unsafe void VertexAttrib4N(Int32 index, Byte* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")]
- public static
- void VertexAttrib4N(Int32 index, Byte[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Byte* v_ptr = v)
- {
- Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")]
- public static
- void VertexAttrib4N(Int32 index, ref Byte v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Byte* v_ptr = &v)
- {
- Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")]
- public static
- unsafe void VertexAttrib4N(UInt32 index, Byte* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")]
- public static
- void VertexAttrib4N(UInt32 index, Byte[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Byte* v_ptr = v)
- {
- Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")]
- public static
- void VertexAttrib4N(UInt32 index, ref Byte v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Byte* v_ptr = &v)
- {
- Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NuivARB")]
- public static
- void VertexAttrib4N(UInt32 index, ref UInt32 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* v_ptr = &v)
- {
- Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NuivARB")]
- public static
- unsafe void VertexAttrib4N(UInt32 index, UInt32* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NuivARB")]
- public static
- void VertexAttrib4N(UInt32 index, UInt32[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* v_ptr = v)
- {
- Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NusvARB")]
- public static
- void VertexAttrib4N(UInt32 index, ref UInt16 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt16* v_ptr = &v)
- {
- Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NusvARB")]
- public static
- unsafe void VertexAttrib4N(UInt32 index, UInt16* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NusvARB")]
- public static
- void VertexAttrib4N(UInt32 index, UInt16[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt16* v_ptr = v)
- {
- Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4sARB")]
- public static
- void VertexAttrib4(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4sARB")]
- public static
- void VertexAttrib4(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")]
- public static
- unsafe void VertexAttrib4(Int32 index, Int16* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")]
- public static
- void VertexAttrib4(Int32 index, Int16[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* v_ptr = v)
- {
- Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")]
- public static
- void VertexAttrib4(Int32 index, ref Int16 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* v_ptr = &v)
- {
- Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")]
- public static
- unsafe void VertexAttrib4(UInt32 index, Int16* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")]
- public static
- void VertexAttrib4(UInt32 index, Int16[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* v_ptr = v)
- {
- Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")]
- public static
- void VertexAttrib4(UInt32 index, ref Int16 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* v_ptr = &v)
- {
- Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")]
- public static
- unsafe void VertexAttrib4(Int32 index, Byte* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")]
- public static
- void VertexAttrib4(Int32 index, Byte[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Byte* v_ptr = v)
- {
- Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")]
- public static
- void VertexAttrib4(Int32 index, ref Byte v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Byte* v_ptr = &v)
- {
- Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")]
- public static
- unsafe void VertexAttrib4(UInt32 index, Byte* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")]
- public static
- void VertexAttrib4(UInt32 index, Byte[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Byte* v_ptr = v)
- {
- Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")]
- public static
- void VertexAttrib4(UInt32 index, ref Byte v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Byte* v_ptr = &v)
- {
- Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4uivARB")]
- public static
- void VertexAttrib4(UInt32 index, ref UInt32 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* v_ptr = &v)
- {
- Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4uivARB")]
- public static
- unsafe void VertexAttrib4(UInt32 index, UInt32* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4uivARB")]
- public static
- void VertexAttrib4(UInt32 index, UInt32[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* v_ptr = v)
- {
- Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4usvARB")]
- public static
- void VertexAttrib4(UInt32 index, ref UInt16 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt16* v_ptr = &v)
- {
- Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4usvARB")]
- public static
- unsafe void VertexAttrib4(UInt32 index, UInt16* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4usvARB")]
- public static
- void VertexAttrib4(UInt32 index, UInt16[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt16* v_ptr = v)
- {
- Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbInstancedArrays", Version = "2.0", EntryPoint = "glVertexAttribDivisorARB")]
- public static
- void VertexAttribDivisor(Int32 index, Int32 divisor)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttribDivisorARB((UInt32)index, (UInt32)divisor);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbInstancedArrays", Version = "2.0", EntryPoint = "glVertexAttribDivisorARB")]
- public static
- void VertexAttribDivisor(UInt32 index, UInt32 divisor)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttribDivisorARB((UInt32)index, (UInt32)divisor);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define an array of generic vertex attribute data
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")]
- public static
- void VertexAttribPointer(Int32 index, Int32 size, VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] ref T5 pointer)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define an array of generic vertex attribute data
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")]
- public static
- void VertexAttribPointer(Int32 index, Int32 size, VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[,,] pointer)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define an array of generic vertex attribute data
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")]
- public static
- void VertexAttribPointer(Int32 index, Int32 size, VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[,] pointer)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define an array of generic vertex attribute data
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")]
- public static
- void VertexAttribPointer(Int32 index, Int32 size, VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[] pointer)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define an array of generic vertex attribute data
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")]
- public static
- void VertexAttribPointer(Int32 index, Int32 size, VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define an array of generic vertex attribute data
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")]
- public static
- void VertexAttribPointer(UInt32 index, Int32 size, VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] ref T5 pointer)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define an array of generic vertex attribute data
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")]
- public static
- void VertexAttribPointer(UInt32 index, Int32 size, VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[,,] pointer)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define an array of generic vertex attribute data
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")]
- public static
- void VertexAttribPointer(UInt32 index, Int32 size, VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[,] pointer)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define an array of generic vertex attribute data
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")]
- public static
- void VertexAttribPointer(UInt32 index, Int32 size, VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[] pointer)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define an array of generic vertex attribute data
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")]
- public static
- void VertexAttribPointer(UInt32 index, Int32 size, VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glVertexBlendARB")]
- public static
- void VertexBlend(Int32 count)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexBlendARB((Int32)count);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightbvARB")]
- public static
- void Weight(Int32 size, ref SByte weights)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (SByte* weights_ptr = &weights)
- {
- Delegates.glWeightbvARB((Int32)size, (SByte*)weights_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightbvARB")]
- public static
- unsafe void Weight(Int32 size, SByte* weights)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glWeightbvARB((Int32)size, (SByte*)weights);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightbvARB")]
- public static
- void Weight(Int32 size, SByte[] weights)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (SByte* weights_ptr = weights)
- {
- Delegates.glWeightbvARB((Int32)size, (SByte*)weights_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightdvARB")]
- public static
- unsafe void Weight(Int32 size, Double* weights)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glWeightdvARB((Int32)size, (Double*)weights);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightdvARB")]
- public static
- void Weight(Int32 size, Double[] weights)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* weights_ptr = weights)
- {
- Delegates.glWeightdvARB((Int32)size, (Double*)weights_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightdvARB")]
- public static
- void Weight(Int32 size, ref Double weights)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* weights_ptr = &weights)
- {
- Delegates.glWeightdvARB((Int32)size, (Double*)weights_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightfvARB")]
- public static
- void Weight(Int32 size, ref Single weights)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* weights_ptr = &weights)
- {
- Delegates.glWeightfvARB((Int32)size, (Single*)weights_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightfvARB")]
- public static
- unsafe void Weight(Int32 size, Single* weights)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glWeightfvARB((Int32)size, (Single*)weights);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightfvARB")]
- public static
- void Weight(Int32 size, Single[] weights)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* weights_ptr = weights)
- {
- Delegates.glWeightfvARB((Int32)size, (Single*)weights_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightivARB")]
- public static
- unsafe void Weight(Int32 size, Int32* weights)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glWeightivARB((Int32)size, (Int32*)weights);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightivARB")]
- public static
- void Weight(Int32 size, Int32[] weights)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* weights_ptr = weights)
- {
- Delegates.glWeightivARB((Int32)size, (Int32*)weights_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightivARB")]
- public static
- void Weight(Int32 size, ref Int32 weights)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* weights_ptr = &weights)
- {
- Delegates.glWeightivARB((Int32)size, (Int32*)weights_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")]
- public static
- void WeightPointer(Int32 size, ArbVertexBlend type, Int32 stride, [In, Out] ref T3 pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glWeightPointerARB((Int32)size, (ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")]
- public static
- void WeightPointer(Int32 size, ArbVertexBlend type, Int32 stride, [In, Out] T3[,,] pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glWeightPointerARB((Int32)size, (ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")]
- public static
- void WeightPointer(Int32 size, ArbVertexBlend type, Int32 stride, [In, Out] T3[,] pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glWeightPointerARB((Int32)size, (ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")]
- public static
- void WeightPointer(Int32 size, ArbVertexBlend type, Int32 stride, [In, Out] T3[] pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glWeightPointerARB((Int32)size, (ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")]
- public static
- void WeightPointer(Int32 size, ArbVertexBlend type, Int32 stride, IntPtr pointer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glWeightPointerARB((Int32)size, (ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightsvARB")]
- public static
- unsafe void Weight(Int32 size, Int16* weights)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glWeightsvARB((Int32)size, (Int16*)weights);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightsvARB")]
- public static
- void Weight(Int32 size, Int16[] weights)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* weights_ptr = weights)
- {
- Delegates.glWeightsvARB((Int32)size, (Int16*)weights_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightsvARB")]
- public static
- void Weight(Int32 size, ref Int16 weights)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* weights_ptr = &weights)
- {
- Delegates.glWeightsvARB((Int32)size, (Int16*)weights_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightubvARB")]
- public static
- unsafe void Weight(Int32 size, Byte* weights)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glWeightubvARB((Int32)size, (Byte*)weights);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightubvARB")]
- public static
- void Weight(Int32 size, Byte[] weights)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Byte* weights_ptr = weights)
- {
- Delegates.glWeightubvARB((Int32)size, (Byte*)weights_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightubvARB")]
- public static
- void Weight(Int32 size, ref Byte weights)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Byte* weights_ptr = &weights)
- {
- Delegates.glWeightubvARB((Int32)size, (Byte*)weights_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightuivARB")]
- public static
- void Weight(Int32 size, ref UInt32 weights)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* weights_ptr = &weights)
- {
- Delegates.glWeightuivARB((Int32)size, (UInt32*)weights_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightuivARB")]
- public static
- unsafe void Weight(Int32 size, UInt32* weights)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glWeightuivARB((Int32)size, (UInt32*)weights);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightuivARB")]
- public static
- void Weight(Int32 size, UInt32[] weights)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* weights_ptr = weights)
- {
- Delegates.glWeightuivARB((Int32)size, (UInt32*)weights_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightusvARB")]
- public static
- void Weight(Int32 size, ref UInt16 weights)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt16* weights_ptr = &weights)
- {
- Delegates.glWeightusvARB((Int32)size, (UInt16*)weights_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightusvARB")]
- public static
- unsafe void Weight(Int32 size, UInt16* weights)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glWeightusvARB((Int32)size, (UInt16*)weights);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightusvARB")]
- public static
- void Weight(Int32 size, UInt16[] weights)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt16* weights_ptr = weights)
- {
- Delegates.glWeightusvARB((Int32)size, (UInt16*)weights_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dARB")]
- public static
- void WindowPos2(Double x, Double y)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glWindowPos2dARB((Double)x, (Double)y);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvARB")]
- public static
- unsafe void WindowPos2(Double* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glWindowPos2dvARB((Double*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvARB")]
- public static
- void WindowPos2(Double[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* v_ptr = v)
- {
- Delegates.glWindowPos2dvARB((Double*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvARB")]
- public static
- void WindowPos2(ref Double v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* v_ptr = &v)
- {
- Delegates.glWindowPos2dvARB((Double*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fARB")]
- public static
- void WindowPos2(Single x, Single y)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glWindowPos2fARB((Single)x, (Single)y);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvARB")]
- public static
- void WindowPos2(ref Single v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = &v)
- {
- Delegates.glWindowPos2fvARB((Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvARB")]
- public static
- unsafe void WindowPos2(Single* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glWindowPos2fvARB((Single*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvARB")]
- public static
- void WindowPos2(Single[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = v)
- {
- Delegates.glWindowPos2fvARB((Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2iARB")]
- public static
- void WindowPos2(Int32 x, Int32 y)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glWindowPos2iARB((Int32)x, (Int32)y);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivARB")]
- public static
- unsafe void WindowPos2(Int32* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glWindowPos2ivARB((Int32*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivARB")]
- public static
- void WindowPos2(Int32[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* v_ptr = v)
- {
- Delegates.glWindowPos2ivARB((Int32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivARB")]
- public static
- void WindowPos2(ref Int32 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* v_ptr = &v)
- {
- Delegates.glWindowPos2ivARB((Int32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2sARB")]
- public static
- void WindowPos2(Int16 x, Int16 y)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glWindowPos2sARB((Int16)x, (Int16)y);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svARB")]
- public static
- unsafe void WindowPos2(Int16* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glWindowPos2svARB((Int16*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svARB")]
- public static
- void WindowPos2(Int16[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* v_ptr = v)
- {
- Delegates.glWindowPos2svARB((Int16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svARB")]
- public static
- void WindowPos2(ref Int16 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* v_ptr = &v)
- {
- Delegates.glWindowPos2svARB((Int16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dARB")]
- public static
- void WindowPos3(Double x, Double y, Double z)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glWindowPos3dARB((Double)x, (Double)y, (Double)z);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvARB")]
- public static
- unsafe void WindowPos3(Double* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glWindowPos3dvARB((Double*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvARB")]
- public static
- void WindowPos3(Double[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* v_ptr = v)
- {
- Delegates.glWindowPos3dvARB((Double*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvARB")]
- public static
- void WindowPos3(ref Double v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* v_ptr = &v)
- {
- Delegates.glWindowPos3dvARB((Double*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fARB")]
- public static
- void WindowPos3(Single x, Single y, Single z)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glWindowPos3fARB((Single)x, (Single)y, (Single)z);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvARB")]
- public static
- void WindowPos3(ref Single v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = &v)
- {
- Delegates.glWindowPos3fvARB((Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvARB")]
- public static
- unsafe void WindowPos3(Single* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glWindowPos3fvARB((Single*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvARB")]
- public static
- void WindowPos3(Single[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = v)
- {
- Delegates.glWindowPos3fvARB((Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3iARB")]
- public static
- void WindowPos3(Int32 x, Int32 y, Int32 z)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glWindowPos3iARB((Int32)x, (Int32)y, (Int32)z);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivARB")]
- public static
- unsafe void WindowPos3(Int32* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glWindowPos3ivARB((Int32*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivARB")]
- public static
- void WindowPos3(Int32[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* v_ptr = v)
- {
- Delegates.glWindowPos3ivARB((Int32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivARB")]
- public static
- void WindowPos3(ref Int32 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* v_ptr = &v)
- {
- Delegates.glWindowPos3ivARB((Int32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3sARB")]
- public static
- void WindowPos3(Int16 x, Int16 y, Int16 z)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glWindowPos3sARB((Int16)x, (Int16)y, (Int16)z);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svARB")]
- public static
- unsafe void WindowPos3(Int16* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glWindowPos3svARB((Int16*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svARB")]
- public static
- void WindowPos3(Int16[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* v_ptr = v)
- {
- Delegates.glWindowPos3svARB((Int16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the raster position in window coordinates for pixel operations
- ///
- ///
- ///
- /// Specify the , , coordinates for the raster position.
- ///
- ///
- [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svARB")]
- public static
- void WindowPos3(ref Int16 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* v_ptr = &v)
- {
- Delegates.glWindowPos3svARB((Int16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- }
-
- public static partial class Ati
- {
- [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glAlphaFragmentOp1ATI")]
- public static
- void AlphaFragmentOp1(AtiFragmentShader op, Int32 dst, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glAlphaFragmentOp1ATI((AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glAlphaFragmentOp1ATI")]
- public static
- void AlphaFragmentOp1(AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glAlphaFragmentOp1ATI((AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glAlphaFragmentOp2ATI")]
- public static
- void AlphaFragmentOp2(AtiFragmentShader op, Int32 dst, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glAlphaFragmentOp2ATI((AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glAlphaFragmentOp2ATI")]
- public static
- void AlphaFragmentOp2(AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glAlphaFragmentOp2ATI((AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glAlphaFragmentOp3ATI")]
- public static
- void AlphaFragmentOp3(AtiFragmentShader op, Int32 dst, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod, Int32 arg3, Int32 arg3Rep, Int32 arg3Mod)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glAlphaFragmentOp3ATI((AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glAlphaFragmentOp3ATI")]
- public static
- void AlphaFragmentOp3(AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glAlphaFragmentOp3ATI((AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glArrayObjectATI")]
- public static
- void ArrayObject(EnableCap array, Int32 size, AtiVertexArrayObject type, Int32 stride, Int32 buffer, Int32 offset)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glArrayObjectATI((EnableCap)array, (Int32)size, (AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glArrayObjectATI")]
- public static
- void ArrayObject(EnableCap array, Int32 size, AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glArrayObjectATI((EnableCap)array, (Int32)size, (AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glBeginFragmentShaderATI")]
- public static
- void BeginFragmentShader()
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBeginFragmentShaderATI();
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glBindFragmentShaderATI")]
- public static
- void BindFragmentShader(Int32 id)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindFragmentShaderATI((UInt32)id);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glBindFragmentShaderATI")]
- public static
- void BindFragmentShader(UInt32 id)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindFragmentShaderATI((UInt32)id);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glClientActiveVertexStreamATI")]
- public static
- void ClientActiveVertexStream(AtiVertexStreams stream)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClientActiveVertexStreamATI((AtiVertexStreams)stream);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glColorFragmentOp1ATI")]
- public static
- void ColorFragmentOp1(AtiFragmentShader op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColorFragmentOp1ATI((AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glColorFragmentOp1ATI")]
- public static
- void ColorFragmentOp1(AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColorFragmentOp1ATI((AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glColorFragmentOp2ATI")]
- public static
- void ColorFragmentOp2(AtiFragmentShader op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColorFragmentOp2ATI((AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glColorFragmentOp2ATI")]
- public static
- void ColorFragmentOp2(AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColorFragmentOp2ATI((AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glColorFragmentOp3ATI")]
- public static
- void ColorFragmentOp3(AtiFragmentShader op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod, Int32 arg3, Int32 arg3Rep, Int32 arg3Mod)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColorFragmentOp3ATI((AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glColorFragmentOp3ATI")]
- public static
- void ColorFragmentOp3(AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColorFragmentOp3ATI((AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glDeleteFragmentShaderATI")]
- public static
- void DeleteFragmentShader(Int32 id)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteFragmentShaderATI((UInt32)id);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glDeleteFragmentShaderATI")]
- public static
- void DeleteFragmentShader(UInt32 id)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteFragmentShaderATI((UInt32)id);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies a list of color buffers to be drawn into
- ///
- ///
- ///
- /// Specifies the number of buffers in bufs.
- ///
- ///
- ///
- ///
- /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiDrawBuffers", Version = "1.2", EntryPoint = "glDrawBuffersATI")]
- public static
- unsafe void DrawBuffers(Int32 n, AtiDrawBuffers* bufs)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawBuffersATI((Int32)n, (AtiDrawBuffers*)bufs);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies a list of color buffers to be drawn into
- ///
- ///
- ///
- /// Specifies the number of buffers in bufs.
- ///
- ///
- ///
- ///
- /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written.
- ///
- ///
- [AutoGenerated(Category = "AtiDrawBuffers", Version = "1.2", EntryPoint = "glDrawBuffersATI")]
- public static
- void DrawBuffers(Int32 n, AtiDrawBuffers[] bufs)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (AtiDrawBuffers* bufs_ptr = bufs)
- {
- Delegates.glDrawBuffersATI((Int32)n, (AtiDrawBuffers*)bufs_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies a list of color buffers to be drawn into
- ///
- ///
- ///
- /// Specifies the number of buffers in bufs.
- ///
- ///
- ///
- ///
- /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written.
- ///
- ///
- [AutoGenerated(Category = "AtiDrawBuffers", Version = "1.2", EntryPoint = "glDrawBuffersATI")]
- public static
- void DrawBuffers(Int32 n, ref AtiDrawBuffers bufs)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (AtiDrawBuffers* bufs_ptr = &bufs)
- {
- Delegates.glDrawBuffersATI((Int32)n, (AtiDrawBuffers*)bufs_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glDrawElementArrayATI")]
- public static
- void DrawElementArray(BeginMode mode, Int32 count)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawElementArrayATI((BeginMode)mode, (Int32)count);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glDrawRangeElementArrayATI")]
- public static
- void DrawRangeElementArray(BeginMode mode, Int32 start, Int32 end, Int32 count)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawRangeElementArrayATI((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glDrawRangeElementArrayATI")]
- public static
- void DrawRangeElementArray(BeginMode mode, UInt32 start, UInt32 end, Int32 count)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawRangeElementArrayATI((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glElementPointerATI")]
- public static
- void ElementPointer(AtiElementArray type, [In, Out] ref T1 pointer)
- where T1 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glElementPointerATI((AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glElementPointerATI")]
- public static
- void ElementPointer(AtiElementArray type, [In, Out] T1[,,] pointer)
- where T1 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glElementPointerATI((AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glElementPointerATI")]
- public static
- void ElementPointer(AtiElementArray type, [In, Out] T1[,] pointer)
- where T1 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glElementPointerATI((AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glElementPointerATI")]
- public static
- void ElementPointer(AtiElementArray type, [In, Out] T1[] pointer)
- where T1 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glElementPointerATI((AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glElementPointerATI")]
- public static
- void ElementPointer(AtiElementArray type, IntPtr pointer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glElementPointerATI((AtiElementArray)type, (IntPtr)pointer);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glEndFragmentShaderATI")]
- public static
- void EndFragmentShader()
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEndFragmentShaderATI();
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glFreeObjectBufferATI")]
- public static
- void FreeObjectBuffer(Int32 buffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFreeObjectBufferATI((UInt32)buffer);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glFreeObjectBufferATI")]
- public static
- void FreeObjectBuffer(UInt32 buffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFreeObjectBufferATI((UInt32)buffer);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glGenFragmentShadersATI")]
- public static
- Int32 GenFragmentShaders(Int32 range)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glGenFragmentShadersATI((UInt32)range);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glGenFragmentShadersATI")]
- public static
- Int32 GenFragmentShaders(UInt32 range)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glGenFragmentShadersATI((UInt32)range);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetArrayObjectfvATI")]
- public static
- void GetArrayObject(EnableCap array, AtiVertexArrayObject pname, [Out] out Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glGetArrayObjectfvATI((EnableCap)array, (AtiVertexArrayObject)pname, (Single*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetArrayObjectfvATI")]
- public static
- unsafe void GetArrayObject(EnableCap array, AtiVertexArrayObject pname, [Out] Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetArrayObjectfvATI((EnableCap)array, (AtiVertexArrayObject)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetArrayObjectivATI")]
- public static
- unsafe void GetArrayObject(EnableCap array, AtiVertexArrayObject pname, [Out] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetArrayObjectivATI((EnableCap)array, (AtiVertexArrayObject)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetArrayObjectivATI")]
- public static
- void GetArrayObject(EnableCap array, AtiVertexArrayObject pname, [Out] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetArrayObjectivATI((EnableCap)array, (AtiVertexArrayObject)pname, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferfvATI")]
- public static
- void GetObjectBuffer(Int32 buffer, AtiVertexArrayObject pname, [Out] out Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glGetObjectBufferfvATI((UInt32)buffer, (AtiVertexArrayObject)pname, (Single*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferfvATI")]
- public static
- unsafe void GetObjectBuffer(Int32 buffer, AtiVertexArrayObject pname, [Out] Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetObjectBufferfvATI((UInt32)buffer, (AtiVertexArrayObject)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferfvATI")]
- public static
- void GetObjectBuffer(UInt32 buffer, AtiVertexArrayObject pname, [Out] out Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glGetObjectBufferfvATI((UInt32)buffer, (AtiVertexArrayObject)pname, (Single*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferfvATI")]
- public static
- unsafe void GetObjectBuffer(UInt32 buffer, AtiVertexArrayObject pname, [Out] Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetObjectBufferfvATI((UInt32)buffer, (AtiVertexArrayObject)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferivATI")]
- public static
- unsafe void GetObjectBuffer(Int32 buffer, AtiVertexArrayObject pname, [Out] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetObjectBufferivATI((UInt32)buffer, (AtiVertexArrayObject)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferivATI")]
- public static
- void GetObjectBuffer(Int32 buffer, AtiVertexArrayObject pname, [Out] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetObjectBufferivATI((UInt32)buffer, (AtiVertexArrayObject)pname, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferivATI")]
- public static
- unsafe void GetObjectBuffer(UInt32 buffer, AtiVertexArrayObject pname, [Out] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetObjectBufferivATI((UInt32)buffer, (AtiVertexArrayObject)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferivATI")]
- public static
- void GetObjectBuffer(UInt32 buffer, AtiVertexArrayObject pname, [Out] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetObjectBufferivATI((UInt32)buffer, (AtiVertexArrayObject)pname, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterfvATI")]
- public static
- void GetTexBumpParameter(AtiEnvmapBumpmap pname, [Out] out Single param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* param_ptr = ¶m)
- {
- Delegates.glGetTexBumpParameterfvATI((AtiEnvmapBumpmap)pname, (Single*)param_ptr);
- param = *param_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterfvATI")]
- public static
- unsafe void GetTexBumpParameter(AtiEnvmapBumpmap pname, [Out] Single* param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetTexBumpParameterfvATI((AtiEnvmapBumpmap)pname, (Single*)param);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterfvATI")]
- public static
- void GetTexBumpParameter(AtiEnvmapBumpmap pname, [Out] Single[] param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* param_ptr = param)
- {
- Delegates.glGetTexBumpParameterfvATI((AtiEnvmapBumpmap)pname, (Single*)param_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterivATI")]
- public static
- unsafe void GetTexBumpParameter(AtiEnvmapBumpmap pname, [Out] Int32* param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetTexBumpParameterivATI((AtiEnvmapBumpmap)pname, (Int32*)param);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterivATI")]
- public static
- void GetTexBumpParameter(AtiEnvmapBumpmap pname, [Out] Int32[] param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* param_ptr = param)
- {
- Delegates.glGetTexBumpParameterivATI((AtiEnvmapBumpmap)pname, (Int32*)param_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterivATI")]
- public static
- void GetTexBumpParameter(AtiEnvmapBumpmap pname, [Out] out Int32 param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* param_ptr = ¶m)
- {
- Delegates.glGetTexBumpParameterivATI((AtiEnvmapBumpmap)pname, (Int32*)param_ptr);
- param = *param_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectfvATI")]
- public static
- void GetVariantArrayObject(Int32 id, AtiVertexArrayObject pname, [Out] out Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (AtiVertexArrayObject)pname, (Single*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectfvATI")]
- public static
- unsafe void GetVariantArrayObject(Int32 id, AtiVertexArrayObject pname, [Out] Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (AtiVertexArrayObject)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectfvATI")]
- public static
- void GetVariantArrayObject(UInt32 id, AtiVertexArrayObject pname, [Out] out Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (AtiVertexArrayObject)pname, (Single*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectfvATI")]
- public static
- unsafe void GetVariantArrayObject(UInt32 id, AtiVertexArrayObject pname, [Out] Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (AtiVertexArrayObject)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectivATI")]
- public static
- unsafe void GetVariantArrayObject(Int32 id, AtiVertexArrayObject pname, [Out] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetVariantArrayObjectivATI((UInt32)id, (AtiVertexArrayObject)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectivATI")]
- public static
- void GetVariantArrayObject(Int32 id, AtiVertexArrayObject pname, [Out] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetVariantArrayObjectivATI((UInt32)id, (AtiVertexArrayObject)pname, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectivATI")]
- public static
- unsafe void GetVariantArrayObject(UInt32 id, AtiVertexArrayObject pname, [Out] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetVariantArrayObjectivATI((UInt32)id, (AtiVertexArrayObject)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectivATI")]
- public static
- void GetVariantArrayObject(UInt32 id, AtiVertexArrayObject pname, [Out] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetVariantArrayObjectivATI((UInt32)id, (AtiVertexArrayObject)pname, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")]
- public static
- void GetVertexAttribArrayObject(Int32 index, AtiVertexAttribArrayObject pname, [Out] out Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (AtiVertexAttribArrayObject)pname, (Single*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")]
- public static
- unsafe void GetVertexAttribArrayObject(Int32 index, AtiVertexAttribArrayObject pname, [Out] Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (AtiVertexAttribArrayObject)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")]
- public static
- void GetVertexAttribArrayObject(Int32 index, AtiVertexAttribArrayObject pname, [Out] Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (AtiVertexAttribArrayObject)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")]
- public static
- void GetVertexAttribArrayObject(UInt32 index, AtiVertexAttribArrayObject pname, [Out] out Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (AtiVertexAttribArrayObject)pname, (Single*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")]
- public static
- unsafe void GetVertexAttribArrayObject(UInt32 index, AtiVertexAttribArrayObject pname, [Out] Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (AtiVertexAttribArrayObject)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")]
- public static
- void GetVertexAttribArrayObject(UInt32 index, AtiVertexAttribArrayObject pname, [Out] Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (AtiVertexAttribArrayObject)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectivATI")]
- public static
- unsafe void GetVertexAttribArrayObject(Int32 index, AtiVertexAttribArrayObject pname, [Out] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (AtiVertexAttribArrayObject)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectivATI")]
- public static
- void GetVertexAttribArrayObject(Int32 index, AtiVertexAttribArrayObject pname, [Out] Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (AtiVertexAttribArrayObject)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectivATI")]
- public static
- void GetVertexAttribArrayObject(Int32 index, AtiVertexAttribArrayObject pname, [Out] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (AtiVertexAttribArrayObject)pname, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectivATI")]
- public static
- unsafe void GetVertexAttribArrayObject(UInt32 index, AtiVertexAttribArrayObject pname, [Out] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (AtiVertexAttribArrayObject)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectivATI")]
- public static
- void GetVertexAttribArrayObject(UInt32 index, AtiVertexAttribArrayObject pname, [Out] Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (AtiVertexAttribArrayObject)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectivATI")]
- public static
- void GetVertexAttribArrayObject(UInt32 index, AtiVertexAttribArrayObject pname, [Out] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (AtiVertexAttribArrayObject)pname, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glIsObjectBufferATI")]
- public static
- bool IsObjectBuffer(Int32 buffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsObjectBufferATI((UInt32)buffer);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glIsObjectBufferATI")]
- public static
- bool IsObjectBuffer(UInt32 buffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsObjectBufferATI((UInt32)buffer);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiMapObjectBuffer", Version = "1.2", EntryPoint = "glMapObjectBufferATI")]
- public static
- unsafe IntPtr MapObjectBuffer(Int32 buffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glMapObjectBufferATI((UInt32)buffer);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiMapObjectBuffer", Version = "1.2", EntryPoint = "glMapObjectBufferATI")]
- public static
- unsafe IntPtr MapObjectBuffer(UInt32 buffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glMapObjectBufferATI((UInt32)buffer);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glNewObjectBufferATI")]
- public static
- Int32 NewObjectBuffer(Int32 size, [In, Out] ref T1 pointer, AtiVertexArrayObject usage)
- where T1 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (AtiVertexArrayObject)usage);
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glNewObjectBufferATI")]
- public static
- Int32 NewObjectBuffer(Int32 size, [In, Out] T1[,,] pointer, AtiVertexArrayObject usage)
- where T1 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (AtiVertexArrayObject)usage);
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glNewObjectBufferATI")]
- public static
- Int32 NewObjectBuffer(Int32 size, [In, Out] T1[,] pointer, AtiVertexArrayObject usage)
- where T1 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (AtiVertexArrayObject)usage);
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glNewObjectBufferATI")]
- public static
- Int32 NewObjectBuffer(Int32 size, [In, Out] T1[] pointer, AtiVertexArrayObject usage)
- where T1 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (AtiVertexArrayObject)usage);
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glNewObjectBufferATI")]
- public static
- Int32 NewObjectBuffer(Int32 size, IntPtr pointer, AtiVertexArrayObject usage)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer, (AtiVertexArrayObject)usage);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bATI")]
- public static
- void NormalStream3(AtiVertexStreams stream, Byte nx, Byte ny, Byte nz)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glNormalStream3bATI((AtiVertexStreams)stream, (SByte)nx, (SByte)ny, (SByte)nz);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bATI")]
- public static
- void NormalStream3(AtiVertexStreams stream, SByte nx, SByte ny, SByte nz)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glNormalStream3bATI((AtiVertexStreams)stream, (SByte)nx, (SByte)ny, (SByte)nz);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")]
- public static
- unsafe void NormalStream3(AtiVertexStreams stream, Byte* coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glNormalStream3bvATI((AtiVertexStreams)stream, (SByte*)coords);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")]
- public static
- void NormalStream3(AtiVertexStreams stream, Byte[] coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Byte* coords_ptr = coords)
- {
- Delegates.glNormalStream3bvATI((AtiVertexStreams)stream, (SByte*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")]
- public static
- void NormalStream3(AtiVertexStreams stream, ref Byte coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Byte* coords_ptr = &coords)
- {
- Delegates.glNormalStream3bvATI((AtiVertexStreams)stream, (SByte*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")]
- public static
- void NormalStream3(AtiVertexStreams stream, ref SByte coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (SByte* coords_ptr = &coords)
- {
- Delegates.glNormalStream3bvATI((AtiVertexStreams)stream, (SByte*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")]
- public static
- unsafe void NormalStream3(AtiVertexStreams stream, SByte* coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glNormalStream3bvATI((AtiVertexStreams)stream, (SByte*)coords);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")]
- public static
- void NormalStream3(AtiVertexStreams stream, SByte[] coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (SByte* coords_ptr = coords)
- {
- Delegates.glNormalStream3bvATI((AtiVertexStreams)stream, (SByte*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3dATI")]
- public static
- void NormalStream3(AtiVertexStreams stream, Double nx, Double ny, Double nz)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glNormalStream3dATI((AtiVertexStreams)stream, (Double)nx, (Double)ny, (Double)nz);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3dvATI")]
- public static
- unsafe void NormalStream3(AtiVertexStreams stream, Double* coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glNormalStream3dvATI((AtiVertexStreams)stream, (Double*)coords);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3dvATI")]
- public static
- void NormalStream3(AtiVertexStreams stream, Double[] coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* coords_ptr = coords)
- {
- Delegates.glNormalStream3dvATI((AtiVertexStreams)stream, (Double*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3dvATI")]
- public static
- void NormalStream3(AtiVertexStreams stream, ref Double coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* coords_ptr = &coords)
- {
- Delegates.glNormalStream3dvATI((AtiVertexStreams)stream, (Double*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3fATI")]
- public static
- void NormalStream3(AtiVertexStreams stream, Single nx, Single ny, Single nz)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glNormalStream3fATI((AtiVertexStreams)stream, (Single)nx, (Single)ny, (Single)nz);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3fvATI")]
- public static
- void NormalStream3(AtiVertexStreams stream, ref Single coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* coords_ptr = &coords)
- {
- Delegates.glNormalStream3fvATI((AtiVertexStreams)stream, (Single*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3fvATI")]
- public static
- unsafe void NormalStream3(AtiVertexStreams stream, Single* coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glNormalStream3fvATI((AtiVertexStreams)stream, (Single*)coords);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3fvATI")]
- public static
- void NormalStream3(AtiVertexStreams stream, Single[] coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* coords_ptr = coords)
- {
- Delegates.glNormalStream3fvATI((AtiVertexStreams)stream, (Single*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3iATI")]
- public static
- void NormalStream3(AtiVertexStreams stream, Int32 nx, Int32 ny, Int32 nz)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glNormalStream3iATI((AtiVertexStreams)stream, (Int32)nx, (Int32)ny, (Int32)nz);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3ivATI")]
- public static
- unsafe void NormalStream3(AtiVertexStreams stream, Int32* coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glNormalStream3ivATI((AtiVertexStreams)stream, (Int32*)coords);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3ivATI")]
- public static
- void NormalStream3(AtiVertexStreams stream, Int32[] coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* coords_ptr = coords)
- {
- Delegates.glNormalStream3ivATI((AtiVertexStreams)stream, (Int32*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3ivATI")]
- public static
- void NormalStream3(AtiVertexStreams stream, ref Int32 coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* coords_ptr = &coords)
- {
- Delegates.glNormalStream3ivATI((AtiVertexStreams)stream, (Int32*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3sATI")]
- public static
- void NormalStream3(AtiVertexStreams stream, Int16 nx, Int16 ny, Int16 nz)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glNormalStream3sATI((AtiVertexStreams)stream, (Int16)nx, (Int16)ny, (Int16)nz);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3svATI")]
- public static
- unsafe void NormalStream3(AtiVertexStreams stream, Int16* coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glNormalStream3svATI((AtiVertexStreams)stream, (Int16*)coords);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3svATI")]
- public static
- void NormalStream3(AtiVertexStreams stream, Int16[] coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* coords_ptr = coords)
- {
- Delegates.glNormalStream3svATI((AtiVertexStreams)stream, (Int16*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3svATI")]
- public static
- void NormalStream3(AtiVertexStreams stream, ref Int16 coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* coords_ptr = &coords)
- {
- Delegates.glNormalStream3svATI((AtiVertexStreams)stream, (Int16*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glPassTexCoordATI")]
- public static
- void PassTexCoor(Int32 dst, Int32 coord, AtiFragmentShader swizzle)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glPassTexCoordATI((UInt32)dst, (UInt32)coord, (AtiFragmentShader)swizzle);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glPassTexCoordATI")]
- public static
- void PassTexCoor(UInt32 dst, UInt32 coord, AtiFragmentShader swizzle)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glPassTexCoordATI((UInt32)dst, (UInt32)coord, (AtiFragmentShader)swizzle);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiPnTriangles", Version = "1.2", EntryPoint = "glPNTrianglesfATI")]
- public static
- void PNTriangles(AtiPnTriangles pname, Single param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glPNTrianglesfATI((AtiPnTriangles)pname, (Single)param);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiPnTriangles", Version = "1.2", EntryPoint = "glPNTrianglesiATI")]
- public static
- void PNTriangles(AtiPnTriangles pname, Int32 param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glPNTrianglesiATI((AtiPnTriangles)pname, (Int32)param);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSampleMapATI")]
- public static
- void SampleMap(Int32 dst, Int32 interp, AtiFragmentShader swizzle)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glSampleMapATI((UInt32)dst, (UInt32)interp, (AtiFragmentShader)swizzle);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSampleMapATI")]
- public static
- void SampleMap(UInt32 dst, UInt32 interp, AtiFragmentShader swizzle)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glSampleMapATI((UInt32)dst, (UInt32)interp, (AtiFragmentShader)swizzle);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSetFragmentShaderConstantATI")]
- public static
- void SetFragmentShaderConstant(Int32 dst, ref Single value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* value_ptr = &value)
- {
- Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSetFragmentShaderConstantATI")]
- public static
- unsafe void SetFragmentShaderConstant(Int32 dst, Single* value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSetFragmentShaderConstantATI")]
- public static
- void SetFragmentShaderConstant(Int32 dst, Single[] value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* value_ptr = value)
- {
- Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSetFragmentShaderConstantATI")]
- public static
- void SetFragmentShaderConstant(UInt32 dst, ref Single value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* value_ptr = &value)
- {
- Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSetFragmentShaderConstantATI")]
- public static
- unsafe void SetFragmentShaderConstant(UInt32 dst, Single* value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSetFragmentShaderConstantATI")]
- public static
- void SetFragmentShaderConstant(UInt32 dst, Single[] value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* value_ptr = value)
- {
- Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set front and/or back function and reference value for stencil testing
- ///
- ///
- ///
- /// Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK.
- ///
- ///
- ///
- ///
- /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS.
- ///
- ///
- ///
- ///
- /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.
- ///
- ///
- [AutoGenerated(Category = "AtiSeparateStencil", Version = "1.2", EntryPoint = "glStencilFuncSeparateATI")]
- public static
- void StencilFuncSeparate(StencilFunction frontfunc, StencilFunction backfunc, Int32 @ref, Int32 mask)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glStencilFuncSeparateATI((StencilFunction)frontfunc, (StencilFunction)backfunc, (Int32)@ref, (UInt32)mask);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set front and/or back function and reference value for stencil testing
- ///
- ///
- ///
- /// Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK.
- ///
- ///
- ///
- ///
- /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS.
- ///
- ///
- ///
- ///
- /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiSeparateStencil", Version = "1.2", EntryPoint = "glStencilFuncSeparateATI")]
- public static
- void StencilFuncSeparate(StencilFunction frontfunc, StencilFunction backfunc, Int32 @ref, UInt32 mask)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glStencilFuncSeparateATI((StencilFunction)frontfunc, (StencilFunction)backfunc, (Int32)@ref, (UInt32)mask);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set front and/or back stencil test actions
- ///
- ///
- ///
- /// Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK.
- ///
- ///
- ///
- ///
- /// Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: GL_KEEP, GL_ZERO, GL_REPLACE, GL_INCR, GL_INCR_WRAP, GL_DECR, GL_DECR_WRAP, and GL_INVERT. The initial value is GL_KEEP.
- ///
- ///
- ///
- ///
- /// Specifies the stencil action when the stencil test passes, but the depth test fails. dpfail accepts the same symbolic constants as sfail. The initial value is GL_KEEP.
- ///
- ///
- ///
- ///
- /// Specifies the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled. dppass accepts the same symbolic constants as sfail. The initial value is GL_KEEP.
- ///
- ///
- [AutoGenerated(Category = "AtiSeparateStencil", Version = "1.2", EntryPoint = "glStencilOpSeparateATI")]
- public static
- void StencilOpSeparate(AtiSeparateStencil face, StencilOp sfail, StencilOp dpfail, StencilOp dppass)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glStencilOpSeparateATI((AtiSeparateStencil)face, (StencilOp)sfail, (StencilOp)dpfail, (StencilOp)dppass);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterfvATI")]
- public static
- void TexBumpParameter(AtiEnvmapBumpmap pname, ref Single param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* param_ptr = ¶m)
- {
- Delegates.glTexBumpParameterfvATI((AtiEnvmapBumpmap)pname, (Single*)param_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterfvATI")]
- public static
- unsafe void TexBumpParameter(AtiEnvmapBumpmap pname, Single* param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexBumpParameterfvATI((AtiEnvmapBumpmap)pname, (Single*)param);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterfvATI")]
- public static
- void TexBumpParameter(AtiEnvmapBumpmap pname, Single[] param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* param_ptr = param)
- {
- Delegates.glTexBumpParameterfvATI((AtiEnvmapBumpmap)pname, (Single*)param_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterivATI")]
- public static
- unsafe void TexBumpParameter(AtiEnvmapBumpmap pname, Int32* param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexBumpParameterivATI((AtiEnvmapBumpmap)pname, (Int32*)param);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterivATI")]
- public static
- void TexBumpParameter(AtiEnvmapBumpmap pname, Int32[] param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* param_ptr = param)
- {
- Delegates.glTexBumpParameterivATI((AtiEnvmapBumpmap)pname, (Int32*)param_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterivATI")]
- public static
- void TexBumpParameter(AtiEnvmapBumpmap pname, ref Int32 param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* param_ptr = ¶m)
- {
- Delegates.glTexBumpParameterivATI((AtiEnvmapBumpmap)pname, (Int32*)param_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiMapObjectBuffer", Version = "1.2", EntryPoint = "glUnmapObjectBufferATI")]
- public static
- void UnmapObjectBuffer(Int32 buffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUnmapObjectBufferATI((UInt32)buffer);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiMapObjectBuffer", Version = "1.2", EntryPoint = "glUnmapObjectBufferATI")]
- public static
- void UnmapObjectBuffer(UInt32 buffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUnmapObjectBufferATI((UInt32)buffer);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")]
- public static
- void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] ref T3 pointer, AtiVertexArrayObject preserve)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (AtiVertexArrayObject)preserve);
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")]
- public static
- void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] T3[,,] pointer, AtiVertexArrayObject preserve)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (AtiVertexArrayObject)preserve);
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")]
- public static
- void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] T3[,] pointer, AtiVertexArrayObject preserve)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (AtiVertexArrayObject)preserve);
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")]
- public static
- void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] T3[] pointer, AtiVertexArrayObject preserve)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (AtiVertexArrayObject)preserve);
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")]
- public static
- void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, IntPtr pointer, AtiVertexArrayObject preserve)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer, (AtiVertexArrayObject)preserve);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")]
- public static
- void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] ref T3 pointer, AtiVertexArrayObject preserve)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (AtiVertexArrayObject)preserve);
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")]
- public static
- void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] T3[,,] pointer, AtiVertexArrayObject preserve)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (AtiVertexArrayObject)preserve);
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")]
- public static
- void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] T3[,] pointer, AtiVertexArrayObject preserve)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (AtiVertexArrayObject)preserve);
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")]
- public static
- void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] T3[] pointer, AtiVertexArrayObject preserve)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (AtiVertexArrayObject)preserve);
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")]
- public static
- void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, IntPtr pointer, AtiVertexArrayObject preserve)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer, (AtiVertexArrayObject)preserve);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glVariantArrayObjectATI")]
- public static
- void VariantArrayObject(Int32 id, AtiVertexArrayObject type, Int32 stride, Int32 buffer, Int32 offset)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVariantArrayObjectATI((UInt32)id, (AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glVariantArrayObjectATI")]
- public static
- void VariantArrayObject(UInt32 id, AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVariantArrayObjectATI((UInt32)id, (AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glVertexAttribArrayObjectATI")]
- public static
- void VertexAttribArrayObject(Int32 index, Int32 size, AtiVertexAttribArrayObject type, bool normalized, Int32 stride, Int32 buffer, Int32 offset)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttribArrayObjectATI((UInt32)index, (Int32)size, (AtiVertexAttribArrayObject)type, (bool)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glVertexAttribArrayObjectATI")]
- public static
- void VertexAttribArrayObject(UInt32 index, Int32 size, AtiVertexAttribArrayObject type, bool normalized, Int32 stride, UInt32 buffer, UInt32 offset)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttribArrayObjectATI((UInt32)index, (Int32)size, (AtiVertexAttribArrayObject)type, (bool)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexBlendEnvfATI")]
- public static
- void VertexBlendEnv(AtiVertexStreams pname, Single param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexBlendEnvfATI((AtiVertexStreams)pname, (Single)param);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexBlendEnviATI")]
- public static
- void VertexBlendEnv(AtiVertexStreams pname, Int32 param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexBlendEnviATI((AtiVertexStreams)pname, (Int32)param);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1dATI")]
- public static
- void VertexStream1(AtiVertexStreams stream, Double x)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream1dATI((AtiVertexStreams)stream, (Double)x);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1dvATI")]
- public static
- unsafe void VertexStream1(AtiVertexStreams stream, Double* coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream1dvATI((AtiVertexStreams)stream, (Double*)coords);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1fATI")]
- public static
- void VertexStream1(AtiVertexStreams stream, Single x)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream1fATI((AtiVertexStreams)stream, (Single)x);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1fvATI")]
- public static
- unsafe void VertexStream1(AtiVertexStreams stream, Single* coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream1fvATI((AtiVertexStreams)stream, (Single*)coords);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1iATI")]
- public static
- void VertexStream1(AtiVertexStreams stream, Int32 x)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream1iATI((AtiVertexStreams)stream, (Int32)x);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1ivATI")]
- public static
- unsafe void VertexStream1(AtiVertexStreams stream, Int32* coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream1ivATI((AtiVertexStreams)stream, (Int32*)coords);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1sATI")]
- public static
- void VertexStream1(AtiVertexStreams stream, Int16 x)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream1sATI((AtiVertexStreams)stream, (Int16)x);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1svATI")]
- public static
- unsafe void VertexStream1(AtiVertexStreams stream, Int16* coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream1svATI((AtiVertexStreams)stream, (Int16*)coords);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2dATI")]
- public static
- void VertexStream2(AtiVertexStreams stream, Double x, Double y)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream2dATI((AtiVertexStreams)stream, (Double)x, (Double)y);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2dvATI")]
- public static
- unsafe void VertexStream2(AtiVertexStreams stream, Double* coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream2dvATI((AtiVertexStreams)stream, (Double*)coords);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2dvATI")]
- public static
- void VertexStream2(AtiVertexStreams stream, Double[] coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* coords_ptr = coords)
- {
- Delegates.glVertexStream2dvATI((AtiVertexStreams)stream, (Double*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2dvATI")]
- public static
- void VertexStream2(AtiVertexStreams stream, ref Double coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* coords_ptr = &coords)
- {
- Delegates.glVertexStream2dvATI((AtiVertexStreams)stream, (Double*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2fATI")]
- public static
- void VertexStream2(AtiVertexStreams stream, Single x, Single y)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream2fATI((AtiVertexStreams)stream, (Single)x, (Single)y);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2fvATI")]
- public static
- void VertexStream2(AtiVertexStreams stream, ref Single coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* coords_ptr = &coords)
- {
- Delegates.glVertexStream2fvATI((AtiVertexStreams)stream, (Single*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2fvATI")]
- public static
- unsafe void VertexStream2(AtiVertexStreams stream, Single* coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream2fvATI((AtiVertexStreams)stream, (Single*)coords);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2fvATI")]
- public static
- void VertexStream2(AtiVertexStreams stream, Single[] coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* coords_ptr = coords)
- {
- Delegates.glVertexStream2fvATI((AtiVertexStreams)stream, (Single*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2iATI")]
- public static
- void VertexStream2(AtiVertexStreams stream, Int32 x, Int32 y)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream2iATI((AtiVertexStreams)stream, (Int32)x, (Int32)y);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2ivATI")]
- public static
- unsafe void VertexStream2(AtiVertexStreams stream, Int32* coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream2ivATI((AtiVertexStreams)stream, (Int32*)coords);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2ivATI")]
- public static
- void VertexStream2(AtiVertexStreams stream, Int32[] coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* coords_ptr = coords)
- {
- Delegates.glVertexStream2ivATI((AtiVertexStreams)stream, (Int32*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2ivATI")]
- public static
- void VertexStream2(AtiVertexStreams stream, ref Int32 coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* coords_ptr = &coords)
- {
- Delegates.glVertexStream2ivATI((AtiVertexStreams)stream, (Int32*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2sATI")]
- public static
- void VertexStream2(AtiVertexStreams stream, Int16 x, Int16 y)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream2sATI((AtiVertexStreams)stream, (Int16)x, (Int16)y);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2svATI")]
- public static
- unsafe void VertexStream2(AtiVertexStreams stream, Int16* coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream2svATI((AtiVertexStreams)stream, (Int16*)coords);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2svATI")]
- public static
- void VertexStream2(AtiVertexStreams stream, Int16[] coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* coords_ptr = coords)
- {
- Delegates.glVertexStream2svATI((AtiVertexStreams)stream, (Int16*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2svATI")]
- public static
- void VertexStream2(AtiVertexStreams stream, ref Int16 coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* coords_ptr = &coords)
- {
- Delegates.glVertexStream2svATI((AtiVertexStreams)stream, (Int16*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3dATI")]
- public static
- void VertexStream3(AtiVertexStreams stream, Double x, Double y, Double z)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream3dATI((AtiVertexStreams)stream, (Double)x, (Double)y, (Double)z);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3dvATI")]
- public static
- unsafe void VertexStream3(AtiVertexStreams stream, Double* coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream3dvATI((AtiVertexStreams)stream, (Double*)coords);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3dvATI")]
- public static
- void VertexStream3(AtiVertexStreams stream, Double[] coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* coords_ptr = coords)
- {
- Delegates.glVertexStream3dvATI((AtiVertexStreams)stream, (Double*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3dvATI")]
- public static
- void VertexStream3(AtiVertexStreams stream, ref Double coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* coords_ptr = &coords)
- {
- Delegates.glVertexStream3dvATI((AtiVertexStreams)stream, (Double*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3fATI")]
- public static
- void VertexStream3(AtiVertexStreams stream, Single x, Single y, Single z)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream3fATI((AtiVertexStreams)stream, (Single)x, (Single)y, (Single)z);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3fvATI")]
- public static
- void VertexStream3(AtiVertexStreams stream, ref Single coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* coords_ptr = &coords)
- {
- Delegates.glVertexStream3fvATI((AtiVertexStreams)stream, (Single*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3fvATI")]
- public static
- unsafe void VertexStream3(AtiVertexStreams stream, Single* coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream3fvATI((AtiVertexStreams)stream, (Single*)coords);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3fvATI")]
- public static
- void VertexStream3(AtiVertexStreams stream, Single[] coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* coords_ptr = coords)
- {
- Delegates.glVertexStream3fvATI((AtiVertexStreams)stream, (Single*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3iATI")]
- public static
- void VertexStream3(AtiVertexStreams stream, Int32 x, Int32 y, Int32 z)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream3iATI((AtiVertexStreams)stream, (Int32)x, (Int32)y, (Int32)z);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3ivATI")]
- public static
- unsafe void VertexStream3(AtiVertexStreams stream, Int32* coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream3ivATI((AtiVertexStreams)stream, (Int32*)coords);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3ivATI")]
- public static
- void VertexStream3(AtiVertexStreams stream, Int32[] coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* coords_ptr = coords)
- {
- Delegates.glVertexStream3ivATI((AtiVertexStreams)stream, (Int32*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3ivATI")]
- public static
- void VertexStream3(AtiVertexStreams stream, ref Int32 coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* coords_ptr = &coords)
- {
- Delegates.glVertexStream3ivATI((AtiVertexStreams)stream, (Int32*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3sATI")]
- public static
- void VertexStream3(AtiVertexStreams stream, Int16 x, Int16 y, Int16 z)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream3sATI((AtiVertexStreams)stream, (Int16)x, (Int16)y, (Int16)z);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3svATI")]
- public static
- unsafe void VertexStream3(AtiVertexStreams stream, Int16* coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream3svATI((AtiVertexStreams)stream, (Int16*)coords);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3svATI")]
- public static
- void VertexStream3(AtiVertexStreams stream, Int16[] coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* coords_ptr = coords)
- {
- Delegates.glVertexStream3svATI((AtiVertexStreams)stream, (Int16*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3svATI")]
- public static
- void VertexStream3(AtiVertexStreams stream, ref Int16 coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* coords_ptr = &coords)
- {
- Delegates.glVertexStream3svATI((AtiVertexStreams)stream, (Int16*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4dATI")]
- public static
- void VertexStream4(AtiVertexStreams stream, Double x, Double y, Double z, Double w)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream4dATI((AtiVertexStreams)stream, (Double)x, (Double)y, (Double)z, (Double)w);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4dvATI")]
- public static
- unsafe void VertexStream4(AtiVertexStreams stream, Double* coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream4dvATI((AtiVertexStreams)stream, (Double*)coords);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4dvATI")]
- public static
- void VertexStream4(AtiVertexStreams stream, Double[] coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* coords_ptr = coords)
- {
- Delegates.glVertexStream4dvATI((AtiVertexStreams)stream, (Double*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4dvATI")]
- public static
- void VertexStream4(AtiVertexStreams stream, ref Double coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* coords_ptr = &coords)
- {
- Delegates.glVertexStream4dvATI((AtiVertexStreams)stream, (Double*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4fATI")]
- public static
- void VertexStream4(AtiVertexStreams stream, Single x, Single y, Single z, Single w)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream4fATI((AtiVertexStreams)stream, (Single)x, (Single)y, (Single)z, (Single)w);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4fvATI")]
- public static
- void VertexStream4(AtiVertexStreams stream, ref Single coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* coords_ptr = &coords)
- {
- Delegates.glVertexStream4fvATI((AtiVertexStreams)stream, (Single*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4fvATI")]
- public static
- unsafe void VertexStream4(AtiVertexStreams stream, Single* coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream4fvATI((AtiVertexStreams)stream, (Single*)coords);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4fvATI")]
- public static
- void VertexStream4(AtiVertexStreams stream, Single[] coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* coords_ptr = coords)
- {
- Delegates.glVertexStream4fvATI((AtiVertexStreams)stream, (Single*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4iATI")]
- public static
- void VertexStream4(AtiVertexStreams stream, Int32 x, Int32 y, Int32 z, Int32 w)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream4iATI((AtiVertexStreams)stream, (Int32)x, (Int32)y, (Int32)z, (Int32)w);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4ivATI")]
- public static
- unsafe void VertexStream4(AtiVertexStreams stream, Int32* coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream4ivATI((AtiVertexStreams)stream, (Int32*)coords);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4ivATI")]
- public static
- void VertexStream4(AtiVertexStreams stream, Int32[] coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* coords_ptr = coords)
- {
- Delegates.glVertexStream4ivATI((AtiVertexStreams)stream, (Int32*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4ivATI")]
- public static
- void VertexStream4(AtiVertexStreams stream, ref Int32 coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* coords_ptr = &coords)
- {
- Delegates.glVertexStream4ivATI((AtiVertexStreams)stream, (Int32*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4sATI")]
- public static
- void VertexStream4(AtiVertexStreams stream, Int16 x, Int16 y, Int16 z, Int16 w)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream4sATI((AtiVertexStreams)stream, (Int16)x, (Int16)y, (Int16)z, (Int16)w);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4svATI")]
- public static
- unsafe void VertexStream4(AtiVertexStreams stream, Int16* coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexStream4svATI((AtiVertexStreams)stream, (Int16*)coords);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4svATI")]
- public static
- void VertexStream4(AtiVertexStreams stream, Int16[] coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* coords_ptr = coords)
- {
- Delegates.glVertexStream4svATI((AtiVertexStreams)stream, (Int16*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4svATI")]
- public static
- void VertexStream4(AtiVertexStreams stream, ref Int16 coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* coords_ptr = &coords)
- {
- Delegates.glVertexStream4svATI((AtiVertexStreams)stream, (Int16*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- }
-
-
- ///
- /// Operate on the accumulation buffer
- ///
- ///
- ///
- /// Specifies the accumulation buffer operation. Symbolic constants GL_ACCUM, GL_LOAD, GL_ADD, GL_MULT, and GL_RETURN are accepted.
- ///
- ///
- ///
- ///
- /// Specifies a floating-point value used in the accumulation buffer operation. op determines how value is used.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glAccum")]
- public static
- void Accum(AccumOp op, Single value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glAccum((AccumOp)op, (Single)value);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Select active texture unit
- ///
- ///
- ///
- /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least two. texture must be one of GL_TEXTURE, where i ranges from 0 to the larger of (GL_MAX_TEXTURE_COORDS - 1) and (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0.
- ///
- ///
- [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glActiveTexture")]
- public static
- void ActiveTexture(TextureUnit texture)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glActiveTexture((TextureUnit)texture);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the alpha test function
- ///
- ///
- ///
- /// Specifies the alpha comparison function. Symbolic constants GL_NEVER, GL_LESS, GL_EQUAL, GL_LEQUAL, GL_GREATER, GL_NOTEQUAL, GL_GEQUAL, and GL_ALWAYS are accepted. The initial value is GL_ALWAYS.
- ///
- ///
- ///
- ///
- /// Specifies the reference value that incoming alpha values are compared to. This value is clamped to the range [0,1], where 0 represents the lowest possible alpha value and 1 the highest possible value. The initial reference value is 0.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glAlphaFunc")]
- public static
- void AlphaFunc(AlphaFunction func, Single @ref)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glAlphaFunc((AlphaFunction)func, (Single)@ref);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Determine if textures are loaded in texture memory
- ///
- ///
- ///
- /// Specifies the number of textures to be queried.
- ///
- ///
- ///
- ///
- /// Specifies an array containing the names of the textures to be queried.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")]
- public static
- unsafe bool AreTexturesResident(Int32 n, Int32* textures, [Out] bool* residences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (bool*)residences);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Determine if textures are loaded in texture memory
- ///
- ///
- ///
- /// Specifies the number of textures to be queried.
- ///
- ///
- ///
- ///
- /// Specifies an array containing the names of the textures to be queried.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences.
- ///
- ///
- [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")]
- public static
- bool AreTexturesResident(Int32 n, Int32[] textures, [Out] bool[] residences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* textures_ptr = textures)
- fixed (bool* residences_ptr = residences)
- {
- return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Determine if textures are loaded in texture memory
- ///
- ///
- ///
- /// Specifies the number of textures to be queried.
- ///
- ///
- ///
- ///
- /// Specifies an array containing the names of the textures to be queried.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences.
- ///
- ///
- [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")]
- public static
- bool AreTexturesResident(Int32 n, ref Int32 textures, [Out] out bool residences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* textures_ptr = &textures)
- fixed (bool* residences_ptr = &residences)
- {
- bool retval = Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr);
- residences = *residences_ptr;
- return retval;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Determine if textures are loaded in texture memory
- ///
- ///
- ///
- /// Specifies the number of textures to be queried.
- ///
- ///
- ///
- ///
- /// Specifies an array containing the names of the textures to be queried.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")]
- public static
- bool AreTexturesResident(Int32 n, ref UInt32 textures, [Out] out bool residences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* textures_ptr = &textures)
- fixed (bool* residences_ptr = &residences)
- {
- bool retval = Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr);
- residences = *residences_ptr;
- return retval;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Determine if textures are loaded in texture memory
- ///
- ///
- ///
- /// Specifies the number of textures to be queried.
- ///
- ///
- ///
- ///
- /// Specifies an array containing the names of the textures to be queried.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")]
- public static
- unsafe bool AreTexturesResident(Int32 n, UInt32* textures, [Out] bool* residences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (bool*)residences);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Determine if textures are loaded in texture memory
- ///
- ///
- ///
- /// Specifies the number of textures to be queried.
- ///
- ///
- ///
- ///
- /// Specifies an array containing the names of the textures to be queried.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")]
- public static
- bool AreTexturesResident(Int32 n, UInt32[] textures, [Out] bool[] residences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* textures_ptr = textures)
- fixed (bool* residences_ptr = residences)
- {
- return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Render a vertex using the specified vertex array element
- ///
- ///
- ///
- /// Specifies an index into the enabled vertex data arrays.
- ///
- ///
- [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glArrayElement")]
- public static
- void ArrayElement(Int32 i)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glArrayElement((Int32)i);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Attaches a shader object to a program object
- ///
- ///
- ///
- /// Specifies the program object to which a shader object will be attached.
- ///
- ///
- ///
- ///
- /// Specifies the shader object that is to be attached.
- ///
- ///
- [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glAttachShader")]
- public static
- void AttachShader(Int32 program, Int32 shader)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glAttachShader((UInt32)program, (UInt32)shader);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Attaches a shader object to a program object
- ///
- ///
- ///
- /// Specifies the program object to which a shader object will be attached.
- ///
- ///
- ///
- ///
- /// Specifies the shader object that is to be attached.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glAttachShader")]
- public static
- void AttachShader(UInt32 program, UInt32 shader)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glAttachShader((UInt32)program, (UInt32)shader);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delimit the vertices of a primitive or a group of like primitives
- ///
- ///
- ///
- /// Specifies the primitive or primitives that will be created from vertices presented between glBegin and the subsequent glEnd. Ten symbolic constants are accepted: GL_POINTS, GL_LINES, GL_LINE_STRIP, GL_LINE_LOOP, GL_TRIANGLES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_QUADS, GL_QUAD_STRIP, and GL_POLYGON.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glBegin")]
- public static
- void Begin(BeginMode mode)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- GraphicsContext.CurrentContext.ErrorChecking = false;
- #endif
- Delegates.glBegin((BeginMode)mode);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBeginConditionalRender")]
- public static
- void BeginConditionalRender(Int32 id, ConditionalRenderType mode)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBeginConditionalRender((UInt32)id, (ConditionalRenderType)mode);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBeginConditionalRender")]
- public static
- void BeginConditionalRender(UInt32 id, ConditionalRenderType mode)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBeginConditionalRender((UInt32)id, (ConditionalRenderType)mode);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delimit the boundaries of a query object
- ///
- ///
- ///
- /// Specifies the target type of query object established between glBeginQuery and the subsequent glEndQuery. The symbolic constant must be GL_SAMPLES_PASSED.
- ///
- ///
- ///
- ///
- /// Specifies the name of a query object.
- ///
- ///
- [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBeginQuery")]
- public static
- void BeginQuery(QueryTarget target, Int32 id)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBeginQuery((QueryTarget)target, (UInt32)id);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delimit the boundaries of a query object
- ///
- ///
- ///
- /// Specifies the target type of query object established between glBeginQuery and the subsequent glEndQuery. The symbolic constant must be GL_SAMPLES_PASSED.
- ///
- ///
- ///
- ///
- /// Specifies the name of a query object.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBeginQuery")]
- public static
- void BeginQuery(QueryTarget target, UInt32 id)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBeginQuery((QueryTarget)target, (UInt32)id);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBeginTransformFeedback")]
- public static
- void BeginTransformFeedback(BeginFeedbackMode primitiveMode)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBeginTransformFeedback((BeginFeedbackMode)primitiveMode);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Associates a generic vertex attribute index with a named attribute variable
- ///
- ///
- ///
- /// Specifies the handle of the program object in which the association is to be made.
- ///
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be bound.
- ///
- ///
- ///
- ///
- /// Specifies a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound.
- ///
- ///
- [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glBindAttribLocation")]
- public static
- void BindAttribLocation(Int32 program, Int32 index, String name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Associates a generic vertex attribute index with a named attribute variable
- ///
- ///
- ///
- /// Specifies the handle of the program object in which the association is to be made.
- ///
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be bound.
- ///
- ///
- ///
- ///
- /// Specifies a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glBindAttribLocation")]
- public static
- void BindAttribLocation(UInt32 program, UInt32 index, String name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Bind a named buffer object
- ///
- ///
- ///
- /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the name of a buffer object.
- ///
- ///
- [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBindBuffer")]
- public static
- void BindBuffer(BufferTarget target, Int32 buffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindBuffer((BufferTarget)target, (UInt32)buffer);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Bind a named buffer object
- ///
- ///
- ///
- /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the name of a buffer object.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBindBuffer")]
- public static
- void BindBuffer(BufferTarget target, UInt32 buffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindBuffer((BufferTarget)target, (UInt32)buffer);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBindBufferBase")]
- public static
- void BindBufferBase(BufferTarget target, Int32 index, Int32 buffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindBufferBase((BufferTarget)target, (UInt32)index, (UInt32)buffer);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBindBufferBase")]
- public static
- void BindBufferBase(BufferTarget target, UInt32 index, UInt32 buffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindBufferBase((BufferTarget)target, (UInt32)index, (UInt32)buffer);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBindBufferRange")]
- public static
- void BindBufferRange(BufferTarget target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindBufferRange((BufferTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBindBufferRange")]
- public static
- void BindBufferRange(BufferTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindBufferRange((BufferTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBindFragDataLocation")]
- public static
- void BindFragDataLocation(Int32 program, Int32 color, String name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindFragDataLocation((UInt32)program, (UInt32)color, (String)name);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBindFragDataLocation")]
- public static
- void BindFragDataLocation(UInt32 program, UInt32 color, String name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindFragDataLocation((UInt32)program, (UInt32)color, (String)name);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glBindFramebuffer")]
- public static
- void BindFramebuffer(FramebufferTarget target, Int32 framebuffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindFramebuffer((FramebufferTarget)target, (UInt32)framebuffer);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glBindFramebuffer")]
- public static
- void BindFramebuffer(FramebufferTarget target, UInt32 framebuffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindFramebuffer((FramebufferTarget)target, (UInt32)framebuffer);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glBindRenderbuffer")]
- public static
- void BindRenderbuffer(RenderbufferTarget target, Int32 renderbuffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindRenderbuffer((RenderbufferTarget)target, (UInt32)renderbuffer);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glBindRenderbuffer")]
- public static
- void BindRenderbuffer(RenderbufferTarget target, UInt32 renderbuffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindRenderbuffer((RenderbufferTarget)target, (UInt32)renderbuffer);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Bind a named texture to a texturing target
- ///
- ///
- ///
- /// Specifies the target to which the texture is bound. Must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the name of a texture.
- ///
- ///
- [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glBindTexture")]
- public static
- void BindTexture(TextureTarget target, Int32 texture)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindTexture((TextureTarget)target, (UInt32)texture);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Bind a named texture to a texturing target
- ///
- ///
- ///
- /// Specifies the target to which the texture is bound. Must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the name of a texture.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glBindTexture")]
- public static
- void BindTexture(TextureTarget target, UInt32 texture)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindTexture((TextureTarget)target, (UInt32)texture);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glBindVertexArray")]
- public static
- void BindVertexArray(Int32 array)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindVertexArray((UInt32)array);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glBindVertexArray")]
- public static
- void BindVertexArray(UInt32 array)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindVertexArray((UInt32)array);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Draw a bitmap
- ///
- ///
- ///
- /// Specify the pixel width and height of the bitmap image.
- ///
- ///
- ///
- ///
- /// Specify the location of the origin in the bitmap image. The origin is measured from the lower left corner of the bitmap, with right and up being the positive axes.
- ///
- ///
- ///
- ///
- /// Specify the x and y offsets to be added to the current raster position after the bitmap is drawn.
- ///
- ///
- ///
- ///
- /// Specifies the address of the bitmap image.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glBitmap")]
- public static
- unsafe void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte* bitmap)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBitmap((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (Byte*)bitmap);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Draw a bitmap
- ///
- ///
- ///
- /// Specify the pixel width and height of the bitmap image.
- ///
- ///
- ///
- ///
- /// Specify the location of the origin in the bitmap image. The origin is measured from the lower left corner of the bitmap, with right and up being the positive axes.
- ///
- ///
- ///
- ///
- /// Specify the x and y offsets to be added to the current raster position after the bitmap is drawn.
- ///
- ///
- ///
- ///
- /// Specifies the address of the bitmap image.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glBitmap")]
- public static
- void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte[] bitmap)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Byte* bitmap_ptr = bitmap)
- {
- Delegates.glBitmap((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (Byte*)bitmap_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Draw a bitmap
- ///
- ///
- ///
- /// Specify the pixel width and height of the bitmap image.
- ///
- ///
- ///
- ///
- /// Specify the location of the origin in the bitmap image. The origin is measured from the lower left corner of the bitmap, with right and up being the positive axes.
- ///
- ///
- ///
- ///
- /// Specify the x and y offsets to be added to the current raster position after the bitmap is drawn.
- ///
- ///
- ///
- ///
- /// Specifies the address of the bitmap image.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glBitmap")]
- public static
- void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, ref Byte bitmap)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Byte* bitmap_ptr = &bitmap)
- {
- Delegates.glBitmap((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (Byte*)bitmap_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the blend color
- ///
- ///
- ///
- /// specify the components of GL_BLEND_COLOR
- ///
- ///
- [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glBlendColor")]
- public static
- void BlendColor(Single red, Single green, Single blue, Single alpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlendColor((Single)red, (Single)green, (Single)blue, (Single)alpha);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the equation used for both the RGB blend equation and the Alpha blend equation
- ///
- ///
- ///
- /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX.
- ///
- ///
- [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glBlendEquation")]
- public static
- void BlendEquation(BlendEquationMode mode)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlendEquation((BlendEquationMode)mode);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the equation used for both the RGB blend equation and the Alpha blend equation
- ///
- ///
- ///
- /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX.
- ///
- ///
- [AutoGenerated(Category = "ArbDrawBuffersBlend", Version = "1.2", EntryPoint = "glBlendEquationi")]
- public static
- void BlendEquation(Int32 buf, ArbDrawBuffersBlend mode)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlendEquationi((UInt32)buf, (ArbDrawBuffersBlend)mode);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the equation used for both the RGB blend equation and the Alpha blend equation
- ///
- ///
- ///
- /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbDrawBuffersBlend", Version = "1.2", EntryPoint = "glBlendEquationi")]
- public static
- void BlendEquation(UInt32 buf, ArbDrawBuffersBlend mode)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlendEquationi((UInt32)buf, (ArbDrawBuffersBlend)mode);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the RGB blend equation and the alpha blend equation separately
- ///
- ///
- ///
- /// specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX.
- ///
- ///
- ///
- ///
- /// specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX.
- ///
- ///
- [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glBlendEquationSeparate")]
- public static
- void BlendEquationSeparate(BlendEquationMode modeRGB, BlendEquationMode modeAlpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlendEquationSeparate((BlendEquationMode)modeRGB, (BlendEquationMode)modeAlpha);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the RGB blend equation and the alpha blend equation separately
- ///
- ///
- ///
- /// specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX.
- ///
- ///
- ///
- ///
- /// specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX.
- ///
- ///
- [AutoGenerated(Category = "ArbDrawBuffersBlend", Version = "1.2", EntryPoint = "glBlendEquationSeparatei")]
- public static
- void BlendEquationSeparate(Int32 buf, BlendEquationMode modeRGB, BlendEquationMode modeAlpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlendEquationSeparatei((UInt32)buf, (BlendEquationMode)modeRGB, (BlendEquationMode)modeAlpha);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the RGB blend equation and the alpha blend equation separately
- ///
- ///
- ///
- /// specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX.
- ///
- ///
- ///
- ///
- /// specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbDrawBuffersBlend", Version = "1.2", EntryPoint = "glBlendEquationSeparatei")]
- public static
- void BlendEquationSeparate(UInt32 buf, BlendEquationMode modeRGB, BlendEquationMode modeAlpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlendEquationSeparatei((UInt32)buf, (BlendEquationMode)modeRGB, (BlendEquationMode)modeAlpha);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify pixel arithmetic
- ///
- ///
- ///
- /// Specifies how the red, green, blue, and alpha source blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA, GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA, and GL_SRC_ALPHA_SATURATE. The initial value is GL_ONE.
- ///
- ///
- ///
- ///
- /// Specifies how the red, green, blue, and alpha destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO.
- ///
- ///
- [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glBlendFunc")]
- public static
- void BlendFunc(BlendingFactorSrc sfactor, BlendingFactorDest dfactor)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlendFunc((BlendingFactorSrc)sfactor, (BlendingFactorDest)dfactor);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify pixel arithmetic
- ///
- ///
- ///
- /// Specifies how the red, green, blue, and alpha source blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA, GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA, and GL_SRC_ALPHA_SATURATE. The initial value is GL_ONE.
- ///
- ///
- ///
- ///
- /// Specifies how the red, green, blue, and alpha destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO.
- ///
- ///
- [AutoGenerated(Category = "ArbDrawBuffersBlend", Version = "1.2", EntryPoint = "glBlendFunci")]
- public static
- void BlendFunc(Int32 buf, ArbDrawBuffersBlend src, ArbDrawBuffersBlend dst)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlendFunci((UInt32)buf, (ArbDrawBuffersBlend)src, (ArbDrawBuffersBlend)dst);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify pixel arithmetic
- ///
- ///
- ///
- /// Specifies how the red, green, blue, and alpha source blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA, GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA, and GL_SRC_ALPHA_SATURATE. The initial value is GL_ONE.
- ///
- ///
- ///
- ///
- /// Specifies how the red, green, blue, and alpha destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbDrawBuffersBlend", Version = "1.2", EntryPoint = "glBlendFunci")]
- public static
- void BlendFunc(UInt32 buf, ArbDrawBuffersBlend src, ArbDrawBuffersBlend dst)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlendFunci((UInt32)buf, (ArbDrawBuffersBlend)src, (ArbDrawBuffersBlend)dst);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify pixel arithmetic for RGB and alpha components separately
- ///
- ///
- ///
- /// Specifies how the red, green, and blue blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA, GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA, and GL_SRC_ALPHA_SATURATE. The initial value is GL_ONE.
- ///
- ///
- ///
- ///
- /// Specifies how the red, green, and blue destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO.
- ///
- ///
- ///
- ///
- /// Specified how the alpha source blending factor is computed. The same symbolic constants are accepted as for srcRGB. The initial value is GL_ONE.
- ///
- ///
- ///
- ///
- /// Specified how the alpha destination blending factor is computed. The same symbolic constants are accepted as for dstRGB. The initial value is GL_ZERO.
- ///
- ///
- [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glBlendFuncSeparate")]
- public static
- void BlendFuncSeparate(BlendingFactorSrc sfactorRGB, BlendingFactorDest dfactorRGB, BlendingFactorSrc sfactorAlpha, BlendingFactorDest dfactorAlpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlendFuncSeparate((BlendingFactorSrc)sfactorRGB, (BlendingFactorDest)dfactorRGB, (BlendingFactorSrc)sfactorAlpha, (BlendingFactorDest)dfactorAlpha);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify pixel arithmetic for RGB and alpha components separately
- ///
- ///
- ///
- /// Specifies how the red, green, and blue blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA, GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA, and GL_SRC_ALPHA_SATURATE. The initial value is GL_ONE.
- ///
- ///
- ///
- ///
- /// Specifies how the red, green, and blue destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO.
- ///
- ///
- ///
- ///
- /// Specified how the alpha source blending factor is computed. The same symbolic constants are accepted as for srcRGB. The initial value is GL_ONE.
- ///
- ///
- ///
- ///
- /// Specified how the alpha destination blending factor is computed. The same symbolic constants are accepted as for dstRGB. The initial value is GL_ZERO.
- ///
- ///
- [AutoGenerated(Category = "ArbDrawBuffersBlend", Version = "1.2", EntryPoint = "glBlendFuncSeparatei")]
- public static
- void BlendFuncSeparate(Int32 buf, ArbDrawBuffersBlend srcRGB, ArbDrawBuffersBlend dstRGB, ArbDrawBuffersBlend srcAlpha, ArbDrawBuffersBlend dstAlpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlendFuncSeparatei((UInt32)buf, (ArbDrawBuffersBlend)srcRGB, (ArbDrawBuffersBlend)dstRGB, (ArbDrawBuffersBlend)srcAlpha, (ArbDrawBuffersBlend)dstAlpha);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify pixel arithmetic for RGB and alpha components separately
- ///
- ///
- ///
- /// Specifies how the red, green, and blue blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA, GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA, and GL_SRC_ALPHA_SATURATE. The initial value is GL_ONE.
- ///
- ///
- ///
- ///
- /// Specifies how the red, green, and blue destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO.
- ///
- ///
- ///
- ///
- /// Specified how the alpha source blending factor is computed. The same symbolic constants are accepted as for srcRGB. The initial value is GL_ONE.
- ///
- ///
- ///
- ///
- /// Specified how the alpha destination blending factor is computed. The same symbolic constants are accepted as for dstRGB. The initial value is GL_ZERO.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbDrawBuffersBlend", Version = "1.2", EntryPoint = "glBlendFuncSeparatei")]
- public static
- void BlendFuncSeparate(UInt32 buf, ArbDrawBuffersBlend srcRGB, ArbDrawBuffersBlend dstRGB, ArbDrawBuffersBlend srcAlpha, ArbDrawBuffersBlend dstAlpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlendFuncSeparatei((UInt32)buf, (ArbDrawBuffersBlend)srcRGB, (ArbDrawBuffersBlend)dstRGB, (ArbDrawBuffersBlend)srcAlpha, (ArbDrawBuffersBlend)dstAlpha);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glBlitFramebuffer")]
- public static
- void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, ClearBufferMask mask, BlitFramebufferFilter filter)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlitFramebuffer((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (ClearBufferMask)mask, (BlitFramebufferFilter)filter);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Creates and initializes a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the buffer object's new data store.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
- ///
- ///
- ///
- ///
- /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
- ///
- ///
- [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")]
- public static
- void BufferData(BufferTarget target, IntPtr size, [In, Out] ref T2 data, BufferUsageHint usage)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferData((BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (BufferUsageHint)usage);
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Creates and initializes a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the buffer object's new data store.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
- ///
- ///
- ///
- ///
- /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
- ///
- ///
- [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")]
- public static
- void BufferData(BufferTarget target, IntPtr size, [In, Out] T2[,,] data, BufferUsageHint usage)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferData((BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (BufferUsageHint)usage);
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Creates and initializes a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the buffer object's new data store.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
- ///
- ///
- ///
- ///
- /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
- ///
- ///
- [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")]
- public static
- void BufferData(BufferTarget target, IntPtr size, [In, Out] T2[,] data, BufferUsageHint usage)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferData((BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (BufferUsageHint)usage);
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Creates and initializes a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the buffer object's new data store.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
- ///
- ///
- ///
- ///
- /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
- ///
- ///
- [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")]
- public static
- void BufferData(BufferTarget target, IntPtr size, [In, Out] T2[] data, BufferUsageHint usage)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferData((BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (BufferUsageHint)usage);
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Creates and initializes a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the buffer object's new data store.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
- ///
- ///
- ///
- ///
- /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
- ///
- ///
- [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")]
- public static
- void BufferData(BufferTarget target, IntPtr size, IntPtr data, BufferUsageHint usage)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBufferData((BufferTarget)target, (IntPtr)size, (IntPtr)data, (BufferUsageHint)usage);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Updates a subset of a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the data store region being replaced.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the new data that will be copied into the data store.
- ///
- ///
- [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")]
- public static
- void BufferSubData(BufferTarget target, IntPtr offset, IntPtr size, [In, Out] ref T3 data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferSubData((BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Updates a subset of a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the data store region being replaced.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the new data that will be copied into the data store.
- ///
- ///
- [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")]
- public static
- void BufferSubData(BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[,,] data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferSubData((BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Updates a subset of a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the data store region being replaced.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the new data that will be copied into the data store.
- ///
- ///
- [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")]
- public static
- void BufferSubData(BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[,] data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferSubData((BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Updates a subset of a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the data store region being replaced.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the new data that will be copied into the data store.
- ///
- ///
- [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")]
- public static
- void BufferSubData(BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[] data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferSubData((BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Updates a subset of a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the data store region being replaced.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the new data that will be copied into the data store.
- ///
- ///
- [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")]
- public static
- void BufferSubData(BufferTarget target, IntPtr offset, IntPtr size, IntPtr data)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBufferSubData((BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Execute a display list
- ///
- ///
- ///
- /// Specifies the integer name of the display list to be executed.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallList")]
- public static
- void CallList(Int32 list)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCallList((UInt32)list);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Execute a display list
- ///
- ///
- ///
- /// Specifies the integer name of the display list to be executed.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallList")]
- public static
- void CallList(UInt32 list)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCallList((UInt32)list);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Execute a list of display lists
- ///
- ///
- ///
- /// Specifies the number of display lists to be executed.
- ///
- ///
- ///
- ///
- /// Specifies the type of values in lists. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, GL_2_BYTES, GL_3_BYTES, and GL_4_BYTES are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallLists")]
- public static
- void CallLists(Int32 n, ListNameType type, [In, Out] ref T2 lists)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle lists_ptr = GCHandle.Alloc(lists, GCHandleType.Pinned);
- try
- {
- Delegates.glCallLists((Int32)n, (ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject());
- }
- finally
- {
- lists_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Execute a list of display lists
- ///
- ///
- ///
- /// Specifies the number of display lists to be executed.
- ///
- ///
- ///
- ///
- /// Specifies the type of values in lists. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, GL_2_BYTES, GL_3_BYTES, and GL_4_BYTES are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallLists")]
- public static
- void CallLists(Int32 n, ListNameType type, [In, Out] T2[,,] lists)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle lists_ptr = GCHandle.Alloc(lists, GCHandleType.Pinned);
- try
- {
- Delegates.glCallLists((Int32)n, (ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject());
- }
- finally
- {
- lists_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Execute a list of display lists
- ///
- ///
- ///
- /// Specifies the number of display lists to be executed.
- ///
- ///
- ///
- ///
- /// Specifies the type of values in lists. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, GL_2_BYTES, GL_3_BYTES, and GL_4_BYTES are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallLists")]
- public static
- void CallLists(Int32 n, ListNameType type, [In, Out] T2[,] lists)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle lists_ptr = GCHandle.Alloc(lists, GCHandleType.Pinned);
- try
- {
- Delegates.glCallLists((Int32)n, (ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject());
- }
- finally
- {
- lists_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Execute a list of display lists
- ///
- ///
- ///
- /// Specifies the number of display lists to be executed.
- ///
- ///
- ///
- ///
- /// Specifies the type of values in lists. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, GL_2_BYTES, GL_3_BYTES, and GL_4_BYTES are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallLists")]
- public static
- void CallLists(Int32 n, ListNameType type, [In, Out] T2[] lists)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle lists_ptr = GCHandle.Alloc(lists, GCHandleType.Pinned);
- try
- {
- Delegates.glCallLists((Int32)n, (ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject());
- }
- finally
- {
- lists_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Execute a list of display lists
- ///
- ///
- ///
- /// Specifies the number of display lists to be executed.
- ///
- ///
- ///
- ///
- /// Specifies the type of values in lists. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, GL_2_BYTES, GL_3_BYTES, and GL_4_BYTES are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallLists")]
- public static
- void CallLists(Int32 n, ListNameType type, IntPtr lists)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCallLists((Int32)n, (ListNameType)type, (IntPtr)lists);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glCheckFramebufferStatus")]
- public static
- FramebufferErrorCode CheckFramebufferStatus(FramebufferTarget target)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glCheckFramebufferStatus((FramebufferTarget)target);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClampColor")]
- public static
- void ClampColor(ClampColorTarget target, ClampColorMode clamp)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClampColor((ClampColorTarget)target, (ClampColorMode)clamp);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Clear buffers to preset values
- ///
- ///
- ///
- /// Bitwise OR of masks that indicate the buffers to be cleared. The four masks are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, GL_ACCUM_BUFFER_BIT, and GL_STENCIL_BUFFER_BIT.
- ///
- ///
- [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glClear")]
- public static
- void Clear(ClearBufferMask mask)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClear((ClearBufferMask)mask);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify clear values for the accumulation buffer
- ///
- ///
- ///
- /// Specify the red, green, blue, and alpha values used when the accumulation buffer is cleared. The initial values are all 0.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glClearAccum")]
- public static
- void ClearAccum(Single red, Single green, Single blue, Single alpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClearAccum((Single)red, (Single)green, (Single)blue, (Single)alpha);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferfi")]
- public static
- void ClearBuffer(ClearBuffer buffer, Int32 drawbuffer, Single depth, Int32 stencil)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClearBufferfi((ClearBuffer)buffer, (Int32)drawbuffer, (Single)depth, (Int32)stencil);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferfv")]
- public static
- void ClearBuffer(ClearBuffer buffer, Int32 drawbuffer, ref Single value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* value_ptr = &value)
- {
- Delegates.glClearBufferfv((ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferfv")]
- public static
- unsafe void ClearBuffer(ClearBuffer buffer, Int32 drawbuffer, Single* value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClearBufferfv((ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferfv")]
- public static
- void ClearBuffer(ClearBuffer buffer, Int32 drawbuffer, Single[] value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* value_ptr = value)
- {
- Delegates.glClearBufferfv((ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferiv")]
- public static
- unsafe void ClearBuffer(ClearBuffer buffer, Int32 drawbuffer, Int32* value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClearBufferiv((ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferiv")]
- public static
- void ClearBuffer(ClearBuffer buffer, Int32 drawbuffer, Int32[] value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* value_ptr = value)
- {
- Delegates.glClearBufferiv((ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferiv")]
- public static
- void ClearBuffer(ClearBuffer buffer, Int32 drawbuffer, ref Int32 value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* value_ptr = &value)
- {
- Delegates.glClearBufferiv((ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferuiv")]
- public static
- void ClearBuffer(ClearBuffer buffer, Int32 drawbuffer, ref UInt32 value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* value_ptr = &value)
- {
- Delegates.glClearBufferuiv((ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferuiv")]
- public static
- unsafe void ClearBuffer(ClearBuffer buffer, Int32 drawbuffer, UInt32* value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClearBufferuiv((ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferuiv")]
- public static
- void ClearBuffer(ClearBuffer buffer, Int32 drawbuffer, UInt32[] value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* value_ptr = value)
- {
- Delegates.glClearBufferuiv((ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify clear values for the color buffers
- ///
- ///
- ///
- /// Specify the red, green, blue, and alpha values used when the color buffers are cleared. The initial values are all 0.
- ///
- ///
- [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glClearColor")]
- public static
- void ClearColor(Single red, Single green, Single blue, Single alpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClearColor((Single)red, (Single)green, (Single)blue, (Single)alpha);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the clear value for the depth buffer
- ///
- ///
- ///
- /// Specifies the depth value used when the depth buffer is cleared. The initial value is 1.
- ///
- ///
- [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glClearDepth")]
- public static
- void ClearDepth(Double depth)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClearDepth((Double)depth);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the clear value for the color index buffers
- ///
- ///
- ///
- /// Specifies the index used when the color index buffers are cleared. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glClearIndex")]
- public static
- void ClearIndex(Single c)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClearIndex((Single)c);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the clear value for the stencil buffer
- ///
- ///
- ///
- /// Specifies the index used when the stencil buffer is cleared. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glClearStencil")]
- public static
- void ClearStencil(Int32 s)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClearStencil((Int32)s);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Select active texture unit
- ///
- ///
- ///
- /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least two. texture must be one of GL_TEXTURE, where i ranges from 0 to the value of GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. The initial value is GL_TEXTURE0.
- ///
- ///
- [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glClientActiveTexture")]
- public static
- void ClientActiveTexture(TextureUnit texture)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClientActiveTexture((TextureUnit)texture);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glClientWaitSync")]
- public static
- ArbSync ClientWaitSync(IntPtr sync, Int32 flags, Int64 timeout)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glClientWaitSync((IntPtr)sync, (UInt32)flags, (UInt64)timeout);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glClientWaitSync")]
- public static
- ArbSync ClientWaitSync(IntPtr sync, UInt32 flags, UInt64 timeout)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glClientWaitSync((IntPtr)sync, (UInt32)flags, (UInt64)timeout);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a plane against which all geometry is clipped
- ///
- ///
- ///
- /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glClipPlane")]
- public static
- unsafe void ClipPlane(ClipPlaneName plane, Double* equation)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClipPlane((ClipPlaneName)plane, (Double*)equation);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a plane against which all geometry is clipped
- ///
- ///
- ///
- /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glClipPlane")]
- public static
- void ClipPlane(ClipPlaneName plane, Double[] equation)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* equation_ptr = equation)
- {
- Delegates.glClipPlane((ClipPlaneName)plane, (Double*)equation_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a plane against which all geometry is clipped
- ///
- ///
- ///
- /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glClipPlane")]
- public static
- void ClipPlane(ClipPlaneName plane, ref Double equation)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* equation_ptr = &equation)
- {
- Delegates.glClipPlane((ClipPlaneName)plane, (Double*)equation_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3b")]
- public static
- void Color3(SByte red, SByte green, SByte blue)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor3b((SByte)red, (SByte)green, (SByte)blue);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3bv")]
- public static
- void Color3(ref SByte v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (SByte* v_ptr = &v)
- {
- Delegates.glColor3bv((SByte*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3bv")]
- public static
- unsafe void Color3(SByte* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor3bv((SByte*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3bv")]
- public static
- void Color3(SByte[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (SByte* v_ptr = v)
- {
- Delegates.glColor3bv((SByte*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3d")]
- public static
- void Color3(Double red, Double green, Double blue)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor3d((Double)red, (Double)green, (Double)blue);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3dv")]
- public static
- unsafe void Color3(Double* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor3dv((Double*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3dv")]
- public static
- void Color3(Double[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* v_ptr = v)
- {
- Delegates.glColor3dv((Double*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3dv")]
- public static
- void Color3(ref Double v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* v_ptr = &v)
- {
- Delegates.glColor3dv((Double*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3f")]
- public static
- void Color3(Single red, Single green, Single blue)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor3f((Single)red, (Single)green, (Single)blue);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3fv")]
- public static
- void Color3(ref Single v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = &v)
- {
- Delegates.glColor3fv((Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3fv")]
- public static
- unsafe void Color3(Single* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor3fv((Single*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3fv")]
- public static
- void Color3(Single[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = v)
- {
- Delegates.glColor3fv((Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3i")]
- public static
- void Color3(Int32 red, Int32 green, Int32 blue)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor3i((Int32)red, (Int32)green, (Int32)blue);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3iv")]
- public static
- unsafe void Color3(Int32* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor3iv((Int32*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3iv")]
- public static
- void Color3(Int32[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* v_ptr = v)
- {
- Delegates.glColor3iv((Int32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3iv")]
- public static
- void Color3(ref Int32 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* v_ptr = &v)
- {
- Delegates.glColor3iv((Int32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3s")]
- public static
- void Color3(Int16 red, Int16 green, Int16 blue)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor3s((Int16)red, (Int16)green, (Int16)blue);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3sv")]
- public static
- unsafe void Color3(Int16* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor3sv((Int16*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3sv")]
- public static
- void Color3(Int16[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* v_ptr = v)
- {
- Delegates.glColor3sv((Int16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3sv")]
- public static
- void Color3(ref Int16 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* v_ptr = &v)
- {
- Delegates.glColor3sv((Int16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3ub")]
- public static
- void Color3(Byte red, Byte green, Byte blue)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor3ub((Byte)red, (Byte)green, (Byte)blue);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3ubv")]
- public static
- unsafe void Color3(Byte* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor3ubv((Byte*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3ubv")]
- public static
- void Color3(Byte[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Byte* v_ptr = v)
- {
- Delegates.glColor3ubv((Byte*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3ubv")]
- public static
- void Color3(ref Byte v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Byte* v_ptr = &v)
- {
- Delegates.glColor3ubv((Byte*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3ui")]
- public static
- void Color3(UInt32 red, UInt32 green, UInt32 blue)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor3ui((UInt32)red, (UInt32)green, (UInt32)blue);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3uiv")]
- public static
- void Color3(ref UInt32 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* v_ptr = &v)
- {
- Delegates.glColor3uiv((UInt32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3uiv")]
- public static
- unsafe void Color3(UInt32* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor3uiv((UInt32*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3uiv")]
- public static
- void Color3(UInt32[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* v_ptr = v)
- {
- Delegates.glColor3uiv((UInt32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3us")]
- public static
- void Color3(UInt16 red, UInt16 green, UInt16 blue)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor3us((UInt16)red, (UInt16)green, (UInt16)blue);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3usv")]
- public static
- void Color3(ref UInt16 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt16* v_ptr = &v)
- {
- Delegates.glColor3usv((UInt16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3usv")]
- public static
- unsafe void Color3(UInt16* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor3usv((UInt16*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3usv")]
- public static
- void Color3(UInt16[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt16* v_ptr = v)
- {
- Delegates.glColor3usv((UInt16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4b")]
- public static
- void Color4(SByte red, SByte green, SByte blue, SByte alpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor4b((SByte)red, (SByte)green, (SByte)blue, (SByte)alpha);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4bv")]
- public static
- void Color4(ref SByte v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (SByte* v_ptr = &v)
- {
- Delegates.glColor4bv((SByte*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4bv")]
- public static
- unsafe void Color4(SByte* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor4bv((SByte*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4bv")]
- public static
- void Color4(SByte[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (SByte* v_ptr = v)
- {
- Delegates.glColor4bv((SByte*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4d")]
- public static
- void Color4(Double red, Double green, Double blue, Double alpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor4d((Double)red, (Double)green, (Double)blue, (Double)alpha);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4dv")]
- public static
- unsafe void Color4(Double* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor4dv((Double*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4dv")]
- public static
- void Color4(Double[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* v_ptr = v)
- {
- Delegates.glColor4dv((Double*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4dv")]
- public static
- void Color4(ref Double v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* v_ptr = &v)
- {
- Delegates.glColor4dv((Double*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4f")]
- public static
- void Color4(Single red, Single green, Single blue, Single alpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor4f((Single)red, (Single)green, (Single)blue, (Single)alpha);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4fv")]
- public static
- void Color4(ref Single v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = &v)
- {
- Delegates.glColor4fv((Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4fv")]
- public static
- unsafe void Color4(Single* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor4fv((Single*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4fv")]
- public static
- void Color4(Single[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = v)
- {
- Delegates.glColor4fv((Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4i")]
- public static
- void Color4(Int32 red, Int32 green, Int32 blue, Int32 alpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor4i((Int32)red, (Int32)green, (Int32)blue, (Int32)alpha);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4iv")]
- public static
- unsafe void Color4(Int32* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor4iv((Int32*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4iv")]
- public static
- void Color4(Int32[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* v_ptr = v)
- {
- Delegates.glColor4iv((Int32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4iv")]
- public static
- void Color4(ref Int32 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* v_ptr = &v)
- {
- Delegates.glColor4iv((Int32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4s")]
- public static
- void Color4(Int16 red, Int16 green, Int16 blue, Int16 alpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor4s((Int16)red, (Int16)green, (Int16)blue, (Int16)alpha);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4sv")]
- public static
- unsafe void Color4(Int16* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor4sv((Int16*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4sv")]
- public static
- void Color4(Int16[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* v_ptr = v)
- {
- Delegates.glColor4sv((Int16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4sv")]
- public static
- void Color4(ref Int16 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* v_ptr = &v)
- {
- Delegates.glColor4sv((Int16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4ub")]
- public static
- void Color4(Byte red, Byte green, Byte blue, Byte alpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor4ub((Byte)red, (Byte)green, (Byte)blue, (Byte)alpha);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4ubv")]
- public static
- unsafe void Color4(Byte* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor4ubv((Byte*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4ubv")]
- public static
- void Color4(Byte[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Byte* v_ptr = v)
- {
- Delegates.glColor4ubv((Byte*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4ubv")]
- public static
- void Color4(ref Byte v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Byte* v_ptr = &v)
- {
- Delegates.glColor4ubv((Byte*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4ui")]
- public static
- void Color4(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor4ui((UInt32)red, (UInt32)green, (UInt32)blue, (UInt32)alpha);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4uiv")]
- public static
- void Color4(ref UInt32 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* v_ptr = &v)
- {
- Delegates.glColor4uiv((UInt32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4uiv")]
- public static
- unsafe void Color4(UInt32* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor4uiv((UInt32*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4uiv")]
- public static
- void Color4(UInt32[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* v_ptr = v)
- {
- Delegates.glColor4uiv((UInt32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4us")]
- public static
- void Color4(UInt16 red, UInt16 green, UInt16 blue, UInt16 alpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor4us((UInt16)red, (UInt16)green, (UInt16)blue, (UInt16)alpha);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4usv")]
- public static
- void Color4(ref UInt16 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt16* v_ptr = &v)
- {
- Delegates.glColor4usv((UInt16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4usv")]
- public static
- unsafe void Color4(UInt16* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor4usv((UInt16*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4usv")]
- public static
- void Color4(UInt16[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt16* v_ptr = v)
- {
- Delegates.glColor4usv((UInt16*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Enable and disable writing of frame buffer color components
- ///
- ///
- ///
- /// Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all GL_TRUE, indicating that the color components can be written.
- ///
- ///
- [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glColorMask")]
- public static
- void ColorMask(bool red, bool green, bool blue, bool alpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColorMask((bool)red, (bool)green, (bool)blue, (bool)alpha);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Enable and disable writing of frame buffer color components
- ///
- ///
- ///
- /// Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all GL_TRUE, indicating that the color components can be written.
- ///
- ///
- [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glColorMaski")]
- public static
- void ColorMask(Int32 index, bool r, bool g, bool b, bool a)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColorMaski((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Enable and disable writing of frame buffer color components
- ///
- ///
- ///
- /// Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all GL_TRUE, indicating that the color components can be written.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glColorMaski")]
- public static
- void ColorMask(UInt32 index, bool r, bool g, bool b, bool a)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColorMaski((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Cause a material color to track the current color
- ///
- ///
- ///
- /// Specifies whether front, back, or both front and back material parameters should track the current color. Accepted values are GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK. The initial value is GL_FRONT_AND_BACK.
- ///
- ///
- ///
- ///
- /// Specifies which of several material parameters track the current color. Accepted values are GL_EMISSION, GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, and GL_AMBIENT_AND_DIFFUSE. The initial value is GL_AMBIENT_AND_DIFFUSE.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColorMaterial")]
- public static
- void ColorMaterial(MaterialFace face, ColorMaterialParameter mode)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColorMaterial((MaterialFace)face, (ColorMaterialParameter)mode);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define an array of colors
- ///
- ///
- ///
- /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glColorPointer")]
- public static
- void ColorPointer(Int32 size, ColorPointerType type, Int32 stride, [In, Out] ref T3 pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glColorPointer((Int32)size, (ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define an array of colors
- ///
- ///
- ///
- /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glColorPointer")]
- public static
- void ColorPointer(Int32 size, ColorPointerType type, Int32 stride, [In, Out] T3[,,] pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glColorPointer((Int32)size, (ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define an array of colors
- ///
- ///
- ///
- /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glColorPointer")]
- public static
- void ColorPointer(Int32 size, ColorPointerType type, Int32 stride, [In, Out] T3[,] pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glColorPointer((Int32)size, (ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define an array of colors
- ///
- ///
- ///
- /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glColorPointer")]
- public static
- void ColorPointer(Int32 size, ColorPointerType type, Int32 stride, [In, Out] T3[] pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glColorPointer((Int32)size, (ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define an array of colors
- ///
- ///
- ///
- /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glColorPointer")]
- public static
- void ColorPointer(Int32 size, ColorPointerType type, Int32 stride, IntPtr pointer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColorPointer((Int32)size, (ColorPointerType)type, (Int32)stride, (IntPtr)pointer);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Respecify a portion of a color table
- ///
- ///
- ///
- /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE.
- ///
- ///
- ///
- ///
- /// The starting index of the portion of the color table to be replaced.
- ///
- ///
- ///
- ///
- /// The number of table entries to replace.
- ///
- ///
- ///
- ///
- /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
- ///
- ///
- ///
- ///
- /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table.
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorSubTable")]
- public static
- void ColorSubTable(ColorTableTarget target, Int32 start, Int32 count, PixelFormat format, PixelType type, [In, Out] ref T5 data)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glColorSubTable((ColorTableTarget)target, (Int32)start, (Int32)count, (PixelFormat)format, (PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Respecify a portion of a color table
- ///
- ///
- ///
- /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE.
- ///
- ///
- ///
- ///
- /// The starting index of the portion of the color table to be replaced.
- ///
- ///
- ///
- ///
- /// The number of table entries to replace.
- ///
- ///
- ///
- ///
- /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
- ///
- ///
- ///
- ///
- /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table.
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorSubTable")]
- public static
- void ColorSubTable(ColorTableTarget target, Int32 start, Int32 count, PixelFormat format, PixelType type, [In, Out] T5[,,] data)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glColorSubTable((ColorTableTarget)target, (Int32)start, (Int32)count, (PixelFormat)format, (PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Respecify a portion of a color table
- ///
- ///
- ///
- /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE.
- ///
- ///
- ///
- ///
- /// The starting index of the portion of the color table to be replaced.
- ///
- ///
- ///
- ///
- /// The number of table entries to replace.
- ///
- ///
- ///
- ///
- /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
- ///
- ///
- ///
- ///
- /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table.
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorSubTable")]
- public static
- void ColorSubTable(ColorTableTarget target, Int32 start, Int32 count, PixelFormat format, PixelType type, [In, Out] T5[,] data)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glColorSubTable((ColorTableTarget)target, (Int32)start, (Int32)count, (PixelFormat)format, (PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Respecify a portion of a color table
- ///
- ///
- ///
- /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE.
- ///
- ///
- ///
- ///
- /// The starting index of the portion of the color table to be replaced.
- ///
- ///
- ///
- ///
- /// The number of table entries to replace.
- ///
- ///
- ///
- ///
- /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
- ///
- ///
- ///
- ///
- /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table.
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorSubTable")]
- public static
- void ColorSubTable(ColorTableTarget target, Int32 start, Int32 count, PixelFormat format, PixelType type, [In, Out] T5[] data)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glColorSubTable((ColorTableTarget)target, (Int32)start, (Int32)count, (PixelFormat)format, (PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Respecify a portion of a color table
- ///
- ///
- ///
- /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE.
- ///
- ///
- ///
- ///
- /// The starting index of the portion of the color table to be replaced.
- ///
- ///
- ///
- ///
- /// The number of table entries to replace.
- ///
- ///
- ///
- ///
- /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
- ///
- ///
- ///
- ///
- /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table.
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorSubTable")]
- public static
- void ColorSubTable(ColorTableTarget target, Int32 start, Int32 count, PixelFormat format, PixelType type, IntPtr data)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColorSubTable((ColorTableTarget)target, (Int32)start, (Int32)count, (PixelFormat)format, (PixelType)type, (IntPtr)data);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define a color lookup table
- ///
- ///
- ///
- /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE.
- ///
- ///
- ///
- ///
- /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16.
- ///
- ///
- ///
- ///
- /// The number of entries in the color lookup table specified by data.
- ///
- ///
- ///
- ///
- /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
- ///
- ///
- ///
- ///
- /// Pointer to a one-dimensional array of pixel data that is processed to build the color table.
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTable")]
- public static
- void ColorTable(ColorTableTarget target, PixelInternalFormat internalformat, Int32 width, PixelFormat format, PixelType type, [In, Out] ref T5 table)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned);
- try
- {
- Delegates.glColorTable((ColorTableTarget)target, (PixelInternalFormat)internalformat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject());
- }
- finally
- {
- table_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define a color lookup table
- ///
- ///
- ///
- /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE.
- ///
- ///
- ///
- ///
- /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16.
- ///
- ///
- ///
- ///
- /// The number of entries in the color lookup table specified by data.
- ///
- ///
- ///
- ///
- /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
- ///
- ///
- ///
- ///
- /// Pointer to a one-dimensional array of pixel data that is processed to build the color table.
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTable")]
- public static
- void ColorTable(ColorTableTarget target, PixelInternalFormat internalformat, Int32 width, PixelFormat format, PixelType type, [In, Out] T5[,,] table)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned);
- try
- {
- Delegates.glColorTable((ColorTableTarget)target, (PixelInternalFormat)internalformat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject());
- }
- finally
- {
- table_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define a color lookup table
- ///
- ///
- ///
- /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE.
- ///
- ///
- ///
- ///
- /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16.
- ///
- ///
- ///
- ///
- /// The number of entries in the color lookup table specified by data.
- ///
- ///
- ///
- ///
- /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
- ///
- ///
- ///
- ///
- /// Pointer to a one-dimensional array of pixel data that is processed to build the color table.
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTable")]
- public static
- void ColorTable(ColorTableTarget target, PixelInternalFormat internalformat, Int32 width, PixelFormat format, PixelType type, [In, Out] T5[,] table)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned);
- try
- {
- Delegates.glColorTable((ColorTableTarget)target, (PixelInternalFormat)internalformat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject());
- }
- finally
- {
- table_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define a color lookup table
- ///
- ///
- ///
- /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE.
- ///
- ///
- ///
- ///
- /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16.
- ///
- ///
- ///
- ///
- /// The number of entries in the color lookup table specified by data.
- ///
- ///
- ///
- ///
- /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
- ///
- ///
- ///
- ///
- /// Pointer to a one-dimensional array of pixel data that is processed to build the color table.
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTable")]
- public static
- void ColorTable(ColorTableTarget target, PixelInternalFormat internalformat, Int32 width, PixelFormat format, PixelType type, [In, Out] T5[] table)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned);
- try
- {
- Delegates.glColorTable((ColorTableTarget)target, (PixelInternalFormat)internalformat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject());
- }
- finally
- {
- table_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define a color lookup table
- ///
- ///
- ///
- /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE.
- ///
- ///
- ///
- ///
- /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16.
- ///
- ///
- ///
- ///
- /// The number of entries in the color lookup table specified by data.
- ///
- ///
- ///
- ///
- /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
- ///
- ///
- ///
- ///
- /// Pointer to a one-dimensional array of pixel data that is processed to build the color table.
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTable")]
- public static
- void ColorTable(ColorTableTarget target, PixelInternalFormat internalformat, Int32 width, PixelFormat format, PixelType type, IntPtr table)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColorTable((ColorTableTarget)target, (PixelInternalFormat)internalformat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)table);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set color lookup table parameters
- ///
- ///
- ///
- /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE.
- ///
- ///
- ///
- ///
- /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS.
- ///
- ///
- ///
- ///
- /// A pointer to an array where the values of the parameters are stored.
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameterfv")]
- public static
- void ColorTableParameter(ColorTableTarget target, ColorTableParameterPName pname, ref Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glColorTableParameterfv((ColorTableTarget)target, (ColorTableParameterPName)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set color lookup table parameters
- ///
- ///
- ///
- /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE.
- ///
- ///
- ///
- ///
- /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS.
- ///
- ///
- ///
- ///
- /// A pointer to an array where the values of the parameters are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameterfv")]
- public static
- unsafe void ColorTableParameter(ColorTableTarget target, ColorTableParameterPName pname, Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColorTableParameterfv((ColorTableTarget)target, (ColorTableParameterPName)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set color lookup table parameters
- ///
- ///
- ///
- /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE.
- ///
- ///
- ///
- ///
- /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS.
- ///
- ///
- ///
- ///
- /// A pointer to an array where the values of the parameters are stored.
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameterfv")]
- public static
- void ColorTableParameter(ColorTableTarget target, ColorTableParameterPName pname, Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glColorTableParameterfv((ColorTableTarget)target, (ColorTableParameterPName)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set color lookup table parameters
- ///
- ///
- ///
- /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE.
- ///
- ///
- ///
- ///
- /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS.
- ///
- ///
- ///
- ///
- /// A pointer to an array where the values of the parameters are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameteriv")]
- public static
- unsafe void ColorTableParameter(ColorTableTarget target, ColorTableParameterPName pname, Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColorTableParameteriv((ColorTableTarget)target, (ColorTableParameterPName)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set color lookup table parameters
- ///
- ///
- ///
- /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE.
- ///
- ///
- ///
- ///
- /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS.
- ///
- ///
- ///
- ///
- /// A pointer to an array where the values of the parameters are stored.
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameteriv")]
- public static
- void ColorTableParameter(ColorTableTarget target, ColorTableParameterPName pname, Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glColorTableParameteriv((ColorTableTarget)target, (ColorTableParameterPName)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set color lookup table parameters
- ///
- ///
- ///
- /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE.
- ///
- ///
- ///
- ///
- /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS.
- ///
- ///
- ///
- ///
- /// A pointer to an array where the values of the parameters are stored.
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameteriv")]
- public static
- void ColorTableParameter(ColorTableTarget target, ColorTableParameterPName pname, ref Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glColorTableParameteriv((ColorTableTarget)target, (ColorTableParameterPName)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Compiles a shader object
- ///
- ///
- ///
- /// Specifies the shader object to be compiled.
- ///
- ///
- [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glCompileShader")]
- public static
- void CompileShader(Int32 shader)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCompileShader((UInt32)shader);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Compiles a shader object
- ///
- ///
- ///
- /// Specifies the shader object to be compiled.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glCompileShader")]
- public static
- void CompileShader(UInt32 shader)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCompileShader((UInt32)shader);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a one-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1.
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage1D")]
- public static
- void CompressedTexImage1D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T6 data)
- where T6 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage1D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a one-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1.
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage1D")]
- public static
- void CompressedTexImage1D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[,,] data)
- where T6 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage1D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a one-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1.
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage1D")]
- public static
- void CompressedTexImage1D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[,] data)
- where T6 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage1D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a one-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1.
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage1D")]
- public static
- void CompressedTexImage1D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[] data)
- where T6 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage1D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a one-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1.
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage1D")]
- public static
- void CompressedTexImage1D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCompressedTexImage1D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a two-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage2D")]
- public static
- void CompressedTexImage2D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] ref T7 data)
- where T7 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage2D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a two-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage2D")]
- public static
- void CompressedTexImage2D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[,,] data)
- where T7 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage2D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a two-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage2D")]
- public static
- void CompressedTexImage2D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[,] data)
- where T7 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage2D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a two-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage2D")]
- public static
- void CompressedTexImage2D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[] data)
- where T7 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage2D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a two-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage2D")]
- public static
- void CompressedTexImage2D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCompressedTexImage2D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a three-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep.
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")]
- public static
- void CompressedTexImage3D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T8 data)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage3D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a three-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep.
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")]
- public static
- void CompressedTexImage3D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[,,] data)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage3D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a three-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep.
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")]
- public static
- void CompressedTexImage3D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[,] data)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage3D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a three-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep.
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")]
- public static
- void CompressedTexImage3D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[] data)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage3D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a three-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep.
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")]
- public static
- void CompressedTexImage3D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCompressedTexImage3D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a one-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_1D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")]
- public static
- void CompressedTexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, [In, Out] ref T6 data)
- where T6 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage1D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a one-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_1D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")]
- public static
- void CompressedTexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, [In, Out] T6[,,] data)
- where T6 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage1D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a one-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_1D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")]
- public static
- void CompressedTexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, [In, Out] T6[,] data)
- where T6 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage1D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a one-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_1D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")]
- public static
- void CompressedTexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, [In, Out] T6[] data)
- where T6 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage1D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a one-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_1D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")]
- public static
- void CompressedTexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, IntPtr data)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCompressedTexSubImage1D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)data);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a two-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")]
- public static
- void CompressedTexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, [In, Out] ref T8 data)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage2D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a two-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")]
- public static
- void CompressedTexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, [In, Out] T8[,,] data)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage2D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a two-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")]
- public static
- void CompressedTexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, [In, Out] T8[,] data)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage2D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a two-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")]
- public static
- void CompressedTexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, [In, Out] T8[] data)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage2D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a two-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")]
- public static
- void CompressedTexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, IntPtr data)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCompressedTexSubImage2D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)data);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a three-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_3D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the depth of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")]
- public static
- void CompressedTexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, [In, Out] ref T10 data)
- where T10 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage3D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a three-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_3D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the depth of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")]
- public static
- void CompressedTexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, [In, Out] T10[,,] data)
- where T10 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage3D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a three-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_3D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the depth of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")]
- public static
- void CompressedTexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, [In, Out] T10[,] data)
- where T10 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage3D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a three-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_3D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the depth of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")]
- public static
- void CompressedTexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, [In, Out] T10[] data)
- where T10 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage3D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify a three-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_3D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the depth of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")]
- public static
- void CompressedTexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, IntPtr data)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCompressedTexSubImage3D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)data);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define a one-dimensional convolution filter
- ///
- ///
- ///
- /// Must be GL_CONVOLUTION_1D.
- ///
- ///
- ///
- ///
- /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16.
- ///
- ///
- ///
- ///
- /// The width of the pixel array referenced by data.
- ///
- ///
- ///
- ///
- /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA.
- ///
- ///
- ///
- ///
- /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted.
- ///
- ///
- ///
- ///
- /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel.
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter1D")]
- public static
- void ConvolutionFilter1D(ConvolutionTarget target, PixelInternalFormat internalformat, Int32 width, PixelFormat format, PixelType type, [In, Out] ref T5 image)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned);
- try
- {
- Delegates.glConvolutionFilter1D((ConvolutionTarget)target, (PixelInternalFormat)internalformat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject());
- }
- finally
- {
- image_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define a one-dimensional convolution filter
- ///
- ///
- ///
- /// Must be GL_CONVOLUTION_1D.
- ///
- ///
- ///
- ///
- /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16.
- ///
- ///
- ///
- ///
- /// The width of the pixel array referenced by data.
- ///
- ///
- ///
- ///
- /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA.
- ///
- ///
- ///
- ///
- /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted.
- ///
- ///
- ///
- ///
- /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel.
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter1D")]
- public static
- void ConvolutionFilter1D(ConvolutionTarget target, PixelInternalFormat internalformat, Int32 width, PixelFormat format, PixelType type, [In, Out] T5[,,] image)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned);
- try
- {
- Delegates.glConvolutionFilter1D((ConvolutionTarget)target, (PixelInternalFormat)internalformat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject());
- }
- finally
- {
- image_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define a one-dimensional convolution filter
- ///
- ///
- ///
- /// Must be GL_CONVOLUTION_1D.
- ///
- ///
- ///
- ///
- /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16.
- ///
- ///
- ///
- ///
- /// The width of the pixel array referenced by data.
- ///
- ///
- ///
- ///
- /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA.
- ///
- ///
- ///
- ///
- /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted.
- ///
- ///
- ///
- ///
- /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel.
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter1D")]
- public static
- void ConvolutionFilter1D(ConvolutionTarget target, PixelInternalFormat internalformat, Int32 width, PixelFormat format, PixelType type, [In, Out] T5[,] image)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned);
- try
- {
- Delegates.glConvolutionFilter1D((ConvolutionTarget)target, (PixelInternalFormat)internalformat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject());
- }
- finally
- {
- image_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define a one-dimensional convolution filter
- ///
- ///
- ///
- /// Must be GL_CONVOLUTION_1D.
- ///
- ///
- ///
- ///
- /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16.
- ///
- ///
- ///
- ///
- /// The width of the pixel array referenced by data.
- ///
- ///
- ///
- ///
- /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA.
- ///
- ///
- ///
- ///
- /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted.
- ///
- ///
- ///
- ///
- /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel.
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter1D")]
- public static
- void ConvolutionFilter1D(ConvolutionTarget target, PixelInternalFormat internalformat, Int32 width, PixelFormat format, PixelType type, [In, Out] T5[] image)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned);
- try
- {
- Delegates.glConvolutionFilter1D((ConvolutionTarget)target, (PixelInternalFormat)internalformat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject());
- }
- finally
- {
- image_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define a one-dimensional convolution filter
- ///
- ///
- ///
- /// Must be GL_CONVOLUTION_1D.
- ///
- ///
- ///
- ///
- /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16.
- ///
- ///
- ///
- ///
- /// The width of the pixel array referenced by data.
- ///
- ///
- ///
- ///
- /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA.
- ///
- ///
- ///
- ///
- /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted.
- ///
- ///
- ///
- ///
- /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel.
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter1D")]
- public static
- void ConvolutionFilter1D(ConvolutionTarget target, PixelInternalFormat internalformat, Int32 width, PixelFormat format, PixelType type, IntPtr image)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glConvolutionFilter1D((ConvolutionTarget)target, (PixelInternalFormat)internalformat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)image);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define a two-dimensional convolution filter
- ///
- ///
- ///
- /// Must be GL_CONVOLUTION_2D.
- ///
- ///
- ///
- ///
- /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16.
- ///
- ///
- ///
- ///
- /// The width of the pixel array referenced by data.
- ///
- ///
- ///
- ///
- /// The height of the pixel array referenced by data.
- ///
- ///
- ///
- ///
- /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA.
- ///
- ///
- ///
- ///
- /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted.
- ///
- ///
- ///
- ///
- /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel.
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter2D")]
- public static
- void ConvolutionFilter2D(ConvolutionTarget target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] ref T6 image)
- where T6 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned);
- try
- {
- Delegates.glConvolutionFilter2D((ConvolutionTarget)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject());
- }
- finally
- {
- image_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define a two-dimensional convolution filter
- ///
- ///
- ///
- /// Must be GL_CONVOLUTION_2D.
- ///
- ///
- ///
- ///
- /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16.
- ///
- ///
- ///
- ///
- /// The width of the pixel array referenced by data.
- ///
- ///
- ///
- ///
- /// The height of the pixel array referenced by data.
- ///
- ///
- ///
- ///
- /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA.
- ///
- ///
- ///
- ///
- /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted.
- ///
- ///
- ///
- ///
- /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel.
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter2D")]
- public static
- void ConvolutionFilter2D(ConvolutionTarget target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T6[,,] image)
- where T6 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned);
- try
- {
- Delegates.glConvolutionFilter2D((ConvolutionTarget)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject());
- }
- finally
- {
- image_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define a two-dimensional convolution filter
- ///
- ///
- ///
- /// Must be GL_CONVOLUTION_2D.
- ///
- ///
- ///
- ///
- /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16.
- ///
- ///
- ///
- ///
- /// The width of the pixel array referenced by data.
- ///
- ///
- ///
- ///
- /// The height of the pixel array referenced by data.
- ///
- ///
- ///
- ///
- /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA.
- ///
- ///
- ///
- ///
- /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted.
- ///
- ///
- ///
- ///
- /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel.
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter2D")]
- public static
- void ConvolutionFilter2D(ConvolutionTarget target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T6[,] image)
- where T6 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned);
- try
- {
- Delegates.glConvolutionFilter2D((ConvolutionTarget)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject());
- }
- finally
- {
- image_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define a two-dimensional convolution filter
- ///
- ///
- ///
- /// Must be GL_CONVOLUTION_2D.
- ///
- ///
- ///
- ///
- /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16.
- ///
- ///
- ///
- ///
- /// The width of the pixel array referenced by data.
- ///
- ///
- ///
- ///
- /// The height of the pixel array referenced by data.
- ///
- ///
- ///
- ///
- /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA.
- ///
- ///
- ///
- ///
- /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted.
- ///
- ///
- ///
- ///
- /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel.
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter2D")]
- public static
- void ConvolutionFilter2D(ConvolutionTarget target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T6[] image)
- where T6 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned);
- try
- {
- Delegates.glConvolutionFilter2D((ConvolutionTarget)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject());
- }
- finally
- {
- image_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define a two-dimensional convolution filter
- ///
- ///
- ///
- /// Must be GL_CONVOLUTION_2D.
- ///
- ///
- ///
- ///
- /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16.
- ///
- ///
- ///
- ///
- /// The width of the pixel array referenced by data.
- ///
- ///
- ///
- ///
- /// The height of the pixel array referenced by data.
- ///
- ///
- ///
- ///
- /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA.
- ///
- ///
- ///
- ///
- /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted.
- ///
- ///
- ///
- ///
- /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel.
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter2D")]
- public static
- void ConvolutionFilter2D(ConvolutionTarget target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, IntPtr image)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glConvolutionFilter2D((ConvolutionTarget)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)image);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set convolution parameters
- ///
- ///
- ///
- /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D.
- ///
- ///
- ///
- ///
- /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE.
- ///
- ///
- ///
- ///
- /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER.
- ///
- ///
- ///
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionParameterf")]
- public static
- void ConvolutionParameter(ConvolutionTarget target, ConvolutionParameter pname, Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glConvolutionParameterf((ConvolutionTarget)target, (ConvolutionParameter)pname, (Single)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set convolution parameters
- ///
- ///
- ///
- /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D.
- ///
- ///
- ///
- ///
- /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE.
- ///
- ///
- ///
- ///
- /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER.
- ///
- ///
- ///
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionParameterfv")]
- public static
- unsafe void ConvolutionParameter(ConvolutionTarget target, ConvolutionParameter pname, Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glConvolutionParameterfv((ConvolutionTarget)target, (ConvolutionParameter)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set convolution parameters
- ///
- ///
- ///
- /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D.
- ///
- ///
- ///
- ///
- /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE.
- ///
- ///
- ///
- ///
- /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER.
- ///
- ///
- ///
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionParameterfv")]
- public static
- void ConvolutionParameter(ConvolutionTarget target, ConvolutionParameter pname, Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glConvolutionParameterfv((ConvolutionTarget)target, (ConvolutionParameter)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set convolution parameters
- ///
- ///
- ///
- /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D.
- ///
- ///
- ///
- ///
- /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE.
- ///
- ///
- ///
- ///
- /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER.
- ///
- ///
- ///
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionParameteri")]
- public static
- void ConvolutionParameter(ConvolutionTarget target, ConvolutionParameter pname, Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glConvolutionParameteri((ConvolutionTarget)target, (ConvolutionParameter)pname, (Int32)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set convolution parameters
- ///
- ///
- ///
- /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D.
- ///
- ///
- ///
- ///
- /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE.
- ///
- ///
- ///
- ///
- /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER.
- ///
- ///
- ///
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionParameteriv")]
- public static
- unsafe void ConvolutionParameter(ConvolutionTarget target, ConvolutionParameter pname, Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glConvolutionParameteriv((ConvolutionTarget)target, (ConvolutionParameter)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set convolution parameters
- ///
- ///
- ///
- /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D.
- ///
- ///
- ///
- ///
- /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE.
- ///
- ///
- ///
- ///
- /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER.
- ///
- ///
- ///
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionParameteriv")]
- public static
- void ConvolutionParameter(ConvolutionTarget target, ConvolutionParameter pname, Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glConvolutionParameteriv((ConvolutionTarget)target, (ConvolutionParameter)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbCopyBuffer", Version = "3.0", EntryPoint = "glCopyBufferSubData")]
- public static
- void CopyBufferSubData(BufferTarget readTarget, BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCopyBufferSubData((BufferTarget)readTarget, (BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Respecify a portion of a color table
- ///
- ///
- ///
- /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE.
- ///
- ///
- ///
- ///
- /// The starting index of the portion of the color table to be replaced.
- ///
- ///
- ///
- ///
- /// The window coordinates of the left corner of the row of pixels to be copied.
- ///
- ///
- ///
- ///
- /// The number of table entries to replace.
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glCopyColorSubTable")]
- public static
- void CopyColorSubTable(ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCopyColorSubTable((ColorTableTarget)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Copy pixels into a color table
- ///
- ///
- ///
- /// The color table target. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE.
- ///
- ///
- ///
- ///
- /// The internal storage format of the texture image. Must be one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16.
- ///
- ///
- ///
- ///
- /// The x coordinate of the lower-left corner of the pixel rectangle to be transferred to the color table.
- ///
- ///
- ///
- ///
- /// The y coordinate of the lower-left corner of the pixel rectangle to be transferred to the color table.
- ///
- ///
- ///
- ///
- /// The width of the pixel rectangle.
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glCopyColorTable")]
- public static
- void CopyColorTable(ColorTableTarget target, PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCopyColorTable((ColorTableTarget)target, (PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Copy pixels into a one-dimensional convolution filter
- ///
- ///
- ///
- /// Must be GL_CONVOLUTION_1D.
- ///
- ///
- ///
- ///
- /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16.
- ///
- ///
- ///
- ///
- /// The window space coordinates of the lower-left coordinate of the pixel array to copy.
- ///
- ///
- ///
- ///
- /// The width of the pixel array to copy.
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glCopyConvolutionFilter1D")]
- public static
- void CopyConvolutionFilter1D(ConvolutionTarget target, PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCopyConvolutionFilter1D((ConvolutionTarget)target, (PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Copy pixels into a two-dimensional convolution filter
- ///
- ///
- ///
- /// Must be GL_CONVOLUTION_2D.
- ///
- ///
- ///
- ///
- /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16.
- ///
- ///
- ///
- ///
- /// The window space coordinates of the lower-left coordinate of the pixel array to copy.
- ///
- ///
- ///
- ///
- /// The width of the pixel array to copy.
- ///
- ///
- ///
- ///
- /// The height of the pixel array to copy.
- ///
- ///
- [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glCopyConvolutionFilter2D")]
- public static
- void CopyConvolutionFilter2D(ConvolutionTarget target, PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCopyConvolutionFilter2D((ConvolutionTarget)target, (PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Copy pixels in the frame buffer
- ///
- ///
- ///
- /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.
- ///
- ///
- ///
- ///
- /// Specify the dimensions of the rectangular region of pixels to be copied. Both must be nonnegative.
- ///
- ///
- ///
- ///
- /// Specifies whether color values, depth values, or stencil values are to be copied. Symbolic constants GL_COLOR, GL_DEPTH, and GL_STENCIL are accepted.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCopyPixels")]
- public static
- void CopyPixels(Int32 x, Int32 y, Int32 width, Int32 height, PixelCopyType type)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCopyPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (PixelCopyType)type);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Copy pixels into a 1D texture image
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_1D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the internal format of the texture. Must be one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_RGB, GL_R3_G3_B2, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8.
- ///
- ///
- ///
- ///
- /// Specify the window coordinates of the left corner of the row of pixels to be copied.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image. Must be 0 or 2 sup n + 2 ( border ) for some integer . The height of the texture image is 1.
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glCopyTexImage1D")]
- public static
- void CopyTexImage1D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCopyTexImage1D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Copy pixels into a 2D texture image
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the internal format of the texture. Must be one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_RGB, GL_R3_G3_B2, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8.
- ///
- ///
- ///
- ///
- /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image. Must be 0 or 2 sup n + 2 ( border ) for some integer .
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image. Must be 0 or 2 sup m + 2 ( border ) for some integer .
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glCopyTexImage2D")]
- public static
- void CopyTexImage2D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCopyTexImage2D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Copy a one-dimensional texture subimage
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_1D.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the texel offset within the texture array.
- ///
- ///
- ///
- ///
- /// Specify the window coordinates of the left corner of the row of pixels to be copied.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glCopyTexSubImage1D")]
- public static
- void CopyTexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCopyTexSubImage1D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Copy a two-dimensional texture subimage
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glCopyTexSubImage2D")]
- public static
- void CopyTexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCopyTexSubImage2D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Copy a three-dimensional texture subimage
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_3D
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the z direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glCopyTexSubImage3D")]
- public static
- void CopyTexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCopyTexSubImage3D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Creates a program object
- ///
- [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glCreateProgram")]
- public static
- Int32 CreateProgram()
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glCreateProgram();
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Creates a shader object
- ///
- ///
- ///
- /// Specifies the type of shader to be created. Must be either GL_VERTEX_SHADER or GL_FRAGMENT_SHADER.
- ///
- ///
- [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glCreateShader")]
- public static
- Int32 CreateShader(ShaderType type)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glCreateShader((ShaderType)type);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify whether front- or back-facing facets can be culled
- ///
- ///
- ///
- /// Specifies whether front- or back-facing facets are candidates for culling. Symbolic constants GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK are accepted. The initial value is GL_BACK.
- ///
- ///
- [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glCullFace")]
- public static
- void CullFace(CullFaceMode mode)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCullFace((CullFaceMode)mode);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete named buffer objects
- ///
- ///
- ///
- /// Specifies the number of buffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of buffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")]
- public static
- unsafe void DeleteBuffers(Int32 n, Int32* buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete named buffer objects
- ///
- ///
- ///
- /// Specifies the number of buffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of buffer objects to be deleted.
- ///
- ///
- [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")]
- public static
- void DeleteBuffers(Int32 n, Int32[] buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* buffers_ptr = buffers)
- {
- Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete named buffer objects
- ///
- ///
- ///
- /// Specifies the number of buffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of buffer objects to be deleted.
- ///
- ///
- [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")]
- public static
- void DeleteBuffers(Int32 n, ref Int32 buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* buffers_ptr = &buffers)
- {
- Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete named buffer objects
- ///
- ///
- ///
- /// Specifies the number of buffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of buffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")]
- public static
- void DeleteBuffers(Int32 n, ref UInt32 buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* buffers_ptr = &buffers)
- {
- Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete named buffer objects
- ///
- ///
- ///
- /// Specifies the number of buffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of buffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")]
- public static
- unsafe void DeleteBuffers(Int32 n, UInt32* buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete named buffer objects
- ///
- ///
- ///
- /// Specifies the number of buffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of buffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")]
- public static
- void DeleteBuffers(Int32 n, UInt32[] buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* buffers_ptr = buffers)
- {
- Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteFramebuffers")]
- public static
- unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteFramebuffers")]
- public static
- void DeleteFramebuffers(Int32 n, Int32[] framebuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* framebuffers_ptr = framebuffers)
- {
- Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteFramebuffers")]
- public static
- void DeleteFramebuffers(Int32 n, ref Int32 framebuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* framebuffers_ptr = &framebuffers)
- {
- Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteFramebuffers")]
- public static
- void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* framebuffers_ptr = &framebuffers)
- {
- Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteFramebuffers")]
- public static
- unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteFramebuffers")]
- public static
- void DeleteFramebuffers(Int32 n, UInt32[] framebuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* framebuffers_ptr = framebuffers)
- {
- Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete a contiguous group of display lists
- ///
- ///
- ///
- /// Specifies the integer name of the first display list to delete.
- ///
- ///
- ///
- ///
- /// Specifies the number of display lists to delete.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDeleteLists")]
- public static
- void DeleteLists(Int32 list, Int32 range)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteLists((UInt32)list, (Int32)range);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete a contiguous group of display lists
- ///
- ///
- ///
- /// Specifies the integer name of the first display list to delete.
- ///
- ///
- ///
- ///
- /// Specifies the number of display lists to delete.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDeleteLists")]
- public static
- void DeleteLists(UInt32 list, Int32 range)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteLists((UInt32)list, (Int32)range);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Deletes a program object
- ///
- ///
- ///
- /// Specifies the program object to be deleted.
- ///
- ///
- [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDeleteProgram")]
- public static
- void DeleteProgram(Int32 program)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteProgram((UInt32)program);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Deletes a program object
- ///
- ///
- ///
- /// Specifies the program object to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDeleteProgram")]
- public static
- void DeleteProgram(UInt32 program)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteProgram((UInt32)program);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete named query objects
- ///
- ///
- ///
- /// Specifies the number of query objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of query objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")]
- public static
- unsafe void DeleteQueries(Int32 n, Int32* ids)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteQueries((Int32)n, (UInt32*)ids);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete named query objects
- ///
- ///
- ///
- /// Specifies the number of query objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of query objects to be deleted.
- ///
- ///
- [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")]
- public static
- void DeleteQueries(Int32 n, Int32[] ids)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* ids_ptr = ids)
- {
- Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete named query objects
- ///
- ///
- ///
- /// Specifies the number of query objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of query objects to be deleted.
- ///
- ///
- [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")]
- public static
- void DeleteQueries(Int32 n, ref Int32 ids)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* ids_ptr = &ids)
- {
- Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete named query objects
- ///
- ///
- ///
- /// Specifies the number of query objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of query objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")]
- public static
- void DeleteQueries(Int32 n, ref UInt32 ids)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* ids_ptr = &ids)
- {
- Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete named query objects
- ///
- ///
- ///
- /// Specifies the number of query objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of query objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")]
- public static
- unsafe void DeleteQueries(Int32 n, UInt32* ids)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteQueries((Int32)n, (UInt32*)ids);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete named query objects
- ///
- ///
- ///
- /// Specifies the number of query objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of query objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")]
- public static
- void DeleteQueries(Int32 n, UInt32[] ids)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* ids_ptr = ids)
- {
- Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")]
- public static
- unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")]
- public static
- void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* renderbuffers_ptr = renderbuffers)
- {
- Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")]
- public static
- void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* renderbuffers_ptr = &renderbuffers)
- {
- Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")]
- public static
- void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* renderbuffers_ptr = &renderbuffers)
- {
- Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")]
- public static
- unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")]
- public static
- void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* renderbuffers_ptr = renderbuffers)
- {
- Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Deletes a shader object
- ///
- ///
- ///
- /// Specifies the shader object to be deleted.
- ///
- ///
- [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDeleteShader")]
- public static
- void DeleteShader(Int32 shader)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteShader((UInt32)shader);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Deletes a shader object
- ///
- ///
- ///
- /// Specifies the shader object to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDeleteShader")]
- public static
- void DeleteShader(UInt32 shader)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteShader((UInt32)shader);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glDeleteSync")]
- public static
- void DeleteSync(IntPtr sync)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteSync((IntPtr)sync);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete named textures
- ///
- ///
- ///
- /// Specifies the number of textures to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of textures to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")]
- public static
- unsafe void DeleteTextures(Int32 n, Int32* textures)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteTextures((Int32)n, (UInt32*)textures);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete named textures
- ///
- ///
- ///
- /// Specifies the number of textures to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of textures to be deleted.
- ///
- ///
- [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")]
- public static
- void DeleteTextures(Int32 n, Int32[] textures)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* textures_ptr = textures)
- {
- Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete named textures
- ///
- ///
- ///
- /// Specifies the number of textures to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of textures to be deleted.
- ///
- ///
- [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")]
- public static
- void DeleteTextures(Int32 n, ref Int32 textures)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* textures_ptr = &textures)
- {
- Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete named textures
- ///
- ///
- ///
- /// Specifies the number of textures to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of textures to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")]
- public static
- void DeleteTextures(Int32 n, ref UInt32 textures)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* textures_ptr = &textures)
- {
- Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete named textures
- ///
- ///
- ///
- /// Specifies the number of textures to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of textures to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")]
- public static
- unsafe void DeleteTextures(Int32 n, UInt32* textures)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteTextures((Int32)n, (UInt32*)textures);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Delete named textures
- ///
- ///
- ///
- /// Specifies the number of textures to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of textures to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")]
- public static
- void DeleteTextures(Int32 n, UInt32[] textures)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* textures_ptr = textures)
- {
- Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")]
- public static
- unsafe void DeleteVertexArrays(Int32 n, Int32* arrays)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")]
- public static
- void DeleteVertexArrays(Int32 n, Int32[] arrays)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* arrays_ptr = arrays)
- {
- Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")]
- public static
- void DeleteVertexArrays(Int32 n, ref Int32 arrays)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* arrays_ptr = &arrays)
- {
- Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")]
- public static
- void DeleteVertexArrays(Int32 n, ref UInt32 arrays)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* arrays_ptr = &arrays)
- {
- Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")]
- public static
- unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")]
- public static
- void DeleteVertexArrays(Int32 n, UInt32[] arrays)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* arrays_ptr = arrays)
- {
- Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify the value used for depth buffer comparisons
- ///
- ///
- ///
- /// Specifies the depth comparison function. Symbolic constants GL_NEVER, GL_LESS, GL_EQUAL, GL_LEQUAL, GL_GREATER, GL_NOTEQUAL, GL_GEQUAL, and GL_ALWAYS are accepted. The initial value is GL_LESS.
- ///
- ///
- [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glDepthFunc")]
- public static
- void DepthFunc(DepthFunction func)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDepthFunc((DepthFunction)func);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Enable or disable writing into the depth buffer
- ///
- ///
- ///
- /// Specifies whether the depth buffer is enabled for writing. If flag is GL_FALSE, depth buffer writing is disabled. Otherwise, it is enabled. Initially, depth buffer writing is enabled.
- ///
- ///
- [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glDepthMask")]
- public static
- void DepthMask(bool flag)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDepthMask((bool)flag);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify mapping of depth values from normalized device coordinates to window coordinates
- ///
- ///
- ///
- /// Specifies the mapping of the near clipping plane to window coordinates. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies the mapping of the far clipping plane to window coordinates. The initial value is 1.
- ///
- ///
- [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glDepthRange")]
- public static
- void DepthRange(Double near, Double far)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDepthRange((Double)near, (Double)far);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Detaches a shader object from a program object to which it is attached
- ///
- ///
- ///
- /// Specifies the program object from which to detach the shader object.
- ///
- ///
- ///
- ///
- /// Specifies the shader object to be detached.
- ///
- ///
- [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDetachShader")]
- public static
- void DetachShader(Int32 program, Int32 shader)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDetachShader((UInt32)program, (UInt32)shader);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Detaches a shader object from a program object to which it is attached
- ///
- ///
- ///
- /// Specifies the program object from which to detach the shader object.
- ///
- ///
- ///
- ///
- /// Specifies the shader object to be detached.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDetachShader")]
- public static
- void DetachShader(UInt32 program, UInt32 shader)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDetachShader((UInt32)program, (UInt32)shader);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glDisable")]
- public static
- void Disable(EnableCap cap)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDisable((EnableCap)cap);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glDisableClientState")]
- public static
- void DisableClientState(EnableCap array)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDisableClientState((EnableCap)array);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glDisablei")]
- public static
- void Disable(IndexedEnableCap target, Int32 index)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDisablei((IndexedEnableCap)target, (UInt32)index);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glDisablei")]
- public static
- void Disable(IndexedEnableCap target, UInt32 index)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDisablei((IndexedEnableCap)target, (UInt32)index);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")]
- public static
- void DisableVertexAttribArray(Int32 index)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDisableVertexAttribArray((UInt32)index);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")]
- public static
- void DisableVertexAttribArray(UInt32 index)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDisableVertexAttribArray((UInt32)index);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Render primitives from array data
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the starting index in the enabled arrays.
- ///
- ///
- ///
- ///
- /// Specifies the number of indices to be rendered.
- ///
- ///
- [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawArrays")]
- public static
- void DrawArrays(BeginMode mode, Int32 first, Int32 count)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawArrays((BeginMode)mode, (Int32)first, (Int32)count);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glDrawArraysInstanced")]
- public static
- void DrawArraysInstanced(BeginMode mode, Int32 first, Int32 count, Int32 primcount)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawArraysInstanced((BeginMode)mode, (Int32)first, (Int32)count, (Int32)primcount);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specify which color buffers are to be drawn into
- ///
- ///
- ///
- /// Specifies up to four color buffers to be drawn into. Symbolic constants GL_NONE, GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_BACK_LEFT, GL_BACK_RIGHT, GL_FRONT, GL_BACK, GL_LEFT, GL_RIGHT, GL_FRONT_AND_BACK, and GL_AUXi, where i is between 0 and the value of GL_AUX_BUFFERS minus 1, are accepted. (GL_AUX_BUFFERS is not the upper limit; use glGet to query the number of available aux buffers.) The initial value is GL_FRONT for single-buffered contexts, and GL_BACK for double-buffered contexts.
- ///
- ///
- [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glDrawBuffer")]
- public static
- void DrawBuffer(DrawBufferMode mode)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawBuffer((DrawBufferMode)mode);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies a list of color buffers to be drawn into
- ///
- ///
- ///
- /// Specifies the number of buffers in bufs.
- ///
- ///
- ///
- ///
- /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDrawBuffers")]
- public static
- unsafe void DrawBuffers(Int32 n, DrawBuffersEnum* bufs)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawBuffers((Int32)n, (DrawBuffersEnum*)bufs);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies a list of color buffers to be drawn into
- ///
- ///
- ///
- /// Specifies the number of buffers in bufs.
- ///
- ///
- ///
- ///
- /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written.
- ///
- ///
- [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDrawBuffers")]
- public static
- void DrawBuffers(Int32 n, DrawBuffersEnum[] bufs)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (DrawBuffersEnum* bufs_ptr = bufs)
- {
- Delegates.glDrawBuffers((Int32)n, (DrawBuffersEnum*)bufs_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Specifies a list of color buffers to be drawn into
- ///
- ///
- ///
- /// Specifies the number of buffers in bufs.
- ///
- ///
- ///
- ///
- /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written.
- ///
- ///
- [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDrawBuffers")]
- public static
- void DrawBuffers(Int32 n, ref DrawBuffersEnum bufs)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (DrawBuffersEnum* bufs_ptr = &bufs)
- {
- Delegates.glDrawBuffers((Int32)n, (DrawBuffersEnum*)bufs_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Render primitives from array data
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements to be rendered.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawElements")]
- public static
- void DrawElements(BeginMode mode, Int32 count, DrawElementsType type, [In, Out] ref T3 indices)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawElements((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Render primitives from array data
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements to be rendered.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawElements")]
- public static
- void DrawElements(BeginMode mode, Int32 count, DrawElementsType type, [In, Out] T3[,,] indices)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawElements((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Render primitives from array data
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements to be rendered.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawElements")]
- public static
- void DrawElements(BeginMode mode, Int32 count, DrawElementsType type, [In, Out] T3[,] indices)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawElements((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Render primitives from array data
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements to be rendered.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawElements")]
- public static
- void DrawElements(BeginMode mode, Int32 count, DrawElementsType type, [In, Out] T3[] indices)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawElements((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Render primitives from array data
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements to be rendered.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawElements")]
- public static
- void DrawElements(BeginMode mode, Int32 count, DrawElementsType type, IntPtr indices)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawElements((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsBaseVertex")]
- public static
- void DrawElementsBaseVertex(ArbDrawElementsBaseVertex mode, Int32 count, DrawElementsType type, [In, Out] ref T3 indices, Int32 basevertex)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsBaseVertex")]
- public static
- void DrawElementsBaseVertex(ArbDrawElementsBaseVertex mode, Int32 count, DrawElementsType type, [In, Out] T3[,,] indices, Int32 basevertex)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsBaseVertex")]
- public static
- void DrawElementsBaseVertex(ArbDrawElementsBaseVertex mode, Int32 count, DrawElementsType type, [In, Out] T3[,] indices, Int32 basevertex)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsBaseVertex")]
- public static
- void DrawElementsBaseVertex(ArbDrawElementsBaseVertex mode, Int32 count, DrawElementsType type, [In, Out] T3[] indices, Int32 basevertex)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsBaseVertex")]
- public static
- void DrawElementsBaseVertex(ArbDrawElementsBaseVertex mode, Int32 count, DrawElementsType type, IntPtr indices, Int32 basevertex)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices, (Int32)basevertex);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glDrawElementsInstanced")]
- public static
- void DrawElementsInstanced(BeginMode mode, Int32 count, DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawElementsInstanced((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glDrawElementsInstanced")]
- public static
- void DrawElementsInstanced(BeginMode mode, Int32 count, DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawElementsInstanced((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glDrawElementsInstanced")]
- public static
- void DrawElementsInstanced(BeginMode mode, Int32 count, DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawElementsInstanced((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glDrawElementsInstanced")]
- public static
- void DrawElementsInstanced(BeginMode mode, Int32 count, DrawElementsType type, [In, Out] T3[] indices, Int32 primcount)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawElementsInstanced((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glDrawElementsInstanced")]
- public static
- void DrawElementsInstanced(BeginMode mode, Int32 count, DrawElementsType type, IntPtr indices, Int32 primcount)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawElementsInstanced((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices, (Int32)primcount);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsInstancedBaseVertex")]
- public static
- void DrawElementsInstancedBaseVertex(ArbDrawElementsBaseVertex mode, Int32 count, DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, Int32 basevertex)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawElementsInstancedBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)basevertex);
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsInstancedBaseVertex")]
- public static
- void DrawElementsInstancedBaseVertex(ArbDrawElementsBaseVertex mode, Int32 count, DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, Int32 basevertex)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawElementsInstancedBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)basevertex);
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsInstancedBaseVertex")]
- public static
- void DrawElementsInstancedBaseVertex(ArbDrawElementsBaseVertex mode, Int32 count, DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, Int32 basevertex)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawElementsInstancedBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)basevertex);
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsInstancedBaseVertex")]
- public static
- void DrawElementsInstancedBaseVertex(ArbDrawElementsBaseVertex mode, Int32 count, DrawElementsType type, [In, Out] T3[] indices, Int32 primcount, Int32 basevertex)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawElementsInstancedBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)basevertex);
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsInstancedBaseVertex")]
- public static
- void DrawElementsInstancedBaseVertex(ArbDrawElementsBaseVertex mode, Int32 count, DrawElementsType type, IntPtr indices, Int32 primcount, Int32 basevertex)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawElementsInstancedBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)basevertex);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Write a block of pixels to the frame buffer
- ///
- ///
- ///
- /// Specify the dimensions of the pixel rectangle to be written into the frame buffer.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. Symbolic constants GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the data type for data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the pixel data.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDrawPixels")]
- public static
- void DrawPixels(Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] ref T4 pixels)
- where T4 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawPixels((Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pixels_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Write a block of pixels to the frame buffer
- ///
- ///
- ///
- /// Specify the dimensions of the pixel rectangle to be written into the frame buffer.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. Symbolic constants GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the data type for data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the pixel data.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDrawPixels")]
- public static
- void DrawPixels(Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T4[,,] pixels)
- where T4 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawPixels((Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pixels_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Write a block of pixels to the frame buffer
- ///
- ///
- ///
- /// Specify the dimensions of the pixel rectangle to be written into the frame buffer.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. Symbolic constants GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the data type for data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the pixel data.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDrawPixels")]
- public static
- void DrawPixels(Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T4[,] pixels)
- where T4 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawPixels((Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pixels_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Write a block of pixels to the frame buffer
- ///
- ///
- ///
- /// Specify the dimensions of the pixel rectangle to be written into the frame buffer.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. Symbolic constants GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the data type for data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the pixel data.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDrawPixels")]
- public static
- void DrawPixels(Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T4[] pixels)
- where T4 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawPixels((Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pixels_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Write a block of pixels to the frame buffer
- ///
- ///
- ///
- /// Specify the dimensions of the pixel rectangle to be written into the frame buffer.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. Symbolic constants GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the data type for data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the pixel data.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDrawPixels")]
- public static
- void DrawPixels(Int32 width, Int32 height, PixelFormat format, PixelType type, IntPtr pixels)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawPixels((Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Render primitives from array data
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the minimum array index contained in indices.
- ///
- ///
- ///
- ///
- /// Specifies the maximum array index contained in indices.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements to be rendered.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")]
- public static
- void DrawRangeElements(BeginMode mode, Int32 start, Int32 end, Int32 count, DrawElementsType type, [In, Out] ref T5 indices)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawRangeElements((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Render primitives from array data
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the minimum array index contained in indices.
- ///
- ///
- ///
- ///
- /// Specifies the maximum array index contained in indices.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements to be rendered.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")]
- public static
- void DrawRangeElements(BeginMode mode, Int32 start, Int32 end, Int32 count, DrawElementsType type, [In, Out] T5[,,] indices)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawRangeElements((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Render primitives from array data
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the minimum array index contained in indices.
- ///
- ///
- ///
- ///
- /// Specifies the maximum array index contained in indices.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements to be rendered.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")]
- public static
- void DrawRangeElements(BeginMode mode, Int32 start, Int32 end, Int32 count, DrawElementsType type, [In, Out] T5[,] indices)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawRangeElements((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Render primitives from array data
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the minimum array index contained in indices.
- ///
- ///
- ///
- ///
- /// Specifies the maximum array index contained in indices.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements to be rendered.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")]
- public static
- void DrawRangeElements(BeginMode mode, Int32 start, Int32 end, Int32 count, DrawElementsType type, [In, Out] T5[] indices)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawRangeElements((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Render primitives from array data
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the minimum array index contained in indices.
- ///
- ///
- ///
- ///
- /// Specifies the maximum array index contained in indices.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements to be rendered.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")]
- public static
- void DrawRangeElements(BeginMode mode, Int32 start, Int32 end, Int32 count, DrawElementsType type, IntPtr indices)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawRangeElements((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Render primitives from array data
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the minimum array index contained in indices.
- ///
- ///
- ///
- ///
- /// Specifies the maximum array index contained in indices.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements to be rendered.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")]
- public static
- void DrawRangeElements(BeginMode mode, UInt32 start, UInt32 end, Int32 count, DrawElementsType type, [In, Out] ref T5 indices)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawRangeElements((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Render primitives from array data
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the minimum array index contained in indices.
- ///
- ///
- ///
- ///
- /// Specifies the maximum array index contained in indices.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements to be rendered.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")]
- public static
- void DrawRangeElements(BeginMode mode, UInt32 start, UInt32 end, Int32 count, DrawElementsType type, [In, Out] T5[,,] indices)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawRangeElements((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Render primitives from array data
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the minimum array index contained in indices.
- ///
- ///
- ///
- ///
- /// Specifies the maximum array index contained in indices.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements to be rendered.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")]
- public static
- void DrawRangeElements(BeginMode mode, UInt32 start, UInt32 end, Int32 count, DrawElementsType type, [In, Out] T5[,] indices)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawRangeElements((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Render primitives from array data
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the minimum array index contained in indices.
- ///
- ///
- ///
- ///
- /// Specifies the maximum array index contained in indices.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements to be rendered.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")]
- public static
- void DrawRangeElements(BeginMode mode, UInt32 start, UInt32 end, Int32 count, DrawElementsType type, [In, Out] T5[] indices)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawRangeElements((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Render primitives from array data
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the minimum array index contained in indices.
- ///
- ///
- ///
- ///
- /// Specifies the maximum array index contained in indices.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements to be rendered.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")]
- public static
- void DrawRangeElements(BeginMode mode, UInt32 start, UInt32 end, Int32 count, DrawElementsType type, IntPtr indices)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawRangeElements((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")]
- public static
- void DrawRangeElementsBaseVertex(ArbDrawElementsBaseVertex mode, Int32 start, Int32 end, Int32 count, DrawElementsType type, [In, Out] ref T5 indices, Int32 basevertex)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawRangeElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")]
- public static
- void DrawRangeElementsBaseVertex(ArbDrawElementsBaseVertex mode, Int32 start, Int32 end, Int32 count, DrawElementsType type, [In, Out] T5[,,] indices, Int32 basevertex)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawRangeElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")]
- public static
- void DrawRangeElementsBaseVertex(ArbDrawElementsBaseVertex mode, Int32 start, Int32 end, Int32 count, DrawElementsType type, [In, Out] T5[,] indices, Int32 basevertex)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawRangeElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")]
- public static
- void DrawRangeElementsBaseVertex(ArbDrawElementsBaseVertex mode, Int32 start, Int32 end, Int32 count, DrawElementsType type, [In, Out] T5[] indices, Int32 basevertex)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawRangeElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")]
- public static
- void DrawRangeElementsBaseVertex(ArbDrawElementsBaseVertex mode, Int32 start, Int32 end, Int32 count, DrawElementsType type, IntPtr indices, Int32 basevertex)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawRangeElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices, (Int32)basevertex);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")]
- public static
- void DrawRangeElementsBaseVertex(ArbDrawElementsBaseVertex mode, UInt32 start, UInt32 end, Int32 count, DrawElementsType type, [In, Out] ref T5 indices, Int32 basevertex)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawRangeElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")]
- public static
- void DrawRangeElementsBaseVertex(ArbDrawElementsBaseVertex mode, UInt32 start, UInt32 end, Int32 count, DrawElementsType type, [In, Out] T5[,,] indices, Int32 basevertex)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawRangeElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")]
- public static
- void DrawRangeElementsBaseVertex(ArbDrawElementsBaseVertex mode, UInt32 start, UInt32 end, Int32 count, DrawElementsType type, [In, Out] T5[,] indices, Int32 basevertex)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawRangeElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")]
- public static
- void DrawRangeElementsBaseVertex(ArbDrawElementsBaseVertex mode, UInt32 start, UInt32 end, Int32 count, DrawElementsType type, [In, Out] T5[] indices, Int32 basevertex)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawRangeElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")]
- public static
- void DrawRangeElementsBaseVertex(ArbDrawElementsBaseVertex mode, UInt32 start, UInt32 end, Int32 count, DrawElementsType type, IntPtr indices, Int32 basevertex)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawRangeElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices, (Int32)basevertex);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Flag edges as either boundary or nonboundary
- ///
- ///
- ///
- /// Specifies the current edge flag value, either GL_TRUE or GL_FALSE. The initial value is GL_TRUE.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEdgeFlag")]
- public static
- void EdgeFlag(bool flag)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEdgeFlag((bool)flag);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define an array of edge flags
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first edge flag in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEdgeFlagPointer")]
- public static
- void EdgeFlagPointer(Int32 stride, [In, Out] ref T1 pointer)
- where T1 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define an array of edge flags
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first edge flag in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEdgeFlagPointer")]
- public static
- void EdgeFlagPointer(Int32 stride, [In, Out] T1[,,] pointer)
- where T1 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define an array of edge flags
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first edge flag in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEdgeFlagPointer")]
- public static
- void EdgeFlagPointer(Int32 stride, [In, Out] T1[,] pointer)
- where T1 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define an array of edge flags
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first edge flag in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEdgeFlagPointer")]
- public static
- void EdgeFlagPointer(Int32 stride, [In, Out] T1[] pointer)
- where T1 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define an array of edge flags
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first edge flag in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEdgeFlagPointer")]
- public static
- void EdgeFlagPointer(Int32 stride, IntPtr pointer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Flag edges as either boundary or nonboundary
- ///
- ///
- ///
- /// Specifies the current edge flag value, either GL_TRUE or GL_FALSE. The initial value is GL_TRUE.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEdgeFlagv")]
- public static
- unsafe void EdgeFlag(bool* flag)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEdgeFlagv((bool*)flag);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Enable or disable server-side GL capabilities
- ///
- ///
- ///
- /// Specifies a symbolic constant indicating a GL capability.
- ///
- ///
- [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glEnable")]
- public static
- void Enable(EnableCap cap)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEnable((EnableCap)cap);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Enable or disable client-side capability
- ///
- ///
- ///
- /// Specifies the capability to enable. Symbolic constants GL_COLOR_ARRAY, GL_EDGE_FLAG_ARRAY, GL_FOG_COORD_ARRAY, GL_INDEX_ARRAY, GL_NORMAL_ARRAY, GL_SECONDARY_COLOR_ARRAY, GL_TEXTURE_COORD_ARRAY, and GL_VERTEX_ARRAY are accepted.
- ///
- ///
- [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEnableClientState")]
- public static
- void EnableClientState(EnableCap array)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEnableClientState((EnableCap)array);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Enable or disable server-side GL capabilities
- ///
- ///
- ///
- /// Specifies a symbolic constant indicating a GL capability.
- ///
- ///
- [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glEnablei")]
- public static
- void Enable(IndexedEnableCap target, Int32 index)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEnablei((IndexedEnableCap)target, (UInt32)index);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Enable or disable server-side GL capabilities
- ///
- ///
- ///
- /// Specifies a symbolic constant indicating a GL capability.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glEnablei")]
- public static
- void Enable(IndexedEnableCap target, UInt32 index)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEnablei((IndexedEnableCap)target, (UInt32)index);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Enable or disable a generic vertex attribute array
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be enabled or disabled.
- ///
- ///
- [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")]
- public static
- void EnableVertexAttribArray(Int32 index)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEnableVertexAttribArray((UInt32)index);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Enable or disable a generic vertex attribute array
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be enabled or disabled.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")]
- public static
- void EnableVertexAttribArray(UInt32 index)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEnableVertexAttribArray((UInt32)index);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEnd")]
- public static
- void End()
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEnd();
- #if DEBUG
- GraphicsContext.CurrentContext.ErrorChecking = true;
- }
- #endif
- }
-
- [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glEndConditionalRender")]
- public static
- void EndConditionalRender()
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEndConditionalRender();
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEndList")]
- public static
- void EndList()
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEndList();
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glEndQuery")]
- public static
- void EndQuery(QueryTarget target)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEndQuery((QueryTarget)target);
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glEndTransformFeedback")]
- public static
- void EndTransformFeedback()
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEndTransformFeedback();
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Evaluate enabled one- and two-dimensional maps
- ///
- ///
- ///
- /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command.
- ///
- ///
- ///
- ///
- /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord1d")]
- public static
- void EvalCoord1(Double u)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEvalCoord1d((Double)u);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Evaluate enabled one- and two-dimensional maps
- ///
- ///
- ///
- /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command.
- ///
- ///
- ///
- ///
- /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord1dv")]
- public static
- unsafe void EvalCoord1(Double* u)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEvalCoord1dv((Double*)u);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Evaluate enabled one- and two-dimensional maps
- ///
- ///
- ///
- /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command.
- ///
- ///
- ///
- ///
- /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord1f")]
- public static
- void EvalCoord1(Single u)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEvalCoord1f((Single)u);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Evaluate enabled one- and two-dimensional maps
- ///
- ///
- ///
- /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command.
- ///
- ///
- ///
- ///
- /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord1fv")]
- public static
- unsafe void EvalCoord1(Single* u)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEvalCoord1fv((Single*)u);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Evaluate enabled one- and two-dimensional maps
- ///
- ///
- ///
- /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command.
- ///
- ///
- ///
- ///
- /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2d")]
- public static
- void EvalCoord2(Double u, Double v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEvalCoord2d((Double)u, (Double)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Evaluate enabled one- and two-dimensional maps
- ///
- ///
- ///
- /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command.
- ///
- ///
- ///
- ///
- /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2dv")]
- public static
- unsafe void EvalCoord2(Double* u)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEvalCoord2dv((Double*)u);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Evaluate enabled one- and two-dimensional maps
- ///
- ///
- ///
- /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command.
- ///
- ///
- ///
- ///
- /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2dv")]
- public static
- void EvalCoord2(Double[] u)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* u_ptr = u)
- {
- Delegates.glEvalCoord2dv((Double*)u_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Evaluate enabled one- and two-dimensional maps
- ///
- ///
- ///
- /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command.
- ///
- ///
- ///
- ///
- /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2dv")]
- public static
- void EvalCoord2(ref Double u)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Double* u_ptr = &u)
- {
- Delegates.glEvalCoord2dv((Double*)u_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Evaluate enabled one- and two-dimensional maps
- ///
- ///
- ///
- /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command.
- ///
- ///
- ///
- ///
- /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2f")]
- public static
- void EvalCoord2(Single u, Single v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEvalCoord2f((Single)u, (Single)v);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Evaluate enabled one- and two-dimensional maps
- ///
- ///
- ///
- /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command.
- ///
- ///
- ///
- ///
- /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2fv")]
- public static
- void EvalCoord2(ref Single u)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* u_ptr = &u)
- {
- Delegates.glEvalCoord2fv((Single*)u_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Evaluate enabled one- and two-dimensional maps
- ///
- ///
- ///
- /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command.
- ///
- ///
- ///
- ///
- /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2fv")]
- public static
- unsafe void EvalCoord2(Single* u)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEvalCoord2fv((Single*)u);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Evaluate enabled one- and two-dimensional maps
- ///
- ///
- ///
- /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command.
- ///
- ///
- ///
- ///
- /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2fv")]
- public static
- void EvalCoord2(Single[] u)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* u_ptr = u)
- {
- Delegates.glEvalCoord2fv((Single*)u_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Compute a one- or two-dimensional grid of points or lines
- ///
- ///
- ///
- /// In glEvalMesh1, specifies whether to compute a one-dimensional mesh of points or lines. Symbolic constants GL_POINT and GL_LINE are accepted.
- ///
- ///
- ///
- ///
- /// Specify the first and last integer values for grid domain variable .
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalMesh1")]
- public static
- void EvalMesh1(MeshMode1 mode, Int32 i1, Int32 i2)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEvalMesh1((MeshMode1)mode, (Int32)i1, (Int32)i2);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Compute a one- or two-dimensional grid of points or lines
- ///
- ///
- ///
- /// In glEvalMesh1, specifies whether to compute a one-dimensional mesh of points or lines. Symbolic constants GL_POINT and GL_LINE are accepted.
- ///
- ///
- ///
- ///
- /// Specify the first and last integer values for grid domain variable .
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalMesh2")]
- public static
- void EvalMesh2(MeshMode2 mode, Int32 i1, Int32 i2, Int32 j1, Int32 j2)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEvalMesh2((MeshMode2)mode, (Int32)i1, (Int32)i2, (Int32)j1, (Int32)j2);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Generate and evaluate a single point in a mesh
- ///
- ///
- ///
- /// Specifies the integer value for grid domain variable .
- ///
- ///
- ///
- ///
- /// Specifies the integer value for grid domain variable (glEvalPoint2 only).
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalPoint1")]
- public static
- void EvalPoint1(Int32 i)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEvalPoint1((Int32)i);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Generate and evaluate a single point in a mesh
- ///
- ///
- ///
- /// Specifies the integer value for grid domain variable .
- ///
- ///
- ///
- ///
- /// Specifies the integer value for grid domain variable (glEvalPoint2 only).
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalPoint2")]
- public static
- void EvalPoint2(Int32 i, Int32 j)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEvalPoint2((Int32)i, (Int32)j);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Controls feedback mode
- ///
- ///
- ///
- /// Specifies the maximum number of values that can be written into buffer.
- ///
- ///
- ///
- ///
- /// Specifies a symbolic constant that describes the information that will be returned for each vertex. GL_2D, GL_3D, GL_3D_COLOR, GL_3D_COLOR_TEXTURE, and GL_4D_COLOR_TEXTURE are accepted.
- ///
- ///
- ///
- ///
- /// Returns the feedback data.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFeedbackBuffer")]
- public static
- void FeedbackBuffer(Int32 size, FeedbackType type, [Out] out Single buffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* buffer_ptr = &buffer)
- {
- Delegates.glFeedbackBuffer((Int32)size, (FeedbackType)type, (Single*)buffer_ptr);
- buffer = *buffer_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Controls feedback mode
- ///
- ///
- ///
- /// Specifies the maximum number of values that can be written into buffer.
- ///
- ///
- ///
- ///
- /// Specifies a symbolic constant that describes the information that will be returned for each vertex. GL_2D, GL_3D, GL_3D_COLOR, GL_3D_COLOR_TEXTURE, and GL_4D_COLOR_TEXTURE are accepted.
- ///
- ///
- ///
- ///
- /// Returns the feedback data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFeedbackBuffer")]
- public static
- unsafe void FeedbackBuffer(Int32 size, FeedbackType type, [Out] Single* buffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFeedbackBuffer((Int32)size, (FeedbackType)type, (Single*)buffer);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Controls feedback mode
- ///
- ///
- ///
- /// Specifies the maximum number of values that can be written into buffer.
- ///
- ///
- ///
- ///
- /// Specifies a symbolic constant that describes the information that will be returned for each vertex. GL_2D, GL_3D, GL_3D_COLOR, GL_3D_COLOR_TEXTURE, and GL_4D_COLOR_TEXTURE are accepted.
- ///
- ///
- ///
- ///
- /// Returns the feedback data.
- ///
- ///
- [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFeedbackBuffer")]
- public static
- void FeedbackBuffer(Int32 size, FeedbackType type, [Out] Single[] buffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* buffer_ptr = buffer)
- {
- Delegates.glFeedbackBuffer((Int32)size, (FeedbackType)type, (Single*)buffer_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glFenceSync")]
- public static
- IntPtr FenceSync(ArbSync condition, Int32 flags)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glFenceSync((ArbSync)condition, (UInt32)flags);
- #if DEBUG
- }
- #endif
- }
-
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glFenceSync")]
- public static
- IntPtr FenceSync(ArbSync condition, UInt32 flags)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glFenceSync((ArbSync)condition, (UInt32)flags);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Block until all GL execution is complete
- ///
- [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glFinish")]
- public static
- void Finish()
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFinish();
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Force execution of GL commands in finite time
- ///
- [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glFlush")]
- public static
- void Flush()
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFlush();
- #if DEBUG
- }
- #endif
- }
-
- [AutoGenerated(Category = "ArbMapBufferRange", Version = "3.0", EntryPoint = "glFlushMappedBufferRange")]
- public static
- void FlushMappedBufferRange(BufferTarget target, IntPtr offset, IntPtr length)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFlushMappedBufferRange((BufferTarget)target, (IntPtr)offset, (IntPtr)length);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current fog coordinates
- ///
- ///
- ///
- /// Specify the fog distance.
- ///
- ///
- [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordd")]
- public static
- void FogCoord(Double coord)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFogCoordd((Double)coord);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current fog coordinates
- ///
- ///
- ///
- /// Specify the fog distance.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoorddv")]
- public static
- unsafe void FogCoord(Double* coord)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFogCoorddv((Double*)coord);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current fog coordinates
- ///
- ///
- ///
- /// Specify the fog distance.
- ///
- ///
- [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordf")]
- public static
- void FogCoord(Single coord)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFogCoordf((Single)coord);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Set the current fog coordinates
- ///
- ///
- ///
- /// Specify the fog distance.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordfv")]
- public static
- unsafe void FogCoord(Single* coord)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFogCoordfv((Single*)coord);
- #if DEBUG
- }
- #endif
- }
-
-
- ///
- /// Define an array of fog coordinates
- ///
- ///
- ///
- /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordPointer")]
- public static
- void FogCoordPointer(FogPointerType type, Int32 stride, [In, Out] ref T2 pointer)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glFogCoordPointer((FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///