Generate legacy overloads for GetProgramResourceName

This commit is contained in:
Fraser Waters 2017-10-05 15:27:42 +01:00
parent 368c984288
commit bf6d047b0c
3 changed files with 1 additions and 18 deletions

View file

@ -1120,6 +1120,7 @@
<param name="programInterface">
<type>ProgramInterface</type>
</param>
<param name="length" legacyArrayParameter="true" />
</function>
<function name="GetProgramResourceiv" extension="Core">
@ -1712,11 +1713,6 @@
<count>0</count>
</param>
</function>
<function name="GetProgramResourceName" extension="Core" obsolete="Use out overload instead">
<param name="length">
<count>0</count>
</param>
</function>
</overload>
<!-- For backwards compatibility -->
@ -1886,11 +1882,6 @@
<count>0</count>
</param>
</function>
<function name="GetProgramResourceName" 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

@ -48462,7 +48462,6 @@ namespace OpenTK.Graphics.OpenGL
/// <param name="name">[length: bufSize]
/// The address of a character array into which will be written the name of the resource.
/// </param>
[Obsolete("Use out overload instead")]
[AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")]
[CLSCompliant(false)]
public static void GetProgramResourceName(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String name) { throw new BindingsNotRewrittenException(); }
@ -48488,7 +48487,6 @@ namespace OpenTK.Graphics.OpenGL
/// <param name="name">[length: bufSize]
/// The address of a character array into which will be written the name of the resource.
/// </param>
[Obsolete("Use out overload instead")]
[AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")]
[CLSCompliant(false)]
public static unsafe void GetProgramResourceName(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String name) { throw new BindingsNotRewrittenException(); }
@ -48540,7 +48538,6 @@ namespace OpenTK.Graphics.OpenGL
/// <param name="name">[length: bufSize]
/// The address of a character array into which will be written the name of the resource.
/// </param>
[Obsolete("Use out overload instead")]
[AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")]
[CLSCompliant(false)]
public static void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String name) { throw new BindingsNotRewrittenException(); }
@ -48566,7 +48563,6 @@ namespace OpenTK.Graphics.OpenGL
/// <param name="name">[length: bufSize]
/// The address of a character array into which will be written the name of the resource.
/// </param>
[Obsolete("Use out overload instead")]
[AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")]
[CLSCompliant(false)]
public static unsafe void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String name) { throw new BindingsNotRewrittenException(); }

View file

@ -26769,7 +26769,6 @@ namespace OpenTK.Graphics.OpenGL4
/// <param name="name">[length: bufSize]
/// The address of a character array into which will be written the name of the resource.
/// </param>
[Obsolete("Use out overload instead")]
[AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")]
[CLSCompliant(false)]
public static void GetProgramResourceName(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, Int32 index, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String name) { throw new BindingsNotRewrittenException(); }
@ -26795,7 +26794,6 @@ namespace OpenTK.Graphics.OpenGL4
/// <param name="name">[length: bufSize]
/// The address of a character array into which will be written the name of the resource.
/// </param>
[Obsolete("Use out overload instead")]
[AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")]
[CLSCompliant(false)]
public static unsafe void GetProgramResourceName(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, Int32 index, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String name) { throw new BindingsNotRewrittenException(); }
@ -26847,7 +26845,6 @@ namespace OpenTK.Graphics.OpenGL4
/// <param name="name">[length: bufSize]
/// The address of a character array into which will be written the name of the resource.
/// </param>
[Obsolete("Use out overload instead")]
[AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")]
[CLSCompliant(false)]
public static void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String name) { throw new BindingsNotRewrittenException(); }
@ -26873,7 +26870,6 @@ namespace OpenTK.Graphics.OpenGL4
/// <param name="name">[length: bufSize]
/// The address of a character array into which will be written the name of the resource.
/// </param>
[Obsolete("Use out overload instead")]
[AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")]
[CLSCompliant(false)]
public static unsafe void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String name) { throw new BindingsNotRewrittenException(); }