Eliminated CLS-compliance warnings in the bindings

This commit is contained in:
Stefanos A 2013-12-15 22:01:45 +01:00
parent e9f54dc61e
commit aeb7a72d79
12 changed files with 13794 additions and 7249 deletions

View file

@ -252,13 +252,14 @@ namespace Bind
sw.WriteLine("[Obsolete(\"Deprecated in OpenGL {0}\")]", f.DeprecatedVersion);
}
if (!f.CLSCompliant)
{
sw.WriteLine("[System.CLSCompliant(false)]");
}
sw.WriteLine("[AutoGenerated(Category = \"{0}\", Version = \"{1}\", EntryPoint = \"{2}\")]",
f.Category, f.Version, Settings.FunctionPrefix + f.WrappedDelegate.EntryPoint);
if (!f.CLSCompliant)
{
sw.WriteLine("[CLSCompliant(false)]");
}
sw.WriteLine("public static {0} {{ throw new NotImplementedException(); }}", GetDeclarationString(f, Settings.Compatibility));
}
@ -421,7 +422,6 @@ namespace Bind
}
}
int current = 0;
foreach (Enum @enum in enums.Values)
{
if (!Settings.IsEnabled(Settings.Legacy.NoDocumentation))

View file

@ -1,4 +1,4 @@
#region License
#region License
//
// The Open Toolkit Library License
//
@ -1034,9 +1034,9 @@ namespace Bind
}
if (parameter.WrapperType == 0 ||
(parameter.WrapperType & WrapperTypes.ConvenienceArrayType) != 0 ||
(parameter.WrapperType & WrapperTypes.ConvenienceReturnType) != 0 ||
(parameter.WrapperType & WrapperTypes.ConvenienceArrayReturnType) != 0)
(parameter.WrapperType & WrapperTypes.ConvenienceArrayType) != 0 ||
(parameter.WrapperType & WrapperTypes.ConvenienceReturnType) != 0 ||
(parameter.WrapperType & WrapperTypes.ConvenienceArrayReturnType) != 0)
{
// We don't need to do anything, just add this function directly
// to the list of wrappers.
@ -1091,6 +1091,11 @@ namespace Bind
if ((parameter.WrapperType & WrapperTypes.GenericParameter) != 0)
{
generic_wrapper = generic_wrapper ?? new Function(wrapper);
if (arity > 0)
{
// Overloading on array arity is not CLS-compliant
generic_wrapper.CLSCompliant = false;
}
var p = generic_wrapper.Parameters[i];
p.Reference = false;

View file

@ -53,6 +53,7 @@ namespace Bind.Structures
DeprecatedVersion = d.DeprecatedVersion;
EntryPoint = d.EntryPoint;
Obsolete = d.Obsolete;
CLSCompliant = d.CLSCompliant;
Slot = d.Slot;
}

View file

@ -37,6 +37,7 @@ namespace Bind.Structures
ReturnType = new Type(f.ReturnType);
TrimmedName = f.TrimmedName;
Obsolete = f.Obsolete;
CLSCompliant = f.CLSCompliant;
Body.AddRange(f.Body);
}

View file

@ -409,6 +409,7 @@ namespace OpenTK.Audio.OpenAL
/// <param name="device">a pointer to a capture device.</param>
/// <param name="buffer">a buffer, which must be large enough to accommodate the number of samples.</param>
/// <param name="samples">the number of samples to be retrieved.</param>
[CLSCompliant(false)]
public static void CaptureSamples<T>(IntPtr device, T[] buffer, int samples)
where T : struct
{
@ -419,6 +420,7 @@ namespace OpenTK.Audio.OpenAL
/// <param name="device">a pointer to a capture device.</param>
/// <param name="buffer">a buffer, which must be large enough to accommodate the number of samples.</param>
/// <param name="samples">the number of samples to be retrieved.</param>
[CLSCompliant(false)]
public static void CaptureSamples<T>(IntPtr device, T[,] buffer, int samples)
where T : struct
{
@ -429,6 +431,7 @@ namespace OpenTK.Audio.OpenAL
/// <param name="device">a pointer to a capture device.</param>
/// <param name="buffer">a buffer, which must be large enough to accommodate the number of samples.</param>
/// <param name="samples">the number of samples to be retrieved.</param>
[CLSCompliant(false)]
public static void CaptureSamples<T>(IntPtr device, T[, ,] buffer, int samples)
where T : struct
{

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -938,11 +938,13 @@ namespace OpenTK.Graphics.OpenGL
#region Rect
[CLSCompliant(false)]
public static void Rect(RectangleF rect)
{
GL.Rect(rect.Left, rect.Top, rect.Right, rect.Bottom);
}
[CLSCompliant(false)]
public static void Rect(Rectangle rect)
{
GL.Rect(rect.Left, rect.Top, rect.Right, rect.Bottom);

View file

@ -130,6 +130,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")]
[Obsolete("Use GetSeparableFilter<T3, T4, T5> overload instead")]
[CLSCompliant(false)]
public static
void GetSeparableFilter<T5>(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] T5[] span)
where T5 : struct { throw new NotImplementedException(); }
@ -169,6 +170,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")]
[Obsolete("Use GetSeparableFilter<T3, T4, T5> overload instead")]
[CLSCompliant(false)]
public static
void GetSeparableFilter<T5>(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] T5[,] span)
where T5 : struct { throw new NotImplementedException(); }
@ -209,6 +211,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")]
[Obsolete("Use GetSeparableFilter<T3, T4, T5> overload instead")]
[CLSCompliant(false)]
public static
void GetSeparableFilter<T5>(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] T5[,,] span)
where T5 : struct { throw new NotImplementedException(); }
@ -289,6 +292,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")]
[Obsolete("Use GetSeparableFilter<T3, T4, T5> overload instead")]
[CLSCompliant(false)]
public static
void GetSeparableFilter<T4,T5>(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [InAttribute, OutAttribute] T4[] column, [InAttribute, OutAttribute] T5[,,] span)
where T4 : struct
@ -330,6 +334,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")]
[Obsolete("Use GetSeparableFilter<T3, T4, T5> overload instead")]
[CLSCompliant(false)]
public static
void GetSeparableFilter<T4,T5>(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [InAttribute, OutAttribute] T4[,] column, [InAttribute, OutAttribute] T5[,,] span)
where T4 : struct
@ -371,6 +376,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")]
[Obsolete("Use GetSeparableFilter<T3, T4, T5> overload instead")]
[CLSCompliant(false)]
public static
void GetSeparableFilter<T4,T5>(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span)
where T4 : struct
@ -412,6 +418,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")]
[Obsolete("Use GetSeparableFilter<T3, T4, T5> overload instead")]
[CLSCompliant(false)]
public static
void GetSeparableFilter<T4,T5>(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [InAttribute, OutAttribute] ref T4 column, [InAttribute, OutAttribute] T5[,,] span)
where T4 : struct
@ -453,6 +460,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")]
[Obsolete("Use GetSeparableFilter<T3, T4, T5> overload with equal array dimensions instead")]
[CLSCompliant(false)]
public static
void GetSeparableFilter<T3,T4,T5>(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span)
where T3 : struct
@ -495,6 +503,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")]
[Obsolete("Use GetSeparableFilter<T3, T4, T5> overload with equal array dimensions instead")]
[CLSCompliant(false)]
public static
void GetSeparableFilter<T3,T4,T5>(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span)
where T3 : struct
@ -596,6 +605,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")]
[Obsolete("Use overload with equal array dimensions instead")]
[CLSCompliant(false)]
public static
void SeparableFilter2D<T7>(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] T7[] column)
where T7 : struct { throw new NotImplementedException(); }
@ -646,6 +656,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")]
[Obsolete("Use overload with equal array dimensions instead")]
[CLSCompliant(false)]
public static
void SeparableFilter2D<T7>(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] T7[,] column)
where T7 : struct { throw new NotImplementedException(); }
@ -696,6 +707,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")]
[Obsolete("Use overload with equal array dimensions instead")]
[CLSCompliant(false)]
public static
void SeparableFilter2D<T7>(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] T7[,,] column)
where T7 : struct { throw new NotImplementedException(); }
@ -796,6 +808,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")]
[Obsolete("Use overload with equal array dimensions instead")]
[CLSCompliant(false)]
public static
void SeparableFilter2D<T6,T7>(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] row, [InAttribute, OutAttribute] T7[,,] column)
where T6 : struct
@ -847,6 +860,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")]
[Obsolete("Use overload with equal array dimensions instead")]
[CLSCompliant(false)]
public static
void SeparableFilter2D<T6,T7>(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] row, [InAttribute, OutAttribute] T7[,,] column)
where T6 : struct
@ -898,6 +912,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")]
[Obsolete("Use overload with equal array dimensions instead")]
[CLSCompliant(false)]
public static
void SeparableFilter2D<T6,T7>(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 row, [InAttribute, OutAttribute] T7[,,] column)
where T6 : struct
@ -1210,6 +1225,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")]
[Obsolete("Use GetSeparableFilter<T4, T5, T6> overloads instead")]
[CLSCompliant(false)]
public static
void GetSeparableFilter<T4, T5, T6>(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] T4[] row, [OutAttribute] T5[] column, [InAttribute, OutAttribute] T6[] span)
where T4 : struct
@ -1252,6 +1268,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")]
[Obsolete("Use GetSeparableFilter<T4, T5, T6> overloads instead")]
[CLSCompliant(false)]
public static
void GetSeparableFilter<T4, T5, T6>(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] T4[,] row, [OutAttribute] T5[,] column, [InAttribute, OutAttribute] T6[,] span)
where T4 : struct
@ -1294,6 +1311,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")]
[Obsolete("Use GetSeparableFilter<T4, T5, T6> overloads instead")]
[CLSCompliant(false)]
public static
void GetSeparableFilter<T4, T5, T6>(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] T4[,,] row, [OutAttribute] T5[,,] column, [InAttribute, OutAttribute] T6[,,] span)
where T4 : struct
@ -1336,6 +1354,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")]
[Obsolete("Use GetSeparableFilter<T4, T5, T6> overloads instead")]
[CLSCompliant(false)]
public static
void GetSeparableFilter<T5>(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] T5[] span)
where T5 : struct { throw new NotImplementedException(); }
@ -1376,6 +1395,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")]
[Obsolete("Use GetSeparableFilter<T4, T5, T6> overloads instead")]
[CLSCompliant(false)]
public static
void GetSeparableFilter<T5>(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] T5[,] span)
where T5 : struct { throw new NotImplementedException(); }
@ -1416,6 +1436,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")]
[Obsolete("Use GetSeparableFilter<T4, T5, T6> overloads instead")]
[CLSCompliant(false)]
public static
void GetSeparableFilter<T5>(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] T5[,,] span)
where T5 : struct { throw new NotImplementedException(); }
@ -1496,6 +1517,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")]
[Obsolete("Use GetSeparableFilter<T4, T5, T6> overloads instead")]
[CLSCompliant(false)]
public static
void GetSeparableFilter<T4,T5>(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [InAttribute, OutAttribute] T4[] column, [InAttribute, OutAttribute] T5[,,] span)
where T4 : struct
@ -1537,6 +1559,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")]
[Obsolete("Use GetSeparableFilter<T4, T5, T6> overloads instead")]
[CLSCompliant(false)]
public static
void GetSeparableFilter<T4,T5>(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [InAttribute, OutAttribute] T4[,] column, [InAttribute, OutAttribute] T5[,,] span)
where T4 : struct
@ -1578,6 +1601,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")]
[Obsolete("Use GetSeparableFilter<T4, T5, T6> overloads instead")]
[CLSCompliant(false)]
public static
void GetSeparableFilter<T4,T5>(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span)
where T4 : struct
@ -1660,6 +1684,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")]
[Obsolete("Use ref/array overloads instead")]
[CLSCompliant(false)]
public static
void GetSeparableFilter<T3,T4,T5>(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span)
where T3 : struct
@ -1702,6 +1727,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")]
[Obsolete("Use ref/array overloads instead")]
[CLSCompliant(false)]
public static
void GetSeparableFilter<T3,T4,T5>(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span)
where T3 : struct
@ -1744,6 +1770,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")]
[Obsolete("Use ref/array overloads instead")]
[CLSCompliant(false)]
public static
void GetSeparableFilter<T3,T4,T5>(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span)
where T3 : struct
@ -1896,6 +1923,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")]
[Obsolete("Use ref/array overloads instead")]
[CLSCompliant(false)]
public static
void SeparableFilter2D<T6,T7>(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] row, [InAttribute, OutAttribute] T7[] column)
where T6 : struct
@ -1947,6 +1975,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")]
[Obsolete("Use ref/array overloads instead")]
[CLSCompliant(false)]
public static
void SeparableFilter2D<T6,T7>(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] row, [InAttribute, OutAttribute] T7[,] column)
where T6 : struct
@ -1998,6 +2027,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")]
[Obsolete("Use ref/array overloads instead")]
[CLSCompliant(false)]
public static
void SeparableFilter2D<T6,T7>(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] row, [InAttribute, OutAttribute] T7[,,] column)
where T6 : struct
@ -2049,6 +2079,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")]
[Obsolete("Use SeparableFilter2D<T6, T7> overloads instead")]
[CLSCompliant(false)]
public static
void SeparableFilter2D<T7>(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] T7[] column)
where T7 : struct { throw new NotImplementedException(); }
@ -2099,6 +2130,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")]
[Obsolete("Use SeparableFilter2D<T6, T7> overloads instead")]
[CLSCompliant(false)]
public static
void SeparableFilter2D<T7>(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] T7[,] column)
where T7 : struct { throw new NotImplementedException(); }
@ -2149,6 +2181,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")]
[Obsolete("Use SeparableFilter2D<T6, T7> overloads instead")]
[CLSCompliant(false)]
public static
void SeparableFilter2D<T7>(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] T7[,,] column)
where T7 : struct { throw new NotImplementedException(); }
@ -2249,6 +2282,7 @@ namespace OpenTK.Graphics.OpenGL
/// </param>
[AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")]
[Obsolete("Use ref/array overloads instead")]
[CLSCompliant(false)]
public static
void SeparableFilter2D<T6,T7>(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] row, [InAttribute, OutAttribute] T7[,,] column)
where T6 : struct
@ -2386,6 +2420,7 @@ namespace OpenTK.Graphics.OpenGL
[AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")]
[Obsolete("Use PrimitiveType overload instead")]
[CLSCompliant(false)]
public static
void MultiModeDrawElements<T3>(OpenTK.Graphics.OpenGL.BeginMode[] mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount, Int32 modestride)
where T3 : struct { throw new NotImplementedException(); }
@ -2393,6 +2428,7 @@ namespace OpenTK.Graphics.OpenGL
[AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")]
[Obsolete("Use PrimitiveType overload instead")]
[CLSCompliant(false)]
public static
void MultiModeDrawElements<T3>(OpenTK.Graphics.OpenGL.BeginMode[] mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount, Int32 modestride)
where T3 : struct { throw new NotImplementedException(); }
@ -2400,6 +2436,7 @@ namespace OpenTK.Graphics.OpenGL
[AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")]
[Obsolete("Use PrimitiveType overload instead")]
[CLSCompliant(false)]
public static
void MultiModeDrawElements<T3>(OpenTK.Graphics.OpenGL.BeginMode[] mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount, Int32 modestride)
where T3 : struct { throw new NotImplementedException(); }
@ -2420,6 +2457,7 @@ namespace OpenTK.Graphics.OpenGL
[AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")]
[Obsolete("Use PrimitiveType overload instead")]
[CLSCompliant(false)]
public static
void MultiModeDrawElements<T3>(ref OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount, Int32 modestride)
where T3 : struct { throw new NotImplementedException(); }
@ -2427,6 +2465,7 @@ namespace OpenTK.Graphics.OpenGL
[AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")]
[Obsolete("Use PrimitiveType overload instead")]
[CLSCompliant(false)]
public static
void MultiModeDrawElements<T3>(ref OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount, Int32 modestride)
where T3 : struct { throw new NotImplementedException(); }
@ -2434,6 +2473,7 @@ namespace OpenTK.Graphics.OpenGL
[AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")]
[Obsolete("Use PrimitiveType overload instead")]
[CLSCompliant(false)]
public static
void MultiModeDrawElements<T3>(ref OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount, Int32 modestride)
where T3 : struct { throw new NotImplementedException(); }
@ -2441,6 +2481,7 @@ namespace OpenTK.Graphics.OpenGL
[AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")]
[Obsolete("Use PrimitiveType overload instead")]
[CLSCompliant(false)]
public static
void MultiModeDrawElements<T3>(ref OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount, Int32 modestride)
where T3 : struct { throw new NotImplementedException(); }

File diff suppressed because it is too large Load diff