Strongly-typed enums for ES 3.0 (WIP)

Implemented strongly-typed enums for sections: Buffer Objects,
Asynchronous Queries, Transform Feedback, ReadingandCopying Pixels and
Rasterization.
This commit is contained in:
Stefanos A 2013-11-03 21:30:25 +01:00
parent f95925302b
commit af78a01643
13 changed files with 622 additions and 444 deletions

View file

@ -4947,29 +4947,102 @@
<!-- gles2 3.0 -->
<replace name="gles2" version="3.0">
<!-- Buffer Objects [2.9] -->
<function name="BindBuffer" extension="Core">
<function name="BindBuffer">
<param name="target"><type>BufferTarget</type></param>
</function>
<function name="BindBufferRange" extension="Core">
<function name="BindBufferRange">
<param name="target"><type>BufferRangeTarget</type></param>
</function>
<function name="BindBufferBase" extension="Core">
<function name="BindBufferBase">
<param name="target"><type>BufferRangeTarget</type></param>
</function>
<function name="BufferData" extension="Core">
<function name="BufferData">
<param name="target"><type>BufferTarget</type></param>
<param name="usage"><type>BufferUsageHint</type></param>
</function>
<function name="BufferSubData" extension="Core">
<function name="BufferSubData">
<param name="target"><type>BufferTarget</type></param>
</function>
<function name="MapBufferRange" extension="Core">
</function>
<function name="CopyBufferSubData">
<param name="readtarget"><type>BufferTarget</type></param>
<param name="writetarget"><type>BufferTarget</type></param>
</function>
<function name="FlushMappedBufferRange">
<param name="target"><type>BufferTarget</type></param>
</function>
<function name="MapBufferRange">
<param name="target"><type>BufferTarget</type></param>
<param name="target"><type>BufferAccessMask</type></param>
</function>
<function name="UnmapBuffer">
<param name="target"><type>BufferTarget</type></param>
</function>
<!-- Buffer Object Queries [6.1.9] -->
<function name="GetBufferParameter">
<param name="target"><type>BufferTarget</type></param>
<param name="pname"><type>BufferParameterName</type></param>
</function>
<function name="GetBufferPointer">
<param name="target"><type>BufferTarget</type></param>
<param name="pname"><type>BufferPointer</type></param>
</function>
<!-- Asynchronous Queries [2.13, 6.1.7] -->
<function name="BeginQuery">
<param name="target"><type>QueryTarget</type></param>
</function>
<function name="EndQuery">
<param name="target"><type>QueryTarget</type></param>
</function>
<function name="GetQuery">
<param name="target"><type>QueryTarget</type></param>
<param name="pname"><type>GetQueryParam</type></param>
</function>
<function name="GetQueryObject">
<param name="pname"><type>GetQueryObjectParam</type></param>
</function>
<!-- Transform Feedback [2.14, 6.1.11] -->
<function name="BindTransformFeedback">
<param name="target"><type>TransformFeedbackTarget</type></param>
</function>
<function name="BeginTransformFeedback">
<param name="primitiveMode"><type>BeginFeedbackMode</type></param>
</function>
<!-- Reading and Copying Pixels [4.3.1-2] -->
<function name="ReadPixels">
<param name="format"><type>PixelFormat</type></param>
<param name="type"><type>PixelType</type></param>
</function>
<function name="ReadBuffer">
<param name="src"><type>ReadBufferMode</type></param>
</function>
<function name="BlitFramebuffer">
<param name="mask"><type>ClearBufferMask</type></param>
<param name="filter"><type>BlitFramebufferFilter</type></param>
</function>
<!-- Polygons [3.6] -->
<function name="FrontFace">
<param name="dir"><type>FrontFaceDirection</type></param>
</function>
<function name="CullFace">
<param name="face"><type>CullFaceMode</type></param>
</function>
</replace>
<add name="gles2" version="3.0">
<enum name="BeginFeedbackMode">
<use token="TRIANGLES" />
<use token="LINES" />
<use token="POINTS" />
</enum>
<enum name="BlitFramebufferFilter">
<use token="LINEAR" />
<use token="NEAREST" />
</enum>
<enum name="BufferAccessMask">
<use token="MAP_READ_BIT" />
<use token="MAP_WRITE_BIT" />
@ -4978,6 +5051,19 @@
<use token="MAP_FLUSH_EXPLICIT_BIT" />
<use token="MAP_UNSYNCHRONIZED_BIT" />
</enum>
<enum name="BufferParameterName">
<use token="BUFFER_SIZE" />
<use token="BUFFER_USAGE" />
<use token="BUFFER_ACCESS" />
<use token="BUFFER_FLAGS" />
<use token="BUFFER_MAPPED" />
<use token="BUFFER_MAP_POINTER" />
<use token="BUFFER_MAP_OFFSET" />
<use token="BUFFER_MAP_LENGTH" />
</enum>
<enum name="BufferPointer">
<use token="BUFFER_MAP_POINTER" />
</enum>
<enum name="BufferRangeTarget">
<use token="TRANSFORM_FEEDBACK_BUFFER" />
<use token="UNIFORM_BUFFER" />
@ -5003,6 +5089,69 @@
<use token="DYNAMIC_READ" />
<use token="DYNAMIC_COPY" />
</enum>
<enum name="ClearBufferMask">
<use token="COLOR_BUFFER_BIT" />
<use token="DEPTH_BUFFER_BIT" />
<use token="STENCIL_BUFFER_BIT" />
</enum>
<enum name="CullFaceMode">
<use token="FRONT" />
<use token="BACK" />
<use token="FRONT_AND_BACK" />
</enum>
<enum name="EnableCap">
<use token="CULL_FACE" />
<use token="POLYGON_OFFSET_FILL" />
</enum>
<enum name="FrontFaceDirection">
<use token="CCW" />
<use token="CW" />
</enum>
<enum name="GetQueryObjectParam">
<use token="CURRENT_RESULT" />
<use token="CURRENT_RESULT_AVAILABLE" />
</enum>
<enum name="GetQueryParam">
<use token="CURRENT_QUERY" />
</enum>
<enum name="PixelFormat">
<use token="RGBA" />
<use token="RGBA_INTEGER" />
</enum>
<enum name="PixelType">
<use token="INT" />
<use token="UNSIGNED_INT_2_10_10_10_REV" />
<use token="UNSIGNED_BYTE" />
<use token="UNSIGNED_INT" />
</enum>
<enum name="QueryTarget">
<use token="ANY_SAMPLES_PASSED" />
<use token="ANY_SAMPLES_PASSED_CONSERVATIVE" />
<use token="TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN" /> <!-- see 6.1.7 -->
</enum>
<enum name="ReadBufferMode">
<use token="NONE" />
<use token="BACK" />
<use token="COLOR_ATTACHMENT0" />
<use token="COLOR_ATTACHMENT1" />
<use token="COLOR_ATTACHMENT2" />
<use token="COLOR_ATTACHMENT3" />
<use token="COLOR_ATTACHMENT4" />
<use token="COLOR_ATTACHMENT5" />
<use token="COLOR_ATTACHMENT6" />
<use token="COLOR_ATTACHMENT7" />
<use token="COLOR_ATTACHMENT8" />
<use token="COLOR_ATTACHMENT9" />
<use token="COLOR_ATTACHMENT10" />
<use token="COLOR_ATTACHMENT11" />
<use token="COLOR_ATTACHMENT12" />
<use token="COLOR_ATTACHMENT13" />
<use token="COLOR_ATTACHMENT14" />
<use token="COLOR_ATTACHMENT15" />
</enum>
<enum name="TransformFeedbackTarget">
<use token="TRANSFORM_FEEDBACK" />
</enum>
</add>
</signatures>

View file

@ -1267,52 +1267,13 @@ namespace OpenTK.Graphics.ES20
/// </param>
[AutoGenerated(Category = "ANGLE_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferANGLE")]
public static
void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, Int32 mask, OpenTK.Graphics.ES20.All filter)
void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES20.ClearBufferMask mask, BlitFramebufferFilter filter)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBlitFramebufferANGLE((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (UInt32)mask, (OpenTK.Graphics.ES20.All)filter);
#if DEBUG
}
#endif
}
/// <summary>[requires: ANGLE_framebuffer_blit]
/// Copy a block of pixels from the read framebuffer to the draw framebuffer
/// </summary>
/// <param name="srcX0">
/// <para>
/// Specify the bounds of the source rectangle within the read buffer of the read framebuffer.
/// </para>
/// </param>
/// <param name="dstX0">
/// <para>
/// Specify the bounds of the destination rectangle within the write buffer of the write framebuffer.
/// </para>
/// </param>
/// <param name="mask">
/// <para>
/// The bitwise OR of the flags indicating which buffers are to be copied. The allowed flags are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT and GL_STENCIL_BUFFER_BIT.
/// </para>
/// </param>
/// <param name="filter">
/// <para>
/// Specifies the interpolation to be applied if the image is stretched. Must be GL_NEAREST or GL_LINEAR.
/// </para>
/// </param>
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ANGLE_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferANGLE")]
public static
void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, UInt32 mask, OpenTK.Graphics.ES20.All filter)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBlitFramebufferANGLE((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (UInt32)mask, (OpenTK.Graphics.ES20.All)filter);
Delegates.glBlitFramebufferANGLE((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES20.ClearBufferMask)mask, (BlitFramebufferFilter)filter);
#if DEBUG
}
#endif
@ -21612,13 +21573,13 @@ namespace OpenTK.Graphics.ES20
/// </param>
[AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glBeginQueryEXT")]
public static
void BeginQuery(OpenTK.Graphics.ES20.All target, Int32 id)
void BeginQuery(QueryTarget target, Int32 id)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBeginQueryEXT((OpenTK.Graphics.ES20.All)target, (UInt32)id);
Delegates.glBeginQueryEXT((QueryTarget)target, (UInt32)id);
#if DEBUG
}
#endif
@ -21641,13 +21602,13 @@ namespace OpenTK.Graphics.ES20
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glBeginQueryEXT")]
public static
void BeginQuery(OpenTK.Graphics.ES20.All target, UInt32 id)
void BeginQuery(QueryTarget target, UInt32 id)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBeginQueryEXT((OpenTK.Graphics.ES20.All)target, (UInt32)id);
Delegates.glBeginQueryEXT((QueryTarget)target, (UInt32)id);
#if DEBUG
}
#endif
@ -22694,13 +22655,13 @@ namespace OpenTK.Graphics.ES20
/// <summary>[requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean]</summary>
[AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glEndQueryEXT")]
public static
void EndQuery(OpenTK.Graphics.ES20.All target)
void EndQuery(QueryTarget target)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glEndQueryEXT((OpenTK.Graphics.ES20.All)target);
Delegates.glEndQueryEXT((QueryTarget)target);
#if DEBUG
}
#endif
@ -22727,13 +22688,13 @@ namespace OpenTK.Graphics.ES20
/// </param>
[AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glFlushMappedBufferRangeEXT")]
public static
void FlushMappedBufferRange(OpenTK.Graphics.ES20.All target, IntPtr offset, IntPtr length)
void FlushMappedBufferRange(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr length)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glFlushMappedBufferRangeEXT((OpenTK.Graphics.ES20.All)target, (IntPtr)offset, (IntPtr)length);
Delegates.glFlushMappedBufferRangeEXT((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)length);
#if DEBUG
}
#endif
@ -24318,7 +24279,7 @@ namespace OpenTK.Graphics.ES20
/// <summary>[requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean]</summary>
[AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryivEXT")]
public static
void GetQuery(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params)
void GetQuery(QueryTarget target, GetQueryParam pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -24328,7 +24289,7 @@ namespace OpenTK.Graphics.ES20
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetQueryivEXT((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr);
Delegates.glGetQueryivEXT((QueryTarget)target, (GetQueryParam)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
@ -24339,7 +24300,7 @@ namespace OpenTK.Graphics.ES20
/// <summary>[requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean]</summary>
[AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryivEXT")]
public static
void GetQuery(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params)
void GetQuery(QueryTarget target, GetQueryParam pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -24349,7 +24310,7 @@ namespace OpenTK.Graphics.ES20
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetQueryivEXT((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr);
Delegates.glGetQueryivEXT((QueryTarget)target, (GetQueryParam)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
@ -24362,13 +24323,13 @@ namespace OpenTK.Graphics.ES20
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryivEXT")]
public static
unsafe void GetQuery(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params)
unsafe void GetQuery(QueryTarget target, GetQueryParam pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetQueryivEXT((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params);
Delegates.glGetQueryivEXT((QueryTarget)target, (GetQueryParam)pname, (Int32*)@params);
#if DEBUG
}
#endif
@ -24395,7 +24356,7 @@ namespace OpenTK.Graphics.ES20
/// </param>
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")]
public static
void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int64[] @params)
void GetQueryObject(Int32 id, GetQueryObjectParam pname, [OutAttribute] Int64[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -24405,7 +24366,7 @@ namespace OpenTK.Graphics.ES20
{
fixed (Int64* @params_ptr = @params)
{
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES20.All)pname, (Int64*)@params_ptr);
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (GetQueryObjectParam)pname, (Int64*)@params_ptr);
}
}
#if DEBUG
@ -24434,7 +24395,7 @@ namespace OpenTK.Graphics.ES20
/// </param>
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")]
public static
void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int64 @params)
void GetQueryObject(Int32 id, GetQueryObjectParam pname, [OutAttribute] out Int64 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -24444,7 +24405,7 @@ namespace OpenTK.Graphics.ES20
{
fixed (Int64* @params_ptr = &@params)
{
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES20.All)pname, (Int64*)@params_ptr);
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (GetQueryObjectParam)pname, (Int64*)@params_ptr);
@params = *@params_ptr;
}
}
@ -24475,13 +24436,13 @@ namespace OpenTK.Graphics.ES20
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")]
public static
unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int64* @params)
unsafe void GetQueryObject(Int32 id, GetQueryObjectParam pname, [OutAttribute] Int64* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES20.All)pname, (Int64*)@params);
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (GetQueryObjectParam)pname, (Int64*)@params);
#if DEBUG
}
#endif
@ -24509,7 +24470,7 @@ namespace OpenTK.Graphics.ES20
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")]
public static
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int64[] @params)
void GetQueryObject(UInt32 id, GetQueryObjectParam pname, [OutAttribute] Int64[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -24519,7 +24480,7 @@ namespace OpenTK.Graphics.ES20
{
fixed (Int64* @params_ptr = @params)
{
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES20.All)pname, (Int64*)@params_ptr);
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (GetQueryObjectParam)pname, (Int64*)@params_ptr);
}
}
#if DEBUG
@ -24549,7 +24510,7 @@ namespace OpenTK.Graphics.ES20
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")]
public static
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int64 @params)
void GetQueryObject(UInt32 id, GetQueryObjectParam pname, [OutAttribute] out Int64 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -24559,7 +24520,7 @@ namespace OpenTK.Graphics.ES20
{
fixed (Int64* @params_ptr = &@params)
{
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES20.All)pname, (Int64*)@params_ptr);
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (GetQueryObjectParam)pname, (Int64*)@params_ptr);
@params = *@params_ptr;
}
}
@ -24590,13 +24551,13 @@ namespace OpenTK.Graphics.ES20
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")]
public static
unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int64* @params)
unsafe void GetQueryObject(UInt32 id, GetQueryObjectParam pname, [OutAttribute] Int64* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES20.All)pname, (Int64*)@params);
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (GetQueryObjectParam)pname, (Int64*)@params);
#if DEBUG
}
#endif
@ -24623,7 +24584,7 @@ namespace OpenTK.Graphics.ES20
/// </param>
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")]
public static
void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params)
void GetQueryObject(Int32 id, GetQueryObjectParam pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -24633,7 +24594,7 @@ namespace OpenTK.Graphics.ES20
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr);
Delegates.glGetQueryObjectivEXT((UInt32)id, (GetQueryObjectParam)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
@ -24662,7 +24623,7 @@ namespace OpenTK.Graphics.ES20
/// </param>
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")]
public static
void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params)
void GetQueryObject(Int32 id, GetQueryObjectParam pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -24672,7 +24633,7 @@ namespace OpenTK.Graphics.ES20
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr);
Delegates.glGetQueryObjectivEXT((UInt32)id, (GetQueryObjectParam)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
@ -24703,13 +24664,13 @@ namespace OpenTK.Graphics.ES20
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")]
public static
unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params)
unsafe void GetQueryObject(Int32 id, GetQueryObjectParam pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params);
Delegates.glGetQueryObjectivEXT((UInt32)id, (GetQueryObjectParam)pname, (Int32*)@params);
#if DEBUG
}
#endif
@ -24737,7 +24698,7 @@ namespace OpenTK.Graphics.ES20
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")]
public static
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params)
void GetQueryObject(UInt32 id, GetQueryObjectParam pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -24747,7 +24708,7 @@ namespace OpenTK.Graphics.ES20
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr);
Delegates.glGetQueryObjectivEXT((UInt32)id, (GetQueryObjectParam)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
@ -24777,7 +24738,7 @@ namespace OpenTK.Graphics.ES20
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")]
public static
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params)
void GetQueryObject(UInt32 id, GetQueryObjectParam pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -24787,7 +24748,7 @@ namespace OpenTK.Graphics.ES20
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr);
Delegates.glGetQueryObjectivEXT((UInt32)id, (GetQueryObjectParam)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
@ -24818,13 +24779,13 @@ namespace OpenTK.Graphics.ES20
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")]
public static
unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params)
unsafe void GetQueryObject(UInt32 id, GetQueryObjectParam pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params);
Delegates.glGetQueryObjectivEXT((UInt32)id, (GetQueryObjectParam)pname, (Int32*)@params);
#if DEBUG
}
#endif
@ -24852,7 +24813,7 @@ namespace OpenTK.Graphics.ES20
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")]
public static
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] UInt64[] @params)
void GetQueryObject(UInt32 id, GetQueryObjectParam pname, [OutAttribute] UInt64[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -24862,7 +24823,7 @@ namespace OpenTK.Graphics.ES20
{
fixed (UInt64* @params_ptr = @params)
{
Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ES20.All)pname, (UInt64*)@params_ptr);
Delegates.glGetQueryObjectui64vEXT((UInt32)id, (GetQueryObjectParam)pname, (UInt64*)@params_ptr);
}
}
#if DEBUG
@ -24892,7 +24853,7 @@ namespace OpenTK.Graphics.ES20
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")]
public static
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] out UInt64 @params)
void GetQueryObject(UInt32 id, GetQueryObjectParam pname, [OutAttribute] out UInt64 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -24902,7 +24863,7 @@ namespace OpenTK.Graphics.ES20
{
fixed (UInt64* @params_ptr = &@params)
{
Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ES20.All)pname, (UInt64*)@params_ptr);
Delegates.glGetQueryObjectui64vEXT((UInt32)id, (GetQueryObjectParam)pname, (UInt64*)@params_ptr);
@params = *@params_ptr;
}
}
@ -24933,13 +24894,13 @@ namespace OpenTK.Graphics.ES20
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")]
public static
unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] UInt64* @params)
unsafe void GetQueryObject(UInt32 id, GetQueryObjectParam pname, [OutAttribute] UInt64* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ES20.All)pname, (UInt64*)@params);
Delegates.glGetQueryObjectui64vEXT((UInt32)id, (GetQueryObjectParam)pname, (UInt64*)@params);
#if DEBUG
}
#endif
@ -24967,7 +24928,7 @@ namespace OpenTK.Graphics.ES20
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryObjectuivEXT")]
public static
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] UInt32[] @params)
void GetQueryObject(UInt32 id, GetQueryObjectParam pname, [OutAttribute] UInt32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -24977,7 +24938,7 @@ namespace OpenTK.Graphics.ES20
{
fixed (UInt32* @params_ptr = @params)
{
Delegates.glGetQueryObjectuivEXT((UInt32)id, (OpenTK.Graphics.ES20.All)pname, (UInt32*)@params_ptr);
Delegates.glGetQueryObjectuivEXT((UInt32)id, (GetQueryObjectParam)pname, (UInt32*)@params_ptr);
}
}
#if DEBUG
@ -25007,7 +24968,7 @@ namespace OpenTK.Graphics.ES20
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryObjectuivEXT")]
public static
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] out UInt32 @params)
void GetQueryObject(UInt32 id, GetQueryObjectParam pname, [OutAttribute] out UInt32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -25017,7 +24978,7 @@ namespace OpenTK.Graphics.ES20
{
fixed (UInt32* @params_ptr = &@params)
{
Delegates.glGetQueryObjectuivEXT((UInt32)id, (OpenTK.Graphics.ES20.All)pname, (UInt32*)@params_ptr);
Delegates.glGetQueryObjectuivEXT((UInt32)id, (GetQueryObjectParam)pname, (UInt32*)@params_ptr);
@params = *@params_ptr;
}
}
@ -25048,13 +25009,13 @@ namespace OpenTK.Graphics.ES20
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryObjectuivEXT")]
public static
unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] UInt32* @params)
unsafe void GetQueryObject(UInt32 id, GetQueryObjectParam pname, [OutAttribute] UInt32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetQueryObjectuivEXT((UInt32)id, (OpenTK.Graphics.ES20.All)pname, (UInt32*)@params);
Delegates.glGetQueryObjectuivEXT((UInt32)id, (GetQueryObjectParam)pname, (UInt32*)@params);
#if DEBUG
}
#endif
@ -25226,13 +25187,13 @@ namespace OpenTK.Graphics.ES20
/// </param>
[AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glMapBufferRangeEXT")]
public static
IntPtr MapBufferRange(OpenTK.Graphics.ES20.All target, IntPtr offset, IntPtr length, Int32 access)
IntPtr MapBufferRange(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr length, Int32 access)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glMapBufferRangeEXT((OpenTK.Graphics.ES20.All)target, (IntPtr)offset, (IntPtr)length, (UInt32)access);
return Delegates.glMapBufferRangeEXT((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (UInt32)access);
#if DEBUG
}
#endif
@ -25265,13 +25226,13 @@ namespace OpenTK.Graphics.ES20
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glMapBufferRangeEXT")]
public static
IntPtr MapBufferRange(OpenTK.Graphics.ES20.All target, IntPtr offset, IntPtr length, UInt32 access)
IntPtr MapBufferRange(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr length, UInt32 access)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glMapBufferRangeEXT((OpenTK.Graphics.ES20.All)target, (IntPtr)offset, (IntPtr)length, (UInt32)access);
return Delegates.glMapBufferRangeEXT((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (UInt32)access);
#if DEBUG
}
#endif
@ -34959,52 +34920,13 @@ namespace OpenTK.Graphics.ES20
/// </param>
[AutoGenerated(Category = "NV_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferNV")]
public static
void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, Int32 mask, OpenTK.Graphics.ES20.All filter)
void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES20.ClearBufferMask mask, BlitFramebufferFilter filter)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBlitFramebufferNV((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (UInt32)mask, (OpenTK.Graphics.ES20.All)filter);
#if DEBUG
}
#endif
}
/// <summary>[requires: NV_framebuffer_blit]
/// Copy a block of pixels from the read framebuffer to the draw framebuffer
/// </summary>
/// <param name="srcX0">
/// <para>
/// Specify the bounds of the source rectangle within the read buffer of the read framebuffer.
/// </para>
/// </param>
/// <param name="dstX0">
/// <para>
/// Specify the bounds of the destination rectangle within the write buffer of the write framebuffer.
/// </para>
/// </param>
/// <param name="mask">
/// <para>
/// The bitwise OR of the flags indicating which buffers are to be copied. The allowed flags are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT and GL_STENCIL_BUFFER_BIT.
/// </para>
/// </param>
/// <param name="filter">
/// <para>
/// Specifies the interpolation to be applied if the image is stretched. Must be GL_NEAREST or GL_LINEAR.
/// </para>
/// </param>
[System.CLSCompliant(false)]
[AutoGenerated(Category = "NV_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferNV")]
public static
void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, UInt32 mask, OpenTK.Graphics.ES20.All filter)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBlitFramebufferNV((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (UInt32)mask, (OpenTK.Graphics.ES20.All)filter);
Delegates.glBlitFramebufferNV((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES20.ClearBufferMask)mask, (BlitFramebufferFilter)filter);
#if DEBUG
}
#endif
@ -37719,13 +37641,13 @@ namespace OpenTK.Graphics.ES20
/// <summary>[requires: OES_mapbuffer]</summary>
[AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")]
public static
void GetBufferPointer(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr @params)
void GetBufferPointer(OpenTK.Graphics.ES20.BufferTarget target, BufferPointer pname, [OutAttribute] IntPtr @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)pname, (IntPtr)@params);
Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES20.BufferTarget)target, (BufferPointer)pname, (IntPtr)@params);
#if DEBUG
}
#endif
@ -37734,7 +37656,7 @@ namespace OpenTK.Graphics.ES20
/// <summary>[requires: OES_mapbuffer]</summary>
[AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")]
public static
void GetBufferPointer<T2>(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[] @params)
void GetBufferPointer<T2>(OpenTK.Graphics.ES20.BufferTarget target, BufferPointer pname, [InAttribute, OutAttribute] T2[] @params)
where T2 : struct
{
#if DEBUG
@ -37744,7 +37666,7 @@ namespace OpenTK.Graphics.ES20
GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
try
{
Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES20.BufferTarget)target, (BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
}
finally
{
@ -37758,7 +37680,7 @@ namespace OpenTK.Graphics.ES20
/// <summary>[requires: OES_mapbuffer]</summary>
[AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")]
public static
void GetBufferPointer<T2>(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[,] @params)
void GetBufferPointer<T2>(OpenTK.Graphics.ES20.BufferTarget target, BufferPointer pname, [InAttribute, OutAttribute] T2[,] @params)
where T2 : struct
{
#if DEBUG
@ -37768,7 +37690,7 @@ namespace OpenTK.Graphics.ES20
GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
try
{
Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES20.BufferTarget)target, (BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
}
finally
{
@ -37782,7 +37704,7 @@ namespace OpenTK.Graphics.ES20
/// <summary>[requires: OES_mapbuffer]</summary>
[AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")]
public static
void GetBufferPointer<T2>(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[,,] @params)
void GetBufferPointer<T2>(OpenTK.Graphics.ES20.BufferTarget target, BufferPointer pname, [InAttribute, OutAttribute] T2[,,] @params)
where T2 : struct
{
#if DEBUG
@ -37792,7 +37714,7 @@ namespace OpenTK.Graphics.ES20
GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
try
{
Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES20.BufferTarget)target, (BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
}
finally
{
@ -37806,7 +37728,7 @@ namespace OpenTK.Graphics.ES20
/// <summary>[requires: OES_mapbuffer]</summary>
[AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")]
public static
void GetBufferPointer<T2>(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] ref T2 @params)
void GetBufferPointer<T2>(OpenTK.Graphics.ES20.BufferTarget target, BufferPointer pname, [InAttribute, OutAttribute] ref T2 @params)
where T2 : struct
{
#if DEBUG
@ -37816,7 +37738,7 @@ namespace OpenTK.Graphics.ES20
GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
try
{
Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES20.BufferTarget)target, (BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
@params = (T2)@params_ptr.Target;
}
finally
@ -40836,13 +40758,13 @@ namespace OpenTK.Graphics.ES20
/// <summary>[requires: OES_mapbuffer]</summary>
[AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glUnmapBufferOES")]
public static
bool UnmapBuffer(OpenTK.Graphics.ES20.All target)
bool UnmapBuffer(OpenTK.Graphics.ES20.BufferTarget target)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glUnmapBufferOES((OpenTK.Graphics.ES20.All)target);
return Delegates.glUnmapBufferOES((OpenTK.Graphics.ES20.BufferTarget)target);
#if DEBUG
}
#endif

View file

@ -59,7 +59,7 @@ namespace OpenTK.Graphics.ES20
internal extern static void BeginPerfMonitorAMD(UInt32 monitor);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginQueryEXT", ExactSpelling = true)]
internal extern static void BeginQueryEXT(OpenTK.Graphics.ES20.All target, UInt32 id);
internal extern static void BeginQueryEXT(QueryTarget target, UInt32 id);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindAttribLocation", ExactSpelling = true)]
internal extern static void BindAttribLocation(UInt32 program, UInt32 index, String name);
@ -107,10 +107,10 @@ namespace OpenTK.Graphics.ES20
internal extern static void BlendParameteriNV(OpenTK.Graphics.ES20.All pname, Int32 value);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlitFramebufferANGLE", ExactSpelling = true)]
internal extern static void BlitFramebufferANGLE(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, UInt32 mask, OpenTK.Graphics.ES20.All filter);
internal extern static void BlitFramebufferANGLE(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES20.ClearBufferMask mask, BlitFramebufferFilter filter);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlitFramebufferNV", ExactSpelling = true)]
internal extern static void BlitFramebufferNV(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, UInt32 mask, OpenTK.Graphics.ES20.All filter);
internal extern static void BlitFramebufferNV(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES20.ClearBufferMask mask, BlitFramebufferFilter filter);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferData", ExactSpelling = true)]
internal extern static void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES20.BufferUsage usage);
@ -326,7 +326,7 @@ namespace OpenTK.Graphics.ES20
internal extern static void EndPerfMonitorAMD(UInt32 monitor);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndQueryEXT", ExactSpelling = true)]
internal extern static void EndQueryEXT(OpenTK.Graphics.ES20.All target);
internal extern static void EndQueryEXT(QueryTarget target);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndTilingQCOM", ExactSpelling = true)]
internal extern static void EndTilingQCOM(UInt32 preserveMask);
@ -380,7 +380,7 @@ namespace OpenTK.Graphics.ES20
internal extern static void Flush();
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushMappedBufferRangeEXT", ExactSpelling = true)]
internal extern static void FlushMappedBufferRangeEXT(OpenTK.Graphics.ES20.All target, IntPtr offset, IntPtr length);
internal extern static void FlushMappedBufferRangeEXT(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr length);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferRenderbuffer", ExactSpelling = true)]
internal extern static void FramebufferRenderbuffer(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer);
@ -449,7 +449,7 @@ namespace OpenTK.Graphics.ES20
internal extern static unsafe void GetBufferParameteriv(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferParameterName pname, [OutAttribute] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferPointervOES", ExactSpelling = true)]
internal extern static void GetBufferPointervOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr @params);
internal extern static void GetBufferPointervOES(OpenTK.Graphics.ES20.BufferTarget target, BufferPointer pname, [OutAttribute] IntPtr @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDebugMessageLog", ExactSpelling = true)]
internal extern static unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.All* sources, [OutAttribute] OpenTK.Graphics.ES20.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES20.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
@ -548,19 +548,19 @@ namespace OpenTK.Graphics.ES20
internal extern static unsafe void GetProgramPipelineivEXT(UInt32 pipeline, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryivEXT", ExactSpelling = true)]
internal extern static unsafe void GetQueryivEXT(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params);
internal extern static unsafe void GetQueryivEXT(QueryTarget target, GetQueryParam pname, [OutAttribute] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjecti64vEXT", ExactSpelling = true)]
internal extern static unsafe void GetQueryObjecti64vEXT(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int64* @params);
internal extern static unsafe void GetQueryObjecti64vEXT(UInt32 id, GetQueryObjectParam pname, [OutAttribute] Int64* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectivEXT", ExactSpelling = true)]
internal extern static unsafe void GetQueryObjectivEXT(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params);
internal extern static unsafe void GetQueryObjectivEXT(UInt32 id, GetQueryObjectParam pname, [OutAttribute] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectui64vEXT", ExactSpelling = true)]
internal extern static unsafe void GetQueryObjectui64vEXT(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] UInt64* @params);
internal extern static unsafe void GetQueryObjectui64vEXT(UInt32 id, GetQueryObjectParam pname, [OutAttribute] UInt64* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectuivEXT", ExactSpelling = true)]
internal extern static unsafe void GetQueryObjectuivEXT(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] UInt32* @params);
internal extern static unsafe void GetQueryObjectuivEXT(UInt32 id, GetQueryObjectParam pname, [OutAttribute] UInt32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetRenderbufferParameteriv", ExactSpelling = true)]
internal extern static unsafe void GetRenderbufferParameteriv(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferParameterName pname, [OutAttribute] Int32* @params);
@ -665,7 +665,7 @@ namespace OpenTK.Graphics.ES20
internal extern static IntPtr MapBufferOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All access);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBufferRangeEXT", ExactSpelling = true)]
internal extern static IntPtr MapBufferRangeEXT(OpenTK.Graphics.ES20.All target, IntPtr offset, IntPtr length, UInt32 access);
internal extern static IntPtr MapBufferRangeEXT(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr length, UInt32 access);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArraysEXT", ExactSpelling = true)]
internal extern static unsafe void MultiDrawArraysEXT(OpenTK.Graphics.ES20.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount);
@ -1013,7 +1013,7 @@ namespace OpenTK.Graphics.ES20
internal extern static unsafe void UniformMatrix4x3fvNV(Int32 location, Int32 count, bool transpose, Single* value);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUnmapBufferOES", ExactSpelling = true)]
internal extern static bool UnmapBufferOES(OpenTK.Graphics.ES20.All target);
internal extern static bool UnmapBufferOES(OpenTK.Graphics.ES20.BufferTarget target);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUseProgram", ExactSpelling = true)]
internal extern static void UseProgram(UInt32 program);

View file

@ -57,7 +57,7 @@ namespace OpenTK.Graphics.ES20
internal delegate void BeginPerfMonitorAMD(UInt32 monitor);
internal static BeginPerfMonitorAMD glBeginPerfMonitorAMD;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BeginQueryEXT(OpenTK.Graphics.ES20.All target, UInt32 id);
internal delegate void BeginQueryEXT(QueryTarget target, UInt32 id);
internal static BeginQueryEXT glBeginQueryEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BindAttribLocation(UInt32 program, UInt32 index, String name);
@ -105,10 +105,10 @@ namespace OpenTK.Graphics.ES20
internal delegate void BlendParameteriNV(OpenTK.Graphics.ES20.All pname, Int32 value);
internal static BlendParameteriNV glBlendParameteriNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BlitFramebufferANGLE(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, UInt32 mask, OpenTK.Graphics.ES20.All filter);
internal delegate void BlitFramebufferANGLE(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES20.ClearBufferMask mask, BlitFramebufferFilter filter);
internal static BlitFramebufferANGLE glBlitFramebufferANGLE;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BlitFramebufferNV(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, UInt32 mask, OpenTK.Graphics.ES20.All filter);
internal delegate void BlitFramebufferNV(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES20.ClearBufferMask mask, BlitFramebufferFilter filter);
internal static BlitFramebufferNV glBlitFramebufferNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES20.BufferUsage usage);
@ -324,7 +324,7 @@ namespace OpenTK.Graphics.ES20
internal delegate void EndPerfMonitorAMD(UInt32 monitor);
internal static EndPerfMonitorAMD glEndPerfMonitorAMD;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void EndQueryEXT(OpenTK.Graphics.ES20.All target);
internal delegate void EndQueryEXT(QueryTarget target);
internal static EndQueryEXT glEndQueryEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void EndTilingQCOM(UInt32 preserveMask);
@ -378,7 +378,7 @@ namespace OpenTK.Graphics.ES20
internal delegate void Flush();
internal static Flush glFlush;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void FlushMappedBufferRangeEXT(OpenTK.Graphics.ES20.All target, IntPtr offset, IntPtr length);
internal delegate void FlushMappedBufferRangeEXT(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr length);
internal static FlushMappedBufferRangeEXT glFlushMappedBufferRangeEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void FramebufferRenderbuffer(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer);
@ -447,7 +447,7 @@ namespace OpenTK.Graphics.ES20
internal unsafe delegate void GetBufferParameteriv(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferParameterName pname, [OutAttribute] Int32* @params);
internal unsafe static GetBufferParameteriv glGetBufferParameteriv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void GetBufferPointervOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr @params);
internal delegate void GetBufferPointervOES(OpenTK.Graphics.ES20.BufferTarget target, BufferPointer pname, [OutAttribute] IntPtr @params);
internal static GetBufferPointervOES glGetBufferPointervOES;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.All* sources, [OutAttribute] OpenTK.Graphics.ES20.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES20.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
@ -546,19 +546,19 @@ namespace OpenTK.Graphics.ES20
internal unsafe delegate void GetProgramPipelineivEXT(UInt32 pipeline, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params);
internal unsafe static GetProgramPipelineivEXT glGetProgramPipelineivEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetQueryivEXT(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params);
internal unsafe delegate void GetQueryivEXT(QueryTarget target, GetQueryParam pname, [OutAttribute] Int32* @params);
internal unsafe static GetQueryivEXT glGetQueryivEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetQueryObjecti64vEXT(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int64* @params);
internal unsafe delegate void GetQueryObjecti64vEXT(UInt32 id, GetQueryObjectParam pname, [OutAttribute] Int64* @params);
internal unsafe static GetQueryObjecti64vEXT glGetQueryObjecti64vEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetQueryObjectivEXT(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params);
internal unsafe delegate void GetQueryObjectivEXT(UInt32 id, GetQueryObjectParam pname, [OutAttribute] Int32* @params);
internal unsafe static GetQueryObjectivEXT glGetQueryObjectivEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetQueryObjectui64vEXT(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] UInt64* @params);
internal unsafe delegate void GetQueryObjectui64vEXT(UInt32 id, GetQueryObjectParam pname, [OutAttribute] UInt64* @params);
internal unsafe static GetQueryObjectui64vEXT glGetQueryObjectui64vEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetQueryObjectuivEXT(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] UInt32* @params);
internal unsafe delegate void GetQueryObjectuivEXT(UInt32 id, GetQueryObjectParam pname, [OutAttribute] UInt32* @params);
internal unsafe static GetQueryObjectuivEXT glGetQueryObjectuivEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetRenderbufferParameteriv(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferParameterName pname, [OutAttribute] Int32* @params);
@ -663,7 +663,7 @@ namespace OpenTK.Graphics.ES20
internal delegate IntPtr MapBufferOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All access);
internal static MapBufferOES glMapBufferOES;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate IntPtr MapBufferRangeEXT(OpenTK.Graphics.ES20.All target, IntPtr offset, IntPtr length, UInt32 access);
internal delegate IntPtr MapBufferRangeEXT(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr length, UInt32 access);
internal static MapBufferRangeEXT glMapBufferRangeEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void MultiDrawArraysEXT(OpenTK.Graphics.ES20.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount);
@ -1011,7 +1011,7 @@ namespace OpenTK.Graphics.ES20
internal unsafe delegate void UniformMatrix4x3fvNV(Int32 location, Int32 count, bool transpose, Single* value);
internal unsafe static UniformMatrix4x3fvNV glUniformMatrix4x3fvNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate bool UnmapBufferOES(OpenTK.Graphics.ES20.All target);
internal delegate bool UnmapBufferOES(OpenTK.Graphics.ES20.BufferTarget target);
internal static UnmapBufferOES glUnmapBufferOES;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void UseProgram(UInt32 program);

View file

@ -167,7 +167,7 @@ namespace OpenTK.Graphics.ES20
}
/// <summary>
/// Used in GL.Amd.GetPerfMonitorCounterData, GL.Amd.GetPerfMonitorCounterInfo and 80 other functions
/// Used in GL.Amd.GetPerfMonitorCounterData, GL.Amd.GetPerfMonitorCounterInfo and 70 other functions
/// </summary>
public enum All : int
{
@ -8171,7 +8171,7 @@ namespace OpenTK.Graphics.ES20
}
/// <summary>
/// Used in GL.BindBuffer, GL.BufferData and 2 other functions
/// Used in GL.BindBuffer, GL.BufferData and 6 other functions
/// </summary>
public enum BufferTarget : int
{
@ -8205,7 +8205,7 @@ namespace OpenTK.Graphics.ES20
}
/// <summary>
/// Used in GL.Clear
/// Used in GL.Angle.BlitFramebuffer, GL.Clear and 1 other function
/// </summary>
[Flags]
public enum ClearBufferMask : int

View file

@ -1267,52 +1267,13 @@ namespace OpenTK.Graphics.ES30
/// </param>
[AutoGenerated(Category = "ANGLE_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferANGLE")]
public static
void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, Int32 mask, OpenTK.Graphics.ES30.All filter)
void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.BlitFramebufferFilter filter)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBlitFramebufferANGLE((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (UInt32)mask, (OpenTK.Graphics.ES30.All)filter);
#if DEBUG
}
#endif
}
/// <summary>[requires: ANGLE_framebuffer_blit]
/// Copy a block of pixels from the read framebuffer to the draw framebuffer
/// </summary>
/// <param name="srcX0">
/// <para>
/// Specify the bounds of the source rectangle within the read buffer of the read framebuffer.
/// </para>
/// </param>
/// <param name="dstX0">
/// <para>
/// Specify the bounds of the destination rectangle within the write buffer of the write framebuffer.
/// </para>
/// </param>
/// <param name="mask">
/// <para>
/// The bitwise OR of the flags indicating which buffers are to be copied. The allowed flags are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT and GL_STENCIL_BUFFER_BIT.
/// </para>
/// </param>
/// <param name="filter">
/// <para>
/// Specifies the interpolation to be applied if the image is stretched. Must be GL_NEAREST or GL_LINEAR.
/// </para>
/// </param>
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ANGLE_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferANGLE")]
public static
void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, UInt32 mask, OpenTK.Graphics.ES30.All filter)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBlitFramebufferANGLE((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (UInt32)mask, (OpenTK.Graphics.ES30.All)filter);
Delegates.glBlitFramebufferANGLE((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES30.ClearBufferMask)mask, (OpenTK.Graphics.ES30.BlitFramebufferFilter)filter);
#if DEBUG
}
#endif
@ -2461,13 +2422,13 @@ namespace OpenTK.Graphics.ES30
/// </param>
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBeginQuery")]
public static
void BeginQuery(OpenTK.Graphics.ES30.All target, Int32 id)
void BeginQuery(OpenTK.Graphics.ES30.QueryTarget target, Int32 id)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBeginQuery((OpenTK.Graphics.ES30.All)target, (UInt32)id);
Delegates.glBeginQuery((OpenTK.Graphics.ES30.QueryTarget)target, (UInt32)id);
#if DEBUG
}
#endif
@ -2490,13 +2451,13 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBeginQuery")]
public static
void BeginQuery(OpenTK.Graphics.ES30.All target, UInt32 id)
void BeginQuery(OpenTK.Graphics.ES30.QueryTarget target, UInt32 id)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBeginQuery((OpenTK.Graphics.ES30.All)target, (UInt32)id);
Delegates.glBeginQuery((OpenTK.Graphics.ES30.QueryTarget)target, (UInt32)id);
#if DEBUG
}
#endif
@ -2513,13 +2474,13 @@ namespace OpenTK.Graphics.ES30
/// </param>
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBeginTransformFeedback")]
public static
void BeginTransformFeedback(OpenTK.Graphics.ES30.All primitiveMode)
void BeginTransformFeedback(OpenTK.Graphics.ES30.BeginFeedbackMode primitiveMode)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBeginTransformFeedback((OpenTK.Graphics.ES30.All)primitiveMode);
Delegates.glBeginTransformFeedback((OpenTK.Graphics.ES30.BeginFeedbackMode)primitiveMode);
#if DEBUG
}
#endif
@ -3047,13 +3008,13 @@ namespace OpenTK.Graphics.ES30
/// </param>
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindTransformFeedback")]
public static
void BindTransformFeedback(OpenTK.Graphics.ES30.All target, Int32 id)
void BindTransformFeedback(OpenTK.Graphics.ES30.TransformFeedbackTarget target, Int32 id)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindTransformFeedback((OpenTK.Graphics.ES30.All)target, (UInt32)id);
Delegates.glBindTransformFeedback((OpenTK.Graphics.ES30.TransformFeedbackTarget)target, (UInt32)id);
#if DEBUG
}
#endif
@ -3076,13 +3037,13 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindTransformFeedback")]
public static
void BindTransformFeedback(OpenTK.Graphics.ES30.All target, UInt32 id)
void BindTransformFeedback(OpenTK.Graphics.ES30.TransformFeedbackTarget target, UInt32 id)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBindTransformFeedback((OpenTK.Graphics.ES30.All)target, (UInt32)id);
Delegates.glBindTransformFeedback((OpenTK.Graphics.ES30.TransformFeedbackTarget)target, (UInt32)id);
#if DEBUG
}
#endif
@ -3321,13 +3282,13 @@ namespace OpenTK.Graphics.ES30
/// </param>
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBlitFramebuffer")]
public static
void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.All filter)
void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.BlitFramebufferFilter filter)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBlitFramebuffer((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES30.ClearBufferMask)mask, (OpenTK.Graphics.ES30.All)filter);
Delegates.glBlitFramebuffer((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES30.ClearBufferMask)mask, (OpenTK.Graphics.ES30.BlitFramebufferFilter)filter);
#if DEBUG
}
#endif
@ -10190,13 +10151,13 @@ namespace OpenTK.Graphics.ES30
/// <summary>[requires: v3.0 and ES_VERSION_3_0]</summary>
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glEndQuery")]
public static
void EndQuery(OpenTK.Graphics.ES30.All target)
void EndQuery(OpenTK.Graphics.ES30.QueryTarget target)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glEndQuery((OpenTK.Graphics.ES30.All)target);
Delegates.glEndQuery((OpenTK.Graphics.ES30.QueryTarget)target);
#if DEBUG
}
#endif
@ -10331,13 +10292,13 @@ namespace OpenTK.Graphics.ES30
/// </param>
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glFlushMappedBufferRange")]
public static
void FlushMappedBufferRange(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr length)
void FlushMappedBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glFlushMappedBufferRange((OpenTK.Graphics.ES30.All)target, (IntPtr)offset, (IntPtr)length);
Delegates.glFlushMappedBufferRange((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length);
#if DEBUG
}
#endif
@ -14010,13 +13971,13 @@ namespace OpenTK.Graphics.ES30
/// </param>
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")]
public static
void GetBufferPointer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr @params)
void GetBufferPointer(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [OutAttribute] IntPtr @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params);
Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params);
#if DEBUG
}
#endif
@ -14043,7 +14004,7 @@ namespace OpenTK.Graphics.ES30
/// </param>
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")]
public static
void GetBufferPointer<T2>(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[] @params)
void GetBufferPointer<T2>(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [InAttribute, OutAttribute] T2[] @params)
where T2 : struct
{
#if DEBUG
@ -14053,7 +14014,7 @@ namespace OpenTK.Graphics.ES30
GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
try
{
Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
}
finally
{
@ -14085,7 +14046,7 @@ namespace OpenTK.Graphics.ES30
/// </param>
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")]
public static
void GetBufferPointer<T2>(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[,] @params)
void GetBufferPointer<T2>(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [InAttribute, OutAttribute] T2[,] @params)
where T2 : struct
{
#if DEBUG
@ -14095,7 +14056,7 @@ namespace OpenTK.Graphics.ES30
GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
try
{
Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
}
finally
{
@ -14127,7 +14088,7 @@ namespace OpenTK.Graphics.ES30
/// </param>
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")]
public static
void GetBufferPointer<T2>(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[,,] @params)
void GetBufferPointer<T2>(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [InAttribute, OutAttribute] T2[,,] @params)
where T2 : struct
{
#if DEBUG
@ -14137,7 +14098,7 @@ namespace OpenTK.Graphics.ES30
GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
try
{
Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
}
finally
{
@ -14169,7 +14130,7 @@ namespace OpenTK.Graphics.ES30
/// </param>
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")]
public static
void GetBufferPointer<T2>(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] ref T2 @params)
void GetBufferPointer<T2>(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [InAttribute, OutAttribute] ref T2 @params)
where T2 : struct
{
#if DEBUG
@ -14179,7 +14140,7 @@ namespace OpenTK.Graphics.ES30
GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
try
{
Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
@params = (T2)@params_ptr.Target;
}
finally
@ -18098,7 +18059,7 @@ namespace OpenTK.Graphics.ES30
/// </param>
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryiv")]
public static
void GetQuery(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params)
void GetQuery(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -18108,7 +18069,7 @@ namespace OpenTK.Graphics.ES30
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetQueryiv((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params_ptr);
Delegates.glGetQueryiv((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
@ -18137,7 +18098,7 @@ namespace OpenTK.Graphics.ES30
/// </param>
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryiv")]
public static
void GetQuery(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params)
void GetQuery(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -18147,7 +18108,7 @@ namespace OpenTK.Graphics.ES30
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetQueryiv((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params_ptr);
Delegates.glGetQueryiv((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
@ -18178,13 +18139,13 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryiv")]
public static
unsafe void GetQuery(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params)
unsafe void GetQuery(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetQueryiv((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params);
Delegates.glGetQueryiv((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (Int32*)@params);
#if DEBUG
}
#endif
@ -18211,7 +18172,7 @@ namespace OpenTK.Graphics.ES30
/// </param>
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")]
public static
void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params)
void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -18221,7 +18182,7 @@ namespace OpenTK.Graphics.ES30
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.All)pname, (UInt32*)@params_ptr);
Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params_ptr);
}
}
#if DEBUG
@ -18250,7 +18211,7 @@ namespace OpenTK.Graphics.ES30
/// </param>
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")]
public static
void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params)
void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -18260,7 +18221,7 @@ namespace OpenTK.Graphics.ES30
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.All)pname, (UInt32*)@params_ptr);
Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params_ptr);
@params = *@params_ptr;
}
}
@ -18291,13 +18252,13 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")]
public static
unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params)
unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.All)pname, (UInt32*)@params);
Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params);
#if DEBUG
}
#endif
@ -18325,7 +18286,7 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")]
public static
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt32[] @params)
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -18335,7 +18296,7 @@ namespace OpenTK.Graphics.ES30
{
fixed (UInt32* @params_ptr = @params)
{
Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.All)pname, (UInt32*)@params_ptr);
Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params_ptr);
}
}
#if DEBUG
@ -18365,7 +18326,7 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")]
public static
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out UInt32 @params)
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] out UInt32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -18375,7 +18336,7 @@ namespace OpenTK.Graphics.ES30
{
fixed (UInt32* @params_ptr = &@params)
{
Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.All)pname, (UInt32*)@params_ptr);
Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params_ptr);
@params = *@params_ptr;
}
}
@ -18406,13 +18367,13 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")]
public static
unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt32* @params)
unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.All)pname, (UInt32*)@params);
Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params);
#if DEBUG
}
#endif
@ -32208,13 +32169,13 @@ namespace OpenTK.Graphics.ES30
/// <summary>[requires: v3.0 and ES_VERSION_3_0]</summary>
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUnmapBuffer")]
public static
bool UnmapBuffer(OpenTK.Graphics.ES30.All target)
bool UnmapBuffer(OpenTK.Graphics.ES30.BufferTarget target)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glUnmapBuffer((OpenTK.Graphics.ES30.All)target);
return Delegates.glUnmapBuffer((OpenTK.Graphics.ES30.BufferTarget)target);
#if DEBUG
}
#endif
@ -35019,13 +34980,13 @@ namespace OpenTK.Graphics.ES30
/// </param>
[AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glBeginQueryEXT")]
public static
void BeginQuery(OpenTK.Graphics.ES30.All target, Int32 id)
void BeginQuery(OpenTK.Graphics.ES30.QueryTarget target, Int32 id)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBeginQueryEXT((OpenTK.Graphics.ES30.All)target, (UInt32)id);
Delegates.glBeginQueryEXT((OpenTK.Graphics.ES30.QueryTarget)target, (UInt32)id);
#if DEBUG
}
#endif
@ -35048,13 +35009,13 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glBeginQueryEXT")]
public static
void BeginQuery(OpenTK.Graphics.ES30.All target, UInt32 id)
void BeginQuery(OpenTK.Graphics.ES30.QueryTarget target, UInt32 id)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBeginQueryEXT((OpenTK.Graphics.ES30.All)target, (UInt32)id);
Delegates.glBeginQueryEXT((OpenTK.Graphics.ES30.QueryTarget)target, (UInt32)id);
#if DEBUG
}
#endif
@ -36101,13 +36062,13 @@ namespace OpenTK.Graphics.ES30
/// <summary>[requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean]</summary>
[AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glEndQueryEXT")]
public static
void EndQuery(OpenTK.Graphics.ES30.All target)
void EndQuery(OpenTK.Graphics.ES30.QueryTarget target)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glEndQueryEXT((OpenTK.Graphics.ES30.All)target);
Delegates.glEndQueryEXT((OpenTK.Graphics.ES30.QueryTarget)target);
#if DEBUG
}
#endif
@ -36134,13 +36095,13 @@ namespace OpenTK.Graphics.ES30
/// </param>
[AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glFlushMappedBufferRangeEXT")]
public static
void FlushMappedBufferRange(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr length)
void FlushMappedBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glFlushMappedBufferRangeEXT((OpenTK.Graphics.ES30.All)target, (IntPtr)offset, (IntPtr)length);
Delegates.glFlushMappedBufferRangeEXT((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length);
#if DEBUG
}
#endif
@ -37725,7 +37686,7 @@ namespace OpenTK.Graphics.ES30
/// <summary>[requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean]</summary>
[AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryivEXT")]
public static
void GetQuery(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params)
void GetQuery(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -37735,7 +37696,7 @@ namespace OpenTK.Graphics.ES30
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetQueryivEXT((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params_ptr);
Delegates.glGetQueryivEXT((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
@ -37746,7 +37707,7 @@ namespace OpenTK.Graphics.ES30
/// <summary>[requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean]</summary>
[AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryivEXT")]
public static
void GetQuery(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params)
void GetQuery(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -37756,7 +37717,7 @@ namespace OpenTK.Graphics.ES30
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetQueryivEXT((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params_ptr);
Delegates.glGetQueryivEXT((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
@ -37769,13 +37730,13 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryivEXT")]
public static
unsafe void GetQuery(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params)
unsafe void GetQuery(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetQueryivEXT((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params);
Delegates.glGetQueryivEXT((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (Int32*)@params);
#if DEBUG
}
#endif
@ -37802,7 +37763,7 @@ namespace OpenTK.Graphics.ES30
/// </param>
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")]
public static
void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64[] @params)
void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int64[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -37812,7 +37773,7 @@ namespace OpenTK.Graphics.ES30
{
fixed (Int64* @params_ptr = @params)
{
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES30.All)pname, (Int64*)@params_ptr);
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int64*)@params_ptr);
}
}
#if DEBUG
@ -37841,7 +37802,7 @@ namespace OpenTK.Graphics.ES30
/// </param>
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")]
public static
void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int64 @params)
void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] out Int64 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -37851,7 +37812,7 @@ namespace OpenTK.Graphics.ES30
{
fixed (Int64* @params_ptr = &@params)
{
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES30.All)pname, (Int64*)@params_ptr);
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int64*)@params_ptr);
@params = *@params_ptr;
}
}
@ -37882,13 +37843,13 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")]
public static
unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64* @params)
unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int64* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES30.All)pname, (Int64*)@params);
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int64*)@params);
#if DEBUG
}
#endif
@ -37916,7 +37877,7 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")]
public static
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64[] @params)
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int64[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -37926,7 +37887,7 @@ namespace OpenTK.Graphics.ES30
{
fixed (Int64* @params_ptr = @params)
{
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES30.All)pname, (Int64*)@params_ptr);
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int64*)@params_ptr);
}
}
#if DEBUG
@ -37956,7 +37917,7 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")]
public static
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int64 @params)
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] out Int64 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -37966,7 +37927,7 @@ namespace OpenTK.Graphics.ES30
{
fixed (Int64* @params_ptr = &@params)
{
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES30.All)pname, (Int64*)@params_ptr);
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int64*)@params_ptr);
@params = *@params_ptr;
}
}
@ -37997,13 +37958,13 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")]
public static
unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64* @params)
unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int64* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES30.All)pname, (Int64*)@params);
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int64*)@params);
#if DEBUG
}
#endif
@ -38030,7 +37991,7 @@ namespace OpenTK.Graphics.ES30
/// </param>
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")]
public static
void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params)
void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -38040,7 +38001,7 @@ namespace OpenTK.Graphics.ES30
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params_ptr);
Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
@ -38069,7 +38030,7 @@ namespace OpenTK.Graphics.ES30
/// </param>
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")]
public static
void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params)
void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -38079,7 +38040,7 @@ namespace OpenTK.Graphics.ES30
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params_ptr);
Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
@ -38110,13 +38071,13 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")]
public static
unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params)
unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params);
Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int32*)@params);
#if DEBUG
}
#endif
@ -38144,7 +38105,7 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")]
public static
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params)
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -38154,7 +38115,7 @@ namespace OpenTK.Graphics.ES30
{
fixed (Int32* @params_ptr = @params)
{
Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params_ptr);
Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int32*)@params_ptr);
}
}
#if DEBUG
@ -38184,7 +38145,7 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")]
public static
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params)
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] out Int32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -38194,7 +38155,7 @@ namespace OpenTK.Graphics.ES30
{
fixed (Int32* @params_ptr = &@params)
{
Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params_ptr);
Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int32*)@params_ptr);
@params = *@params_ptr;
}
}
@ -38225,13 +38186,13 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")]
public static
unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params)
unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params);
Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int32*)@params);
#if DEBUG
}
#endif
@ -38259,7 +38220,7 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")]
public static
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt64[] @params)
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt64[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -38269,7 +38230,7 @@ namespace OpenTK.Graphics.ES30
{
fixed (UInt64* @params_ptr = @params)
{
Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ES30.All)pname, (UInt64*)@params_ptr);
Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt64*)@params_ptr);
}
}
#if DEBUG
@ -38299,7 +38260,7 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")]
public static
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out UInt64 @params)
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] out UInt64 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -38309,7 +38270,7 @@ namespace OpenTK.Graphics.ES30
{
fixed (UInt64* @params_ptr = &@params)
{
Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ES30.All)pname, (UInt64*)@params_ptr);
Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt64*)@params_ptr);
@params = *@params_ptr;
}
}
@ -38340,13 +38301,13 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")]
public static
unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt64* @params)
unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt64* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ES30.All)pname, (UInt64*)@params);
Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt64*)@params);
#if DEBUG
}
#endif
@ -38374,7 +38335,7 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryObjectuivEXT")]
public static
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt32[] @params)
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt32[] @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -38384,7 +38345,7 @@ namespace OpenTK.Graphics.ES30
{
fixed (UInt32* @params_ptr = @params)
{
Delegates.glGetQueryObjectuivEXT((UInt32)id, (OpenTK.Graphics.ES30.All)pname, (UInt32*)@params_ptr);
Delegates.glGetQueryObjectuivEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params_ptr);
}
}
#if DEBUG
@ -38414,7 +38375,7 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryObjectuivEXT")]
public static
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out UInt32 @params)
void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] out UInt32 @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -38424,7 +38385,7 @@ namespace OpenTK.Graphics.ES30
{
fixed (UInt32* @params_ptr = &@params)
{
Delegates.glGetQueryObjectuivEXT((UInt32)id, (OpenTK.Graphics.ES30.All)pname, (UInt32*)@params_ptr);
Delegates.glGetQueryObjectuivEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params_ptr);
@params = *@params_ptr;
}
}
@ -38455,13 +38416,13 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryObjectuivEXT")]
public static
unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt32* @params)
unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt32* @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetQueryObjectuivEXT((UInt32)id, (OpenTK.Graphics.ES30.All)pname, (UInt32*)@params);
Delegates.glGetQueryObjectuivEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params);
#if DEBUG
}
#endif
@ -38633,13 +38594,13 @@ namespace OpenTK.Graphics.ES30
/// </param>
[AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glMapBufferRangeEXT")]
public static
IntPtr MapBufferRange(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr length, Int32 access)
IntPtr MapBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length, Int32 access)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glMapBufferRangeEXT((OpenTK.Graphics.ES30.All)target, (IntPtr)offset, (IntPtr)length, (UInt32)access);
return Delegates.glMapBufferRangeEXT((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (UInt32)access);
#if DEBUG
}
#endif
@ -38672,13 +38633,13 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glMapBufferRangeEXT")]
public static
IntPtr MapBufferRange(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr length, UInt32 access)
IntPtr MapBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length, UInt32 access)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glMapBufferRangeEXT((OpenTK.Graphics.ES30.All)target, (IntPtr)offset, (IntPtr)length, (UInt32)access);
return Delegates.glMapBufferRangeEXT((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (UInt32)access);
#if DEBUG
}
#endif
@ -48366,52 +48327,13 @@ namespace OpenTK.Graphics.ES30
/// </param>
[AutoGenerated(Category = "NV_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferNV")]
public static
void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, Int32 mask, OpenTK.Graphics.ES30.All filter)
void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.BlitFramebufferFilter filter)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBlitFramebufferNV((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (UInt32)mask, (OpenTK.Graphics.ES30.All)filter);
#if DEBUG
}
#endif
}
/// <summary>[requires: NV_framebuffer_blit]
/// Copy a block of pixels from the read framebuffer to the draw framebuffer
/// </summary>
/// <param name="srcX0">
/// <para>
/// Specify the bounds of the source rectangle within the read buffer of the read framebuffer.
/// </para>
/// </param>
/// <param name="dstX0">
/// <para>
/// Specify the bounds of the destination rectangle within the write buffer of the write framebuffer.
/// </para>
/// </param>
/// <param name="mask">
/// <para>
/// The bitwise OR of the flags indicating which buffers are to be copied. The allowed flags are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT and GL_STENCIL_BUFFER_BIT.
/// </para>
/// </param>
/// <param name="filter">
/// <para>
/// Specifies the interpolation to be applied if the image is stretched. Must be GL_NEAREST or GL_LINEAR.
/// </para>
/// </param>
[System.CLSCompliant(false)]
[AutoGenerated(Category = "NV_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferNV")]
public static
void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, UInt32 mask, OpenTK.Graphics.ES30.All filter)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBlitFramebufferNV((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (UInt32)mask, (OpenTK.Graphics.ES30.All)filter);
Delegates.glBlitFramebufferNV((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES30.ClearBufferMask)mask, (OpenTK.Graphics.ES30.BlitFramebufferFilter)filter);
#if DEBUG
}
#endif
@ -51126,13 +51048,13 @@ namespace OpenTK.Graphics.ES30
/// <summary>[requires: OES_mapbuffer]</summary>
[AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")]
public static
void GetBufferPointer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr @params)
void GetBufferPointer(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [OutAttribute] IntPtr @params)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params);
Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params);
#if DEBUG
}
#endif
@ -51141,7 +51063,7 @@ namespace OpenTK.Graphics.ES30
/// <summary>[requires: OES_mapbuffer]</summary>
[AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")]
public static
void GetBufferPointer<T2>(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[] @params)
void GetBufferPointer<T2>(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [InAttribute, OutAttribute] T2[] @params)
where T2 : struct
{
#if DEBUG
@ -51151,7 +51073,7 @@ namespace OpenTK.Graphics.ES30
GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
try
{
Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
}
finally
{
@ -51165,7 +51087,7 @@ namespace OpenTK.Graphics.ES30
/// <summary>[requires: OES_mapbuffer]</summary>
[AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")]
public static
void GetBufferPointer<T2>(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[,] @params)
void GetBufferPointer<T2>(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [InAttribute, OutAttribute] T2[,] @params)
where T2 : struct
{
#if DEBUG
@ -51175,7 +51097,7 @@ namespace OpenTK.Graphics.ES30
GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
try
{
Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
}
finally
{
@ -51189,7 +51111,7 @@ namespace OpenTK.Graphics.ES30
/// <summary>[requires: OES_mapbuffer]</summary>
[AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")]
public static
void GetBufferPointer<T2>(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[,,] @params)
void GetBufferPointer<T2>(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [InAttribute, OutAttribute] T2[,,] @params)
where T2 : struct
{
#if DEBUG
@ -51199,7 +51121,7 @@ namespace OpenTK.Graphics.ES30
GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
try
{
Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
}
finally
{
@ -51213,7 +51135,7 @@ namespace OpenTK.Graphics.ES30
/// <summary>[requires: OES_mapbuffer]</summary>
[AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")]
public static
void GetBufferPointer<T2>(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] ref T2 @params)
void GetBufferPointer<T2>(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [InAttribute, OutAttribute] ref T2 @params)
where T2 : struct
{
#if DEBUG
@ -51223,7 +51145,7 @@ namespace OpenTK.Graphics.ES30
GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
try
{
Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
@params = (T2)@params_ptr.Target;
}
finally
@ -54243,13 +54165,13 @@ namespace OpenTK.Graphics.ES30
/// <summary>[requires: OES_mapbuffer]</summary>
[AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glUnmapBufferOES")]
public static
bool UnmapBuffer(OpenTK.Graphics.ES30.All target)
bool UnmapBuffer(OpenTK.Graphics.ES30.BufferTarget target)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
return Delegates.glUnmapBufferOES((OpenTK.Graphics.ES30.All)target);
return Delegates.glUnmapBufferOES((OpenTK.Graphics.ES30.BufferTarget)target);
#if DEBUG
}
#endif

View file

@ -57,13 +57,13 @@ namespace OpenTK.Graphics.ES30
internal delegate void BeginPerfMonitorAMD(UInt32 monitor);
internal static BeginPerfMonitorAMD glBeginPerfMonitorAMD;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BeginQuery(OpenTK.Graphics.ES30.All target, UInt32 id);
internal delegate void BeginQuery(OpenTK.Graphics.ES30.QueryTarget target, UInt32 id);
internal static BeginQuery glBeginQuery;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BeginQueryEXT(OpenTK.Graphics.ES30.All target, UInt32 id);
internal delegate void BeginQueryEXT(OpenTK.Graphics.ES30.QueryTarget target, UInt32 id);
internal static BeginQueryEXT glBeginQueryEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BeginTransformFeedback(OpenTK.Graphics.ES30.All primitiveMode);
internal delegate void BeginTransformFeedback(OpenTK.Graphics.ES30.BeginFeedbackMode primitiveMode);
internal static BeginTransformFeedback glBeginTransformFeedback;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BindAttribLocation(UInt32 program, UInt32 index, String name);
@ -93,7 +93,7 @@ namespace OpenTK.Graphics.ES30
internal delegate void BindTexture(OpenTK.Graphics.ES30.TextureTarget target, UInt32 texture);
internal static BindTexture glBindTexture;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BindTransformFeedback(OpenTK.Graphics.ES30.All target, UInt32 id);
internal delegate void BindTransformFeedback(OpenTK.Graphics.ES30.TransformFeedbackTarget target, UInt32 id);
internal static BindTransformFeedback glBindTransformFeedback;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BindVertexArray(UInt32 array);
@ -126,13 +126,13 @@ namespace OpenTK.Graphics.ES30
internal delegate void BlendParameteriNV(OpenTK.Graphics.ES30.All pname, Int32 value);
internal static BlendParameteriNV glBlendParameteriNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.All filter);
internal delegate void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.BlitFramebufferFilter filter);
internal static BlitFramebuffer glBlitFramebuffer;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BlitFramebufferANGLE(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, UInt32 mask, OpenTK.Graphics.ES30.All filter);
internal delegate void BlitFramebufferANGLE(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.BlitFramebufferFilter filter);
internal static BlitFramebufferANGLE glBlitFramebufferANGLE;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BlitFramebufferNV(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, UInt32 mask, OpenTK.Graphics.ES30.All filter);
internal delegate void BlitFramebufferNV(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.BlitFramebufferFilter filter);
internal static BlitFramebufferNV glBlitFramebufferNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BufferData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES30.BufferUsage usage);
@ -402,10 +402,10 @@ namespace OpenTK.Graphics.ES30
internal delegate void EndPerfMonitorAMD(UInt32 monitor);
internal static EndPerfMonitorAMD glEndPerfMonitorAMD;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void EndQuery(OpenTK.Graphics.ES30.All target);
internal delegate void EndQuery(OpenTK.Graphics.ES30.QueryTarget target);
internal static EndQuery glEndQuery;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void EndQueryEXT(OpenTK.Graphics.ES30.All target);
internal delegate void EndQueryEXT(OpenTK.Graphics.ES30.QueryTarget target);
internal static EndQueryEXT glEndQueryEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void EndTilingQCOM(UInt32 preserveMask);
@ -465,10 +465,10 @@ namespace OpenTK.Graphics.ES30
internal delegate void Flush();
internal static Flush glFlush;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void FlushMappedBufferRange(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr length);
internal delegate void FlushMappedBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length);
internal static FlushMappedBufferRange glFlushMappedBufferRange;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void FlushMappedBufferRangeEXT(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr length);
internal delegate void FlushMappedBufferRangeEXT(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length);
internal static FlushMappedBufferRangeEXT glFlushMappedBufferRangeEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void FramebufferRenderbuffer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferSlot attachment, OpenTK.Graphics.ES30.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer);
@ -564,10 +564,10 @@ namespace OpenTK.Graphics.ES30
internal unsafe delegate void GetBufferParameteriv(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferParameterName pname, [OutAttribute] Int32* @params);
internal unsafe static GetBufferParameteriv glGetBufferParameteriv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void GetBufferPointerv(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr @params);
internal delegate void GetBufferPointerv(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [OutAttribute] IntPtr @params);
internal static GetBufferPointerv glGetBufferPointerv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void GetBufferPointervOES(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr @params);
internal delegate void GetBufferPointervOES(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [OutAttribute] IntPtr @params);
internal static GetBufferPointervOES glGetBufferPointervOES;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All* sources, [OutAttribute] OpenTK.Graphics.ES30.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
@ -684,25 +684,25 @@ namespace OpenTK.Graphics.ES30
internal unsafe delegate void GetProgramPipelineivEXT(UInt32 pipeline, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params);
internal unsafe static GetProgramPipelineivEXT glGetProgramPipelineivEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetQueryiv(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params);
internal unsafe delegate void GetQueryiv(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] Int32* @params);
internal unsafe static GetQueryiv glGetQueryiv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetQueryivEXT(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params);
internal unsafe delegate void GetQueryivEXT(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] Int32* @params);
internal unsafe static GetQueryivEXT glGetQueryivEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetQueryObjecti64vEXT(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64* @params);
internal unsafe delegate void GetQueryObjecti64vEXT(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int64* @params);
internal unsafe static GetQueryObjecti64vEXT glGetQueryObjecti64vEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetQueryObjectivEXT(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params);
internal unsafe delegate void GetQueryObjectivEXT(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int32* @params);
internal unsafe static GetQueryObjectivEXT glGetQueryObjectivEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetQueryObjectui64vEXT(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt64* @params);
internal unsafe delegate void GetQueryObjectui64vEXT(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt64* @params);
internal unsafe static GetQueryObjectui64vEXT glGetQueryObjectui64vEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetQueryObjectuiv(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt32* @params);
internal unsafe delegate void GetQueryObjectuiv(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt32* @params);
internal unsafe static GetQueryObjectuiv glGetQueryObjectuiv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetQueryObjectuivEXT(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt32* @params);
internal unsafe delegate void GetQueryObjectuivEXT(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt32* @params);
internal unsafe static GetQueryObjectuivEXT glGetQueryObjectuivEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetRenderbufferParameteriv(OpenTK.Graphics.ES30.RenderbufferTarget target, OpenTK.Graphics.ES30.RenderbufferParameterName pname, [OutAttribute] Int32* @params);
@ -861,7 +861,7 @@ namespace OpenTK.Graphics.ES30
internal delegate IntPtr MapBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.ES30.BufferAccessMask access);
internal static MapBufferRange glMapBufferRange;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate IntPtr MapBufferRangeEXT(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr length, UInt32 access);
internal delegate IntPtr MapBufferRangeEXT(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length, UInt32 access);
internal static MapBufferRangeEXT glMapBufferRangeEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void MultiDrawArraysEXT(OpenTK.Graphics.ES30.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount);
@ -1299,10 +1299,10 @@ namespace OpenTK.Graphics.ES30
internal unsafe delegate void UniformMatrix4x3fvNV(Int32 location, Int32 count, bool transpose, Single* value);
internal unsafe static UniformMatrix4x3fvNV glUniformMatrix4x3fvNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate bool UnmapBuffer(OpenTK.Graphics.ES30.All target);
internal delegate bool UnmapBuffer(OpenTK.Graphics.ES30.BufferTarget target);
internal static UnmapBuffer glUnmapBuffer;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate bool UnmapBufferOES(OpenTK.Graphics.ES30.All target);
internal delegate bool UnmapBufferOES(OpenTK.Graphics.ES30.BufferTarget target);
internal static UnmapBufferOES glUnmapBufferOES;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void UseProgram(UInt32 program);

View file

@ -167,7 +167,7 @@ namespace OpenTK.Graphics.ES30
}
/// <summary>
/// Used in GL.Amd.GetPerfMonitorCounterData, GL.Amd.GetPerfMonitorCounterInfo and 115 other functions
/// Used in GL.Amd.GetPerfMonitorCounterData, GL.Amd.GetPerfMonitorCounterInfo and 95 other functions
/// </summary>
public enum All : int
{
@ -8965,6 +8965,25 @@ namespace OpenTK.Graphics.ES30
AllAttribBits = unchecked((int)0xFFFFFFFF) ,
}
/// <summary>
/// Used in GL.BeginTransformFeedback
/// </summary>
public enum BeginFeedbackMode : int
{
/// <summary>
/// Original was GL_POINTS = 0X0000
/// </summary>
Points = ((int)0X0000) ,
/// <summary>
/// Original was GL_LINES = 0X0001
/// </summary>
Lines = ((int)0X0001) ,
/// <summary>
/// Original was GL_TRIANGLES = 0X0004
/// </summary>
Triangles = ((int)0X0004) ,
}
/// <summary>
/// Used in GL.DrawArrays, GL.DrawElements
/// </summary>
@ -9224,6 +9243,21 @@ namespace OpenTK.Graphics.ES30
One = ((int)1) ,
}
/// <summary>
/// Used in GL.Angle.BlitFramebuffer, GL.BlitFramebuffer and 1 other function
/// </summary>
public enum BlitFramebufferFilter : int
{
/// <summary>
/// Original was GL_NEAREST = 0X2600
/// </summary>
Nearest = ((int)0X2600) ,
/// <summary>
/// Original was GL_LINEAR = 0X2601
/// </summary>
Linear = ((int)0X2601) ,
}
/// <summary>
/// Not used directly.
/// </summary>
@ -9277,13 +9311,40 @@ namespace OpenTK.Graphics.ES30
public enum BufferParameterName : int
{
/// <summary>
/// Original was GL_BufferSize = 0X8764
/// Original was GL_BUFFER_SIZE = 0x8764
/// </summary>
BufferSize = ((int)0X8764) ,
BufferSize = ((int)0x8764) ,
/// <summary>
/// Original was GL_BufferUsage = 0X8765
/// Original was GL_BUFFER_USAGE = 0x8765
/// </summary>
BufferUsage = ((int)0X8765) ,
BufferUsage = ((int)0x8765) ,
/// <summary>
/// Original was GL_BUFFER_MAPPED = 0x88BC
/// </summary>
BufferMapped = ((int)0x88BC) ,
/// <summary>
/// Original was GL_BUFFER_MAP_POINTER = 0x88BD
/// </summary>
BufferMapPointer = ((int)0x88BD) ,
/// <summary>
/// Original was GL_BUFFER_MAP_LENGTH = 0x9120
/// </summary>
BufferMapLength = ((int)0x9120) ,
/// <summary>
/// Original was GL_BUFFER_MAP_OFFSET = 0x9121
/// </summary>
BufferMapOffset = ((int)0x9121) ,
}
/// <summary>
/// Used in GL.GetBufferPointer, GL.Oes.GetBufferPointer
/// </summary>
public enum BufferPointer : int
{
/// <summary>
/// Original was GL_BUFFER_MAP_POINTER = 0x88BD
/// </summary>
BufferMapPointer = ((int)0x88BD) ,
}
/// <summary>
@ -9302,7 +9363,7 @@ namespace OpenTK.Graphics.ES30
}
/// <summary>
/// Used in GL.BindBuffer, GL.BufferData and 3 other functions
/// Used in GL.BindBuffer, GL.BufferData and 10 other functions
/// </summary>
public enum BufferTarget : int
{
@ -9403,7 +9464,7 @@ namespace OpenTK.Graphics.ES30
}
/// <summary>
/// Used in GL.BlitFramebuffer, GL.Clear
/// Used in GL.Angle.BlitFramebuffer, GL.BlitFramebuffer and 2 other functions
/// </summary>
[Flags]
public enum ClearBufferMask : int
@ -16259,6 +16320,24 @@ namespace OpenTK.Graphics.ES30
InstrumentBufferPointerSgix = ((int)0x8180) ,
}
/// <summary>
/// Used in GL.GetQueryObject, GL.Ext.GetQueryObject
/// </summary>
public enum GetQueryObjectParam : int
{
}
/// <summary>
/// Used in GL.GetQuery, GL.Ext.GetQuery
/// </summary>
public enum GetQueryParam : int
{
/// <summary>
/// Original was GL_CURRENT_QUERY = 0x8865
/// </summary>
CurrentQuery = ((int)0x8865) ,
}
/// <summary>
/// Used in GL.GetTexParameter
/// </summary>
@ -19985,6 +20064,10 @@ namespace OpenTK.Graphics.ES30
/// Original was GL_YCRCB_444_SGIX = 0x81BC
/// </summary>
Ycrcb444Sgix = ((int)0x81BC) ,
/// <summary>
/// Original was GL_RGBA_INTEGER = 0x8D99
/// </summary>
RgbaInteger = ((int)0x8D99) ,
}
/// <summary>
@ -20592,6 +20675,10 @@ namespace OpenTK.Graphics.ES30
/// Original was GL_UnsignedShort565 = 0X8363
/// </summary>
UnsignedShort565 = ((int)0X8363) ,
/// <summary>
/// Original was GL_UNSIGNED_INT_2_10_10_10_REV = 0x8368
/// </summary>
UnsignedInt2101010Rev = ((int)0x8368) ,
}
/// <summary>
@ -21090,11 +21177,34 @@ namespace OpenTK.Graphics.ES30
WriteonlyRenderingQcom = ((int)0x8823) ,
}
/// <summary>
/// Used in GL.BeginQuery, GL.EndQuery and 4 other functions
/// </summary>
public enum QueryTarget : int
{
/// <summary>
/// Original was GL_ANY_SAMPLES_PASSED = 0x8C2F
/// </summary>
AnySamplesPassed = ((int)0x8C2F) ,
/// <summary>
/// Original was GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN = 0x8C88
/// </summary>
TransformFeedbackPrimitivesWritten = ((int)0x8C88) ,
/// <summary>
/// Original was GL_ANY_SAMPLES_PASSED_CONSERVATIVE = 0x8D6A
/// </summary>
AnySamplesPassedConservative = ((int)0x8D6A) ,
}
/// <summary>
/// Used in GL.ReadBuffer
/// </summary>
public enum ReadBufferMode : int
{
/// <summary>
/// Original was GL_NONE = 0
/// </summary>
None = ((int)0) ,
/// <summary>
/// Original was GL_FRONT_LEFT = 0x0400
/// </summary>
@ -21143,6 +21253,70 @@ namespace OpenTK.Graphics.ES30
/// Original was GL_AUX3 = 0x040C
/// </summary>
Aux3 = ((int)0x040C) ,
/// <summary>
/// Original was GL_COLOR_ATTACHMENT0 = 0x8CE0
/// </summary>
ColorAttachment0 = ((int)0x8CE0) ,
/// <summary>
/// Original was GL_COLOR_ATTACHMENT1 = 0x8CE1
/// </summary>
ColorAttachment1 = ((int)0x8CE1) ,
/// <summary>
/// Original was GL_COLOR_ATTACHMENT2 = 0x8CE2
/// </summary>
ColorAttachment2 = ((int)0x8CE2) ,
/// <summary>
/// Original was GL_COLOR_ATTACHMENT3 = 0x8CE3
/// </summary>
ColorAttachment3 = ((int)0x8CE3) ,
/// <summary>
/// Original was GL_COLOR_ATTACHMENT4 = 0x8CE4
/// </summary>
ColorAttachment4 = ((int)0x8CE4) ,
/// <summary>
/// Original was GL_COLOR_ATTACHMENT5 = 0x8CE5
/// </summary>
ColorAttachment5 = ((int)0x8CE5) ,
/// <summary>
/// Original was GL_COLOR_ATTACHMENT6 = 0x8CE6
/// </summary>
ColorAttachment6 = ((int)0x8CE6) ,
/// <summary>
/// Original was GL_COLOR_ATTACHMENT7 = 0x8CE7
/// </summary>
ColorAttachment7 = ((int)0x8CE7) ,
/// <summary>
/// Original was GL_COLOR_ATTACHMENT8 = 0x8CE8
/// </summary>
ColorAttachment8 = ((int)0x8CE8) ,
/// <summary>
/// Original was GL_COLOR_ATTACHMENT9 = 0x8CE9
/// </summary>
ColorAttachment9 = ((int)0x8CE9) ,
/// <summary>
/// Original was GL_COLOR_ATTACHMENT10 = 0x8CEA
/// </summary>
ColorAttachment10 = ((int)0x8CEA) ,
/// <summary>
/// Original was GL_COLOR_ATTACHMENT11 = 0x8CEB
/// </summary>
ColorAttachment11 = ((int)0x8CEB) ,
/// <summary>
/// Original was GL_COLOR_ATTACHMENT12 = 0x8CEC
/// </summary>
ColorAttachment12 = ((int)0x8CEC) ,
/// <summary>
/// Original was GL_COLOR_ATTACHMENT13 = 0x8CED
/// </summary>
ColorAttachment13 = ((int)0x8CED) ,
/// <summary>
/// Original was GL_COLOR_ATTACHMENT14 = 0x8CEE
/// </summary>
ColorAttachment14 = ((int)0x8CEE) ,
/// <summary>
/// Original was GL_COLOR_ATTACHMENT15 = 0x8CEF
/// </summary>
ColorAttachment15 = ((int)0x8CEF) ,
}
/// <summary>
@ -22261,6 +22435,17 @@ namespace OpenTK.Graphics.ES30
ClampToEdgeSgis = ((int)0x812F) ,
}
/// <summary>
/// Used in GL.BindTransformFeedback
/// </summary>
public enum TransformFeedbackTarget : int
{
/// <summary>
/// Original was GL_TRANSFORM_FEEDBACK = 0x8E22
/// </summary>
TransformFeedback = ((int)0x8E22) ,
}
/// <summary>
/// Not used directly.
/// </summary>

View file

@ -59,13 +59,13 @@ namespace OpenTK.Graphics.ES30
internal extern static void BeginPerfMonitorAMD(UInt32 monitor);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginQuery", ExactSpelling = true)]
internal extern static void BeginQuery(OpenTK.Graphics.ES30.All target, UInt32 id);
internal extern static void BeginQuery(OpenTK.Graphics.ES30.QueryTarget target, UInt32 id);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginQueryEXT", ExactSpelling = true)]
internal extern static void BeginQueryEXT(OpenTK.Graphics.ES30.All target, UInt32 id);
internal extern static void BeginQueryEXT(OpenTK.Graphics.ES30.QueryTarget target, UInt32 id);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginTransformFeedback", ExactSpelling = true)]
internal extern static void BeginTransformFeedback(OpenTK.Graphics.ES30.All primitiveMode);
internal extern static void BeginTransformFeedback(OpenTK.Graphics.ES30.BeginFeedbackMode primitiveMode);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindAttribLocation", ExactSpelling = true)]
internal extern static void BindAttribLocation(UInt32 program, UInt32 index, String name);
@ -95,7 +95,7 @@ namespace OpenTK.Graphics.ES30
internal extern static void BindTexture(OpenTK.Graphics.ES30.TextureTarget target, UInt32 texture);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTransformFeedback", ExactSpelling = true)]
internal extern static void BindTransformFeedback(OpenTK.Graphics.ES30.All target, UInt32 id);
internal extern static void BindTransformFeedback(OpenTK.Graphics.ES30.TransformFeedbackTarget target, UInt32 id);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindVertexArray", ExactSpelling = true)]
internal extern static void BindVertexArray(UInt32 array);
@ -128,13 +128,13 @@ namespace OpenTK.Graphics.ES30
internal extern static void BlendParameteriNV(OpenTK.Graphics.ES30.All pname, Int32 value);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlitFramebuffer", ExactSpelling = true)]
internal extern static void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.All filter);
internal extern static void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.BlitFramebufferFilter filter);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlitFramebufferANGLE", ExactSpelling = true)]
internal extern static void BlitFramebufferANGLE(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, UInt32 mask, OpenTK.Graphics.ES30.All filter);
internal extern static void BlitFramebufferANGLE(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.BlitFramebufferFilter filter);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlitFramebufferNV", ExactSpelling = true)]
internal extern static void BlitFramebufferNV(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, UInt32 mask, OpenTK.Graphics.ES30.All filter);
internal extern static void BlitFramebufferNV(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.BlitFramebufferFilter filter);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferData", ExactSpelling = true)]
internal extern static void BufferData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES30.BufferUsage usage);
@ -404,10 +404,10 @@ namespace OpenTK.Graphics.ES30
internal extern static void EndPerfMonitorAMD(UInt32 monitor);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndQuery", ExactSpelling = true)]
internal extern static void EndQuery(OpenTK.Graphics.ES30.All target);
internal extern static void EndQuery(OpenTK.Graphics.ES30.QueryTarget target);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndQueryEXT", ExactSpelling = true)]
internal extern static void EndQueryEXT(OpenTK.Graphics.ES30.All target);
internal extern static void EndQueryEXT(OpenTK.Graphics.ES30.QueryTarget target);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndTilingQCOM", ExactSpelling = true)]
internal extern static void EndTilingQCOM(UInt32 preserveMask);
@ -467,10 +467,10 @@ namespace OpenTK.Graphics.ES30
internal extern static void Flush();
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushMappedBufferRange", ExactSpelling = true)]
internal extern static void FlushMappedBufferRange(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr length);
internal extern static void FlushMappedBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushMappedBufferRangeEXT", ExactSpelling = true)]
internal extern static void FlushMappedBufferRangeEXT(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr length);
internal extern static void FlushMappedBufferRangeEXT(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferRenderbuffer", ExactSpelling = true)]
internal extern static void FramebufferRenderbuffer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferSlot attachment, OpenTK.Graphics.ES30.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer);
@ -566,10 +566,10 @@ namespace OpenTK.Graphics.ES30
internal extern static unsafe void GetBufferParameteriv(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferParameterName pname, [OutAttribute] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferPointerv", ExactSpelling = true)]
internal extern static void GetBufferPointerv(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr @params);
internal extern static void GetBufferPointerv(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [OutAttribute] IntPtr @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferPointervOES", ExactSpelling = true)]
internal extern static void GetBufferPointervOES(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr @params);
internal extern static void GetBufferPointervOES(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [OutAttribute] IntPtr @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDebugMessageLog", ExactSpelling = true)]
internal extern static unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All* sources, [OutAttribute] OpenTK.Graphics.ES30.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
@ -686,25 +686,25 @@ namespace OpenTK.Graphics.ES30
internal extern static unsafe void GetProgramPipelineivEXT(UInt32 pipeline, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryiv", ExactSpelling = true)]
internal extern static unsafe void GetQueryiv(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params);
internal extern static unsafe void GetQueryiv(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryivEXT", ExactSpelling = true)]
internal extern static unsafe void GetQueryivEXT(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params);
internal extern static unsafe void GetQueryivEXT(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjecti64vEXT", ExactSpelling = true)]
internal extern static unsafe void GetQueryObjecti64vEXT(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64* @params);
internal extern static unsafe void GetQueryObjecti64vEXT(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int64* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectivEXT", ExactSpelling = true)]
internal extern static unsafe void GetQueryObjectivEXT(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params);
internal extern static unsafe void GetQueryObjectivEXT(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectui64vEXT", ExactSpelling = true)]
internal extern static unsafe void GetQueryObjectui64vEXT(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt64* @params);
internal extern static unsafe void GetQueryObjectui64vEXT(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt64* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectuiv", ExactSpelling = true)]
internal extern static unsafe void GetQueryObjectuiv(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt32* @params);
internal extern static unsafe void GetQueryObjectuiv(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectuivEXT", ExactSpelling = true)]
internal extern static unsafe void GetQueryObjectuivEXT(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt32* @params);
internal extern static unsafe void GetQueryObjectuivEXT(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetRenderbufferParameteriv", ExactSpelling = true)]
internal extern static unsafe void GetRenderbufferParameteriv(OpenTK.Graphics.ES30.RenderbufferTarget target, OpenTK.Graphics.ES30.RenderbufferParameterName pname, [OutAttribute] Int32* @params);
@ -863,7 +863,7 @@ namespace OpenTK.Graphics.ES30
internal extern static IntPtr MapBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.ES30.BufferAccessMask access);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBufferRangeEXT", ExactSpelling = true)]
internal extern static IntPtr MapBufferRangeEXT(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr length, UInt32 access);
internal extern static IntPtr MapBufferRangeEXT(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length, UInt32 access);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArraysEXT", ExactSpelling = true)]
internal extern static unsafe void MultiDrawArraysEXT(OpenTK.Graphics.ES30.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount);
@ -1301,10 +1301,10 @@ namespace OpenTK.Graphics.ES30
internal extern static unsafe void UniformMatrix4x3fvNV(Int32 location, Int32 count, bool transpose, Single* value);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUnmapBuffer", ExactSpelling = true)]
internal extern static bool UnmapBuffer(OpenTK.Graphics.ES30.All target);
internal extern static bool UnmapBuffer(OpenTK.Graphics.ES30.BufferTarget target);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUnmapBufferOES", ExactSpelling = true)]
internal extern static bool UnmapBufferOES(OpenTK.Graphics.ES30.All target);
internal extern static bool UnmapBufferOES(OpenTK.Graphics.ES30.BufferTarget target);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUseProgram", ExactSpelling = true)]
internal extern static void UseProgram(UInt32 program);

View file

@ -138273,13 +138273,13 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "EXT_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferEXT")]
public static
void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL.ClearBufferMask mask, OpenTK.Graphics.OpenGL.ExtFramebufferBlit filter)
void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL.ClearBufferMask mask, OpenTK.Graphics.OpenGL.BlitFramebufferFilter filter)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBlitFramebufferEXT((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.OpenGL.ClearBufferMask)mask, (OpenTK.Graphics.OpenGL.ExtFramebufferBlit)filter);
Delegates.glBlitFramebufferEXT((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.OpenGL.ClearBufferMask)mask, (OpenTK.Graphics.OpenGL.BlitFramebufferFilter)filter);
#if DEBUG
}
#endif
@ -174795,13 +174795,13 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "EXT_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleEXT")]
public static
void RenderbufferStorageMultisample(OpenTK.Graphics.OpenGL.ExtFramebufferMultisample target, Int32 samples, OpenTK.Graphics.OpenGL.ExtFramebufferMultisample internalformat, Int32 width, Int32 height)
void RenderbufferStorageMultisample(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glRenderbufferStorageMultisampleEXT((OpenTK.Graphics.OpenGL.ExtFramebufferMultisample)target, (Int32)samples, (OpenTK.Graphics.OpenGL.ExtFramebufferMultisample)internalformat, (Int32)width, (Int32)height);
Delegates.glRenderbufferStorageMultisampleEXT((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.OpenGL.RenderbufferStorage)internalformat, (Int32)width, (Int32)height);
#if DEBUG
}
#endif

View file

@ -425,7 +425,7 @@ namespace OpenTK.Graphics.OpenGL
internal extern static void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL.ClearBufferMask mask, OpenTK.Graphics.OpenGL.BlitFramebufferFilter filter);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlitFramebufferEXT", ExactSpelling = true)]
internal extern static void BlitFramebufferEXT(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL.ClearBufferMask mask, OpenTK.Graphics.OpenGL.ExtFramebufferBlit filter);
internal extern static void BlitFramebufferEXT(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL.ClearBufferMask mask, OpenTK.Graphics.OpenGL.BlitFramebufferFilter filter);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferAddressRangeNV", ExactSpelling = true)]
internal extern static void BufferAddressRangeNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory pname, UInt32 index, UInt64 address, IntPtr length);
@ -5339,7 +5339,7 @@ namespace OpenTK.Graphics.OpenGL
internal extern static void RenderbufferStorageMultisampleCoverageNV(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisampleEXT", ExactSpelling = true)]
internal extern static void RenderbufferStorageMultisampleEXT(OpenTK.Graphics.OpenGL.ExtFramebufferMultisample target, Int32 samples, OpenTK.Graphics.OpenGL.ExtFramebufferMultisample internalformat, Int32 width, Int32 height);
internal extern static void RenderbufferStorageMultisampleEXT(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderMode", ExactSpelling = true)]
internal extern static Int32 RenderMode(OpenTK.Graphics.OpenGL.RenderingMode mode);

View file

@ -423,7 +423,7 @@ namespace OpenTK.Graphics.OpenGL
internal delegate void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL.ClearBufferMask mask, OpenTK.Graphics.OpenGL.BlitFramebufferFilter filter);
internal static BlitFramebuffer glBlitFramebuffer;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BlitFramebufferEXT(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL.ClearBufferMask mask, OpenTK.Graphics.OpenGL.ExtFramebufferBlit filter);
internal delegate void BlitFramebufferEXT(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL.ClearBufferMask mask, OpenTK.Graphics.OpenGL.BlitFramebufferFilter filter);
internal static BlitFramebufferEXT glBlitFramebufferEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BufferAddressRangeNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory pname, UInt32 index, UInt64 address, IntPtr length);
@ -5337,7 +5337,7 @@ namespace OpenTK.Graphics.OpenGL
internal delegate void RenderbufferStorageMultisampleCoverageNV(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height);
internal static RenderbufferStorageMultisampleCoverageNV glRenderbufferStorageMultisampleCoverageNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void RenderbufferStorageMultisampleEXT(OpenTK.Graphics.OpenGL.ExtFramebufferMultisample target, Int32 samples, OpenTK.Graphics.OpenGL.ExtFramebufferMultisample internalformat, Int32 width, Int32 height);
internal delegate void RenderbufferStorageMultisampleEXT(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height);
internal static RenderbufferStorageMultisampleEXT glRenderbufferStorageMultisampleEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Int32 RenderMode(OpenTK.Graphics.OpenGL.RenderingMode mode);

View file

@ -28284,7 +28284,7 @@ namespace OpenTK.Graphics.OpenGL
}
/// <summary>
/// Used in GL.BlitFramebuffer
/// Used in GL.BlitFramebuffer, GL.Ext.BlitFramebuffer
/// </summary>
public enum BlitFramebufferFilter : int
{
@ -31073,7 +31073,7 @@ namespace OpenTK.Graphics.OpenGL
}
/// <summary>
/// Used in GL.Ext.BlitFramebuffer
/// Not used directly.
/// </summary>
public enum ExtFramebufferBlit : int
{
@ -31096,7 +31096,7 @@ namespace OpenTK.Graphics.OpenGL
}
/// <summary>
/// Used in GL.Ext.RenderbufferStorageMultisample
/// Not used directly.
/// </summary>
public enum ExtFramebufferMultisample : int
{
@ -47828,7 +47828,7 @@ namespace OpenTK.Graphics.OpenGL
}
/// <summary>
/// Used in GL.RenderbufferStorage, GL.RenderbufferStorageMultisample and 1 other function
/// Used in GL.RenderbufferStorage, GL.RenderbufferStorageMultisample and 2 other functions
/// </summary>
public enum RenderbufferStorage : int
{
@ -48123,7 +48123,7 @@ namespace OpenTK.Graphics.OpenGL
}
/// <summary>
/// Used in GL.BindRenderbuffer, GL.FramebufferRenderbuffer and 9 other functions
/// Used in GL.BindRenderbuffer, GL.FramebufferRenderbuffer and 10 other functions
/// </summary>
public enum RenderbufferTarget : int
{