Regenerated bindings to fix CLSCompliance issues.
This commit is contained in:
parent
51179c6518
commit
86df4cf0fd
11 changed files with 174407 additions and 167638 deletions
|
@ -118,6 +118,35 @@ namespace OpenTK.Graphics.ES10
|
|||
/// </param>
|
||||
[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
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Bind a named texture to a texturing target
|
||||
/// </summary>
|
||||
/// <param name="target">
|
||||
/// <para>
|
||||
/// 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.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="texture">
|
||||
/// <para>
|
||||
/// Specifies the name of a texture.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[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
|
|||
/// </param>
|
||||
[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
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Clear buffers to preset values
|
||||
/// </summary>
|
||||
/// <param name="mask">
|
||||
/// <para>
|
||||
/// 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.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[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
|
|||
/// </param>
|
||||
[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
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Delete named textures
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of textures to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="textures">
|
||||
/// <para>
|
||||
/// Specifies an array of textures to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[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
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Delete named textures
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of textures to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="textures">
|
||||
/// <para>
|
||||
/// Specifies an array of textures to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[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.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[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
|
|||
/// </param>
|
||||
[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
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Generate texture names
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of texture names to be generated.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="textures">
|
||||
/// <para>
|
||||
/// Specifies an array in which the generated texture names are stored.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[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
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Generate texture names
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of texture names to be generated.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="textures">
|
||||
/// <para>
|
||||
/// Specifies an array in which the generated texture names are stored.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[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.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[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
|
|||
/// </param>
|
||||
[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
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Set front and back function and reference value for stencil testing
|
||||
/// </summary>
|
||||
/// <param name="func">
|
||||
/// <para>
|
||||
/// 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.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="ref">
|
||||
/// <para>
|
||||
/// 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.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="mask">
|
||||
/// <para>
|
||||
/// 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.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[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
|
|||
/// </param>
|
||||
[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
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Control the front and back writing of individual bits in the stencil planes
|
||||
/// </summary>
|
||||
/// <param name="mask">
|
||||
/// <para>
|
||||
/// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glStencilMask")]
|
||||
public static
|
||||
void StencilMask(UInt32 mask)
|
||||
{
|
||||
#if DEBUG
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue