diff --git a/Source/OpenTK/Graphics/ES10/ES.cs b/Source/OpenTK/Graphics/ES10/ES.cs
index 70bcfb0b..98a3627f 100644
--- a/Source/OpenTK/Graphics/ES10/ES.cs
+++ b/Source/OpenTK/Graphics/ES10/ES.cs
@@ -118,6 +118,35 @@ namespace OpenTK.Graphics.ES10
///
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glBindTexture")]
public static
+ void BindTexture(OpenTK.Graphics.ES10.All target, Int32 texture)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glBindTexture((OpenTK.Graphics.ES10.All)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 = "1.0", Version = "1.0", EntryPoint = "glBindTexture")]
+ public static
void BindTexture(OpenTK.Graphics.ES10.All target, UInt32 texture)
{
#if DEBUG
@@ -169,6 +198,30 @@ namespace OpenTK.Graphics.ES10
///
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glClear")]
public static
+ void Clear(Int32 mask)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glClear((UInt32)mask);
+ #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.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glClear")]
+ public static
void Clear(UInt32 mask)
{
#if DEBUG
@@ -1443,6 +1496,75 @@ namespace OpenTK.Graphics.ES10
///
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDeleteTextures")]
public static
+ void DeleteTextures(Int32 n, Int32[] textures)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* textures_ptr = textures)
+ {
+ Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Delete named textures
+ ///
+ ///
+ ///
+ /// Specifies the number of textures to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array of textures to be deleted.
+ ///
+ ///
+ [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDeleteTextures")]
+ public static
+ void DeleteTextures(Int32 n, ref Int32 textures)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* textures_ptr = &textures)
+ {
+ Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Delete named textures
+ ///
+ ///
+ ///
+ /// Specifies the number of textures to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array of textures to be deleted.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDeleteTextures")]
+ public static
void DeleteTextures(Int32 n, ref UInt32 textures)
{
#if DEBUG
@@ -1504,6 +1626,7 @@ namespace OpenTK.Graphics.ES10
/// Specifies an array of textures to be deleted.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDeleteTextures")]
public static
void DeleteTextures(Int32 n, UInt32[] textures)
@@ -2236,6 +2359,75 @@ namespace OpenTK.Graphics.ES10
///
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGenTextures")]
public static
+ void GenTextures(Int32 n, Int32[] textures)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* textures_ptr = textures)
+ {
+ Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Generate texture names
+ ///
+ ///
+ ///
+ /// Specifies the number of texture names to be generated.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated texture names are stored.
+ ///
+ ///
+ [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGenTextures")]
+ public static
+ void GenTextures(Int32 n, ref Int32 textures)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* textures_ptr = &textures)
+ {
+ Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Generate texture names
+ ///
+ ///
+ ///
+ /// Specifies the number of texture names to be generated.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated texture names are stored.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGenTextures")]
+ public static
void GenTextures(Int32 n, ref UInt32 textures)
{
#if DEBUG
@@ -2297,6 +2489,7 @@ namespace OpenTK.Graphics.ES10
/// Specifies an array in which the generated texture names are stored.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGenTextures")]
public static
void GenTextures(Int32 n, UInt32[] textures)
@@ -4173,6 +4366,40 @@ namespace OpenTK.Graphics.ES10
///
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glStencilFunc")]
public static
+ void StencilFunc(OpenTK.Graphics.ES10.All func, Int32 @ref, Int32 mask)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glStencilFunc((OpenTK.Graphics.ES10.All)func, (Int32)@ref, (UInt32)mask);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Set front and back function and reference value for stencil testing
+ ///
+ ///
+ ///
+ /// 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 = "1.0", Version = "1.0", EntryPoint = "glStencilFunc")]
+ public static
void StencilFunc(OpenTK.Graphics.ES10.All func, Int32 @ref, UInt32 mask)
{
#if DEBUG
@@ -4196,6 +4423,30 @@ namespace OpenTK.Graphics.ES10
///
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glStencilMask")]
public static
+ void StencilMask(Int32 mask)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glStencilMask((UInt32)mask);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Control the front and back writing of individual bits in the stencil planes
+ ///
+ ///
+ ///
+ /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glStencilMask")]
+ public static
void StencilMask(UInt32 mask)
{
#if DEBUG
diff --git a/Source/OpenTK/Graphics/ES11/Core.cs b/Source/OpenTK/Graphics/ES11/Core.cs
index ea2bd40d..fd8cbc3b 100644
--- a/Source/OpenTK/Graphics/ES11/Core.cs
+++ b/Source/OpenTK/Graphics/ES11/Core.cs
@@ -631,7 +631,7 @@ namespace OpenTK.Graphics.ES11
internal extern static void PushMatrix();
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glQueryMatrixxOES", ExactSpelling = true)]
- internal extern static unsafe UInt32 QueryMatrixxOES(int* mantissa, Int32* exponent);
+ internal extern static unsafe Int32 QueryMatrixxOES(int* mantissa, Int32* exponent);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadPixels", ExactSpelling = true)]
internal extern static void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, IntPtr pixels);
diff --git a/Source/OpenTK/Graphics/ES11/Delegates.cs b/Source/OpenTK/Graphics/ES11/Delegates.cs
index 0159502f..e422f38c 100644
--- a/Source/OpenTK/Graphics/ES11/Delegates.cs
+++ b/Source/OpenTK/Graphics/ES11/Delegates.cs
@@ -629,7 +629,7 @@ namespace OpenTK.Graphics.ES11
internal delegate void PushMatrix();
internal static PushMatrix glPushMatrix;
[System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate UInt32 QueryMatrixxOES(int* mantissa, Int32* exponent);
+ internal unsafe delegate Int32 QueryMatrixxOES(int* mantissa, Int32* exponent);
internal unsafe static QueryMatrixxOES glQueryMatrixxOES;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, IntPtr pixels);
diff --git a/Source/OpenTK/Graphics/ES11/ES.cs b/Source/OpenTK/Graphics/ES11/ES.cs
index 67a5519b..86d0a325 100644
--- a/Source/OpenTK/Graphics/ES11/ES.cs
+++ b/Source/OpenTK/Graphics/ES11/ES.cs
@@ -118,6 +118,35 @@ namespace OpenTK.Graphics.ES11
///
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBindBuffer")]
public static
+ void BindBuffer(OpenTK.Graphics.ES11.All target, Int32 buffer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glBindBuffer((OpenTK.Graphics.ES11.All)target, (UInt32)buffer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// 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 = "1.1", Version = "1.1", EntryPoint = "glBindBuffer")]
+ public static
void BindBuffer(OpenTK.Graphics.ES11.All target, UInt32 buffer)
{
#if DEBUG
@@ -146,6 +175,35 @@ namespace OpenTK.Graphics.ES11
///
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBindTexture")]
public static
+ void BindTexture(OpenTK.Graphics.ES11.All target, Int32 texture)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glBindTexture((OpenTK.Graphics.ES11.All)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 = "1.1", Version = "1.1", EntryPoint = "glBindTexture")]
+ public static
void BindTexture(OpenTK.Graphics.ES11.All target, UInt32 texture)
{
#if DEBUG
@@ -649,6 +707,30 @@ namespace OpenTK.Graphics.ES11
///
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClear")]
public static
+ void Clear(Int32 mask)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glClear((UInt32)mask);
+ #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.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClear")]
+ public static
void Clear(UInt32 mask)
{
#if DEBUG
@@ -2213,6 +2295,75 @@ namespace OpenTK.Graphics.ES11
///
[AutoGenerated(Category = "1.1", Version = "1.1", 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 = "1.1", Version = "1.1", 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 = "1.1", Version = "1.1", EntryPoint = "glDeleteBuffers")]
+ public static
void DeleteBuffers(Int32 n, ref UInt32 buffers)
{
#if DEBUG
@@ -2274,6 +2425,7 @@ namespace OpenTK.Graphics.ES11
/// Specifies an array of buffer objects to be deleted.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteBuffers")]
public static
void DeleteBuffers(Int32 n, UInt32[] buffers)
@@ -2339,6 +2491,75 @@ namespace OpenTK.Graphics.ES11
///
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteTextures")]
public static
+ void DeleteTextures(Int32 n, Int32[] textures)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* textures_ptr = textures)
+ {
+ Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Delete named textures
+ ///
+ ///
+ ///
+ /// Specifies the number of textures to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array of textures to be deleted.
+ ///
+ ///
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteTextures")]
+ public static
+ void DeleteTextures(Int32 n, ref Int32 textures)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* textures_ptr = &textures)
+ {
+ Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Delete named textures
+ ///
+ ///
+ ///
+ /// Specifies the number of textures to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array of textures to be deleted.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteTextures")]
+ public static
void DeleteTextures(Int32 n, ref UInt32 textures)
{
#if DEBUG
@@ -2400,6 +2621,7 @@ namespace OpenTK.Graphics.ES11
/// Specifies an array of textures to be deleted.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteTextures")]
public static
void DeleteTextures(Int32 n, UInt32[] textures)
@@ -2536,6 +2758,21 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDisableDriverControlQCOM")]
+ public static
+ void DisableDriverControlQCOM(Int32 driverControl)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDisableDriverControlQCOM((UInt32)driverControl);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDisableDriverControlQCOM")]
public static
void DisableDriverControlQCOM(UInt32 driverControl)
@@ -2855,6 +3092,21 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glEnableDriverControlQCOM")]
+ public static
+ void EnableDriverControlQCOM(Int32 driverControl)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glEnableDriverControlQCOM((UInt32)driverControl);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glEnableDriverControlQCOM")]
public static
void EnableDriverControlQCOM(UInt32 driverControl)
@@ -3160,6 +3412,75 @@ namespace OpenTK.Graphics.ES11
///
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenBuffers")]
public static
+ void GenBuffers(Int32 n, Int32[] buffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* buffers_ptr = buffers)
+ {
+ Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// 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 = "1.1", Version = "1.1", EntryPoint = "glGenBuffers")]
+ public static
+ void GenBuffers(Int32 n, ref Int32 buffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* buffers_ptr = &buffers)
+ {
+ Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// 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 = "1.1", Version = "1.1", EntryPoint = "glGenBuffers")]
+ public static
void GenBuffers(Int32 n, ref UInt32 buffers)
{
#if DEBUG
@@ -3221,6 +3542,7 @@ namespace OpenTK.Graphics.ES11
/// Specifies an array in which the generated buffer object names are stored.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenBuffers")]
public static
void GenBuffers(Int32 n, UInt32[] buffers)
@@ -3286,6 +3608,75 @@ namespace OpenTK.Graphics.ES11
///
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenTextures")]
public static
+ void GenTextures(Int32 n, Int32[] textures)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* textures_ptr = textures)
+ {
+ Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Generate texture names
+ ///
+ ///
+ ///
+ /// Specifies the number of texture names to be generated.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated texture names are stored.
+ ///
+ ///
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenTextures")]
+ public static
+ void GenTextures(Int32 n, ref Int32 textures)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* textures_ptr = &textures)
+ {
+ Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Generate texture names
+ ///
+ ///
+ ///
+ /// Specifies the number of texture names to be generated.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated texture names are stored.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenTextures")]
+ public static
void GenTextures(Int32 n, ref UInt32 textures)
{
#if DEBUG
@@ -3347,6 +3738,7 @@ namespace OpenTK.Graphics.ES11
/// Specifies an array in which the generated texture names are stored.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenTextures")]
public static
void GenTextures(Int32 n, UInt32[] textures)
@@ -3716,6 +4108,28 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlsQCOM")]
+ public static
+ void GetDriverControlsQCOM(Int32[] num, Int32 size, Int32[] driverControls)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* num_ptr = num)
+ fixed (Int32* driverControls_ptr = driverControls)
+ {
+ Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlsQCOM")]
public static
void GetDriverControlsQCOM(Int32[] num, Int32 size, UInt32[] driverControls)
@@ -3737,6 +4151,28 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlsQCOM")]
+ public static
+ void GetDriverControlsQCOM(ref Int32 num, Int32 size, ref Int32 driverControls)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* num_ptr = &num)
+ fixed (Int32* driverControls_ptr = &driverControls)
+ {
+ Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlsQCOM")]
public static
void GetDriverControlsQCOM(ref Int32 num, Int32 size, ref UInt32 driverControls)
@@ -3758,6 +4194,61 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlStringQCOM")]
+ public static
+ unsafe void GetDriverControlStringQCOM(Int32 driverControl, Int32 bufSize, Int32* length, String driverControlString)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length, (String)driverControlString);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlStringQCOM")]
+ public static
+ void GetDriverControlStringQCOM(Int32 driverControl, Int32 bufSize, Int32[] length, String driverControlString)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (String)driverControlString);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlStringQCOM")]
+ public static
+ void GetDriverControlStringQCOM(Int32 driverControl, Int32 bufSize, ref Int32 length, String driverControlString)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (String)driverControlString);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
[System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlStringQCOM")]
public static
@@ -3773,6 +4264,7 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlStringQCOM")]
public static
void GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, Int32[] length, String driverControlString)
@@ -3793,6 +4285,7 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlStringQCOM")]
public static
void GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, ref Int32 length, String driverControlString)
@@ -5120,6 +5613,30 @@ namespace OpenTK.Graphics.ES11
///
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glIsBuffer")]
public static
+ bool IsBuffer(Int32 buffer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glIsBuffer((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 = "1.1", Version = "1.1", EntryPoint = "glIsBuffer")]
+ public static
bool IsBuffer(UInt32 buffer)
{
#if DEBUG
@@ -5166,6 +5683,30 @@ namespace OpenTK.Graphics.ES11
///
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glIsTexture")]
public static
+ bool IsTexture(Int32 texture)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glIsTexture((UInt32)texture);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Determine if a name corresponds to a texture
+ ///
+ ///
+ ///
+ /// Specifies a value that may be the name of a texture.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glIsTexture")]
+ public static
bool IsTexture(UInt32 texture)
{
#if DEBUG
@@ -7056,6 +7597,40 @@ namespace OpenTK.Graphics.ES11
///
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glStencilFunc")]
public static
+ void StencilFunc(OpenTK.Graphics.ES11.All func, Int32 @ref, Int32 mask)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glStencilFunc((OpenTK.Graphics.ES11.All)func, (Int32)@ref, (UInt32)mask);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Set front and back function and reference value for stencil testing
+ ///
+ ///
+ ///
+ /// 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 = "1.1", Version = "1.1", EntryPoint = "glStencilFunc")]
+ public static
void StencilFunc(OpenTK.Graphics.ES11.All func, Int32 @ref, UInt32 mask)
{
#if DEBUG
@@ -7079,6 +7654,30 @@ namespace OpenTK.Graphics.ES11
///
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glStencilMask")]
public static
+ void StencilMask(Int32 mask)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glStencilMask((UInt32)mask);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Control the front and back writing of individual bits in the stencil planes
+ ///
+ ///
+ ///
+ /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glStencilMask")]
+ public static
void StencilMask(UInt32 mask)
{
#if DEBUG
@@ -8882,6 +9481,47 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFencesNV")]
+ public static
+ void DeleteFences(Int32 n, Int32[] fences)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* fences_ptr = fences)
+ {
+ Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFencesNV")]
+ public static
+ void DeleteFences(Int32 n, ref Int32 fences)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* fences_ptr = &fences)
+ {
+ Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFencesNV")]
public static
void DeleteFences(Int32 n, ref UInt32 fences)
@@ -8917,6 +9557,7 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFencesNV")]
public static
void DeleteFences(Int32 n, UInt32[] fences)
@@ -8937,6 +9578,21 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFinishFenceNV")]
+ public static
+ void FinishFence(Int32 fence)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFinishFenceNV((UInt32)fence);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFinishFenceNV")]
public static
void FinishFence(UInt32 fence)
@@ -8966,6 +9622,47 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFencesNV")]
+ public static
+ void GenFences(Int32 n, Int32[] fences)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* fences_ptr = fences)
+ {
+ Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFencesNV")]
+ public static
+ void GenFences(Int32 n, ref Int32 fences)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* fences_ptr = &fences)
+ {
+ Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFencesNV")]
public static
void GenFences(Int32 n, ref UInt32 fences)
@@ -9001,6 +9698,7 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFencesNV")]
public static
void GenFences(Int32 n, UInt32[] fences)
@@ -9021,6 +9719,61 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFenceivNV")]
+ public static
+ unsafe void GetFence(Int32 fence, OpenTK.Graphics.ES11.All pname, Int32* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFenceivNV")]
+ public static
+ void GetFence(Int32 fence, OpenTK.Graphics.ES11.All pname, Int32[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFenceivNV")]
+ public static
+ void GetFence(Int32 fence, OpenTK.Graphics.ES11.All pname, ref Int32 @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
[System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFenceivNV")]
public static
@@ -9036,6 +9789,7 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFenceivNV")]
public static
void GetFence(UInt32 fence, OpenTK.Graphics.ES11.All pname, Int32[] @params)
@@ -9056,6 +9810,7 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFenceivNV")]
public static
void GetFence(UInt32 fence, OpenTK.Graphics.ES11.All pname, ref Int32 @params)
@@ -9076,6 +9831,21 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glIsFenceNV")]
+ public static
+ bool IsFence(Int32 fence)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glIsFenceNV((UInt32)fence);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glIsFenceNV")]
public static
bool IsFence(UInt32 fence)
@@ -9090,6 +9860,21 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glSetFenceNV")]
+ public static
+ void SetFence(Int32 fence, OpenTK.Graphics.ES11.All condition)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.ES11.All)condition);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glSetFenceNV")]
public static
void SetFence(UInt32 fence, OpenTK.Graphics.ES11.All condition)
@@ -9104,6 +9889,21 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTestFenceNV")]
+ public static
+ bool TestFence(Int32 fence)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glTestFenceNV((UInt32)fence);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTestFenceNV")]
public static
bool TestFence(UInt32 fence)
@@ -9136,6 +9936,21 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBindFramebufferOES")]
+ public static
+ void BindFramebuffer(OpenTK.Graphics.ES11.All target, Int32 framebuffer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glBindFramebufferOES((OpenTK.Graphics.ES11.All)target, (UInt32)framebuffer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBindFramebufferOES")]
public static
void BindFramebuffer(OpenTK.Graphics.ES11.All target, UInt32 framebuffer)
@@ -9150,6 +9965,21 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBindRenderbufferOES")]
+ public static
+ void BindRenderbuffer(OpenTK.Graphics.ES11.All target, Int32 renderbuffer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glBindRenderbufferOES((OpenTK.Graphics.ES11.All)target, (UInt32)renderbuffer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBindRenderbufferOES")]
public static
void BindRenderbuffer(OpenTK.Graphics.ES11.All target, UInt32 renderbuffer)
@@ -9484,6 +10314,21 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glCurrentPaletteMatrixOES")]
+ public static
+ void CurrentPaletteMatrix(Int32 matrixpaletteindex)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glCurrentPaletteMatrixOES((UInt32)matrixpaletteindex);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glCurrentPaletteMatrixOES")]
public static
void CurrentPaletteMatrix(UInt32 matrixpaletteindex)
@@ -9513,6 +10358,47 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFramebuffersOES")]
+ public static
+ void DeleteFramebuffers(Int32 n, Int32[] framebuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* framebuffers_ptr = framebuffers)
+ {
+ Delegates.glDeleteFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFramebuffersOES")]
+ public static
+ void DeleteFramebuffers(Int32 n, ref Int32 framebuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* framebuffers_ptr = &framebuffers)
+ {
+ Delegates.glDeleteFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFramebuffersOES")]
public static
void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers)
@@ -9548,6 +10434,7 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFramebuffersOES")]
public static
void DeleteFramebuffers(Int32 n, UInt32[] framebuffers)
@@ -9583,6 +10470,47 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteRenderbuffersOES")]
+ public static
+ void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* renderbuffers_ptr = renderbuffers)
+ {
+ Delegates.glDeleteRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteRenderbuffersOES")]
+ public static
+ void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* renderbuffers_ptr = &renderbuffers)
+ {
+ Delegates.glDeleteRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteRenderbuffersOES")]
public static
void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers)
@@ -9618,6 +10546,7 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteRenderbuffersOES")]
public static
void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers)
@@ -10033,6 +10962,21 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFramebufferRenderbufferOES")]
+ public static
+ void FramebufferRenderbuffer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All renderbuffertarget, Int32 renderbuffer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFramebufferRenderbufferOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)renderbuffertarget, (UInt32)renderbuffer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFramebufferRenderbufferOES")]
public static
void FramebufferRenderbuffer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All renderbuffertarget, UInt32 renderbuffer)
@@ -10047,6 +10991,21 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFramebufferTexture2DOES")]
+ public static
+ void FramebufferTexture2D(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, Int32 texture, Int32 level)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFramebufferTexture2DOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)textarget, (UInt32)texture, (Int32)level);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFramebufferTexture2DOES")]
public static
void FramebufferTexture2D(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, UInt32 texture, Int32 level)
@@ -10137,6 +11096,47 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFramebuffersOES")]
+ public static
+ void GenFramebuffers(Int32 n, Int32[] framebuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* framebuffers_ptr = framebuffers)
+ {
+ Delegates.glGenFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFramebuffersOES")]
+ public static
+ void GenFramebuffers(Int32 n, ref Int32 framebuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* framebuffers_ptr = &framebuffers)
+ {
+ Delegates.glGenFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFramebuffersOES")]
public static
void GenFramebuffers(Int32 n, ref UInt32 framebuffers)
@@ -10172,6 +11172,7 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFramebuffersOES")]
public static
void GenFramebuffers(Int32 n, UInt32[] framebuffers)
@@ -10207,6 +11208,47 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenRenderbuffersOES")]
+ public static
+ void GenRenderbuffers(Int32 n, Int32[] renderbuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* renderbuffers_ptr = renderbuffers)
+ {
+ Delegates.glGenRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenRenderbuffersOES")]
+ public static
+ void GenRenderbuffers(Int32 n, ref Int32 renderbuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* renderbuffers_ptr = &renderbuffers)
+ {
+ Delegates.glGenRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenRenderbuffersOES")]
public static
void GenRenderbuffers(Int32 n, ref UInt32 renderbuffers)
@@ -10242,6 +11284,7 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenRenderbuffersOES")]
public static
void GenRenderbuffers(Int32 n, UInt32[] renderbuffers)
@@ -11184,6 +12227,21 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glIsFramebufferOES")]
+ public static
+ bool IsFramebuffer(Int32 framebuffer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glIsFramebufferOES((UInt32)framebuffer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glIsFramebufferOES")]
public static
bool IsFramebuffer(UInt32 framebuffer)
@@ -11198,6 +12256,21 @@ namespace OpenTK.Graphics.ES11
#endif
}
+ [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glIsRenderbufferOES")]
+ public static
+ bool IsRenderbuffer(Int32 renderbuffer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glIsRenderbufferOES((UInt32)renderbuffer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glIsRenderbufferOES")]
public static
bool IsRenderbuffer(UInt32 renderbuffer)
@@ -11893,7 +12966,7 @@ namespace OpenTK.Graphics.ES11
[System.CLSCompliant(false)]
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glQueryMatrixxOES")]
public static
- unsafe UInt32 QueryMatrixx(int* mantissa, Int32* exponent)
+ unsafe Int32 QueryMatrixx(int* mantissa, Int32* exponent)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@@ -11907,7 +12980,7 @@ namespace OpenTK.Graphics.ES11
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glQueryMatrixxOES")]
public static
- UInt32 QueryMatrixx(int[] mantissa, Int32[] exponent)
+ Int32 QueryMatrixx(int[] mantissa, Int32[] exponent)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@@ -11928,7 +13001,7 @@ namespace OpenTK.Graphics.ES11
[AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glQueryMatrixxOES")]
public static
- UInt32 QueryMatrixx(ref int mantissa, ref Int32 exponent)
+ Int32 QueryMatrixx(ref int mantissa, ref Int32 exponent)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
diff --git a/Source/OpenTK/Graphics/ES20/Core.cs b/Source/OpenTK/Graphics/ES20/Core.cs
index f3dbd1cc..19cd7df3 100644
--- a/Source/OpenTK/Graphics/ES20/Core.cs
+++ b/Source/OpenTK/Graphics/ES20/Core.cs
@@ -127,10 +127,10 @@ namespace OpenTK.Graphics.ES20
internal extern static void CopyTexSubImage3DOES(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateProgram", ExactSpelling = true)]
- internal extern static UInt32 CreateProgram();
+ internal extern static Int32 CreateProgram();
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateShader", ExactSpelling = true)]
- internal extern static UInt32 CreateShader(OpenTK.Graphics.ES20.All type);
+ internal extern static Int32 CreateShader(OpenTK.Graphics.ES20.All type);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCullFace", ExactSpelling = true)]
internal extern static void CullFace(OpenTK.Graphics.ES20.All mode);
diff --git a/Source/OpenTK/Graphics/ES20/Delegates.cs b/Source/OpenTK/Graphics/ES20/Delegates.cs
index 13a578ac..7ecd5ea9 100644
--- a/Source/OpenTK/Graphics/ES20/Delegates.cs
+++ b/Source/OpenTK/Graphics/ES20/Delegates.cs
@@ -125,10 +125,10 @@ namespace OpenTK.Graphics.ES20
internal delegate void CopyTexSubImage3DOES(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height);
internal static CopyTexSubImage3DOES glCopyTexSubImage3DOES;
[System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate UInt32 CreateProgram();
+ internal delegate Int32 CreateProgram();
internal static CreateProgram glCreateProgram;
[System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate UInt32 CreateShader(OpenTK.Graphics.ES20.All type);
+ internal delegate Int32 CreateShader(OpenTK.Graphics.ES20.All type);
internal static CreateShader glCreateShader;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void CullFace(OpenTK.Graphics.ES20.All mode);
diff --git a/Source/OpenTK/Graphics/ES20/ES.cs b/Source/OpenTK/Graphics/ES20/ES.cs
index b06bf01a..06814fe0 100644
--- a/Source/OpenTK/Graphics/ES20/ES.cs
+++ b/Source/OpenTK/Graphics/ES20/ES.cs
@@ -39,6 +39,21 @@ namespace OpenTK.Graphics.ES20
public static partial class Amd
{
+ [AutoGenerated(Category = "2.0", Version = "2.0", 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 = "2.0", Version = "2.0", EntryPoint = "glBeginPerfMonitorAMD")]
public static
void BeginPerfMonitor(UInt32 monitor)
@@ -68,6 +83,47 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeletePerfMonitorsAMD")]
+ public static
+ void DeletePerfMonitors(Int32 n, Int32[] monitors)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* monitors_ptr = monitors)
+ {
+ Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeletePerfMonitorsAMD")]
+ public static
+ void DeletePerfMonitors(Int32 n, ref Int32 monitors)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* monitors_ptr = &monitors)
+ {
+ Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeletePerfMonitorsAMD")]
public static
void DeletePerfMonitors(Int32 n, ref UInt32 monitors)
@@ -103,6 +159,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeletePerfMonitorsAMD")]
public static
void DeletePerfMonitors(Int32 n, UInt32[] monitors)
@@ -123,6 +180,21 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", 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 = "2.0", Version = "2.0", EntryPoint = "glEndPerfMonitorAMD")]
public static
void EndPerfMonitor(UInt32 monitor)
@@ -152,6 +224,47 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenPerfMonitorsAMD")]
+ public static
+ void GenPerfMonitors(Int32 n, 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 = "2.0", Version = "2.0", EntryPoint = "glGenPerfMonitorsAMD")]
+ public static
+ void GenPerfMonitors(Int32 n, ref 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
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenPerfMonitorsAMD")]
public static
void GenPerfMonitors(Int32 n, ref UInt32 monitors)
@@ -187,6 +300,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenPerfMonitorsAMD")]
public static
void GenPerfMonitors(Int32 n, UInt32[] monitors)
@@ -210,7 +324,7 @@ namespace OpenTK.Graphics.ES20
[System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
public static
- unsafe void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, Int32* data, Int32* bytesWritten)
+ unsafe void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, Int32* data, Int32* bytesWritten)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@@ -222,6 +336,49 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
+ public static
+ void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, Int32[] data, Int32[] bytesWritten)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* data_ptr = data)
+ fixed (Int32* bytesWritten_ptr = bytesWritten)
+ {
+ Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
+ public static
+ void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, ref Int32 data, ref Int32 bytesWritten)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* data_ptr = &data)
+ fixed (Int32* bytesWritten_ptr = &bytesWritten)
+ {
+ Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
public static
void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, ref UInt32 data, ref Int32 bytesWritten)
@@ -258,6 +415,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
public static
void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, UInt32[] data, Int32[] bytesWritten)
@@ -279,6 +437,113 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
+ public static
+ void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] ref T3 data)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
+ public static
+ void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T3[,,] data)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
+ public static
+ void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T3[,] data)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
+ public static
+ void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T3[] data)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
+ public static
+ void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES20.All pname, IntPtr data)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
public static
void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] ref T3 data)
@@ -302,6 +567,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
public static
void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T3[,,] data)
@@ -325,6 +591,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
public static
void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T3[,] data)
@@ -348,6 +615,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
public static
void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T3[] data)
@@ -371,6 +639,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
public static
void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, IntPtr data)
@@ -388,7 +657,7 @@ namespace OpenTK.Graphics.ES20
[System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCountersAMD")]
public static
- unsafe void GetPerfMonitorCounters(UInt32 group, Int32* numCounters, Int32* maxActiveCounters, Int32 counterSize, Int32* counters)
+ unsafe void GetPerfMonitorCounters(Int32 group, Int32* numCounters, Int32* maxActiveCounters, Int32 counterSize, Int32* counters)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@@ -400,6 +669,50 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCountersAMD")]
+ public static
+ void GetPerfMonitorCounters(Int32 group, Int32[] numCounters, Int32[] maxActiveCounters, Int32 counterSize, 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);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCountersAMD")]
+ public static
+ void GetPerfMonitorCounters(Int32 group, ref Int32 numCounters, ref Int32 maxActiveCounters, Int32 counterSize, ref 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);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
[System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCountersAMD")]
public static
@@ -415,6 +728,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCountersAMD")]
public static
void GetPerfMonitorCounters(UInt32 group, Int32[] numCounters, Int32[] maxActiveCounters, Int32 counterSize, UInt32[] counters)
@@ -437,6 +751,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCountersAMD")]
public static
void GetPerfMonitorCounters(UInt32 group, ref Int32 numCounters, ref Int32 maxActiveCounters, Int32 counterSize, ref UInt32 counters)
@@ -459,6 +774,61 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterStringAMD")]
+ public static
+ unsafe void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, Int32* length, String counterString)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (String)counterString);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterStringAMD")]
+ public static
+ void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, Int32[] length, String 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, (String)counterString);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterStringAMD")]
+ public static
+ void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, ref Int32 length, String 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, (String)counterString);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
[System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterStringAMD")]
public static
@@ -474,6 +844,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterStringAMD")]
public static
void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, Int32[] length, String counterString)
@@ -494,6 +865,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterStringAMD")]
public static
void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, ref Int32 length, String counterString)
@@ -544,6 +916,28 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupsAMD")]
+ public static
+ void GetPerfMonitorGroup(Int32[] numGroups, Int32 groupsSize, 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);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupsAMD")]
public static
void GetPerfMonitorGroup(Int32[] numGroups, Int32 groupsSize, UInt32[] groups)
@@ -565,6 +959,28 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupsAMD")]
+ public static
+ void GetPerfMonitorGroup(ref Int32 numGroups, Int32 groupsSize, ref 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);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupsAMD")]
public static
void GetPerfMonitorGroup(ref Int32 numGroups, Int32 groupsSize, ref UInt32 groups)
@@ -586,6 +1002,61 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupStringAMD")]
+ public static
+ unsafe void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, Int32* length, String groupString)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (String)groupString);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupStringAMD")]
+ public static
+ void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, Int32[] length, String groupString)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (String)groupString);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupStringAMD")]
+ public static
+ void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, ref Int32 length, String groupString)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (String)groupString);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
[System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupStringAMD")]
public static
@@ -601,6 +1072,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupStringAMD")]
public static
void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, Int32[] length, String groupString)
@@ -621,6 +1093,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupStringAMD")]
public static
void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, ref Int32 length, String groupString)
@@ -644,7 +1117,7 @@ namespace OpenTK.Graphics.ES20
[System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSelectPerfMonitorCountersAMD")]
public static
- unsafe void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, Int32* countersList)
+ unsafe void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, Int32* countersList)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@@ -656,6 +1129,47 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSelectPerfMonitorCountersAMD")]
+ public static
+ void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, Int32[] countersList)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* countersList_ptr = countersList)
+ {
+ Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)countersList_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSelectPerfMonitorCountersAMD")]
+ public static
+ void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, ref Int32 countersList)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* countersList_ptr = &countersList)
+ {
+ Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)countersList_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSelectPerfMonitorCountersAMD")]
public static
void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, ref UInt32 countersList)
@@ -691,6 +1205,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSelectPerfMonitorCountersAMD")]
public static
void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, UInt32[] countersList)
@@ -752,6 +1267,35 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glAttachShader")]
public static
+ void AttachShader(Int32 program, Int32 shader)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glAttachShader((UInt32)program, (UInt32)shader);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// 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 = "2.0", Version = "2.0", EntryPoint = "glAttachShader")]
+ public static
void AttachShader(UInt32 program, UInt32 shader)
{
#if DEBUG
@@ -785,6 +1329,40 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindAttribLocation")]
public static
+ void BindAttribLocation(Int32 program, Int32 index, String name)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// 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 = "2.0", Version = "2.0", EntryPoint = "glBindAttribLocation")]
+ public static
void BindAttribLocation(UInt32 program, UInt32 index, String name)
{
#if DEBUG
@@ -813,6 +1391,35 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindBuffer")]
public static
+ void BindBuffer(OpenTK.Graphics.ES20.All target, Int32 buffer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glBindBuffer((OpenTK.Graphics.ES20.All)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 = "2.0", Version = "2.0", EntryPoint = "glBindBuffer")]
+ public static
void BindBuffer(OpenTK.Graphics.ES20.All target, UInt32 buffer)
{
#if DEBUG
@@ -825,6 +1432,21 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindFramebuffer")]
+ public static
+ void BindFramebuffer(OpenTK.Graphics.ES20.All target, Int32 framebuffer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glBindFramebuffer((OpenTK.Graphics.ES20.All)target, (UInt32)framebuffer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindFramebuffer")]
public static
void BindFramebuffer(OpenTK.Graphics.ES20.All target, UInt32 framebuffer)
@@ -839,6 +1461,21 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindRenderbuffer")]
+ public static
+ void BindRenderbuffer(OpenTK.Graphics.ES20.All target, Int32 renderbuffer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glBindRenderbuffer((OpenTK.Graphics.ES20.All)target, (UInt32)renderbuffer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindRenderbuffer")]
public static
void BindRenderbuffer(OpenTK.Graphics.ES20.All target, UInt32 renderbuffer)
@@ -869,6 +1506,35 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindTexture")]
public static
+ void BindTexture(OpenTK.Graphics.ES20.All target, Int32 texture)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glBindTexture((OpenTK.Graphics.ES20.All)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 = "2.0", Version = "2.0", EntryPoint = "glBindTexture")]
+ public static
void BindTexture(OpenTK.Graphics.ES20.All target, UInt32 texture)
{
#if DEBUG
@@ -1498,6 +2164,30 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glClear")]
public static
+ void Clear(Int32 mask)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glClear((UInt32)mask);
+ #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.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glClear")]
+ public static
void Clear(UInt32 mask)
{
#if DEBUG
@@ -1613,6 +2303,30 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompileShader")]
public static
+ void CompileShader(Int32 shader)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glCompileShader((UInt32)shader);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Compiles a shader object
+ ///
+ ///
+ ///
+ /// Specifies the shader object to be compiled.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompileShader")]
+ public static
void CompileShader(UInt32 shader)
{
#if DEBUG
@@ -2414,7 +3128,7 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCreateProgram")]
public static
- UInt32 CreateProgram()
+ Int32 CreateProgram()
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@@ -2437,7 +3151,7 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCreateShader")]
public static
- UInt32 CreateShader(OpenTK.Graphics.ES20.All type)
+ Int32 CreateShader(OpenTK.Graphics.ES20.All type)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@@ -2517,6 +3231,75 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
public static
+ void DeleteBuffers(Int32 n, Int32[] buffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* buffers_ptr = buffers)
+ {
+ Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Delete named buffer objects
+ ///
+ ///
+ ///
+ /// Specifies the number of buffer objects to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array of buffer objects to be deleted.
+ ///
+ ///
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
+ public static
+ void DeleteBuffers(Int32 n, ref Int32 buffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* buffers_ptr = &buffers)
+ {
+ Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// 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 = "2.0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
+ public static
void DeleteBuffers(Int32 n, ref UInt32 buffers)
{
#if DEBUG
@@ -2578,6 +3361,7 @@ namespace OpenTK.Graphics.ES20
/// Specifies an array of buffer objects to be deleted.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
public static
void DeleteBuffers(Int32 n, UInt32[] buffers)
@@ -2613,6 +3397,47 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
+ public static
+ void DeleteFramebuffers(Int32 n, Int32[] framebuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* framebuffers_ptr = framebuffers)
+ {
+ Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
+ public static
+ void DeleteFramebuffers(Int32 n, ref Int32 framebuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* framebuffers_ptr = &framebuffers)
+ {
+ Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
public static
void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers)
@@ -2648,6 +3473,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
public static
void DeleteFramebuffers(Int32 n, UInt32[] framebuffers)
@@ -2679,6 +3505,30 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteProgram")]
public static
+ void DeleteProgram(Int32 program)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDeleteProgram((UInt32)program);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Deletes a program object
+ ///
+ ///
+ ///
+ /// Specifies the program object to be deleted.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteProgram")]
+ public static
void DeleteProgram(UInt32 program)
{
#if DEBUG
@@ -2706,6 +3556,47 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
+ public static
+ void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* renderbuffers_ptr = renderbuffers)
+ {
+ Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
+ public static
+ void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* renderbuffers_ptr = &renderbuffers)
+ {
+ Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
public static
void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers)
@@ -2741,6 +3632,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
public static
void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers)
@@ -2772,6 +3664,30 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteShader")]
public static
+ void DeleteShader(Int32 shader)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDeleteShader((UInt32)shader);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Deletes a shader object
+ ///
+ ///
+ ///
+ /// Specifies the shader object to be deleted.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteShader")]
+ public static
void DeleteShader(UInt32 shader)
{
#if DEBUG
@@ -2829,6 +3745,75 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteTextures")]
public static
+ void DeleteTextures(Int32 n, Int32[] textures)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* textures_ptr = textures)
+ {
+ Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Delete named textures
+ ///
+ ///
+ ///
+ /// Specifies the number of textures to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array of textures to be deleted.
+ ///
+ ///
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteTextures")]
+ public static
+ void DeleteTextures(Int32 n, ref Int32 textures)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* textures_ptr = &textures)
+ {
+ Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Delete named textures
+ ///
+ ///
+ ///
+ /// Specifies the number of textures to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array of textures to be deleted.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteTextures")]
+ public static
void DeleteTextures(Int32 n, ref UInt32 textures)
{
#if DEBUG
@@ -2890,6 +3875,7 @@ namespace OpenTK.Graphics.ES20
/// Specifies an array of textures to be deleted.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteTextures")]
public static
void DeleteTextures(Int32 n, UInt32[] textures)
@@ -3000,6 +3986,35 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDetachShader")]
public static
+ void DetachShader(Int32 program, Int32 shader)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDetachShader((UInt32)program, (UInt32)shader);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// 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 = "2.0", Version = "2.0", EntryPoint = "glDetachShader")]
+ public static
void DetachShader(UInt32 program, UInt32 shader)
{
#if DEBUG
@@ -3026,6 +4041,21 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDisableDriverControlQCOM")]
+ public static
+ void DisableDriverControlQCOM(Int32 driverControl)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDisableDriverControlQCOM((UInt32)driverControl);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDisableDriverControlQCOM")]
public static
void DisableDriverControlQCOM(UInt32 driverControl)
@@ -3040,6 +4070,21 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")]
+ public static
+ void DisableVertexAttribArray(Int32 index)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDisableVertexAttribArray((UInt32)index);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")]
public static
void DisableVertexAttribArray(UInt32 index)
@@ -3336,6 +4381,21 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glEnableDriverControlQCOM")]
+ public static
+ void EnableDriverControlQCOM(Int32 driverControl)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glEnableDriverControlQCOM((UInt32)driverControl);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glEnableDriverControlQCOM")]
public static
void EnableDriverControlQCOM(UInt32 driverControl)
@@ -3361,6 +4421,30 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")]
public static
+ void EnableVertexAttribArray(Int32 index)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glEnableVertexAttribArray((UInt32)index);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// 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 = "2.0", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")]
+ public static
void EnableVertexAttribArray(UInt32 index)
{
#if DEBUG
@@ -3409,6 +4493,21 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")]
+ public static
+ void FramebufferRenderbuffer(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All renderbuffertarget, Int32 renderbuffer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.All)renderbuffertarget, (UInt32)renderbuffer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")]
public static
void FramebufferRenderbuffer(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All renderbuffertarget, UInt32 renderbuffer)
@@ -3423,6 +4522,21 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")]
+ public static
+ void FramebufferTexture2D(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, Int32 texture, Int32 level)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.All)textarget, (UInt32)texture, (Int32)level);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")]
public static
void FramebufferTexture2D(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level)
@@ -3505,6 +4619,75 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenBuffers")]
public static
+ void GenBuffers(Int32 n, Int32[] buffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* buffers_ptr = buffers)
+ {
+ Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// 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 = "2.0", Version = "2.0", EntryPoint = "glGenBuffers")]
+ public static
+ void GenBuffers(Int32 n, ref Int32 buffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* buffers_ptr = &buffers)
+ {
+ Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// 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 = "2.0", Version = "2.0", EntryPoint = "glGenBuffers")]
+ public static
void GenBuffers(Int32 n, ref UInt32 buffers)
{
#if DEBUG
@@ -3566,6 +4749,7 @@ namespace OpenTK.Graphics.ES20
/// Specifies an array in which the generated buffer object names are stored.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenBuffers")]
public static
void GenBuffers(Int32 n, UInt32[] buffers)
@@ -3615,6 +4799,47 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFramebuffers")]
+ public static
+ void GenFramebuffers(Int32 n, Int32[] framebuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* framebuffers_ptr = framebuffers)
+ {
+ Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFramebuffers")]
+ public static
+ void GenFramebuffers(Int32 n, ref Int32 framebuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* framebuffers_ptr = &framebuffers)
+ {
+ Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFramebuffers")]
public static
void GenFramebuffers(Int32 n, ref UInt32 framebuffers)
@@ -3650,6 +4875,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFramebuffers")]
public static
void GenFramebuffers(Int32 n, UInt32[] framebuffers)
@@ -3685,6 +4911,47 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenRenderbuffers")]
+ public static
+ void GenRenderbuffers(Int32 n, Int32[] renderbuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* renderbuffers_ptr = renderbuffers)
+ {
+ Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenRenderbuffers")]
+ public static
+ void GenRenderbuffers(Int32 n, ref Int32 renderbuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* renderbuffers_ptr = &renderbuffers)
+ {
+ Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenRenderbuffers")]
public static
void GenRenderbuffers(Int32 n, ref UInt32 renderbuffers)
@@ -3720,6 +4987,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenRenderbuffers")]
public static
void GenRenderbuffers(Int32 n, UInt32[] renderbuffers)
@@ -3785,6 +5053,75 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenTextures")]
public static
+ void GenTextures(Int32 n, Int32[] textures)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* textures_ptr = textures)
+ {
+ Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Generate texture names
+ ///
+ ///
+ ///
+ /// Specifies the number of texture names to be generated.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated texture names are stored.
+ ///
+ ///
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenTextures")]
+ public static
+ void GenTextures(Int32 n, ref Int32 textures)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* textures_ptr = &textures)
+ {
+ Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Generate texture names
+ ///
+ ///
+ ///
+ /// Specifies the number of texture names to be generated.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated texture names are stored.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenTextures")]
+ public static
void GenTextures(Int32 n, ref UInt32 textures)
{
#if DEBUG
@@ -3846,6 +5183,7 @@ namespace OpenTK.Graphics.ES20
/// Specifies an array in which the generated texture names are stored.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenTextures")]
public static
void GenTextures(Int32 n, UInt32[] textures)
@@ -3867,6 +5205,182 @@ namespace OpenTK.Graphics.ES20
}
+ ///
+ /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
+ public static
+ unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufsize, Int32* length, Int32* size, OpenTK.Graphics.ES20.All* type, String name)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES20.All*)type, (String)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 = "2.0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
+ public static
+ void GetActiveAttrib(Int32 program, Int32 index, Int32 bufsize, Int32[] length, Int32[] size, OpenTK.Graphics.ES20.All[] type, String name)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ fixed (OpenTK.Graphics.ES20.All* type_ptr = type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.All*)type_ptr, (String)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 = "2.0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
+ public static
+ void GetActiveAttrib(Int32 program, Int32 index, Int32 bufsize, ref Int32 length, ref Int32 size, ref OpenTK.Graphics.ES20.All type, String name)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ fixed (OpenTK.Graphics.ES20.All* type_ptr = &type)
+ {
+ Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.All*)type_ptr, (String)name);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
///
/// Returns information about an active attribute variable for the specified program object
///
@@ -3959,6 +5473,7 @@ namespace OpenTK.Graphics.ES20
/// Returns a null terminated string containing the name of the attribute variable.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
public static
void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufsize, Int32[] length, Int32[] size, OpenTK.Graphics.ES20.All[] type, String name)
@@ -4020,6 +5535,7 @@ namespace OpenTK.Graphics.ES20
/// Returns a null terminated string containing the name of the attribute variable.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
public static
void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufsize, ref Int32 length, ref Int32 size, ref OpenTK.Graphics.ES20.All type, String name)
@@ -4043,6 +5559,182 @@ namespace OpenTK.Graphics.ES20
}
+ ///
+ /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
+ public static
+ unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufsize, Int32* length, Int32* size, OpenTK.Graphics.ES20.All* type, String name)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES20.All*)type, (String)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 = "2.0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
+ public static
+ void GetActiveUniform(Int32 program, Int32 index, Int32 bufsize, Int32[] length, Int32[] size, OpenTK.Graphics.ES20.All[] type, String name)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* size_ptr = size)
+ fixed (OpenTK.Graphics.ES20.All* type_ptr = type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.All*)type_ptr, (String)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 = "2.0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
+ public static
+ void GetActiveUniform(Int32 program, Int32 index, Int32 bufsize, ref Int32 length, ref Int32 size, ref OpenTK.Graphics.ES20.All type, String name)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* size_ptr = &size)
+ fixed (OpenTK.Graphics.ES20.All* type_ptr = &type)
+ {
+ Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.All*)type_ptr, (String)name);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
///
/// Returns information about an active uniform variable for the specified program object
///
@@ -4135,6 +5827,7 @@ namespace OpenTK.Graphics.ES20
/// Returns a null terminated string containing the name of the uniform variable.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
public static
void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufsize, Int32[] length, Int32[] size, OpenTK.Graphics.ES20.All[] type, String name)
@@ -4196,6 +5889,7 @@ namespace OpenTK.Graphics.ES20
/// Returns a null terminated string containing the name of the uniform variable.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
public static
void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufsize, ref Int32 length, ref Int32 size, ref OpenTK.Graphics.ES20.All type, String name)
@@ -4245,7 +5939,7 @@ namespace OpenTK.Graphics.ES20
[System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetAttachedShaders")]
public static
- unsafe void GetAttachedShaders(UInt32 program, Int32 maxcount, Int32* count, Int32* shaders)
+ unsafe void GetAttachedShaders(Int32 program, Int32 maxcount, Int32* count, Int32* shaders)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@@ -4258,6 +5952,96 @@ namespace OpenTK.Graphics.ES20
}
+ ///
+ /// Returns the handles of the shader objects attached to a program object
+ ///
+ ///
+ ///
+ /// Specifies the program object to be queried.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size of the array for storing the returned object names.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the number of names actually returned in objects.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array that is used to return the names of attached shader objects.
+ ///
+ ///
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetAttachedShaders")]
+ public static
+ void GetAttachedShaders(Int32 program, Int32 maxcount, Int32[] count, Int32[] shaders)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* count_ptr = count)
+ fixed (Int32* shaders_ptr = shaders)
+ {
+ Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxcount, (Int32*)count_ptr, (UInt32*)shaders_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Returns the handles of the shader objects attached to a program object
+ ///
+ ///
+ ///
+ /// Specifies the program object to be queried.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size of the array for storing the returned object names.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the number of names actually returned in objects.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array that is used to return the names of attached shader objects.
+ ///
+ ///
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetAttachedShaders")]
+ public static
+ void GetAttachedShaders(Int32 program, Int32 maxcount, ref Int32 count, ref Int32 shaders)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* count_ptr = &count)
+ fixed (Int32* shaders_ptr = &shaders)
+ {
+ Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxcount, (Int32*)count_ptr, (UInt32*)shaders_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
///
/// Returns the handles of the shader objects attached to a program object
///
@@ -4320,6 +6104,7 @@ namespace OpenTK.Graphics.ES20
/// Specifies an array that is used to return the names of attached shader objects.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetAttachedShaders")]
public static
void GetAttachedShaders(UInt32 program, Int32 maxcount, Int32[] count, UInt32[] shaders)
@@ -4365,6 +6150,7 @@ namespace OpenTK.Graphics.ES20
/// Specifies an array that is used to return the names of attached shader objects.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetAttachedShaders")]
public static
void GetAttachedShaders(UInt32 program, Int32 maxcount, ref Int32 count, ref UInt32 shaders)
@@ -4402,6 +6188,35 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetAttribLocation")]
public static
+ int GetAttribLocation(Int32 program, String name)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glGetAttribLocation((UInt32)program, (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 = "2.0", Version = "2.0", EntryPoint = "glGetAttribLocation")]
+ public static
int GetAttribLocation(UInt32 program, String name)
{
#if DEBUG
@@ -4611,6 +6426,28 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlsQCOM")]
+ public static
+ void GetDriverControlsQCOM(Int32[] num, Int32 size, Int32[] driverControls)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* num_ptr = num)
+ fixed (Int32* driverControls_ptr = driverControls)
+ {
+ Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlsQCOM")]
public static
void GetDriverControlsQCOM(Int32[] num, Int32 size, UInt32[] driverControls)
@@ -4632,6 +6469,28 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlsQCOM")]
+ public static
+ void GetDriverControlsQCOM(ref Int32 num, Int32 size, ref Int32 driverControls)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* num_ptr = &num)
+ fixed (Int32* driverControls_ptr = &driverControls)
+ {
+ Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlsQCOM")]
public static
void GetDriverControlsQCOM(ref Int32 num, Int32 size, ref UInt32 driverControls)
@@ -4653,6 +6512,61 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlStringQCOM")]
+ public static
+ unsafe void GetDriverControlStringQCOM(Int32 driverControl, Int32 bufSize, Int32* length, String driverControlString)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length, (String)driverControlString);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlStringQCOM")]
+ public static
+ void GetDriverControlStringQCOM(Int32 driverControl, Int32 bufSize, Int32[] length, String driverControlString)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (String)driverControlString);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlStringQCOM")]
+ public static
+ void GetDriverControlStringQCOM(Int32 driverControl, Int32 bufSize, ref Int32 length, String driverControlString)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (String)driverControlString);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
[System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlStringQCOM")]
public static
@@ -4668,6 +6582,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlStringQCOM")]
public static
void GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, Int32[] length, String driverControlString)
@@ -4688,6 +6603,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlStringQCOM")]
public static
void GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, ref Int32 length, String driverControlString)
@@ -4885,6 +6801,133 @@ namespace OpenTK.Graphics.ES20
}
+ ///
+ /// Returns the information log for a program object
+ ///
+ ///
+ ///
+ /// Specifies the program object whose information log is to be queried.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size of the character buffer for storing the returned information log.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the length of the string returned in infoLog (excluding the null terminator).
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array of characters that is used to return the information log.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
+ public static
+ unsafe void GetProgramInfoLog(Int32 program, Int32 bufsize, Int32* length, String infolog)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length, (String)infolog);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Returns the information log for a program object
+ ///
+ ///
+ ///
+ /// Specifies the program object whose information log is to be queried.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size of the character buffer for storing the returned information log.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the length of the string returned in infoLog (excluding the null terminator).
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array of characters that is used to return the information log.
+ ///
+ ///
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
+ public static
+ void GetProgramInfoLog(Int32 program, Int32 bufsize, Int32[] length, String infolog)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length_ptr, (String)infolog);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Returns the information log for a program object
+ ///
+ ///
+ ///
+ /// Specifies the program object whose information log is to be queried.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size of the character buffer for storing the returned information log.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the length of the string returned in infoLog (excluding the null terminator).
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array of characters that is used to return the information log.
+ ///
+ ///
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
+ public static
+ void GetProgramInfoLog(Int32 program, Int32 bufsize, ref Int32 length, String infolog)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length_ptr, (String)infolog);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
///
/// Returns the information log for a program object
///
@@ -4947,6 +6990,7 @@ namespace OpenTK.Graphics.ES20
/// Specifies an array of characters that is used to return the information log.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
public static
void GetProgramInfoLog(UInt32 program, Int32 bufsize, Int32[] length, String infolog)
@@ -4991,6 +7035,7 @@ namespace OpenTK.Graphics.ES20
/// Specifies an array of characters that is used to return the information log.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
public static
void GetProgramInfoLog(UInt32 program, Int32 bufsize, ref Int32 length, String infolog)
@@ -5012,6 +7057,118 @@ namespace OpenTK.Graphics.ES20
}
+ ///
+ /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetProgramiv")]
+ public static
+ unsafe void GetProgram(Int32 program, OpenTK.Graphics.ES20.All pname, Int32* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.All)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 = "2.0", Version = "2.0", EntryPoint = "glGetProgramiv")]
+ public static
+ void GetProgram(Int32 program, OpenTK.Graphics.ES20.All pname, Int32[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.All)pname, (Int32*)@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.
+ ///
+ ///
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramiv")]
+ public static
+ void GetProgram(Int32 program, OpenTK.Graphics.ES20.All pname, ref Int32 @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
///
/// Returns a parameter from a program object
///
@@ -5064,6 +7221,7 @@ namespace OpenTK.Graphics.ES20
/// Returns the requested object parameter.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramiv")]
public static
void GetProgram(UInt32 program, OpenTK.Graphics.ES20.All pname, Int32[] @params)
@@ -5103,6 +7261,7 @@ namespace OpenTK.Graphics.ES20
/// Returns the requested object parameter.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramiv")]
public static
void GetProgram(UInt32 program, OpenTK.Graphics.ES20.All pname, ref Int32 @params)
@@ -5179,6 +7338,133 @@ namespace OpenTK.Graphics.ES20
}
+ ///
+ /// Returns the information log for a shader object
+ ///
+ ///
+ ///
+ /// Specifies the shader object whose information log is to be queried.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size of the character buffer for storing the returned information log.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the length of the string returned in infoLog (excluding the null terminator).
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array of characters that is used to return the information log.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")]
+ public static
+ unsafe void GetShaderInfoLog(Int32 shader, Int32 bufsize, Int32* length, String infolog)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufsize, (Int32*)length, (String)infolog);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Returns the information log for a shader object
+ ///
+ ///
+ ///
+ /// Specifies the shader object whose information log is to be queried.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size of the character buffer for storing the returned information log.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the length of the string returned in infoLog (excluding the null terminator).
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array of characters that is used to return the information log.
+ ///
+ ///
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")]
+ public static
+ void GetShaderInfoLog(Int32 shader, Int32 bufsize, Int32[] length, String infolog)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (String)infolog);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Returns the information log for a shader object
+ ///
+ ///
+ ///
+ /// Specifies the shader object whose information log is to be queried.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size of the character buffer for storing the returned information log.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the length of the string returned in infoLog (excluding the null terminator).
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array of characters that is used to return the information log.
+ ///
+ ///
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")]
+ public static
+ void GetShaderInfoLog(Int32 shader, Int32 bufsize, ref Int32 length, String infolog)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (String)infolog);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
///
/// Returns the information log for a shader object
///
@@ -5241,6 +7527,7 @@ namespace OpenTK.Graphics.ES20
/// Specifies an array of characters that is used to return the information log.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")]
public static
void GetShaderInfoLog(UInt32 shader, Int32 bufsize, Int32[] length, String infolog)
@@ -5285,6 +7572,7 @@ namespace OpenTK.Graphics.ES20
/// Specifies an array of characters that is used to return the information log.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")]
public static
void GetShaderInfoLog(UInt32 shader, Int32 bufsize, ref Int32 length, String infolog)
@@ -5306,6 +7594,118 @@ namespace OpenTK.Graphics.ES20
}
+ ///
+ /// Returns a parameter from a shader object
+ ///
+ ///
+ ///
+ /// Specifies the shader object to be queried.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the requested object parameter.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderiv")]
+ public static
+ unsafe void GetShader(Int32 shader, OpenTK.Graphics.ES20.All pname, Int32* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Returns a parameter from a shader object
+ ///
+ ///
+ ///
+ /// Specifies the shader object to be queried.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the requested object parameter.
+ ///
+ ///
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderiv")]
+ public static
+ void GetShader(Int32 shader, OpenTK.Graphics.ES20.All pname, Int32[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Returns a parameter from a shader object
+ ///
+ ///
+ ///
+ /// Specifies the shader object to be queried.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the requested object parameter.
+ ///
+ ///
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderiv")]
+ public static
+ void GetShader(Int32 shader, OpenTK.Graphics.ES20.All pname, ref Int32 @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
///
/// Returns a parameter from a shader object
///
@@ -5358,6 +7758,7 @@ namespace OpenTK.Graphics.ES20
/// Returns the requested object parameter.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderiv")]
public static
void GetShader(UInt32 shader, OpenTK.Graphics.ES20.All pname, Int32[] @params)
@@ -5397,6 +7798,7 @@ namespace OpenTK.Graphics.ES20
/// Returns the requested object parameter.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderiv")]
public static
void GetShader(UInt32 shader, OpenTK.Graphics.ES20.All pname, ref Int32 @params)
@@ -5475,6 +7877,133 @@ namespace OpenTK.Graphics.ES20
}
+ ///
+ /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetShaderSource")]
+ public static
+ unsafe void GetShaderSource(Int32 shader, Int32 bufsize, Int32* length, [OutAttribute] System.Text.StringBuilder source)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetShaderSource((UInt32)shader, (Int32)bufsize, (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 = "2.0", Version = "2.0", EntryPoint = "glGetShaderSource")]
+ public static
+ void GetShaderSource(Int32 shader, Int32 bufsize, Int32[] length, [OutAttribute] System.Text.StringBuilder source)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glGetShaderSource((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (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 = "2.0", Version = "2.0", EntryPoint = "glGetShaderSource")]
+ public static
+ void GetShaderSource(Int32 shader, Int32 bufsize, ref Int32 length, [OutAttribute] System.Text.StringBuilder source)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glGetShaderSource((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (System.Text.StringBuilder)source);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
///
/// Returns the source code string from a shader object
///
@@ -5537,6 +8066,7 @@ namespace OpenTK.Graphics.ES20
/// Specifies an array of characters that is used to return the source code string.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderSource")]
public static
void GetShaderSource(UInt32 shader, Int32 bufsize, Int32[] length, [OutAttribute] System.Text.StringBuilder source)
@@ -5581,6 +8111,7 @@ namespace OpenTK.Graphics.ES20
/// Specifies an array of characters that is used to return the source code string.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderSource")]
public static
void GetShaderSource(UInt32 shader, Int32 bufsize, ref Int32 length, [OutAttribute] System.Text.StringBuilder source)
@@ -5870,6 +8401,119 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformfv")]
public static
+ void GetUniform(Int32 program, Int32 location, ref Single @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetUniformfv")]
+ public static
+ unsafe void GetUniform(Int32 program, Int32 location, Single* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetUniformfv((UInt32)program, (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 = "2.0", Version = "2.0", EntryPoint = "glGetUniformfv")]
+ public static
+ void GetUniform(Int32 program, Int32 location, Single[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetUniformfv")]
+ public static
void GetUniform(UInt32 program, Int32 location, ref Single @params)
{
#if DEBUG
@@ -5941,6 +8585,7 @@ namespace OpenTK.Graphics.ES20
/// Returns the value of the specified uniform variable.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformfv")]
public static
void GetUniform(UInt32 program, Int32 location, Single[] @params)
@@ -5962,6 +8607,118 @@ namespace OpenTK.Graphics.ES20
}
+ ///
+ /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetUniformiv")]
+ public static
+ unsafe void GetUniform(Int32 program, Int32 location, Int32* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetUniformiv((UInt32)program, (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 = "2.0", Version = "2.0", EntryPoint = "glGetUniformiv")]
+ public static
+ void GetUniform(Int32 program, Int32 location, Int32[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetUniformiv")]
+ public static
+ void GetUniform(Int32 program, Int32 location, ref Int32 @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
///
/// Returns the value of a uniform variable
///
@@ -6014,6 +8771,7 @@ namespace OpenTK.Graphics.ES20
/// Returns the value of the specified uniform variable.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformiv")]
public static
void GetUniform(UInt32 program, Int32 location, Int32[] @params)
@@ -6053,6 +8811,7 @@ namespace OpenTK.Graphics.ES20
/// Returns the value of the specified uniform variable.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformiv")]
public static
void GetUniform(UInt32 program, Int32 location, ref Int32 @params)
@@ -6089,6 +8848,35 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformLocation")]
public static
+ int GetUniformLocation(Int32 program, String name)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glGetUniformLocation((UInt32)program, (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 = "2.0", Version = "2.0", EntryPoint = "glGetUniformLocation")]
+ public static
int GetUniformLocation(UInt32 program, String name)
{
#if DEBUG
@@ -6122,6 +8910,119 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
public static
+ void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.All pname, ref Single @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.All)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 = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
+ public static
+ unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.All pname, Single* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.All)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 = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
+ public static
+ void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.All pname, Single[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.All)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 = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
+ public static
void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.All pname, ref Single @params)
{
#if DEBUG
@@ -6193,6 +9094,7 @@ namespace OpenTK.Graphics.ES20
/// Returns the requested data.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
public static
void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.All pname, Single[] @params)
@@ -6214,6 +9116,118 @@ namespace OpenTK.Graphics.ES20
}
+ ///
+ /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
+ public static
+ unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.All pname, Int32* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.All)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 = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
+ public static
+ void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.All pname, Int32[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.All)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 = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
+ public static
+ void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.All pname, ref Int32 @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
///
/// Return a generic vertex attribute parameter
///
@@ -6266,6 +9280,7 @@ namespace OpenTK.Graphics.ES20
/// Returns the requested data.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
public static
void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.All pname, Int32[] @params)
@@ -6305,6 +9320,7 @@ namespace OpenTK.Graphics.ES20
/// Returns the requested data.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
public static
void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.All pname, ref Int32 @params)
@@ -6346,6 +9362,208 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
public static
+ void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] ref T2 pointer)
+ where T2 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.All)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Return the address of the specified generic vertex attribute pointer
+ ///
+ ///
+ ///
+ /// Specifies the generic vertex attribute parameter to be returned.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the pointer value.
+ ///
+ ///
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
+ public static
+ void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[,,] pointer)
+ where T2 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.All)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Return the address of the specified generic vertex attribute pointer
+ ///
+ ///
+ ///
+ /// Specifies the generic vertex attribute parameter to be returned.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the pointer value.
+ ///
+ ///
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
+ public static
+ void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[,] pointer)
+ where T2 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.All)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Return the address of the specified generic vertex attribute pointer
+ ///
+ ///
+ ///
+ /// Specifies the generic vertex attribute parameter to be returned.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the pointer value.
+ ///
+ ///
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
+ public static
+ void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[] pointer)
+ where T2 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.All)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Return the address of the specified generic vertex attribute pointer
+ ///
+ ///
+ ///
+ /// Specifies the generic vertex attribute parameter to be returned.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the pointer value.
+ ///
+ ///
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
+ public static
+ void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.All pname, IntPtr pointer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.All)pname, (IntPtr)pointer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Return the address of the specified generic vertex attribute pointer
+ ///
+ ///
+ ///
+ /// Specifies the generic vertex attribute parameter to be returned.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the pointer value.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
+ public static
void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] ref T2 pointer)
where T2 : struct
{
@@ -6386,6 +9604,7 @@ namespace OpenTK.Graphics.ES20
/// Returns the pointer value.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
public static
void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[,,] pointer)
@@ -6428,6 +9647,7 @@ namespace OpenTK.Graphics.ES20
/// Returns the pointer value.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
public static
void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[,] pointer)
@@ -6470,6 +9690,7 @@ namespace OpenTK.Graphics.ES20
/// Returns the pointer value.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
public static
void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[] pointer)
@@ -6512,6 +9733,7 @@ namespace OpenTK.Graphics.ES20
/// Returns the pointer value.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
public static
void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.All pname, IntPtr pointer)
@@ -6565,6 +9787,30 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsBuffer")]
public static
+ bool IsBuffer(Int32 buffer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glIsBuffer((UInt32)buffer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// 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 = "2.0", Version = "2.0", EntryPoint = "glIsBuffer")]
+ public static
bool IsBuffer(UInt32 buffer)
{
#if DEBUG
@@ -6600,6 +9846,21 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsFramebuffer")]
+ public static
+ bool IsFramebuffer(Int32 framebuffer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glIsFramebuffer((UInt32)framebuffer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsFramebuffer")]
public static
bool IsFramebuffer(UInt32 framebuffer)
@@ -6625,6 +9886,30 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsProgram")]
public static
+ bool IsProgram(Int32 program)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glIsProgram((UInt32)program);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Determines if a name corresponds to a program object
+ ///
+ ///
+ ///
+ /// Specifies a potential program object.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsProgram")]
+ public static
bool IsProgram(UInt32 program)
{
#if DEBUG
@@ -6637,6 +9922,21 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsRenderbuffer")]
+ public static
+ bool IsRenderbuffer(Int32 renderbuffer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glIsRenderbuffer((UInt32)renderbuffer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsRenderbuffer")]
public static
bool IsRenderbuffer(UInt32 renderbuffer)
@@ -6662,6 +9962,30 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsShader")]
public static
+ bool IsShader(Int32 shader)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glIsShader((UInt32)shader);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Determines if a name corresponds to a shader object
+ ///
+ ///
+ ///
+ /// Specifies a potential shader object.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsShader")]
+ public static
bool IsShader(UInt32 shader)
{
#if DEBUG
@@ -6685,6 +10009,30 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsTexture")]
public static
+ bool IsTexture(Int32 texture)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glIsTexture((UInt32)texture);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Determine if a name corresponds to a texture
+ ///
+ ///
+ ///
+ /// Specifies a value that may be the name of a texture.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsTexture")]
+ public static
bool IsTexture(UInt32 texture)
{
#if DEBUG
@@ -6731,6 +10079,30 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glLinkProgram")]
public static
+ void LinkProgram(Int32 program)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glLinkProgram((UInt32)program);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Links a program object
+ ///
+ ///
+ ///
+ /// Specifies the handle of the program object to be linked.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glLinkProgram")]
+ public static
void LinkProgram(UInt32 program)
{
#if DEBUG
@@ -7245,6 +10617,279 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
+ public static
+ void ShaderBinary(Int32 n, Int32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* shaders_ptr = shaders)
+ {
+ GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.All)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
+ }
+ finally
+ {
+ binary_ptr.Free();
+ }
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
+ public static
+ void ShaderBinary(Int32 n, Int32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* shaders_ptr = shaders)
+ {
+ GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.All)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
+ }
+ finally
+ {
+ binary_ptr.Free();
+ }
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
+ public static
+ void ShaderBinary(Int32 n, Int32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* shaders_ptr = shaders)
+ {
+ GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.All)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
+ }
+ finally
+ {
+ binary_ptr.Free();
+ }
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
+ public static
+ void ShaderBinary(Int32 n, Int32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* shaders_ptr = shaders)
+ {
+ GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.All)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
+ }
+ finally
+ {
+ binary_ptr.Free();
+ }
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
+ public static
+ void ShaderBinary(Int32 n, Int32[] shaders, OpenTK.Graphics.ES20.All binaryformat, IntPtr binary, Int32 length)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* shaders_ptr = shaders)
+ {
+ Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.All)binaryformat, (IntPtr)binary, (Int32)length);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
+ public static
+ void ShaderBinary(Int32 n, ref Int32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* shaders_ptr = &shaders)
+ {
+ GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.All)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
+ }
+ finally
+ {
+ binary_ptr.Free();
+ }
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
+ public static
+ void ShaderBinary(Int32 n, ref Int32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* shaders_ptr = &shaders)
+ {
+ GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.All)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
+ }
+ finally
+ {
+ binary_ptr.Free();
+ }
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
+ public static
+ void ShaderBinary(Int32 n, ref Int32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* shaders_ptr = &shaders)
+ {
+ GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.All)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
+ }
+ finally
+ {
+ binary_ptr.Free();
+ }
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
+ public static
+ void ShaderBinary(Int32 n, ref Int32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* shaders_ptr = &shaders)
+ {
+ GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.All)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
+ }
+ finally
+ {
+ binary_ptr.Free();
+ }
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
+ public static
+ void ShaderBinary(Int32 n, ref Int32 shaders, OpenTK.Graphics.ES20.All binaryformat, IntPtr binary, Int32 length)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* shaders_ptr = &shaders)
+ {
+ Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.All)binaryformat, (IntPtr)binary, (Int32)length);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 n, ref UInt32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
@@ -7274,6 +10919,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 n, ref UInt32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
@@ -7303,6 +10949,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 n, ref UInt32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
@@ -7332,6 +10979,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 n, ref UInt32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
@@ -7361,6 +11009,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 n, ref UInt32 shaders, OpenTK.Graphics.ES20.All binaryformat, IntPtr binary, Int32 length)
@@ -7492,6 +11141,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 n, UInt32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
@@ -7521,6 +11171,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 n, UInt32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
@@ -7550,6 +11201,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 n, UInt32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
@@ -7579,6 +11231,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 n, UInt32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
@@ -7608,6 +11261,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
public static
void ShaderBinary(Int32 n, UInt32[] shaders, OpenTK.Graphics.ES20.All binaryformat, IntPtr binary, Int32 length)
@@ -7629,6 +11283,133 @@ namespace OpenTK.Graphics.ES20
}
+ ///
+ /// 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 = "2.0", Version = "2.0", EntryPoint = "glShaderSource")]
+ public static
+ unsafe void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32* length)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// 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 = "2.0", Version = "2.0", EntryPoint = "glShaderSource")]
+ public static
+ void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32[] length)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// 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 = "2.0", Version = "2.0", EntryPoint = "glShaderSource")]
+ public static
+ void ShaderSource(Int32 shader, Int32 count, String[] @string, ref Int32 length)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
///
/// Replaces the source code in a shader object
///
@@ -7691,6 +11472,7 @@ namespace OpenTK.Graphics.ES20
/// Specifies an array of string lengths.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderSource")]
public static
void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32[] length)
@@ -7735,6 +11517,7 @@ namespace OpenTK.Graphics.ES20
/// Specifies an array of string lengths.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderSource")]
public static
void ShaderSource(UInt32 shader, Int32 count, String[] @string, ref Int32 length)
@@ -7776,6 +11559,40 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilFunc")]
public static
+ void StencilFunc(OpenTK.Graphics.ES20.All func, Int32 @ref, Int32 mask)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glStencilFunc((OpenTK.Graphics.ES20.All)func, (Int32)@ref, (UInt32)mask);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Set front and back function and reference value for stencil testing
+ ///
+ ///
+ ///
+ /// 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 = "2.0", Version = "2.0", EntryPoint = "glStencilFunc")]
+ public static
void StencilFunc(OpenTK.Graphics.ES20.All func, Int32 @ref, UInt32 mask)
{
#if DEBUG
@@ -7814,6 +11631,45 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")]
public static
+ void StencilFuncSeparate(OpenTK.Graphics.ES20.All face, OpenTK.Graphics.ES20.All func, Int32 @ref, Int32 mask)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glStencilFuncSeparate((OpenTK.Graphics.ES20.All)face, (OpenTK.Graphics.ES20.All)func, (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 = "2.0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")]
+ public static
void StencilFuncSeparate(OpenTK.Graphics.ES20.All face, OpenTK.Graphics.ES20.All func, Int32 @ref, UInt32 mask)
{
#if DEBUG
@@ -7837,6 +11693,30 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilMask")]
public static
+ void StencilMask(Int32 mask)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glStencilMask((UInt32)mask);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Control the front and back writing of individual bits in the stencil planes
+ ///
+ ///
+ ///
+ /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilMask")]
+ public static
void StencilMask(UInt32 mask)
{
#if DEBUG
@@ -7865,6 +11745,35 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")]
public static
+ void StencilMaskSeparate(OpenTK.Graphics.ES20.All face, Int32 mask)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glStencilMaskSeparate((OpenTK.Graphics.ES20.All)face, (UInt32)mask);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Control the front and/or back writing of individual bits in the stencil planes
+ ///
+ ///
+ ///
+ /// Specifies whether the front and/or back stencil writemask is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")]
+ public static
void StencilMaskSeparate(OpenTK.Graphics.ES20.All face, UInt32 mask)
{
#if DEBUG
@@ -10004,6 +13913,30 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUseProgram")]
public static
+ void UseProgram(Int32 program)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glUseProgram((UInt32)program);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Installs a program object as part of current rendering state
+ ///
+ ///
+ ///
+ /// Specifies the handle of the program object whose executables are to be used as part of current rendering state.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUseProgram")]
+ public static
void UseProgram(UInt32 program)
{
#if DEBUG
@@ -10027,6 +13960,30 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glValidateProgram")]
public static
+ void ValidateProgram(Int32 program)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glValidateProgram((UInt32)program);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ ///
+ /// Validates a program object
+ ///
+ ///
+ ///
+ /// Specifies the handle of the program object to be validated.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glValidateProgram")]
+ public static
void ValidateProgram(UInt32 program)
{
#if DEBUG
@@ -10055,6 +14012,35 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib1f")]
public static
+ void VertexAttrib1(Int32 indx, Single x)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glVertexAttrib1f((UInt32)indx, (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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib1f")]
+ public static
void VertexAttrib1(UInt32 indx, Single x)
{
#if DEBUG
@@ -10068,6 +14054,69 @@ namespace OpenTK.Graphics.ES20
}
+ ///
+ /// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")]
+ public static
+ unsafe void VertexAttrib1(Int32 indx, Single* values)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glVertexAttrib1fv((UInt32)indx, (Single*)values);
+ #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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")]
+ public static
+ void VertexAttrib1(Int32 indx, Single[] values)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* values_ptr = values)
+ {
+ Delegates.glVertexAttrib1fv((UInt32)indx, (Single*)values_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
///
/// Specifies the value of a generic vertex attribute
///
@@ -10110,6 +14159,7 @@ namespace OpenTK.Graphics.ES20
/// Specifies the new values to be used for the specified vertex attribute.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")]
public static
void VertexAttrib1(UInt32 indx, Single[] values)
@@ -10146,6 +14196,35 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib2f")]
public static
+ void VertexAttrib2(Int32 indx, Single x, Single y)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glVertexAttrib2f((UInt32)indx, (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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib2f")]
+ public static
void VertexAttrib2(UInt32 indx, Single x, Single y)
{
#if DEBUG
@@ -10174,6 +14253,104 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")]
public static
+ void VertexAttrib2(Int32 indx, ref Single values)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* values_ptr = &values)
+ {
+ Delegates.glVertexAttrib2fv((UInt32)indx, (Single*)values_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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")]
+ public static
+ unsafe void VertexAttrib2(Int32 indx, Single* values)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glVertexAttrib2fv((UInt32)indx, (Single*)values);
+ #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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")]
+ public static
+ void VertexAttrib2(Int32 indx, Single[] values)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* values_ptr = values)
+ {
+ Delegates.glVertexAttrib2fv((UInt32)indx, (Single*)values_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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")]
+ public static
void VertexAttrib2(UInt32 indx, ref Single values)
{
#if DEBUG
@@ -10235,6 +14412,7 @@ namespace OpenTK.Graphics.ES20
/// Specifies the new values to be used for the specified vertex attribute.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")]
public static
void VertexAttrib2(UInt32 indx, Single[] values)
@@ -10271,6 +14449,35 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib3f")]
public static
+ void VertexAttrib3(Int32 indx, Single x, Single y, Single z)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glVertexAttrib3f((UInt32)indx, (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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib3f")]
+ public static
void VertexAttrib3(UInt32 indx, Single x, Single y, Single z)
{
#if DEBUG
@@ -10299,6 +14506,104 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")]
public static
+ void VertexAttrib3(Int32 indx, ref Single values)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* values_ptr = &values)
+ {
+ Delegates.glVertexAttrib3fv((UInt32)indx, (Single*)values_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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")]
+ public static
+ unsafe void VertexAttrib3(Int32 indx, Single* values)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glVertexAttrib3fv((UInt32)indx, (Single*)values);
+ #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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")]
+ public static
+ void VertexAttrib3(Int32 indx, Single[] values)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* values_ptr = values)
+ {
+ Delegates.glVertexAttrib3fv((UInt32)indx, (Single*)values_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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")]
+ public static
void VertexAttrib3(UInt32 indx, ref Single values)
{
#if DEBUG
@@ -10360,6 +14665,7 @@ namespace OpenTK.Graphics.ES20
/// Specifies the new values to be used for the specified vertex attribute.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")]
public static
void VertexAttrib3(UInt32 indx, Single[] values)
@@ -10396,6 +14702,35 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib4f")]
public static
+ void VertexAttrib4(Int32 indx, Single x, Single y, Single z, Single w)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glVertexAttrib4f((UInt32)indx, (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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib4f")]
+ public static
void VertexAttrib4(UInt32 indx, Single x, Single y, Single z, Single w)
{
#if DEBUG
@@ -10424,6 +14759,104 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")]
public static
+ void VertexAttrib4(Int32 indx, ref Single values)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* values_ptr = &values)
+ {
+ Delegates.glVertexAttrib4fv((UInt32)indx, (Single*)values_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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")]
+ public static
+ unsafe void VertexAttrib4(Int32 indx, Single* values)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glVertexAttrib4fv((UInt32)indx, (Single*)values);
+ #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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")]
+ public static
+ void VertexAttrib4(Int32 indx, Single[] values)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* values_ptr = values)
+ {
+ Delegates.glVertexAttrib4fv((UInt32)indx, (Single*)values_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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")]
+ public static
void VertexAttrib4(UInt32 indx, ref Single values)
{
#if DEBUG
@@ -10485,6 +14918,7 @@ namespace OpenTK.Graphics.ES20
/// Specifies the new values to be used for the specified vertex attribute.
///
///
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")]
public static
void VertexAttrib4(UInt32 indx, Single[] values)
@@ -10541,6 +14975,283 @@ namespace OpenTK.Graphics.ES20
///
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
public static
+ void VertexAttribPointer(Int32 indx, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 ptr)
+ where T5 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.All)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ ptr_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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
+ public static
+ void VertexAttribPointer(Int32 indx, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] ptr)
+ where T5 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.All)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ ptr_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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
+ public static
+ void VertexAttribPointer(Int32 indx, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] ptr)
+ where T5 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.All)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ ptr_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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
+ public static
+ void VertexAttribPointer(Int32 indx, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] ptr)
+ where T5 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.All)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ ptr_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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
+ public static
+ void VertexAttribPointer(Int32 indx, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, IntPtr ptr)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.All)type, (bool)normalized, (Int32)stride, (IntPtr)ptr);
+ #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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
+ public static
void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 ptr)
where T5 : struct
{
@@ -10596,6 +15307,7 @@ namespace OpenTK.Graphics.ES20
/// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
public static
void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] ptr)
@@ -10653,6 +15365,7 @@ namespace OpenTK.Graphics.ES20
/// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
public static
void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] ptr)
@@ -10710,6 +15423,7 @@ namespace OpenTK.Graphics.ES20
/// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
public static
void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] ptr)
@@ -10767,6 +15481,7 @@ namespace OpenTK.Graphics.ES20
/// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
public static
void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, IntPtr ptr)
@@ -10826,6 +15541,47 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFencesNV")]
+ public static
+ void DeleteFences(Int32 n, Int32[] fences)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* fences_ptr = fences)
+ {
+ Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFencesNV")]
+ public static
+ void DeleteFences(Int32 n, ref Int32 fences)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* fences_ptr = &fences)
+ {
+ Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFencesNV")]
public static
void DeleteFences(Int32 n, ref UInt32 fences)
@@ -10861,6 +15617,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFencesNV")]
public static
void DeleteFences(Int32 n, UInt32[] fences)
@@ -10881,6 +15638,21 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFinishFenceNV")]
+ public static
+ void FinishFence(Int32 fence)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFinishFenceNV((UInt32)fence);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFinishFenceNV")]
public static
void FinishFence(UInt32 fence)
@@ -10910,6 +15682,47 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFencesNV")]
+ public static
+ void GenFences(Int32 n, Int32[] fences)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* fences_ptr = fences)
+ {
+ Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFencesNV")]
+ public static
+ void GenFences(Int32 n, ref Int32 fences)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* fences_ptr = &fences)
+ {
+ Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFencesNV")]
public static
void GenFences(Int32 n, ref UInt32 fences)
@@ -10945,6 +15758,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFencesNV")]
public static
void GenFences(Int32 n, UInt32[] fences)
@@ -10965,6 +15779,61 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFenceivNV")]
+ public static
+ unsafe void GetFence(Int32 fence, Int32* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetFenceivNV((UInt32)fence, (Int32*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFenceivNV")]
+ public static
+ void GetFence(Int32 fence, Int32[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetFenceivNV((UInt32)fence, (Int32*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFenceivNV")]
+ public static
+ void GetFence(Int32 fence, ref Int32 @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetFenceivNV((UInt32)fence, (Int32*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
[System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFenceivNV")]
public static
@@ -10980,6 +15849,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFenceivNV")]
public static
void GetFence(UInt32 fence, Int32[] @params)
@@ -11000,6 +15870,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFenceivNV")]
public static
void GetFence(UInt32 fence, ref Int32 @params)
@@ -11020,6 +15891,21 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsFenceNV")]
+ public static
+ bool IsFence(Int32 fence)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glIsFenceNV((UInt32)fence);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsFenceNV")]
public static
bool IsFence(UInt32 fence)
@@ -11034,6 +15920,21 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSetFenceNV")]
+ public static
+ void SetFence(Int32 fence, OpenTK.Graphics.ES20.All condition)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.ES20.All)condition);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSetFenceNV")]
public static
void SetFence(UInt32 fence, OpenTK.Graphics.ES20.All condition)
@@ -11048,6 +15949,21 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTestFenceNV")]
+ public static
+ bool TestFence(Int32 fence)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glTestFenceNV((UInt32)fence);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTestFenceNV")]
public static
bool TestFence(UInt32 fence)
@@ -11879,6 +16795,21 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFramebufferTexture3DOES")]
+ public static
+ void FramebufferTexture3D(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, Int32 texture, Int32 level, Int32 zoffset)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFramebufferTexture3DOES((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.All)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFramebufferTexture3DOES")]
public static
void FramebufferTexture3D(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level, Int32 zoffset)
@@ -11999,6 +16930,399 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")]
+ public static
+ unsafe void GetProgramBinary(Int32 program, Int32 bufSize, Int32* length, OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute] ref T4 binary)
+ where T4 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES20.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ binary_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")]
+ public static
+ unsafe void GetProgramBinary(Int32 program, Int32 bufSize, Int32* length, OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute] T4[,,] binary)
+ where T4 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES20.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ binary_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")]
+ public static
+ unsafe void GetProgramBinary(Int32 program, Int32 bufSize, Int32* length, OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute] T4[,] binary)
+ where T4 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES20.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ binary_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")]
+ public static
+ unsafe void GetProgramBinary(Int32 program, Int32 bufSize, Int32* length, OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute] T4[] binary)
+ where T4 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES20.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ binary_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")]
+ public static
+ unsafe void GetProgramBinary(Int32 program, Int32 bufSize, Int32* length, OpenTK.Graphics.ES20.All* binaryFormat, IntPtr binary)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES20.All*)binaryFormat, (IntPtr)binary);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")]
+ public static
+ void GetProgramBinary(Int32 program, Int32 bufSize, Int32[] length, OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] ref T4 binary)
+ where T4 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = binaryFormat)
+ {
+ GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ binary_ptr.Free();
+ }
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")]
+ public static
+ void GetProgramBinary(Int32 program, Int32 bufSize, Int32[] length, OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] T4[,,] binary)
+ where T4 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = binaryFormat)
+ {
+ GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ binary_ptr.Free();
+ }
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")]
+ public static
+ void GetProgramBinary(Int32 program, Int32 bufSize, Int32[] length, OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] T4[,] binary)
+ where T4 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = binaryFormat)
+ {
+ GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ binary_ptr.Free();
+ }
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")]
+ public static
+ void GetProgramBinary(Int32 program, Int32 bufSize, Int32[] length, OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] T4[] binary)
+ where T4 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = binaryFormat)
+ {
+ GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ binary_ptr.Free();
+ }
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")]
+ public static
+ void GetProgramBinary(Int32 program, Int32 bufSize, Int32[] length, OpenTK.Graphics.ES20.All[] binaryFormat, IntPtr binary)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = binaryFormat)
+ {
+ Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")]
+ public static
+ void GetProgramBinary(Int32 program, Int32 bufSize, ref Int32 length, ref OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] ref T4 binary)
+ where T4 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = &binaryFormat)
+ {
+ GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ binary_ptr.Free();
+ }
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")]
+ public static
+ void GetProgramBinary(Int32 program, Int32 bufSize, ref Int32 length, ref OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T4[,,] binary)
+ where T4 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = &binaryFormat)
+ {
+ GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ binary_ptr.Free();
+ }
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")]
+ public static
+ void GetProgramBinary(Int32 program, Int32 bufSize, ref Int32 length, ref OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T4[,] binary)
+ where T4 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = &binaryFormat)
+ {
+ GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ binary_ptr.Free();
+ }
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")]
+ public static
+ void GetProgramBinary(Int32 program, Int32 bufSize, ref Int32 length, ref OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T4[] binary)
+ where T4 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = &binaryFormat)
+ {
+ GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ binary_ptr.Free();
+ }
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")]
+ public static
+ void GetProgramBinary(Int32 program, Int32 bufSize, ref Int32 length, ref OpenTK.Graphics.ES20.All binaryFormat, IntPtr binary)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = &binaryFormat)
+ {
+ Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
[System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")]
public static
@@ -12110,6 +17434,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")]
public static
void GetProgramBinary(UInt32 program, Int32 bufSize, Int32[] length, OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] ref T4 binary)
@@ -12140,6 +17465,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")]
public static
void GetProgramBinary(UInt32 program, Int32 bufSize, Int32[] length, OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] T4[,,] binary)
@@ -12170,6 +17496,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")]
public static
void GetProgramBinary(UInt32 program, Int32 bufSize, Int32[] length, OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] T4[,] binary)
@@ -12200,6 +17527,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")]
public static
void GetProgramBinary(UInt32 program, Int32 bufSize, Int32[] length, OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] T4[] binary)
@@ -12230,6 +17558,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")]
public static
void GetProgramBinary(UInt32 program, Int32 bufSize, Int32[] length, OpenTK.Graphics.ES20.All[] binaryFormat, IntPtr binary)
@@ -12251,6 +17580,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")]
public static
void GetProgramBinary(UInt32 program, Int32 bufSize, ref Int32 length, ref OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] ref T4 binary)
@@ -12281,6 +17611,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")]
public static
void GetProgramBinary(UInt32 program, Int32 bufSize, ref Int32 length, ref OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T4[,,] binary)
@@ -12311,6 +17642,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")]
public static
void GetProgramBinary(UInt32 program, Int32 bufSize, ref Int32 length, ref OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T4[,] binary)
@@ -12341,6 +17673,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")]
public static
void GetProgramBinary(UInt32 program, Int32 bufSize, ref Int32 length, ref OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T4[] binary)
@@ -12371,6 +17704,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")]
public static
void GetProgramBinary(UInt32 program, Int32 bufSize, ref Int32 length, ref OpenTK.Graphics.ES20.All binaryFormat, IntPtr binary)
@@ -12421,6 +17755,113 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glProgramBinaryOES")]
+ public static
+ void ProgramBinary(Int32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] ref T2 binary, Int32 length)
+ where T2 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
+ }
+ finally
+ {
+ binary_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glProgramBinaryOES")]
+ public static
+ void ProgramBinary(Int32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T2[,,] binary, Int32 length)
+ where T2 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
+ }
+ finally
+ {
+ binary_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glProgramBinaryOES")]
+ public static
+ void ProgramBinary(Int32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T2[,] binary, Int32 length)
+ where T2 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
+ }
+ finally
+ {
+ binary_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glProgramBinaryOES")]
+ public static
+ void ProgramBinary(Int32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T2[] binary, Int32 length)
+ where T2 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
+ }
+ finally
+ {
+ binary_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glProgramBinaryOES")]
+ public static
+ void ProgramBinary(Int32 program, OpenTK.Graphics.ES20.All binaryFormat, IntPtr binary, Int32 length)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary, (Int32)length);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glProgramBinaryOES")]
public static
void ProgramBinary(UInt32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] ref T2 binary, Int32 length)
@@ -12444,6 +17885,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glProgramBinaryOES")]
public static
void ProgramBinary(UInt32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T2[,,] binary, Int32 length)
@@ -12467,6 +17909,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glProgramBinaryOES")]
public static
void ProgramBinary(UInt32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T2[,] binary, Int32 length)
@@ -12490,6 +17933,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glProgramBinaryOES")]
public static
void ProgramBinary(UInt32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T2[] binary, Int32 length)
@@ -12513,6 +17957,7 @@ namespace OpenTK.Graphics.ES20
#endif
}
+ [System.CLSCompliant(false)]
[AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glProgramBinaryOES")]
public static
void ProgramBinary(UInt32 program, OpenTK.Graphics.ES20.All binaryFormat, IntPtr binary, Int32 length)
diff --git a/Source/OpenTK/Graphics/OpenGL/GL.cs b/Source/OpenTK/Graphics/OpenGL/GL.cs
index 81e690ab..19205ca1 100644
--- a/Source/OpenTK/Graphics/OpenGL/GL.cs
+++ b/Source/OpenTK/Graphics/OpenGL/GL.cs
@@ -1,144350 +1,144350 @@
-#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.OpenGL
-{
- 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