Use [AutoGenerated] only for generated methods
The rewriter will patch the body of methods marked with [AutoGenerated]. Methods that are implemented manually (e.g. various math helper overloads) should avoid this attribute.
This commit is contained in:
parent
daf5b828c9
commit
c369bfc75e
1 changed files with 0 additions and 12 deletions
|
@ -1114,28 +1114,24 @@ namespace OpenTK.Graphics.OpenGL
|
||||||
|
|
||||||
#region Obsolete
|
#region Obsolete
|
||||||
|
|
||||||
[AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glDisableClientState")]
|
|
||||||
[Obsolete("Use DisableClientState(ArrayCap) instead")]
|
[Obsolete("Use DisableClientState(ArrayCap) instead")]
|
||||||
public static void DisableClientState(OpenTK.Graphics.OpenGL.EnableCap array)
|
public static void DisableClientState(OpenTK.Graphics.OpenGL.EnableCap array)
|
||||||
{
|
{
|
||||||
DisableClientState((ArrayCap)array);
|
DisableClientState((ArrayCap)array);
|
||||||
}
|
}
|
||||||
|
|
||||||
[AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEnableClientState")]
|
|
||||||
[Obsolete("Use EnableClientState(ArrayCap) instead.")]
|
[Obsolete("Use EnableClientState(ArrayCap) instead.")]
|
||||||
public static void EnableClientState(OpenTK.Graphics.OpenGL.EnableCap array)
|
public static void EnableClientState(OpenTK.Graphics.OpenGL.EnableCap array)
|
||||||
{
|
{
|
||||||
EnableClientState((ArrayCap)array);
|
EnableClientState((ArrayCap)array);
|
||||||
}
|
}
|
||||||
|
|
||||||
[AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")]
|
|
||||||
[Obsolete("Use GetActiveUniforms(..., ActiveUniformParameter, ...) instead.")]
|
[Obsolete("Use GetActiveUniforms(..., ActiveUniformParameter, ...) instead.")]
|
||||||
public static void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32[] uniformIndices, ArbUniformBufferObject pname, [OutAttribute] Int32[] @params)
|
public static void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32[] uniformIndices, ArbUniformBufferObject pname, [OutAttribute] Int32[] @params)
|
||||||
{
|
{
|
||||||
GetActiveUniforms(program, uniformCount, uniformIndices, (ActiveUniformParameter)pname, @params);
|
GetActiveUniforms(program, uniformCount, uniformIndices, (ActiveUniformParameter)pname, @params);
|
||||||
}
|
}
|
||||||
|
|
||||||
[AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")]
|
|
||||||
[Obsolete("Use GetActiveUniforms(..., ActiveUniformParameter, ...) instead.")]
|
[Obsolete("Use GetActiveUniforms(..., ActiveUniformParameter, ...) instead.")]
|
||||||
public static void GetActiveUniforms(Int32 program, Int32 uniformCount, ref Int32 uniformIndices, ArbUniformBufferObject pname, [OutAttribute] out Int32 @params)
|
public static void GetActiveUniforms(Int32 program, Int32 uniformCount, ref Int32 uniformIndices, ArbUniformBufferObject pname, [OutAttribute] out Int32 @params)
|
||||||
{
|
{
|
||||||
|
@ -1143,7 +1139,6 @@ namespace OpenTK.Graphics.OpenGL
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.CLSCompliant(false)]
|
[System.CLSCompliant(false)]
|
||||||
[AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")]
|
|
||||||
[Obsolete("Use GetActiveUniforms(..., ActiveUniformParameter, ...) instead.")]
|
[Obsolete("Use GetActiveUniforms(..., ActiveUniformParameter, ...) instead.")]
|
||||||
public static unsafe void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32* uniformIndices, ArbUniformBufferObject pname, [OutAttribute] Int32* @params)
|
public static unsafe void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32* uniformIndices, ArbUniformBufferObject pname, [OutAttribute] Int32* @params)
|
||||||
{
|
{
|
||||||
|
@ -1151,7 +1146,6 @@ namespace OpenTK.Graphics.OpenGL
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.CLSCompliant(false)]
|
[System.CLSCompliant(false)]
|
||||||
[AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")]
|
|
||||||
[Obsolete("Use GetActiveUniforms(..., ActiveUniformParameter, ...) instead.")]
|
[Obsolete("Use GetActiveUniforms(..., ActiveUniformParameter, ...) instead.")]
|
||||||
public static void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32[] uniformIndices, ArbUniformBufferObject pname, [OutAttribute] Int32[] @params)
|
public static void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32[] uniformIndices, ArbUniformBufferObject pname, [OutAttribute] Int32[] @params)
|
||||||
{
|
{
|
||||||
|
@ -1159,7 +1153,6 @@ namespace OpenTK.Graphics.OpenGL
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.CLSCompliant(false)]
|
[System.CLSCompliant(false)]
|
||||||
[AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")]
|
|
||||||
[Obsolete("Use GetActiveUniforms(..., ActiveUniformParameter, ...) instead.")]
|
[Obsolete("Use GetActiveUniforms(..., ActiveUniformParameter, ...) instead.")]
|
||||||
public static void GetActiveUniforms(UInt32 program, Int32 uniformCount, ref UInt32 uniformIndices, ArbUniformBufferObject pname, [OutAttribute] out Int32 @params)
|
public static void GetActiveUniforms(UInt32 program, Int32 uniformCount, ref UInt32 uniformIndices, ArbUniformBufferObject pname, [OutAttribute] out Int32 @params)
|
||||||
{
|
{
|
||||||
|
@ -1167,7 +1160,6 @@ namespace OpenTK.Graphics.OpenGL
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.CLSCompliant(false)]
|
[System.CLSCompliant(false)]
|
||||||
[AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")]
|
|
||||||
[Obsolete("Use GetActiveUniforms(..., ActiveUniformParameter, ...) instead.")]
|
[Obsolete("Use GetActiveUniforms(..., ActiveUniformParameter, ...) instead.")]
|
||||||
public static unsafe void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, ArbUniformBufferObject pname, [OutAttribute] Int32* @params)
|
public static unsafe void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, ArbUniformBufferObject pname, [OutAttribute] Int32* @params)
|
||||||
{
|
{
|
||||||
|
@ -1213,14 +1205,12 @@ namespace OpenTK.Graphics.OpenGL
|
||||||
|
|
||||||
public static partial class Arb
|
public static partial class Arb
|
||||||
{
|
{
|
||||||
[AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glProgramParameteriARB")]
|
|
||||||
[Obsolete("Use ProgramParameter(..., AssemblyProgramParameterArb, ...) instead.")]
|
[Obsolete("Use ProgramParameter(..., AssemblyProgramParameterArb, ...) instead.")]
|
||||||
public static void ProgramParameter(Int32 program, ArbGeometryShader4 pname, Int32 value)
|
public static void ProgramParameter(Int32 program, ArbGeometryShader4 pname, Int32 value)
|
||||||
{
|
{
|
||||||
ProgramParameter(program, (AssemblyProgramParameterArb)pname, value);
|
ProgramParameter(program, (AssemblyProgramParameterArb)pname, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
[AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glProgramParameteriARB")]
|
|
||||||
[Obsolete("Use ProgramParameter(..., AssemblyProgramParameterArb, ...) instead.")]
|
[Obsolete("Use ProgramParameter(..., AssemblyProgramParameterArb, ...) instead.")]
|
||||||
[CLSCompliant(false)]
|
[CLSCompliant(false)]
|
||||||
public static void ProgramParameter(UInt32 program, ArbGeometryShader4 pname, Int32 value)
|
public static void ProgramParameter(UInt32 program, ArbGeometryShader4 pname, Int32 value)
|
||||||
|
@ -1231,14 +1221,12 @@ namespace OpenTK.Graphics.OpenGL
|
||||||
|
|
||||||
public static partial class Ext
|
public static partial class Ext
|
||||||
{
|
{
|
||||||
[AutoGenerated(Category = "EXT_geometry_shader4", Version = "2.0", EntryPoint = "glProgramParameteriEXT")]
|
|
||||||
[Obsolete("Use ProgramParameter(..., AssemblyProgramParameterArb, ...) instead.")]
|
[Obsolete("Use ProgramParameter(..., AssemblyProgramParameterArb, ...) instead.")]
|
||||||
public static void ProgramParameter(Int32 program, ExtGeometryShader4 pname, Int32 value)
|
public static void ProgramParameter(Int32 program, ExtGeometryShader4 pname, Int32 value)
|
||||||
{
|
{
|
||||||
ProgramParameter(program, (AssemblyProgramParameterArb)pname, value);
|
ProgramParameter(program, (AssemblyProgramParameterArb)pname, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
[AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glProgramParameteriARB")]
|
|
||||||
[Obsolete("Use ProgramParameter(..., AssemblyProgramParameterArb, ...) instead.")]
|
[Obsolete("Use ProgramParameter(..., AssemblyProgramParameterArb, ...) instead.")]
|
||||||
[CLSCompliant(false)]
|
[CLSCompliant(false)]
|
||||||
public static void ProgramParameter(UInt32 program, ExtGeometryShader4 pname, Int32 value)
|
public static void ProgramParameter(UInt32 program, ExtGeometryShader4 pname, Int32 value)
|
||||||
|
|
Loading…
Reference in a new issue