Mark untyped overloads as obsolete

This commit is contained in:
Stefanos A 2013-11-14 14:10:19 +01:00
parent 11070bb52a
commit 4fd6347de7
8 changed files with 1201 additions and 30 deletions

View file

@ -666,6 +666,8 @@ namespace Bind
overloads.AddRange(list.Where(f => f.Parameters.Any(p => p.IsEnum)).Select(f =>
{
var fnew = new Function(f);
fnew.Obsolete = "Use strongly-typed overload instead";
// Note that we can only overload parameters, not the return type
foreach (var p in fnew.Parameters)
{
if (p.IsEnum)
@ -673,6 +675,7 @@ namespace Bind
p.CurrentType = Settings.CompleteEnumName;
}
}
return fnew;
}));
}

View file

@ -1636,47 +1636,50 @@
<overload name="gl">
<!-- Khronos renamed a few enum types between GL 4.3 and GL4.4 -->
<!-- PrimitiveType <=> BeginMode overloads for backwards compatibility -->
<function name="Begin">
<function name="Begin" obsolete="Use PrimitiveType overload instead">
<param name="mode"><type>BeginMode</type></param>
</function>
<function name="DrawArrays">
<function name="DrawArrays" obsolete="Use PrimitiveType overload instead">
<param name="mode"><type>BeginMode</type></param>
</function>
<function name="DrawElements">
<function name="DrawElements" obsolete="Use PrimitiveType overload instead">
<param name="mode"><type>BeginMode</type></param>
</function>
<function name="DrawElementsBaseVertex">
<function name="DrawElementsBaseVertex" obsolete="Use PrimitiveType overload instead">
<param name="mode"><type>BeginMode</type></param>
</function>
<function name="DrawElementsInstanced">
<function name="DrawElementsInstanced" obsolete="Use PrimitiveType overload instead">
<param name="mode"><type>BeginMode</type></param>
</function>
<function name="DrawElementsInstancedBaseVertex">
<function name="DrawElementsInstancedBaseVertex" obsolete="Use PrimitiveType overload instead">
<param name="mode"><type>BeginMode</type></param>
</function>
<function name="DrawRangeElements">
<function name="DrawRangeElements" obsolete="Use PrimitiveType overload instead">
<param name="mode"><type>BeginMode</type></param>
</function>
<function name="DrawRangeElementsBaseVertex">
<function name="DrawRangeElementsBaseVertex" obsolete="Use PrimitiveType overload instead">
<param name="mode"><type>BeginMode</type></param>
</function>
<function name="MultiDrawArrays">
<function name="MultiDrawArrays" obsolete="Use PrimitiveType overload instead">
<param name="mode"><type>BeginMode</type></param>
</function>
<function name="MultiDrawElements">
<function name="MultiDrawElements" obsolete="Use PrimitiveType overload instead">
<param name="mode"><type>BeginMode</type></param>
</function>
<!-- StencilFace <=> CullFaceMode -->
<function name="StencilFuncSeparate" obsolete="Use StencilFace instead" extension="Core">
<function name="StencilFuncSeparate" obsolete="Use StencilFace overload instead" extension="Core">
<param name="face"><type>CullFaceMode</type></param>
</function>
<function name="StencilOpSeparate" obsolete="Use StencilFace instead" extension="Core">
<function name="StencilMaskSeparate" obsolete="Use StencilFace overload instead" extension="Core">
<param name="face"><type>CullFaceMode</type></param>
</function>
<function name="StencilOpSeparate" obsolete="Use StencilFace overload instead" extension="Core">
<param name="face"><type>CullFaceMode</type></param>
</function>
<!-- StencilFace <=> Version20 -->
<function name="StencilFuncSeparate" obsolete="Use StencilFace instead" extension="Core">
<function name="StencilFuncSeparate" obsolete="Use StencilFace overload instead" extension="Core">
<param name="face"><type>Version20</type></param>
</function>
@ -4087,14 +4090,14 @@
<!--- gles1 -->
<overload name="gles1">
<function name="Clear">
<function name="Clear" obsolete="Use ClearMask overload instead">
<param name="mask"><type>GLuint</type></param>
</function>
<!-- PrimtiveType <=> BeginMode overloads for backwards compatibility -->
<function name="DrawArrays" category="VERSION_ES_CM_1_0" extension="Core" version="1.0">
<function name="DrawArrays" obsolete="Use PrimitiveType overload instead">
<param name="mode"><type>BeginMode</type></param>
</function>
<function name="DrawElements" category="VERSION_ES_CM_1_0" extension="Core" version="1.0">
<function name="DrawElements" obsolete="Use PrimitiveType overload instead">
<param name="mode"><type>BeginMode</type></param>
</function>
</overload>
@ -4958,51 +4961,57 @@
<!-- gles2 overloads for 2.0 backwards compatibility-->
<overload name="gles2" version="2.0">
<!-- PrimtiveType <=> BeginMode overloads for backwards compatibility -->
<function name="DrawArrays" obsolete="Use PrimitiveType instead">
<function name="DrawArrays" obsolete="Use PrimitiveType overload instead">
<param name="mode"><type>BeginMode</type></param>
</function>
<function name="DrawElements" obsolete="Use PrimitiveType instead">
<function name="DrawElements" obsolete="Use PrimitiveType overload instead">
<param name="mode"><type>BeginMode</type></param>
</function>
<!-- StencilFace <=> CullFaceMode -->
<function name="StencilFuncSeparate" obsolete="Use StencilFace instead">
<function name="StencilFuncSeparate" obsolete="Use StencilFace overload instead">
<param name="face"><type>CullFaceMode</type></param>
</function>
<function name="StencilOpSeparate" obsolete="Use StencilFace instead">
<function name="StencilMaskSeparate" obsolete="Use StencilFace overload instead">
<param name="face"><type>CullFaceMode</type></param>
</function>
<function name="StencilOpSeparate" obsolete="Use StencilFace overload instead">
<param name="face"><type>CullFaceMode</type></param>
</function>
<!-- BufferUsageHint <=> BufferUsage -->
<function name="BufferData" obsolete="Use BufferUsageHint instead">
<function name="BufferData" obsolete="Use BufferUsageHint overload instead">
<param name="target"><type>BufferTarget</type></param>
<param name="usage"><type>BufferUsage</type></param>
</function>
<!-- TextureTarget <=> TextureTarget2d -->
<function name="TexImage2D" obsolete="Use TextureTarget2d instead">
<function name="FramebufferTexture2D" obsolete="Use TextureTarget2d overload instead">
<param name="textarget"><type>TextureTarget</type></param>
</function>
<function name="TexImage2D" obsolete="Use TextureTarget2d overload instead">
<param name="target"><type>TextureTarget</type></param>
<param name="internalformat"><type>PixelInternalFormat</type></param>
<param name="format"><type>PixelFormat</type></param>
<param name="type"><type>PixelType</type></param>
</function>
<function name="TexSubImage2D" obsolete="Use TextureTarget2d instead">
<function name="TexSubImage2D" obsolete="Use TextureTarget2d overload instead">
<param name="target"><type>TextureTarget</type></param>
<param name="format"><type>PixelFormat</type></param>
<param name="type"><type>PixelType</type></param>
</function>
<function name="CopyTexImage2D" obsolete="Use TextureTarget2d and TextureCopyComponentCount instead">
<function name="CopyTexImage2D" obsolete="Use TextureTarget2d and TextureCopyComponentCount overloads instead">
<param name="target"><type>TextureTarget</type></param>
<param name="internalformat"><type>PixelInternalFormat</type></param>
</function>
<function name="CopyTexSubImage2D" obsolete="Use TextureTarget2d instead">
<function name="CopyTexSubImage2D" obsolete="Use TextureTarget2d overload instead">
<param name="target"><type>TextureTarget</type></param>
</function>
<function name="CompressedTexImage2D" obsolete="Use TextureTarget2d instead">
<function name="CompressedTexImage2D" obsolete="Use TextureTarget2d overload instead">
<param name="target"><type>TextureTarget</type></param>
<param name="internalformat"><type>PixelInternalFormat</type></param>
</function>
<function name="CompressedTexSubImage2D" obsolete="Use TextureTarget2d and CompressedInternalFormat instead">
<function name="CompressedTexSubImage2D" obsolete="Use TextureTarget2d and CompressedInternalFormat overloads instead">
<param name="target"><type>TextureTarget</type></param>
<param name="format"><type>PixelFormat</type></param>
</function>

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -8667,7 +8667,7 @@ namespace OpenTK.Graphics.ES20
}
/// <summary>
/// Used in GL.CullFace, GL.StencilFuncSeparate and 1 other function
/// Used in GL.CullFace, GL.StencilFuncSeparate and 2 other functions
/// </summary>
public enum CullFaceMode : int
{
@ -20010,7 +20010,7 @@ namespace OpenTK.Graphics.ES20
}
/// <summary>
/// Used in GL.BindTexture, GL.CompressedTexImage2D and 8 other functions
/// Used in GL.BindTexture, GL.CompressedTexImage2D and 9 other functions
/// </summary>
public enum TextureTarget : int
{

File diff suppressed because it is too large Load diff

View file

@ -10423,6 +10423,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the number of instances of the specified range of indices to be rendered.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "ARB_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedARB")]
public static
void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount)
@ -10465,6 +10466,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the number of instances of the specified range of indices to be rendered.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "ARB_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedARB")]
public static
void DrawElementsInstanced<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount)
@ -10516,6 +10518,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the number of instances of the specified range of indices to be rendered.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "ARB_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedARB")]
public static
void DrawElementsInstanced<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount)
@ -10567,6 +10570,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the number of instances of the specified range of indices to be rendered.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "ARB_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedARB")]
public static
void DrawElementsInstanced<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount)
@ -10618,6 +10622,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the number of instances of the specified range of indices to be rendered.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "ARB_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedARB")]
public static
void DrawElementsInstanced<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount)
@ -37029,6 +37034,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the primitive or primitives that will be created from vertices presented between glBegin and the subsequent glEnd. Ten symbolic constants are accepted: GL_POINTS, GL_LINES, GL_LINE_STRIP, GL_LINE_LOOP, GL_TRIANGLES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_QUADS, GL_QUAD_STRIP, and GL_POLYGON.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glBegin")]
public static
void Begin(OpenTK.Graphics.OpenGL.BeginMode mode)
@ -54298,6 +54304,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the number of indices to be rendered.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawArrays")]
public static
void DrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count)
@ -54777,6 +54784,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a pointer to the location where the indices are stored.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")]
public static
void DrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices)
@ -54814,6 +54822,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a pointer to the location where the indices are stored.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")]
public static
void DrawElements<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices)
@ -54860,6 +54869,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a pointer to the location where the indices are stored.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")]
public static
void DrawElements<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices)
@ -54906,6 +54916,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a pointer to the location where the indices are stored.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")]
public static
void DrawElements<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices)
@ -54952,6 +54963,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a pointer to the location where the indices are stored.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")]
public static
void DrawElements<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices)
@ -55226,6 +55238,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")]
public static
void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex)
@ -55268,6 +55281,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")]
public static
void DrawElementsBaseVertex<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 basevertex)
@ -55319,6 +55333,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")]
public static
void DrawElementsBaseVertex<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 basevertex)
@ -55370,6 +55385,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")]
public static
void DrawElementsBaseVertex<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 basevertex)
@ -55421,6 +55437,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")]
public static
void DrawElementsBaseVertex<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 basevertex)
@ -55917,6 +55934,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the number of instances of the specified range of indices to be rendered.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")]
public static
void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount)
@ -55959,6 +55977,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the number of instances of the specified range of indices to be rendered.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")]
public static
void DrawElementsInstanced<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount)
@ -56010,6 +56029,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the number of instances of the specified range of indices to be rendered.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")]
public static
void DrawElementsInstanced<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount)
@ -56061,6 +56081,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the number of instances of the specified range of indices to be rendered.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")]
public static
void DrawElementsInstanced<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount)
@ -56112,6 +56133,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the number of instances of the specified range of indices to be rendered.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")]
public static
void DrawElementsInstanced<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount)
@ -56965,6 +56987,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")]
public static
void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex)
@ -57012,6 +57035,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")]
public static
void DrawElementsInstancedBaseVertex<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, Int32 basevertex)
@ -57068,6 +57092,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")]
public static
void DrawElementsInstancedBaseVertex<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, Int32 basevertex)
@ -57124,6 +57149,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")]
public static
void DrawElementsInstancedBaseVertex<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, Int32 basevertex)
@ -57180,6 +57206,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")]
public static
void DrawElementsInstancedBaseVertex<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, Int32 basevertex)
@ -58330,6 +58357,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a pointer to the location where the indices are stored.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")]
public static
void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices)
@ -58377,6 +58405,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a pointer to the location where the indices are stored.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")]
public static
void DrawRangeElements<T5>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices)
@ -58433,6 +58462,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a pointer to the location where the indices are stored.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")]
public static
void DrawRangeElements<T5>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices)
@ -58489,6 +58519,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a pointer to the location where the indices are stored.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")]
public static
void DrawRangeElements<T5>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices)
@ -58545,6 +58576,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a pointer to the location where the indices are stored.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")]
public static
void DrawRangeElements<T5>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices)
@ -58602,6 +58634,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a pointer to the location where the indices are stored.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")]
public static
@ -58650,6 +58683,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a pointer to the location where the indices are stored.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")]
public static
@ -58707,6 +58741,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a pointer to the location where the indices are stored.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")]
public static
@ -58764,6 +58799,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a pointer to the location where the indices are stored.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")]
public static
@ -58821,6 +58857,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a pointer to the location where the indices are stored.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")]
public static
@ -59433,6 +59470,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")]
public static
void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex)
@ -59485,6 +59523,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")]
public static
void DrawRangeElementsBaseVertex<T5>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices, Int32 basevertex)
@ -59546,6 +59585,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")]
public static
void DrawRangeElementsBaseVertex<T5>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices, Int32 basevertex)
@ -59607,6 +59647,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")]
public static
void DrawRangeElementsBaseVertex<T5>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices, Int32 basevertex)
@ -59668,6 +59709,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")]
public static
void DrawRangeElementsBaseVertex<T5>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices, Int32 basevertex)
@ -59730,6 +59772,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")]
public static
@ -59783,6 +59826,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")]
public static
@ -59845,6 +59889,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")]
public static
@ -59907,6 +59952,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")]
public static
@ -59969,6 +60015,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")]
public static
@ -89533,6 +89580,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the first and count
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawArrays")]
public static
void MultiDrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] first, Int32[] count, Int32 drawcount)
@ -89577,6 +89625,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the first and count
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawArrays")]
public static
void MultiDrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 first, ref Int32 count, Int32 drawcount)
@ -89621,6 +89670,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the first and count
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawArrays")]
public static
@ -90012,6 +90062,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the count and indices arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")]
public static
void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount)
@ -90060,6 +90111,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the count and indices arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")]
public static
void MultiDrawElements<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount)
@ -90117,6 +90169,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the count and indices arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")]
public static
void MultiDrawElements<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount)
@ -90174,6 +90227,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the count and indices arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")]
public static
void MultiDrawElements<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount)
@ -90231,6 +90285,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the count and indices arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")]
public static
void MultiDrawElements<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount)
@ -90289,6 +90344,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the count and indices arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")]
public static
void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount)
@ -90337,6 +90393,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the count and indices arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")]
public static
void MultiDrawElements<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount)
@ -90394,6 +90451,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the count and indices arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")]
public static
void MultiDrawElements<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount)
@ -90451,6 +90509,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the count and indices arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")]
public static
void MultiDrawElements<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount)
@ -90508,6 +90567,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the count and indices arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")]
public static
void MultiDrawElements<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount)
@ -90566,6 +90626,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the count and indices arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")]
public static
@ -90609,6 +90670,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the count and indices arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")]
public static
@ -90661,6 +90723,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the count and indices arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")]
public static
@ -90713,6 +90776,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the count and indices arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")]
public static
@ -90765,6 +90829,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the count and indices arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")]
public static
@ -113540,6 +113605,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.
/// </para>
/// </param>
[Obsolete("Use StencilFace overload instead")]
[AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")]
public static
void StencilFuncSeparate(OpenTK.Graphics.OpenGL.CullFaceMode face, OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, Int32 mask)
@ -113577,6 +113643,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.
/// </para>
/// </param>
[Obsolete("Use StencilFace overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")]
public static
@ -113690,6 +113757,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.
/// </para>
/// </param>
[Obsolete("Use StencilFace overload instead")]
[AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")]
public static
void StencilFuncSeparate(OpenTK.Graphics.OpenGL.Version20 face, OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, Int32 mask)
@ -113727,6 +113795,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.
/// </para>
/// </param>
[Obsolete("Use StencilFace overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")]
public static
@ -113787,6 +113856,63 @@ namespace OpenTK.Graphics.OpenGL
#endif
}
/// <summary>[requires: v2.0]
/// Control the front and/or back writing of individual bits in the stencil planes
/// </summary>
/// <param name="face">
/// <para>
/// Specifies whether the front and/or back stencil writemask is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK.
/// </para>
/// </param>
/// <param name="mask">
/// <para>
/// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.
/// </para>
/// </param>
[Obsolete("Use StencilFace overload instead")]
[AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")]
public static
void StencilMaskSeparate(OpenTK.Graphics.OpenGL.CullFaceMode face, Int32 mask)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glStencilMaskSeparate((OpenTK.Graphics.OpenGL.StencilFace)face, (UInt32)mask);
#if DEBUG
}
#endif
}
/// <summary>[requires: v2.0]
/// Control the front and/or back writing of individual bits in the stencil planes
/// </summary>
/// <param name="face">
/// <para>
/// Specifies whether the front and/or back stencil writemask is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK.
/// </para>
/// </param>
/// <param name="mask">
/// <para>
/// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.
/// </para>
/// </param>
[Obsolete("Use StencilFace overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")]
public static
void StencilMaskSeparate(OpenTK.Graphics.OpenGL.CullFaceMode face, UInt32 mask)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glStencilMaskSeparate((OpenTK.Graphics.OpenGL.StencilFace)face, (UInt32)mask);
#if DEBUG
}
#endif
}
/// <summary>[requires: v2.0]
/// Control the front and/or back writing of individual bits in the stencil planes
/// </summary>
@ -113897,6 +114023,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled. dppass accepts the same symbolic constants as sfail. The initial value is GL_KEEP.
/// </para>
/// </param>
[Obsolete("Use StencilFace overload instead")]
[AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOpSeparate")]
public static
void StencilOpSeparate(OpenTK.Graphics.OpenGL.CullFaceMode face, OpenTK.Graphics.OpenGL.StencilOp sfail, OpenTK.Graphics.OpenGL.StencilOp dpfail, OpenTK.Graphics.OpenGL.StencilOp dppass)
@ -144043,6 +144170,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the number of indices to be rendered.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glDrawArraysEXT")]
public static
void DrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count)
@ -144154,6 +144282,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the number of instances of the specified range of indices to be rendered.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "EXT_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedEXT")]
public static
void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount)
@ -144196,6 +144325,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the number of instances of the specified range of indices to be rendered.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "EXT_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedEXT")]
public static
void DrawElementsInstanced<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount)
@ -144247,6 +144377,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the number of instances of the specified range of indices to be rendered.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "EXT_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedEXT")]
public static
void DrawElementsInstanced<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount)
@ -144298,6 +144429,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the number of instances of the specified range of indices to be rendered.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "EXT_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedEXT")]
public static
void DrawElementsInstanced<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount)
@ -144349,6 +144481,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the number of instances of the specified range of indices to be rendered.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "EXT_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedEXT")]
public static
void DrawElementsInstanced<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount)
@ -144653,6 +144786,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a pointer to the location where the indices are stored.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")]
public static
void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices)
@ -144700,6 +144834,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a pointer to the location where the indices are stored.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")]
public static
void DrawRangeElements<T5>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices)
@ -144756,6 +144891,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a pointer to the location where the indices are stored.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")]
public static
void DrawRangeElements<T5>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices)
@ -144812,6 +144948,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a pointer to the location where the indices are stored.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")]
public static
void DrawRangeElements<T5>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices)
@ -144868,6 +145005,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a pointer to the location where the indices are stored.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")]
public static
void DrawRangeElements<T5>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices)
@ -144925,6 +145063,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a pointer to the location where the indices are stored.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")]
public static
@ -144973,6 +145112,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a pointer to the location where the indices are stored.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")]
public static
@ -145030,6 +145170,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a pointer to the location where the indices are stored.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")]
public static
@ -145087,6 +145228,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a pointer to the location where the indices are stored.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")]
public static
@ -145144,6 +145286,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies a pointer to the location where the indices are stored.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")]
public static
@ -160977,6 +161120,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the first and count
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")]
public static
void MultiDrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] first, Int32[] count, Int32 primcount)
@ -161021,6 +161165,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the first and count
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")]
public static
void MultiDrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 first, ref Int32 count, Int32 primcount)
@ -161065,6 +161210,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the first and count
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")]
public static
@ -161234,6 +161380,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the count and indices arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")]
public static
void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount)
@ -161282,6 +161429,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the count and indices arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")]
public static
void MultiDrawElements<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount)
@ -161339,6 +161487,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the count and indices arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")]
public static
void MultiDrawElements<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount)
@ -161396,6 +161545,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the count and indices arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")]
public static
void MultiDrawElements<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount)
@ -161453,6 +161603,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the count and indices arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")]
public static
void MultiDrawElements<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount)
@ -161511,6 +161662,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the count and indices arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")]
public static
void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount)
@ -161559,6 +161711,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the count and indices arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")]
public static
void MultiDrawElements<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount)
@ -161616,6 +161769,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the count and indices arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")]
public static
void MultiDrawElements<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount)
@ -161673,6 +161827,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the count and indices arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")]
public static
void MultiDrawElements<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount)
@ -161730,6 +161885,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the count and indices arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")]
public static
void MultiDrawElements<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount)
@ -161788,6 +161944,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the count and indices arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")]
public static
@ -161831,6 +161988,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the count and indices arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")]
public static
@ -161883,6 +162041,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the count and indices arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")]
public static
@ -161935,6 +162094,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the count and indices arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")]
public static
@ -161987,6 +162147,7 @@ namespace OpenTK.Graphics.OpenGL
/// Specifies the size of the count and indices arrays.
/// </para>
/// </param>
[Obsolete("Use PrimitiveType overload instead")]
[System.CLSCompliant(false)]
[AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")]
public static

View file

@ -29329,7 +29329,7 @@ namespace OpenTK.Graphics.OpenGL
}
/// <summary>
/// Used in GL.CullFace, GL.StencilFuncSeparate and 1 other function
/// Used in GL.CullFace, GL.StencilFuncSeparate and 2 other functions
/// </summary>
public enum CullFaceMode : int
{