mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-22 21:51:08 +00:00
Updated convenience overloads
This commit is contained in:
parent
d0e025b86d
commit
c66b22a1f3
|
@ -2616,6 +2616,71 @@ namespace OpenTK.Graphics.ES11
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v1.0]
|
||||
/// Delete named buffer objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of buffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="buffers">
|
||||
/// <para>
|
||||
/// Specifies an array of buffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteBuffers")]
|
||||
public static
|
||||
void DeleteBuffer(Int32 buffers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* buffers_ptr = (UInt32*)&buffers;
|
||||
Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v1.0]
|
||||
/// Delete named buffer objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of buffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="buffers">
|
||||
/// <para>
|
||||
/// Specifies an array of buffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteBuffers")]
|
||||
public static
|
||||
void DeleteBuffer(UInt32 buffers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* buffers_ptr = (UInt32*)&buffers;
|
||||
Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v1.0]
|
||||
/// Delete named buffer objects
|
||||
/// </summary>
|
||||
|
@ -2806,6 +2871,71 @@ namespace OpenTK.Graphics.ES11
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v1.0]
|
||||
/// 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 = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteTextures")]
|
||||
public static
|
||||
void DeleteTexture(Int32 textures)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* textures_ptr = (UInt32*)&textures;
|
||||
Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v1.0]
|
||||
/// 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 = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteTextures")]
|
||||
public static
|
||||
void DeleteTexture(UInt32 textures)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* textures_ptr = (UInt32*)&textures;
|
||||
Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v1.0]
|
||||
/// Delete named textures
|
||||
/// </summary>
|
||||
|
@ -3937,8 +4067,8 @@ namespace OpenTK.Graphics.ES11
|
|||
{
|
||||
const Int32 n = 1;
|
||||
Int32 retval;
|
||||
Int32* buffers = &retval;
|
||||
Delegates.glGenBuffers((Int32)n, (UInt32*)buffers);
|
||||
Int32* buffers_ptr = &retval;
|
||||
Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -4163,8 +4293,8 @@ namespace OpenTK.Graphics.ES11
|
|||
{
|
||||
const Int32 n = 1;
|
||||
Int32 retval;
|
||||
Int32* textures = &retval;
|
||||
Delegates.glGenTextures((Int32)n, (UInt32*)textures);
|
||||
Int32* textures_ptr = &retval;
|
||||
Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -4376,8 +4506,8 @@ namespace OpenTK.Graphics.ES11
|
|||
unsafe
|
||||
{
|
||||
bool retval;
|
||||
bool* data = &retval;
|
||||
Delegates.glGetBooleanv((OpenTK.Graphics.ES11.GetPName)pname, (bool*)data);
|
||||
bool* data_ptr = &retval;
|
||||
Delegates.glGetBooleanv((OpenTK.Graphics.ES11.GetPName)pname, (bool*)data_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -4730,8 +4860,8 @@ namespace OpenTK.Graphics.ES11
|
|||
unsafe
|
||||
{
|
||||
int retval;
|
||||
int* @params = &retval;
|
||||
Delegates.glGetFixedv((OpenTK.Graphics.ES11.All)pname, (int*)@params);
|
||||
int* @params_ptr = &retval;
|
||||
Delegates.glGetFixedv((OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -4810,8 +4940,8 @@ namespace OpenTK.Graphics.ES11
|
|||
unsafe
|
||||
{
|
||||
Single retval;
|
||||
Single* data = &retval;
|
||||
Delegates.glGetFloatv((OpenTK.Graphics.ES11.GetPName)pname, (Single*)data);
|
||||
Single* data_ptr = &retval;
|
||||
Delegates.glGetFloatv((OpenTK.Graphics.ES11.GetPName)pname, (Single*)data_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -4890,8 +5020,8 @@ namespace OpenTK.Graphics.ES11
|
|||
unsafe
|
||||
{
|
||||
Int32 retval;
|
||||
Int32* data = &retval;
|
||||
Delegates.glGetIntegerv((OpenTK.Graphics.ES11.GetPName)pname, (Int32*)data);
|
||||
Int32* data_ptr = &retval;
|
||||
Delegates.glGetIntegerv((OpenTK.Graphics.ES11.GetPName)pname, (Int32*)data_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
|
|
@ -5825,6 +5825,71 @@ namespace OpenTK.Graphics.ES20
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v2.0 and ES_VERSION_2_0]
|
||||
/// Delete named buffer objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of buffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="buffers">
|
||||
/// <para>
|
||||
/// Specifies an array of buffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
|
||||
public static
|
||||
void DeleteBuffer(Int32 buffers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* buffers_ptr = (UInt32*)&buffers;
|
||||
Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v2.0 and ES_VERSION_2_0]
|
||||
/// Delete named buffer objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of buffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="buffers">
|
||||
/// <para>
|
||||
/// Specifies an array of buffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
|
||||
public static
|
||||
void DeleteBuffer(UInt32 buffers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* buffers_ptr = (UInt32*)&buffers;
|
||||
Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v2.0 and ES_VERSION_2_0]
|
||||
/// Delete named buffer objects
|
||||
/// </summary>
|
||||
|
@ -6015,6 +6080,71 @@ namespace OpenTK.Graphics.ES20
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v2.0 and ES_VERSION_2_0]
|
||||
/// Delete framebuffer objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of framebuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="framebuffers">
|
||||
/// <para>
|
||||
/// A pointer to an array containing n framebuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
|
||||
public static
|
||||
void DeleteFramebuffer(Int32 framebuffers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* framebuffers_ptr = (UInt32*)&framebuffers;
|
||||
Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v2.0 and ES_VERSION_2_0]
|
||||
/// Delete framebuffer objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of framebuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="framebuffers">
|
||||
/// <para>
|
||||
/// A pointer to an array containing n framebuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
|
||||
public static
|
||||
void DeleteFramebuffer(UInt32 framebuffers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* framebuffers_ptr = (UInt32*)&framebuffers;
|
||||
Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v2.0 and ES_VERSION_2_0]
|
||||
/// Delete framebuffer objects
|
||||
/// </summary>
|
||||
|
@ -6250,6 +6380,71 @@ namespace OpenTK.Graphics.ES20
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v2.0 and ES_VERSION_2_0]
|
||||
/// Delete renderbuffer objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of renderbuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="renderbuffers">
|
||||
/// <para>
|
||||
/// A pointer to an array containing n renderbuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
|
||||
public static
|
||||
void DeleteRenderbuffer(Int32 renderbuffers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers;
|
||||
Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v2.0 and ES_VERSION_2_0]
|
||||
/// Delete renderbuffer objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of renderbuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="renderbuffers">
|
||||
/// <para>
|
||||
/// A pointer to an array containing n renderbuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
|
||||
public static
|
||||
void DeleteRenderbuffer(UInt32 renderbuffers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers;
|
||||
Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v2.0 and ES_VERSION_2_0]
|
||||
/// Delete renderbuffer objects
|
||||
/// </summary>
|
||||
|
@ -6485,6 +6680,71 @@ namespace OpenTK.Graphics.ES20
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v2.0 and ES_VERSION_2_0]
|
||||
/// 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 = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")]
|
||||
public static
|
||||
void DeleteTexture(Int32 textures)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* textures_ptr = (UInt32*)&textures;
|
||||
Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v2.0 and ES_VERSION_2_0]
|
||||
/// 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 = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")]
|
||||
public static
|
||||
void DeleteTexture(UInt32 textures)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* textures_ptr = (UInt32*)&textures;
|
||||
Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v2.0 and ES_VERSION_2_0]
|
||||
/// Delete named textures
|
||||
/// </summary>
|
||||
|
@ -7614,8 +7874,8 @@ namespace OpenTK.Graphics.ES20
|
|||
{
|
||||
const Int32 n = 1;
|
||||
Int32 retval;
|
||||
Int32* buffers = &retval;
|
||||
Delegates.glGenBuffers((Int32)n, (UInt32*)buffers);
|
||||
Int32* buffers_ptr = &retval;
|
||||
Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -7862,8 +8122,8 @@ namespace OpenTK.Graphics.ES20
|
|||
{
|
||||
const Int32 n = 1;
|
||||
Int32 retval;
|
||||
Int32* framebuffers = &retval;
|
||||
Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers);
|
||||
Int32* framebuffers_ptr = &retval;
|
||||
Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -8088,8 +8348,8 @@ namespace OpenTK.Graphics.ES20
|
|||
{
|
||||
const Int32 n = 1;
|
||||
Int32 retval;
|
||||
Int32* renderbuffers = &retval;
|
||||
Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers);
|
||||
Int32* renderbuffers_ptr = &retval;
|
||||
Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -8314,8 +8574,8 @@ namespace OpenTK.Graphics.ES20
|
|||
{
|
||||
const Int32 n = 1;
|
||||
Int32 retval;
|
||||
Int32* textures = &retval;
|
||||
Delegates.glGenTextures((Int32)n, (UInt32*)textures);
|
||||
Int32* textures_ptr = &retval;
|
||||
Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -9308,8 +9568,8 @@ namespace OpenTK.Graphics.ES20
|
|||
unsafe
|
||||
{
|
||||
bool retval;
|
||||
bool* data = &retval;
|
||||
Delegates.glGetBooleanv((OpenTK.Graphics.ES20.GetPName)pname, (bool*)data);
|
||||
bool* data_ptr = &retval;
|
||||
Delegates.glGetBooleanv((OpenTK.Graphics.ES20.GetPName)pname, (bool*)data_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -9906,8 +10166,8 @@ namespace OpenTK.Graphics.ES20
|
|||
unsafe
|
||||
{
|
||||
Single retval;
|
||||
Single* data = &retval;
|
||||
Delegates.glGetFloatv((OpenTK.Graphics.ES20.GetPName)pname, (Single*)data);
|
||||
Single* data_ptr = &retval;
|
||||
Delegates.glGetFloatv((OpenTK.Graphics.ES20.GetPName)pname, (Single*)data_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -10111,8 +10371,8 @@ namespace OpenTK.Graphics.ES20
|
|||
unsafe
|
||||
{
|
||||
Int32 retval;
|
||||
Int32* data = &retval;
|
||||
Delegates.glGetIntegerv((OpenTK.Graphics.ES20.GetPName)pname, (Int32*)data);
|
||||
Int32* data_ptr = &retval;
|
||||
Delegates.glGetIntegerv((OpenTK.Graphics.ES20.GetPName)pname, (Int32*)data_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
|
|
@ -362,15 +362,6 @@ namespace OpenTK.Graphics.ES20
|
|||
|
||||
#endregion
|
||||
|
||||
#region public static void DeleteTexture(int id)
|
||||
|
||||
public static void DeleteTexture(int id)
|
||||
{
|
||||
DeleteTextures(1, ref id);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Get[Float|Double]
|
||||
|
||||
public static void GetFloat(GetPName pname, out Vector2 vector)
|
||||
|
|
|
@ -6593,6 +6593,71 @@ namespace OpenTK.Graphics.ES30
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v2.0 and ES_VERSION_2_0]
|
||||
/// Delete named buffer objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of buffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="buffers">
|
||||
/// <para>
|
||||
/// Specifies an array of buffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
|
||||
public static
|
||||
void DeleteBuffer(Int32 buffers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* buffers_ptr = (UInt32*)&buffers;
|
||||
Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v2.0 and ES_VERSION_2_0]
|
||||
/// Delete named buffer objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of buffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="buffers">
|
||||
/// <para>
|
||||
/// Specifies an array of buffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
|
||||
public static
|
||||
void DeleteBuffer(UInt32 buffers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* buffers_ptr = (UInt32*)&buffers;
|
||||
Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v2.0 and ES_VERSION_2_0]
|
||||
/// Delete named buffer objects
|
||||
/// </summary>
|
||||
|
@ -6783,6 +6848,71 @@ namespace OpenTK.Graphics.ES30
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v2.0 and ES_VERSION_2_0]
|
||||
/// Delete framebuffer objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of framebuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="framebuffers">
|
||||
/// <para>
|
||||
/// A pointer to an array containing n framebuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
|
||||
public static
|
||||
void DeleteFramebuffer(Int32 framebuffers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* framebuffers_ptr = (UInt32*)&framebuffers;
|
||||
Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v2.0 and ES_VERSION_2_0]
|
||||
/// Delete framebuffer objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of framebuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="framebuffers">
|
||||
/// <para>
|
||||
/// A pointer to an array containing n framebuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
|
||||
public static
|
||||
void DeleteFramebuffer(UInt32 framebuffers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* framebuffers_ptr = (UInt32*)&framebuffers;
|
||||
Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v2.0 and ES_VERSION_2_0]
|
||||
/// Delete framebuffer objects
|
||||
/// </summary>
|
||||
|
@ -7018,6 +7148,71 @@ namespace OpenTK.Graphics.ES30
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ES_VERSION_3_0]
|
||||
/// Delete named query objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of query objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="ids">
|
||||
/// <para>
|
||||
/// Specifies an array of query objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteQueries")]
|
||||
public static
|
||||
void DeleteQuery(Int32 ids)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* ids_ptr = (UInt32*)&ids;
|
||||
Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ES_VERSION_3_0]
|
||||
/// Delete named query objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of query objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="ids">
|
||||
/// <para>
|
||||
/// Specifies an array of query objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteQueries")]
|
||||
public static
|
||||
void DeleteQuery(UInt32 ids)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* ids_ptr = (UInt32*)&ids;
|
||||
Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ES_VERSION_3_0]
|
||||
/// Delete named query objects
|
||||
/// </summary>
|
||||
|
@ -7208,6 +7403,71 @@ namespace OpenTK.Graphics.ES30
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v2.0 and ES_VERSION_2_0]
|
||||
/// Delete renderbuffer objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of renderbuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="renderbuffers">
|
||||
/// <para>
|
||||
/// A pointer to an array containing n renderbuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
|
||||
public static
|
||||
void DeleteRenderbuffer(Int32 renderbuffers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers;
|
||||
Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v2.0 and ES_VERSION_2_0]
|
||||
/// Delete renderbuffer objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of renderbuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="renderbuffers">
|
||||
/// <para>
|
||||
/// A pointer to an array containing n renderbuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
|
||||
public static
|
||||
void DeleteRenderbuffer(UInt32 renderbuffers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers;
|
||||
Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v2.0 and ES_VERSION_2_0]
|
||||
/// Delete renderbuffer objects
|
||||
/// </summary>
|
||||
|
@ -7398,6 +7658,71 @@ namespace OpenTK.Graphics.ES30
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ES_VERSION_3_0]
|
||||
/// Delete named sampler objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of sampler objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="samplers">
|
||||
/// <para>
|
||||
/// Specifies an array of sampler objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteSamplers")]
|
||||
public static
|
||||
void DeleteSampler(Int32 samplers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 count = 1;
|
||||
UInt32* samplers_ptr = (UInt32*)&samplers;
|
||||
Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ES_VERSION_3_0]
|
||||
/// Delete named sampler objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of sampler objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="samplers">
|
||||
/// <para>
|
||||
/// Specifies an array of sampler objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteSamplers")]
|
||||
public static
|
||||
void DeleteSampler(UInt32 samplers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 count = 1;
|
||||
UInt32* samplers_ptr = (UInt32*)&samplers;
|
||||
Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ES_VERSION_3_0]
|
||||
/// Delete named sampler objects
|
||||
/// </summary>
|
||||
|
@ -7655,6 +7980,71 @@ namespace OpenTK.Graphics.ES30
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v2.0 and ES_VERSION_2_0]
|
||||
/// 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 = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")]
|
||||
public static
|
||||
void DeleteTexture(Int32 textures)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* textures_ptr = (UInt32*)&textures;
|
||||
Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v2.0 and ES_VERSION_2_0]
|
||||
/// 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 = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")]
|
||||
public static
|
||||
void DeleteTexture(UInt32 textures)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* textures_ptr = (UInt32*)&textures;
|
||||
Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v2.0 and ES_VERSION_2_0]
|
||||
/// Delete named textures
|
||||
/// </summary>
|
||||
|
@ -7845,6 +8235,71 @@ namespace OpenTK.Graphics.ES30
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ES_VERSION_3_0]
|
||||
/// Delete transform feedback objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of transform feedback objects to delete.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="ids">
|
||||
/// <para>
|
||||
/// Specifies an array of names of transform feedback objects to delete.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteTransformFeedbacks")]
|
||||
public static
|
||||
void DeleteTransformFeedback(Int32 ids)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* ids_ptr = (UInt32*)&ids;
|
||||
Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ES_VERSION_3_0]
|
||||
/// Delete transform feedback objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of transform feedback objects to delete.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="ids">
|
||||
/// <para>
|
||||
/// Specifies an array of names of transform feedback objects to delete.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteTransformFeedbacks")]
|
||||
public static
|
||||
void DeleteTransformFeedback(UInt32 ids)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* ids_ptr = (UInt32*)&ids;
|
||||
Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ES_VERSION_3_0]
|
||||
/// Delete transform feedback objects
|
||||
/// </summary>
|
||||
|
@ -8035,6 +8490,71 @@ namespace OpenTK.Graphics.ES30
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ES_VERSION_3_0]
|
||||
/// Delete vertex array objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of vertex array objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="arrays">
|
||||
/// <para>
|
||||
/// Specifies the address of an array containing the n names of the objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")]
|
||||
public static
|
||||
void DeleteVertexArray(Int32 arrays)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* arrays_ptr = (UInt32*)&arrays;
|
||||
Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ES_VERSION_3_0]
|
||||
/// Delete vertex array objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of vertex array objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="arrays">
|
||||
/// <para>
|
||||
/// Specifies the address of an array containing the n names of the objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")]
|
||||
public static
|
||||
void DeleteVertexArray(UInt32 arrays)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* arrays_ptr = (UInt32*)&arrays;
|
||||
Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ES_VERSION_3_0]
|
||||
/// Delete vertex array objects
|
||||
/// </summary>
|
||||
|
@ -10011,8 +10531,8 @@ namespace OpenTK.Graphics.ES30
|
|||
{
|
||||
const Int32 n = 1;
|
||||
Int32 retval;
|
||||
Int32* buffers = &retval;
|
||||
Delegates.glGenBuffers((Int32)n, (UInt32*)buffers);
|
||||
Int32* buffers_ptr = &retval;
|
||||
Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -10259,8 +10779,8 @@ namespace OpenTK.Graphics.ES30
|
|||
{
|
||||
const Int32 n = 1;
|
||||
Int32 retval;
|
||||
Int32* framebuffers = &retval;
|
||||
Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers);
|
||||
Int32* framebuffers_ptr = &retval;
|
||||
Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -10485,8 +11005,8 @@ namespace OpenTK.Graphics.ES30
|
|||
{
|
||||
const Int32 n = 1;
|
||||
Int32 retval;
|
||||
Int32* ids = &retval;
|
||||
Delegates.glGenQueries((Int32)n, (UInt32*)ids);
|
||||
Int32* ids_ptr = &retval;
|
||||
Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -10711,8 +11231,8 @@ namespace OpenTK.Graphics.ES30
|
|||
{
|
||||
const Int32 n = 1;
|
||||
Int32 retval;
|
||||
Int32* renderbuffers = &retval;
|
||||
Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers);
|
||||
Int32* renderbuffers_ptr = &retval;
|
||||
Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -10937,8 +11457,8 @@ namespace OpenTK.Graphics.ES30
|
|||
{
|
||||
const Int32 count = 1;
|
||||
Int32 retval;
|
||||
Int32* samplers = &retval;
|
||||
Delegates.glGenSamplers((Int32)count, (UInt32*)samplers);
|
||||
Int32* samplers_ptr = &retval;
|
||||
Delegates.glGenSamplers((Int32)count, (UInt32*)samplers_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -11163,8 +11683,8 @@ namespace OpenTK.Graphics.ES30
|
|||
{
|
||||
const Int32 n = 1;
|
||||
Int32 retval;
|
||||
Int32* textures = &retval;
|
||||
Delegates.glGenTextures((Int32)n, (UInt32*)textures);
|
||||
Int32* textures_ptr = &retval;
|
||||
Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -11389,8 +11909,8 @@ namespace OpenTK.Graphics.ES30
|
|||
{
|
||||
const Int32 n = 1;
|
||||
Int32 retval;
|
||||
Int32* ids = &retval;
|
||||
Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids);
|
||||
Int32* ids_ptr = &retval;
|
||||
Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -11615,8 +12135,8 @@ namespace OpenTK.Graphics.ES30
|
|||
{
|
||||
const Int32 n = 1;
|
||||
Int32 retval;
|
||||
Int32* arrays = &retval;
|
||||
Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays);
|
||||
Int32* arrays_ptr = &retval;
|
||||
Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -13332,8 +13852,8 @@ namespace OpenTK.Graphics.ES30
|
|||
unsafe
|
||||
{
|
||||
bool retval;
|
||||
bool* data = &retval;
|
||||
Delegates.glGetBooleanv((OpenTK.Graphics.ES30.GetPName)pname, (bool*)data);
|
||||
bool* data_ptr = &retval;
|
||||
Delegates.glGetBooleanv((OpenTK.Graphics.ES30.GetPName)pname, (bool*)data_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -14237,8 +14757,8 @@ namespace OpenTK.Graphics.ES30
|
|||
unsafe
|
||||
{
|
||||
Single retval;
|
||||
Single* data = &retval;
|
||||
Delegates.glGetFloatv((OpenTK.Graphics.ES30.GetPName)pname, (Single*)data);
|
||||
Single* data_ptr = &retval;
|
||||
Delegates.glGetFloatv((OpenTK.Graphics.ES30.GetPName)pname, (Single*)data_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -14617,8 +15137,8 @@ namespace OpenTK.Graphics.ES30
|
|||
unsafe
|
||||
{
|
||||
Int64 retval;
|
||||
Int64* data = &retval;
|
||||
Delegates.glGetInteger64v((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)data);
|
||||
Int64* data_ptr = &retval;
|
||||
Delegates.glGetInteger64v((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)data_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -14817,8 +15337,8 @@ namespace OpenTK.Graphics.ES30
|
|||
unsafe
|
||||
{
|
||||
Int32 retval;
|
||||
Int32* data = &retval;
|
||||
Delegates.glGetIntegerv((OpenTK.Graphics.ES30.GetPName)pname, (Int32*)data);
|
||||
Int32* data_ptr = &retval;
|
||||
Delegates.glGetIntegerv((OpenTK.Graphics.ES30.GetPName)pname, (Int32*)data_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
|
|
@ -353,15 +353,6 @@ namespace OpenTK.Graphics.ES30
|
|||
|
||||
#endregion
|
||||
|
||||
#region public static void DeleteTexture(int id)
|
||||
|
||||
public static void DeleteTexture(int id)
|
||||
{
|
||||
DeleteTextures(1, ref id);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Get[Float|Double]
|
||||
|
||||
public static void GetFloat(GetPName pname, out Vector2 vector)
|
||||
|
|
|
@ -51201,6 +51201,71 @@ namespace OpenTK.Graphics.OpenGL
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v1.5]
|
||||
/// Delete named buffer objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of buffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="buffers">
|
||||
/// <para>
|
||||
/// Specifies an array of buffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")]
|
||||
public static
|
||||
void DeleteBuffer(Int32 buffers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* buffers_ptr = (UInt32*)&buffers;
|
||||
Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v1.5]
|
||||
/// Delete named buffer objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of buffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="buffers">
|
||||
/// <para>
|
||||
/// Specifies an array of buffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")]
|
||||
public static
|
||||
void DeleteBuffer(UInt32 buffers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* buffers_ptr = (UInt32*)&buffers;
|
||||
Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v1.5]
|
||||
/// Delete named buffer objects
|
||||
/// </summary>
|
||||
|
@ -51391,6 +51456,71 @@ namespace OpenTK.Graphics.OpenGL
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ARB_framebuffer_object|VERSION_3_0]
|
||||
/// Delete framebuffer objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of framebuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="framebuffers">
|
||||
/// <para>
|
||||
/// A pointer to an array containing n framebuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")]
|
||||
public static
|
||||
void DeleteFramebuffer(Int32 framebuffers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* framebuffers_ptr = (UInt32*)&framebuffers;
|
||||
Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ARB_framebuffer_object|VERSION_3_0]
|
||||
/// Delete framebuffer objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of framebuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="framebuffers">
|
||||
/// <para>
|
||||
/// A pointer to an array containing n framebuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")]
|
||||
public static
|
||||
void DeleteFramebuffer(UInt32 framebuffers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* framebuffers_ptr = (UInt32*)&framebuffers;
|
||||
Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ARB_framebuffer_object|VERSION_3_0]
|
||||
/// Delete framebuffer objects
|
||||
/// </summary>
|
||||
|
@ -51681,6 +51811,71 @@ namespace OpenTK.Graphics.OpenGL
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1]
|
||||
/// Delete program pipeline objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of program pipeline objects to delete.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="pipelines">
|
||||
/// <para>
|
||||
/// Specifies an array of names of program pipeline objects to delete.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")]
|
||||
public static
|
||||
void DeleteProgramPipeline(Int32 pipelines)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* pipelines_ptr = (UInt32*)&pipelines;
|
||||
Delegates.glDeleteProgramPipelines((Int32)n, (UInt32*)pipelines_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1]
|
||||
/// Delete program pipeline objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of program pipeline objects to delete.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="pipelines">
|
||||
/// <para>
|
||||
/// Specifies an array of names of program pipeline objects to delete.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")]
|
||||
public static
|
||||
void DeleteProgramPipeline(UInt32 pipelines)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* pipelines_ptr = (UInt32*)&pipelines;
|
||||
Delegates.glDeleteProgramPipelines((Int32)n, (UInt32*)pipelines_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1]
|
||||
/// Delete program pipeline objects
|
||||
/// </summary>
|
||||
|
@ -51871,6 +52066,71 @@ namespace OpenTK.Graphics.OpenGL
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v1.5]
|
||||
/// Delete named query objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of query objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="ids">
|
||||
/// <para>
|
||||
/// Specifies an array of query objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")]
|
||||
public static
|
||||
void DeleteQuery(Int32 ids)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* ids_ptr = (UInt32*)&ids;
|
||||
Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v1.5]
|
||||
/// Delete named query objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of query objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="ids">
|
||||
/// <para>
|
||||
/// Specifies an array of query objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")]
|
||||
public static
|
||||
void DeleteQuery(UInt32 ids)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* ids_ptr = (UInt32*)&ids;
|
||||
Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v1.5]
|
||||
/// Delete named query objects
|
||||
/// </summary>
|
||||
|
@ -52061,6 +52321,71 @@ namespace OpenTK.Graphics.OpenGL
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ARB_framebuffer_object|VERSION_3_0]
|
||||
/// Delete renderbuffer objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of renderbuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="renderbuffers">
|
||||
/// <para>
|
||||
/// A pointer to an array containing n renderbuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")]
|
||||
public static
|
||||
void DeleteRenderbuffer(Int32 renderbuffers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers;
|
||||
Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ARB_framebuffer_object|VERSION_3_0]
|
||||
/// Delete renderbuffer objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of renderbuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="renderbuffers">
|
||||
/// <para>
|
||||
/// A pointer to an array containing n renderbuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")]
|
||||
public static
|
||||
void DeleteRenderbuffer(UInt32 renderbuffers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers;
|
||||
Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ARB_framebuffer_object|VERSION_3_0]
|
||||
/// Delete renderbuffer objects
|
||||
/// </summary>
|
||||
|
@ -52251,6 +52576,71 @@ namespace OpenTK.Graphics.OpenGL
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.3 and ARB_sampler_objects|VERSION_3_3]
|
||||
/// Delete named sampler objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of sampler objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="samplers">
|
||||
/// <para>
|
||||
/// Specifies an array of sampler objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")]
|
||||
public static
|
||||
void DeleteSampler(Int32 samplers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 count = 1;
|
||||
UInt32* samplers_ptr = (UInt32*)&samplers;
|
||||
Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.3 and ARB_sampler_objects|VERSION_3_3]
|
||||
/// Delete named sampler objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of sampler objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="samplers">
|
||||
/// <para>
|
||||
/// Specifies an array of sampler objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")]
|
||||
public static
|
||||
void DeleteSampler(UInt32 samplers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 count = 1;
|
||||
UInt32* samplers_ptr = (UInt32*)&samplers;
|
||||
Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.3 and ARB_sampler_objects|VERSION_3_3]
|
||||
/// Delete named sampler objects
|
||||
/// </summary>
|
||||
|
@ -52508,6 +52898,71 @@ namespace OpenTK.Graphics.OpenGL
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v1.1]
|
||||
/// 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 = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")]
|
||||
public static
|
||||
void DeleteTexture(Int32 textures)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* textures_ptr = (UInt32*)&textures;
|
||||
Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v1.1]
|
||||
/// 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 = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")]
|
||||
public static
|
||||
void DeleteTexture(UInt32 textures)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* textures_ptr = (UInt32*)&textures;
|
||||
Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v1.1]
|
||||
/// Delete named textures
|
||||
/// </summary>
|
||||
|
@ -52698,6 +53153,71 @@ namespace OpenTK.Graphics.OpenGL
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v4.0 and ARB_transform_feedback2|VERSION_4_0]
|
||||
/// Delete transform feedback objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of transform feedback objects to delete.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="ids">
|
||||
/// <para>
|
||||
/// Specifies an array of names of transform feedback objects to delete.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")]
|
||||
public static
|
||||
void DeleteTransformFeedback(Int32 ids)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* ids_ptr = (UInt32*)&ids;
|
||||
Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v4.0 and ARB_transform_feedback2|VERSION_4_0]
|
||||
/// Delete transform feedback objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of transform feedback objects to delete.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="ids">
|
||||
/// <para>
|
||||
/// Specifies an array of names of transform feedback objects to delete.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")]
|
||||
public static
|
||||
void DeleteTransformFeedback(UInt32 ids)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* ids_ptr = (UInt32*)&ids;
|
||||
Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v4.0 and ARB_transform_feedback2|VERSION_4_0]
|
||||
/// Delete transform feedback objects
|
||||
/// </summary>
|
||||
|
@ -52888,6 +53408,71 @@ namespace OpenTK.Graphics.OpenGL
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ARB_vertex_array_object|VERSION_3_0]
|
||||
/// Delete vertex array objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of vertex array objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="arrays">
|
||||
/// <para>
|
||||
/// Specifies the address of an array containing the n names of the objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")]
|
||||
public static
|
||||
void DeleteVertexArray(Int32 arrays)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* arrays_ptr = (UInt32*)&arrays;
|
||||
Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ARB_vertex_array_object|VERSION_3_0]
|
||||
/// Delete vertex array objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of vertex array objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="arrays">
|
||||
/// <para>
|
||||
/// Specifies the address of an array containing the n names of the objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")]
|
||||
public static
|
||||
void DeleteVertexArray(UInt32 arrays)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* arrays_ptr = (UInt32*)&arrays;
|
||||
Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ARB_vertex_array_object|VERSION_3_0]
|
||||
/// Delete vertex array objects
|
||||
/// </summary>
|
||||
|
@ -62344,8 +62929,8 @@ namespace OpenTK.Graphics.OpenGL
|
|||
{
|
||||
const Int32 n = 1;
|
||||
Int32 retval;
|
||||
Int32* buffers = &retval;
|
||||
Delegates.glGenBuffers((Int32)n, (UInt32*)buffers);
|
||||
Int32* buffers_ptr = &retval;
|
||||
Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -62592,8 +63177,8 @@ namespace OpenTK.Graphics.OpenGL
|
|||
{
|
||||
const Int32 n = 1;
|
||||
Int32 retval;
|
||||
Int32* framebuffers = &retval;
|
||||
Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers);
|
||||
Int32* framebuffers_ptr = &retval;
|
||||
Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -62840,8 +63425,8 @@ namespace OpenTK.Graphics.OpenGL
|
|||
{
|
||||
const Int32 n = 1;
|
||||
Int32 retval;
|
||||
Int32* pipelines = &retval;
|
||||
Delegates.glGenProgramPipelines((Int32)n, (UInt32*)pipelines);
|
||||
Int32* pipelines_ptr = &retval;
|
||||
Delegates.glGenProgramPipelines((Int32)n, (UInt32*)pipelines_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -63066,8 +63651,8 @@ namespace OpenTK.Graphics.OpenGL
|
|||
{
|
||||
const Int32 n = 1;
|
||||
Int32 retval;
|
||||
Int32* ids = &retval;
|
||||
Delegates.glGenQueries((Int32)n, (UInt32*)ids);
|
||||
Int32* ids_ptr = &retval;
|
||||
Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -63292,8 +63877,8 @@ namespace OpenTK.Graphics.OpenGL
|
|||
{
|
||||
const Int32 n = 1;
|
||||
Int32 retval;
|
||||
Int32* renderbuffers = &retval;
|
||||
Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers);
|
||||
Int32* renderbuffers_ptr = &retval;
|
||||
Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -63518,8 +64103,8 @@ namespace OpenTK.Graphics.OpenGL
|
|||
{
|
||||
const Int32 count = 1;
|
||||
Int32 retval;
|
||||
Int32* samplers = &retval;
|
||||
Delegates.glGenSamplers((Int32)count, (UInt32*)samplers);
|
||||
Int32* samplers_ptr = &retval;
|
||||
Delegates.glGenSamplers((Int32)count, (UInt32*)samplers_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -63744,8 +64329,8 @@ namespace OpenTK.Graphics.OpenGL
|
|||
{
|
||||
const Int32 n = 1;
|
||||
Int32 retval;
|
||||
Int32* textures = &retval;
|
||||
Delegates.glGenTextures((Int32)n, (UInt32*)textures);
|
||||
Int32* textures_ptr = &retval;
|
||||
Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -63970,8 +64555,8 @@ namespace OpenTK.Graphics.OpenGL
|
|||
{
|
||||
const Int32 n = 1;
|
||||
Int32 retval;
|
||||
Int32* ids = &retval;
|
||||
Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids);
|
||||
Int32* ids_ptr = &retval;
|
||||
Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -64196,8 +64781,8 @@ namespace OpenTK.Graphics.OpenGL
|
|||
{
|
||||
const Int32 n = 1;
|
||||
Int32 retval;
|
||||
Int32* arrays = &retval;
|
||||
Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays);
|
||||
Int32* arrays_ptr = &retval;
|
||||
Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -67162,8 +67747,8 @@ namespace OpenTK.Graphics.OpenGL
|
|||
unsafe
|
||||
{
|
||||
bool retval;
|
||||
bool* data = &retval;
|
||||
Delegates.glGetBooleanv((OpenTK.Graphics.OpenGL.GetPName)pname, (bool*)data);
|
||||
bool* data_ptr = &retval;
|
||||
Delegates.glGetBooleanv((OpenTK.Graphics.OpenGL.GetPName)pname, (bool*)data_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -69575,8 +70160,8 @@ namespace OpenTK.Graphics.OpenGL
|
|||
unsafe
|
||||
{
|
||||
Double retval;
|
||||
Double* data = &retval;
|
||||
Delegates.glGetDoublev((OpenTK.Graphics.OpenGL.GetPName)pname, (Double*)data);
|
||||
Double* data_ptr = &retval;
|
||||
Delegates.glGetDoublev((OpenTK.Graphics.OpenGL.GetPName)pname, (Double*)data_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -69785,8 +70370,8 @@ namespace OpenTK.Graphics.OpenGL
|
|||
unsafe
|
||||
{
|
||||
Single retval;
|
||||
Single* data = &retval;
|
||||
Delegates.glGetFloatv((OpenTK.Graphics.OpenGL.GetPName)pname, (Single*)data);
|
||||
Single* data_ptr = &retval;
|
||||
Delegates.glGetFloatv((OpenTK.Graphics.OpenGL.GetPName)pname, (Single*)data_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -70797,8 +71382,8 @@ namespace OpenTK.Graphics.OpenGL
|
|||
unsafe
|
||||
{
|
||||
Int64 retval;
|
||||
Int64* data = &retval;
|
||||
Delegates.glGetInteger64v((OpenTK.Graphics.OpenGL.All)pname, (Int64*)data);
|
||||
Int64* data_ptr = &retval;
|
||||
Delegates.glGetInteger64v((OpenTK.Graphics.OpenGL.All)pname, (Int64*)data_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -70997,8 +71582,8 @@ namespace OpenTK.Graphics.OpenGL
|
|||
unsafe
|
||||
{
|
||||
Int32 retval;
|
||||
Int32* data = &retval;
|
||||
Delegates.glGetIntegerv((OpenTK.Graphics.OpenGL.GetPName)pname, (Int32*)data);
|
||||
Int32* data_ptr = &retval;
|
||||
Delegates.glGetIntegerv((OpenTK.Graphics.OpenGL.GetPName)pname, (Int32*)data_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -73765,8 +74350,8 @@ namespace OpenTK.Graphics.OpenGL
|
|||
unsafe
|
||||
{
|
||||
Single retval;
|
||||
Single* values = &retval;
|
||||
Delegates.glGetPixelMapfv((OpenTK.Graphics.OpenGL.PixelMap)map, (Single*)values);
|
||||
Single* values_ptr = &retval;
|
||||
Delegates.glGetPixelMapfv((OpenTK.Graphics.OpenGL.PixelMap)map, (Single*)values_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
|
|
@ -934,190 +934,6 @@ namespace OpenTK.Graphics.OpenGL
|
|||
|
||||
#endregion
|
||||
|
||||
#region DeleteBuffer
|
||||
|
||||
/// <summary>[requires: v1.5]
|
||||
/// Deletes a single buffer object
|
||||
/// </summary>
|
||||
/// <param name="id">The buffer object to be deleted</param>
|
||||
public static void DeleteBuffer(int id)
|
||||
{
|
||||
DeleteBuffers(1, ref id);
|
||||
}
|
||||
|
||||
/// <summary>[requires: v1.5]
|
||||
/// Deletes a single buffer object
|
||||
/// </summary>
|
||||
/// <param name="id">The buffer object to be deleted</param>
|
||||
[CLSCompliant(false)]
|
||||
public static void DeleteBuffer(uint id)
|
||||
{
|
||||
DeleteBuffers(1, ref id);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region DeleteFramebuffer
|
||||
|
||||
/// <summary>[requires: v3.0 and ARB_framebuffer_object]
|
||||
/// Deletes a single framebuffer object
|
||||
/// </summary>
|
||||
/// <param name="id">The framebuffer object to be deleted</param>
|
||||
public static void DeleteFramebuffer(int id)
|
||||
{
|
||||
DeleteFramebuffers(1, ref id);
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ARB_framebuffer_object]
|
||||
/// Deletes a single framebuffer object
|
||||
/// </summary>
|
||||
/// <param name="id">The framebuffer object to be deleted</param>
|
||||
[CLSCompliant(false)]
|
||||
public static void DeleteFramebuffer(uint id)
|
||||
{
|
||||
DeleteFramebuffers(1, ref id);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region DeleteProgramPipeline
|
||||
|
||||
/// <summary>[requires: v4.1 and ARB_separate_shader_objects]
|
||||
/// Deletes a single program pipeline object
|
||||
/// </summary>
|
||||
/// <param name="id">The program pipeline object to be deleted</param>
|
||||
public static void DeleteProgramPipeline(int id)
|
||||
{
|
||||
DeleteProgramPipelines(1, ref id);
|
||||
}
|
||||
|
||||
/// <summary>[requires: v4.1 and ARB_separate_shader_objects]
|
||||
/// Deletes a single program pipeline object
|
||||
/// </summary>
|
||||
/// <param name="id">The program pipeline object to be deleted</param>
|
||||
[CLSCompliant(false)]
|
||||
public static void DeleteProgramPipeline(uint id)
|
||||
{
|
||||
DeleteProgramPipelines(1, ref id);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region DeleteRenderbuffer
|
||||
|
||||
/// <summary>[requires: v3.0 and ARB_framebuffer_object]
|
||||
/// Deletes a single renderbuffer object
|
||||
/// </summary>
|
||||
/// <param name="id">The renderbuffer object to be deleted</param>
|
||||
public static void DeleteRenderbuffer(int id)
|
||||
{
|
||||
DeleteRenderbuffers(1, ref id);
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ARB_framebuffer_object]
|
||||
/// Deletes a single renderbuffer object
|
||||
/// </summary>
|
||||
/// <param name="id">The renderbuffer object to be deleted</param>
|
||||
[CLSCompliant(false)]
|
||||
public static void DeleteRenderbuffer(uint id)
|
||||
{
|
||||
DeleteRenderbuffers(1, ref id);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region DeleteSampler
|
||||
|
||||
/// <summary>
|
||||
/// Deletes a single sampler object
|
||||
/// </summary>
|
||||
/// <param name="id">The sampler object to be deleted</param>
|
||||
public static void DeleteSampler(int id)
|
||||
{
|
||||
DeleteSamplers(1, ref id);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Deletes a single sampler object
|
||||
/// </summary>
|
||||
/// <param name="id">The sampler object to be deleted</param>
|
||||
[CLSCompliant(false)]
|
||||
public static void DeleteSampler(uint id)
|
||||
{
|
||||
DeleteSamplers(1, ref id);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region DeleteTexture
|
||||
|
||||
/// <summary>[requires: v1.1]
|
||||
/// Delete a single texture name
|
||||
/// </summary>
|
||||
/// <param name="id">The texture to be deleted</param>
|
||||
public static void DeleteTexture(int id)
|
||||
{
|
||||
DeleteTextures(1, ref id);
|
||||
}
|
||||
|
||||
/// <summary>[requires: v1.1]
|
||||
/// Delete a single texture name
|
||||
/// </summary>
|
||||
/// <param name="id">The texture to be deleted</param>
|
||||
[CLSCompliant(false)]
|
||||
public static void DeleteTexture(uint id)
|
||||
{
|
||||
DeleteTextures(1, ref id);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region DeleteTransformFeedback
|
||||
|
||||
/// <summary>[requires: v1.2 and ARB_transform_feedback2]
|
||||
/// Deletes a single transform feedback object
|
||||
/// </summary>
|
||||
/// <param name="id">The transform feedback object to be deleted</param>
|
||||
public static void DeleteTransformFeedback(int id)
|
||||
{
|
||||
DeleteTransformFeedbacks(1, ref id);
|
||||
}
|
||||
|
||||
/// <summary>[requires: v1.2 and ARB_transform_feedback2]
|
||||
/// Deletes a single transform feedback object
|
||||
/// </summary>
|
||||
/// <param name="id">The transform feedback object to be deleted</param>
|
||||
[CLSCompliant(false)]
|
||||
public static void DeleteTransformFeedback(uint id)
|
||||
{
|
||||
DeleteTransformFeedbacks(1, ref id);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region DeleteVertexArray
|
||||
|
||||
/// <summary>[requires: v3.0 and ARB_vertex_array_object]
|
||||
/// Deletes a single vertex array object
|
||||
/// </summary>
|
||||
/// <param name="id">The vertex array object to be deleted</param>
|
||||
public static void DeleteVertexArray(int id)
|
||||
{
|
||||
DeleteVertexArrays(1, ref id);
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ARB_vertex_array_object]
|
||||
/// Deletes a single vertex array object
|
||||
/// </summary>
|
||||
/// <param name="id">The vertex array object to be deleted</param>
|
||||
[CLSCompliant(false)]
|
||||
public static void DeleteVertexArray(uint id)
|
||||
{
|
||||
DeleteVertexArrays(1, ref id);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region [Vertex|Normal|Index|Color|FogCoord|VertexAttrib]Pointer
|
||||
|
||||
public static void VertexPointer(int size, VertexPointerType type, int stride, int offset)
|
||||
|
|
|
@ -16076,6 +16076,71 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v1.5]
|
||||
/// Delete named buffer objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of buffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="buffers">
|
||||
/// <para>
|
||||
/// Specifies an array of buffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")]
|
||||
public static
|
||||
void DeleteBuffer(Int32 buffers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* buffers_ptr = (UInt32*)&buffers;
|
||||
Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v1.5]
|
||||
/// Delete named buffer objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of buffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="buffers">
|
||||
/// <para>
|
||||
/// Specifies an array of buffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")]
|
||||
public static
|
||||
void DeleteBuffer(UInt32 buffers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* buffers_ptr = (UInt32*)&buffers;
|
||||
Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v1.5]
|
||||
/// Delete named buffer objects
|
||||
/// </summary>
|
||||
|
@ -16266,6 +16331,71 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ARB_framebuffer_object|VERSION_3_0]
|
||||
/// Delete framebuffer objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of framebuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="framebuffers">
|
||||
/// <para>
|
||||
/// A pointer to an array containing n framebuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")]
|
||||
public static
|
||||
void DeleteFramebuffer(Int32 framebuffers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* framebuffers_ptr = (UInt32*)&framebuffers;
|
||||
Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ARB_framebuffer_object|VERSION_3_0]
|
||||
/// Delete framebuffer objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of framebuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="framebuffers">
|
||||
/// <para>
|
||||
/// A pointer to an array containing n framebuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")]
|
||||
public static
|
||||
void DeleteFramebuffer(UInt32 framebuffers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* framebuffers_ptr = (UInt32*)&framebuffers;
|
||||
Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ARB_framebuffer_object|VERSION_3_0]
|
||||
/// Delete framebuffer objects
|
||||
/// </summary>
|
||||
|
@ -16501,6 +16631,71 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1]
|
||||
/// Delete program pipeline objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of program pipeline objects to delete.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="pipelines">
|
||||
/// <para>
|
||||
/// Specifies an array of names of program pipeline objects to delete.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")]
|
||||
public static
|
||||
void DeleteProgramPipeline(Int32 pipelines)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* pipelines_ptr = (UInt32*)&pipelines;
|
||||
Delegates.glDeleteProgramPipelines((Int32)n, (UInt32*)pipelines_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1]
|
||||
/// Delete program pipeline objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of program pipeline objects to delete.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="pipelines">
|
||||
/// <para>
|
||||
/// Specifies an array of names of program pipeline objects to delete.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")]
|
||||
public static
|
||||
void DeleteProgramPipeline(UInt32 pipelines)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* pipelines_ptr = (UInt32*)&pipelines;
|
||||
Delegates.glDeleteProgramPipelines((Int32)n, (UInt32*)pipelines_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1]
|
||||
/// Delete program pipeline objects
|
||||
/// </summary>
|
||||
|
@ -16691,6 +16886,71 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v1.5]
|
||||
/// Delete named query objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of query objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="ids">
|
||||
/// <para>
|
||||
/// Specifies an array of query objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")]
|
||||
public static
|
||||
void DeleteQuery(Int32 ids)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* ids_ptr = (UInt32*)&ids;
|
||||
Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v1.5]
|
||||
/// Delete named query objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of query objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="ids">
|
||||
/// <para>
|
||||
/// Specifies an array of query objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")]
|
||||
public static
|
||||
void DeleteQuery(UInt32 ids)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* ids_ptr = (UInt32*)&ids;
|
||||
Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v1.5]
|
||||
/// Delete named query objects
|
||||
/// </summary>
|
||||
|
@ -16881,6 +17141,71 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ARB_framebuffer_object|VERSION_3_0]
|
||||
/// Delete renderbuffer objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of renderbuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="renderbuffers">
|
||||
/// <para>
|
||||
/// A pointer to an array containing n renderbuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")]
|
||||
public static
|
||||
void DeleteRenderbuffer(Int32 renderbuffers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers;
|
||||
Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ARB_framebuffer_object|VERSION_3_0]
|
||||
/// Delete renderbuffer objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of renderbuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="renderbuffers">
|
||||
/// <para>
|
||||
/// A pointer to an array containing n renderbuffer objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")]
|
||||
public static
|
||||
void DeleteRenderbuffer(UInt32 renderbuffers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers;
|
||||
Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ARB_framebuffer_object|VERSION_3_0]
|
||||
/// Delete renderbuffer objects
|
||||
/// </summary>
|
||||
|
@ -17071,6 +17396,71 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.3 and ARB_sampler_objects|VERSION_3_3]
|
||||
/// Delete named sampler objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of sampler objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="samplers">
|
||||
/// <para>
|
||||
/// Specifies an array of sampler objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")]
|
||||
public static
|
||||
void DeleteSampler(Int32 samplers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 count = 1;
|
||||
UInt32* samplers_ptr = (UInt32*)&samplers;
|
||||
Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.3 and ARB_sampler_objects|VERSION_3_3]
|
||||
/// Delete named sampler objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of sampler objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="samplers">
|
||||
/// <para>
|
||||
/// Specifies an array of sampler objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")]
|
||||
public static
|
||||
void DeleteSampler(UInt32 samplers)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 count = 1;
|
||||
UInt32* samplers_ptr = (UInt32*)&samplers;
|
||||
Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.3 and ARB_sampler_objects|VERSION_3_3]
|
||||
/// Delete named sampler objects
|
||||
/// </summary>
|
||||
|
@ -17328,6 +17718,71 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v1.1]
|
||||
/// 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 = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")]
|
||||
public static
|
||||
void DeleteTexture(Int32 textures)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* textures_ptr = (UInt32*)&textures;
|
||||
Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v1.1]
|
||||
/// 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 = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")]
|
||||
public static
|
||||
void DeleteTexture(UInt32 textures)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* textures_ptr = (UInt32*)&textures;
|
||||
Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v1.1]
|
||||
/// Delete named textures
|
||||
/// </summary>
|
||||
|
@ -17518,6 +17973,71 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v4.0 and ARB_transform_feedback2|VERSION_4_0]
|
||||
/// Delete transform feedback objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of transform feedback objects to delete.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="ids">
|
||||
/// <para>
|
||||
/// Specifies an array of names of transform feedback objects to delete.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")]
|
||||
public static
|
||||
void DeleteTransformFeedback(Int32 ids)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* ids_ptr = (UInt32*)&ids;
|
||||
Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v4.0 and ARB_transform_feedback2|VERSION_4_0]
|
||||
/// Delete transform feedback objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of transform feedback objects to delete.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="ids">
|
||||
/// <para>
|
||||
/// Specifies an array of names of transform feedback objects to delete.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")]
|
||||
public static
|
||||
void DeleteTransformFeedback(UInt32 ids)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* ids_ptr = (UInt32*)&ids;
|
||||
Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v4.0 and ARB_transform_feedback2|VERSION_4_0]
|
||||
/// Delete transform feedback objects
|
||||
/// </summary>
|
||||
|
@ -17708,6 +18228,71 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ARB_vertex_array_object|VERSION_3_0]
|
||||
/// Delete vertex array objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of vertex array objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="arrays">
|
||||
/// <para>
|
||||
/// Specifies the address of an array containing the n names of the objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")]
|
||||
public static
|
||||
void DeleteVertexArray(Int32 arrays)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* arrays_ptr = (UInt32*)&arrays;
|
||||
Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ARB_vertex_array_object|VERSION_3_0]
|
||||
/// Delete vertex array objects
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// <para>
|
||||
/// Specifies the number of vertex array objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="arrays">
|
||||
/// <para>
|
||||
/// Specifies the address of an array containing the n names of the objects to be deleted.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")]
|
||||
public static
|
||||
void DeleteVertexArray(UInt32 arrays)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
unsafe
|
||||
{
|
||||
const Int32 n = 1;
|
||||
UInt32* arrays_ptr = (UInt32*)&arrays;
|
||||
Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr);
|
||||
}
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>[requires: v3.0 and ARB_vertex_array_object|VERSION_3_0]
|
||||
/// Delete vertex array objects
|
||||
/// </summary>
|
||||
|
@ -23396,8 +23981,8 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
{
|
||||
const Int32 n = 1;
|
||||
Int32 retval;
|
||||
Int32* buffers = &retval;
|
||||
Delegates.glGenBuffers((Int32)n, (UInt32*)buffers);
|
||||
Int32* buffers_ptr = &retval;
|
||||
Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -23644,8 +24229,8 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
{
|
||||
const Int32 n = 1;
|
||||
Int32 retval;
|
||||
Int32* framebuffers = &retval;
|
||||
Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers);
|
||||
Int32* framebuffers_ptr = &retval;
|
||||
Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -23870,8 +24455,8 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
{
|
||||
const Int32 n = 1;
|
||||
Int32 retval;
|
||||
Int32* pipelines = &retval;
|
||||
Delegates.glGenProgramPipelines((Int32)n, (UInt32*)pipelines);
|
||||
Int32* pipelines_ptr = &retval;
|
||||
Delegates.glGenProgramPipelines((Int32)n, (UInt32*)pipelines_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -24096,8 +24681,8 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
{
|
||||
const Int32 n = 1;
|
||||
Int32 retval;
|
||||
Int32* ids = &retval;
|
||||
Delegates.glGenQueries((Int32)n, (UInt32*)ids);
|
||||
Int32* ids_ptr = &retval;
|
||||
Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -24322,8 +24907,8 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
{
|
||||
const Int32 n = 1;
|
||||
Int32 retval;
|
||||
Int32* renderbuffers = &retval;
|
||||
Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers);
|
||||
Int32* renderbuffers_ptr = &retval;
|
||||
Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -24548,8 +25133,8 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
{
|
||||
const Int32 count = 1;
|
||||
Int32 retval;
|
||||
Int32* samplers = &retval;
|
||||
Delegates.glGenSamplers((Int32)count, (UInt32*)samplers);
|
||||
Int32* samplers_ptr = &retval;
|
||||
Delegates.glGenSamplers((Int32)count, (UInt32*)samplers_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -24774,8 +25359,8 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
{
|
||||
const Int32 n = 1;
|
||||
Int32 retval;
|
||||
Int32* textures = &retval;
|
||||
Delegates.glGenTextures((Int32)n, (UInt32*)textures);
|
||||
Int32* textures_ptr = &retval;
|
||||
Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -25000,8 +25585,8 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
{
|
||||
const Int32 n = 1;
|
||||
Int32 retval;
|
||||
Int32* ids = &retval;
|
||||
Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids);
|
||||
Int32* ids_ptr = &retval;
|
||||
Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -25226,8 +25811,8 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
{
|
||||
const Int32 n = 1;
|
||||
Int32 retval;
|
||||
Int32* arrays = &retval;
|
||||
Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays);
|
||||
Int32* arrays_ptr = &retval;
|
||||
Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -28192,8 +28777,8 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
unsafe
|
||||
{
|
||||
bool retval;
|
||||
bool* data = &retval;
|
||||
Delegates.glGetBooleanv((OpenTK.Graphics.OpenGL4.GetPName)pname, (bool*)data);
|
||||
bool* data_ptr = &retval;
|
||||
Delegates.glGetBooleanv((OpenTK.Graphics.OpenGL4.GetPName)pname, (bool*)data_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -30510,8 +31095,8 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
unsafe
|
||||
{
|
||||
Double retval;
|
||||
Double* data = &retval;
|
||||
Delegates.glGetDoublev((OpenTK.Graphics.OpenGL4.GetPName)pname, (Double*)data);
|
||||
Double* data_ptr = &retval;
|
||||
Delegates.glGetDoublev((OpenTK.Graphics.OpenGL4.GetPName)pname, (Double*)data_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -30720,8 +31305,8 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
unsafe
|
||||
{
|
||||
Single retval;
|
||||
Single* data = &retval;
|
||||
Delegates.glGetFloatv((OpenTK.Graphics.OpenGL4.GetPName)pname, (Single*)data);
|
||||
Single* data_ptr = &retval;
|
||||
Delegates.glGetFloatv((OpenTK.Graphics.OpenGL4.GetPName)pname, (Single*)data_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -31732,8 +32317,8 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
unsafe
|
||||
{
|
||||
Int64 retval;
|
||||
Int64* data = &retval;
|
||||
Delegates.glGetInteger64v((OpenTK.Graphics.OpenGL4.All)pname, (Int64*)data);
|
||||
Int64* data_ptr = &retval;
|
||||
Delegates.glGetInteger64v((OpenTK.Graphics.OpenGL4.All)pname, (Int64*)data_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -31932,8 +32517,8 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
unsafe
|
||||
{
|
||||
Int32 retval;
|
||||
Int32* data = &retval;
|
||||
Delegates.glGetIntegerv((OpenTK.Graphics.OpenGL4.GetPName)pname, (Int32*)data);
|
||||
Int32* data_ptr = &retval;
|
||||
Delegates.glGetIntegerv((OpenTK.Graphics.OpenGL4.GetPName)pname, (Int32*)data_ptr);
|
||||
return retval;
|
||||
}
|
||||
#if DEBUG
|
||||
|
|
|
@ -362,15 +362,6 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
|
||||
#endregion
|
||||
|
||||
#region public static void DeleteTexture(int id)
|
||||
|
||||
public static void DeleteTexture(int id)
|
||||
{
|
||||
DeleteTextures(1, ref id);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Get[Float|Double]
|
||||
|
||||
public static void GetFloat(GetPName pname, out Vector2 vector)
|
||||
|
|
Loading…
Reference in a new issue