Generate legacy overloads for GetProgramResourceiv

This commit is contained in:
Fraser Waters 2017-10-05 15:29:56 +01:00
parent bf6d047b0c
commit 8ed1e20a7a
3 changed files with 43 additions and 61 deletions

View file

@ -1130,6 +1130,7 @@
<param name="props">
<type>ProgramProperty</type>
</param>
<param name="length" legacyArrayParameter="true" />
</function>
<function name="GetProgramResourceLocation" extension="Core">
@ -1707,12 +1708,6 @@
<type>int</type>
</param>
</function>
<!-- For backwards compatibility -->
<function name="GetProgramResourceiv" extension="Core" obsolete="Use out overload instead">
<param name="length">
<count>0</count>
</param>
</function>
</overload>
<!-- For backwards compatibility -->
@ -1877,11 +1872,6 @@
<type>ProgramParameter</type>
</param>
</function>
<function name="GetProgramResourceiv" extension="Core" obsolete="Use out overload instead">
<param name="length">
<count>0</count>
</param>
</function>
<function name="GetString" extension="Core" obsolete="Use StringNameIndexed overload instead">
<param name="name" index="0">
<type>StringName</type>

View file

@ -48193,26 +48193,6 @@ namespace OpenTK.Graphics.OpenGL
[CLSCompliant(false)]
public static Int32 GetProgramResourceIndex(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, [CountAttribute(Computed = "name")] String name) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: v4.3 or ARB_program_interface_query|VERSION_4_3]
/// Retrieve values for multiple properties of a single active resource within a program object
/// </summary>
/// <param name="program">
/// The name of a program object whose resources to query.
/// </param>
/// <param name="programInterface">
/// A token identifying the interface within program containing the resource named name.
/// </param>
/// <param name="index"></param>
/// <param name="propCount"></param>
/// <param name="props">[length: propCount]</param>
/// <param name="bufSize"></param>
/// <param name="length">[length: 1]</param>
/// <param name="@params">[length: bufSize]</param>
[Obsolete("Use out overload instead")]
[AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")]
[CLSCompliant(false)]
public static void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] OpenTK.Graphics.OpenGL.ProgramProperty[] props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] Int32[] @params) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: v4.3 or ARB_program_interface_query|VERSION_4_3]
/// Retrieve values for multiple properties of a single active resource within a program object
/// </summary>
@ -48247,7 +48227,6 @@ namespace OpenTK.Graphics.OpenGL
/// <param name="bufSize"></param>
/// <param name="length">[length: 1]</param>
/// <param name="@params">[length: bufSize]</param>
[Obsolete("Use out overload instead")]
[AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")]
[CLSCompliant(false)]
public static void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] ref OpenTK.Graphics.OpenGL.ProgramProperty props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out Int32 @params) { throw new BindingsNotRewrittenException(); }
@ -48270,7 +48249,7 @@ namespace OpenTK.Graphics.OpenGL
[Obsolete("Use out overload instead")]
[AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")]
[CLSCompliant(false)]
public static unsafe void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] OpenTK.Graphics.OpenGL.ProgramProperty* props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] Int32* @params) { throw new BindingsNotRewrittenException(); }
public static unsafe void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] OpenTK.Graphics.OpenGL.ProgramProperty* props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] Int32* @params) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: v4.3 or ARB_program_interface_query|VERSION_4_3]
/// Retrieve values for multiple properties of a single active resource within a program object
@ -48287,10 +48266,9 @@ namespace OpenTK.Graphics.OpenGL
/// <param name="bufSize"></param>
/// <param name="length">[length: 1]</param>
/// <param name="@params">[length: bufSize]</param>
[Obsolete("Use out overload instead")]
[AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")]
[CLSCompliant(false)]
public static void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] OpenTK.Graphics.OpenGL.ProgramProperty[] props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] Int32[] @params) { throw new BindingsNotRewrittenException(); }
public static unsafe void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] OpenTK.Graphics.OpenGL.ProgramProperty* props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] Int32* @params) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: v4.3 or ARB_program_interface_query|VERSION_4_3]
/// Retrieve values for multiple properties of a single active resource within a program object
@ -48326,7 +48304,6 @@ namespace OpenTK.Graphics.OpenGL
/// <param name="bufSize"></param>
/// <param name="length">[length: 1]</param>
/// <param name="@params">[length: bufSize]</param>
[Obsolete("Use out overload instead")]
[AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")]
[CLSCompliant(false)]
public static void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] ref OpenTK.Graphics.OpenGL.ProgramProperty props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out Int32 @params) { throw new BindingsNotRewrittenException(); }
@ -48349,6 +48326,25 @@ namespace OpenTK.Graphics.OpenGL
[Obsolete("Use out overload instead")]
[AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")]
[CLSCompliant(false)]
public static unsafe void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] OpenTK.Graphics.OpenGL.ProgramProperty* props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] Int32* @params) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: v4.3 or ARB_program_interface_query|VERSION_4_3]
/// Retrieve values for multiple properties of a single active resource within a program object
/// </summary>
/// <param name="program">
/// The name of a program object whose resources to query.
/// </param>
/// <param name="programInterface">
/// A token identifying the interface within program containing the resource named name.
/// </param>
/// <param name="index"></param>
/// <param name="propCount"></param>
/// <param name="props">[length: propCount]</param>
/// <param name="bufSize"></param>
/// <param name="length">[length: 1]</param>
/// <param name="@params">[length: bufSize]</param>
[AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")]
[CLSCompliant(false)]
public static unsafe void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] OpenTK.Graphics.OpenGL.ProgramProperty* props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] Int32* @params) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: v4.3 or ARB_program_interface_query|VERSION_4_3]

View file

@ -26500,26 +26500,6 @@ namespace OpenTK.Graphics.OpenGL4
[CLSCompliant(false)]
public static Int32 GetProgramResourceIndex(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, [CountAttribute(Computed = "name")] String name) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: v4.3 or ARB_program_interface_query|VERSION_4_3]
/// Retrieve values for multiple properties of a single active resource within a program object
/// </summary>
/// <param name="program">
/// The name of a program object whose resources to query.
/// </param>
/// <param name="programInterface">
/// A token identifying the interface within program containing the resource named name.
/// </param>
/// <param name="index"></param>
/// <param name="propCount"></param>
/// <param name="props">[length: propCount]</param>
/// <param name="bufSize"></param>
/// <param name="length">[length: 1]</param>
/// <param name="@params">[length: bufSize]</param>
[Obsolete("Use out overload instead")]
[AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")]
[CLSCompliant(false)]
public static void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, Int32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] OpenTK.Graphics.OpenGL4.ProgramProperty[] props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] Int32[] @params) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: v4.3 or ARB_program_interface_query|VERSION_4_3]
/// Retrieve values for multiple properties of a single active resource within a program object
/// </summary>
@ -26554,7 +26534,6 @@ namespace OpenTK.Graphics.OpenGL4
/// <param name="bufSize"></param>
/// <param name="length">[length: 1]</param>
/// <param name="@params">[length: bufSize]</param>
[Obsolete("Use out overload instead")]
[AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")]
[CLSCompliant(false)]
public static void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, Int32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] ref OpenTK.Graphics.OpenGL4.ProgramProperty props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out Int32 @params) { throw new BindingsNotRewrittenException(); }
@ -26577,7 +26556,7 @@ namespace OpenTK.Graphics.OpenGL4
[Obsolete("Use out overload instead")]
[AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")]
[CLSCompliant(false)]
public static unsafe void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, Int32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] OpenTK.Graphics.OpenGL4.ProgramProperty* props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] Int32* @params) { throw new BindingsNotRewrittenException(); }
public static unsafe void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, Int32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] OpenTK.Graphics.OpenGL4.ProgramProperty* props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] Int32* @params) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: v4.3 or ARB_program_interface_query|VERSION_4_3]
/// Retrieve values for multiple properties of a single active resource within a program object
@ -26594,10 +26573,9 @@ namespace OpenTK.Graphics.OpenGL4
/// <param name="bufSize"></param>
/// <param name="length">[length: 1]</param>
/// <param name="@params">[length: bufSize]</param>
[Obsolete("Use out overload instead")]
[AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")]
[CLSCompliant(false)]
public static void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] OpenTK.Graphics.OpenGL4.ProgramProperty[] props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] Int32[] @params) { throw new BindingsNotRewrittenException(); }
public static unsafe void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, Int32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] OpenTK.Graphics.OpenGL4.ProgramProperty* props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] Int32* @params) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: v4.3 or ARB_program_interface_query|VERSION_4_3]
/// Retrieve values for multiple properties of a single active resource within a program object
@ -26633,7 +26611,6 @@ namespace OpenTK.Graphics.OpenGL4
/// <param name="bufSize"></param>
/// <param name="length">[length: 1]</param>
/// <param name="@params">[length: bufSize]</param>
[Obsolete("Use out overload instead")]
[AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")]
[CLSCompliant(false)]
public static void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] ref OpenTK.Graphics.OpenGL4.ProgramProperty props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out Int32 @params) { throw new BindingsNotRewrittenException(); }
@ -26656,6 +26633,25 @@ namespace OpenTK.Graphics.OpenGL4
[Obsolete("Use out overload instead")]
[AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")]
[CLSCompliant(false)]
public static unsafe void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] OpenTK.Graphics.OpenGL4.ProgramProperty* props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] Int32* @params) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: v4.3 or ARB_program_interface_query|VERSION_4_3]
/// Retrieve values for multiple properties of a single active resource within a program object
/// </summary>
/// <param name="program">
/// The name of a program object whose resources to query.
/// </param>
/// <param name="programInterface">
/// A token identifying the interface within program containing the resource named name.
/// </param>
/// <param name="index"></param>
/// <param name="propCount"></param>
/// <param name="props">[length: propCount]</param>
/// <param name="bufSize"></param>
/// <param name="length">[length: 1]</param>
/// <param name="@params">[length: bufSize]</param>
[AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")]
[CLSCompliant(false)]
public static unsafe void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] OpenTK.Graphics.OpenGL4.ProgramProperty* props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] Int32* @params) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: v4.3 or ARB_program_interface_query|VERSION_4_3]