From 43604a632caf54368501816963f35171652e6fd9 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sat, 19 Jan 2008 15:29:10 +0000 Subject: [PATCH] Updated bindings with the latest Bind revision. --- Source/OpenTK/OpenGL/Bindings/GL.cs | 9585 +++++++++-------- Source/OpenTK/OpenGL/Bindings/Glu.cs | 394 +- Source/OpenTK/OpenGL/Bindings/GluCore.cs | 82 +- Source/OpenTK/OpenGL/Bindings/GluDelegates.cs | 84 +- 4 files changed, 5137 insertions(+), 5008 deletions(-) diff --git a/Source/OpenTK/OpenGL/Bindings/GL.cs b/Source/OpenTK/OpenGL/Bindings/GL.cs index 68ae88b8..dd08f984 100644 --- a/Source/OpenTK/OpenGL/Bindings/GL.cs +++ b/Source/OpenTK/OpenGL/Bindings/GL.cs @@ -104,6 +104,13 @@ namespace OpenTK.OpenGL Delegates.glBegin((OpenTK.OpenGL.Enums.BeginMode)mode); } + [System.CLSCompliant(false)] + public static + unsafe void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte* bitmap) + { + Delegates.glBitmap((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (Byte*)bitmap); + } + public static void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte[] bitmap) { @@ -130,16 +137,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte* bitmap) + void Color3(SByte red, SByte green, SByte blue) { - Delegates.glBitmap((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (Byte*)bitmap); + Delegates.glColor3b((SByte)red, (SByte)green, (SByte)blue); } [System.CLSCompliant(false)] public static - void Color3(SByte red, SByte green, SByte blue) + unsafe void Color3(SByte* v) { - Delegates.glColor3b((SByte)red, (SByte)green, (SByte)blue); + Delegates.glColor3bv((SByte*)v); } [System.CLSCompliant(false)] @@ -168,19 +175,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Color3(SByte* v) - { - Delegates.glColor3bv((SByte*)v); - } - public static void Color3(Double red, Double green, Double blue) { Delegates.glColor3d((Double)red, (Double)green, (Double)blue); } + [System.CLSCompliant(false)] + public static + unsafe void Color3(Double* v) + { + Delegates.glColor3dv((Double*)v); + } + public static void Color3(Double[] v) { @@ -205,19 +212,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Color3(Double* v) - { - Delegates.glColor3dv((Double*)v); - } - public static void Color3(Single red, Single green, Single blue) { Delegates.glColor3f((Single)red, (Single)green, (Single)blue); } + [System.CLSCompliant(false)] + public static + unsafe void Color3(Single* v) + { + Delegates.glColor3fv((Single*)v); + } + public static void Color3(Single[] v) { @@ -242,19 +249,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Color3(Single* v) - { - Delegates.glColor3fv((Single*)v); - } - public static void Color3(Byte red, Byte green, Byte blue) { Delegates.glColor3ub((Byte)red, (Byte)green, (Byte)blue); } + [System.CLSCompliant(false)] + public static + unsafe void Color3(Byte* v) + { + Delegates.glColor3ubv((Byte*)v); + } + public static void Color3(Byte[] v) { @@ -279,13 +286,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Color3(Byte* v) - { - Delegates.glColor3ubv((Byte*)v); - } - [System.CLSCompliant(false)] public static void Color3(UInt32 red, UInt32 green, UInt32 blue) @@ -299,6 +299,20 @@ namespace OpenTK.OpenGL Delegates.glColor3ui((UInt32)red, (UInt32)green, (UInt32)blue); } + [System.CLSCompliant(false)] + public static + unsafe void Color3(UInt32* v) + { + Delegates.glColor3uiv((UInt32*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void Color3(Int32* v) + { + Delegates.glColor3uiv((UInt32*)v); + } + [System.CLSCompliant(false)] public static void Color3(UInt32[] v) @@ -349,20 +363,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Color3(UInt32* v) - { - Delegates.glColor3uiv((UInt32*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void Color3(Int32* v) - { - Delegates.glColor3uiv((UInt32*)v); - } - [System.CLSCompliant(false)] public static void Color3(UInt16 red, UInt16 green, UInt16 blue) @@ -376,6 +376,20 @@ namespace OpenTK.OpenGL Delegates.glColor3us((UInt16)red, (UInt16)green, (UInt16)blue); } + [System.CLSCompliant(false)] + public static + unsafe void Color3(UInt16* v) + { + Delegates.glColor3usv((UInt16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void Color3(Int16* v) + { + Delegates.glColor3usv((UInt16*)v); + } + [System.CLSCompliant(false)] public static void Color3(UInt16[] v) @@ -426,20 +440,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Color3(UInt16* v) - { - Delegates.glColor3usv((UInt16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void Color3(Int16* v) - { - Delegates.glColor3usv((UInt16*)v); - } - [System.CLSCompliant(false)] public static void Color4(SByte red, SByte green, SByte blue, SByte alpha) @@ -447,6 +447,13 @@ namespace OpenTK.OpenGL Delegates.glColor4b((SByte)red, (SByte)green, (SByte)blue, (SByte)alpha); } + [System.CLSCompliant(false)] + public static + unsafe void Color4(SByte* v) + { + Delegates.glColor4bv((SByte*)v); + } + [System.CLSCompliant(false)] public static void Color4(SByte[] v) @@ -473,19 +480,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Color4(SByte* v) - { - Delegates.glColor4bv((SByte*)v); - } - public static void Color4(Double red, Double green, Double blue, Double alpha) { Delegates.glColor4d((Double)red, (Double)green, (Double)blue, (Double)alpha); } + [System.CLSCompliant(false)] + public static + unsafe void Color4(Double* v) + { + Delegates.glColor4dv((Double*)v); + } + public static void Color4(Double[] v) { @@ -510,19 +517,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Color4(Double* v) - { - Delegates.glColor4dv((Double*)v); - } - public static void Color4(Single red, Single green, Single blue, Single alpha) { Delegates.glColor4f((Single)red, (Single)green, (Single)blue, (Single)alpha); } + [System.CLSCompliant(false)] + public static + unsafe void Color4(Single* v) + { + Delegates.glColor4fv((Single*)v); + } + public static void Color4(Single[] v) { @@ -547,19 +554,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Color4(Single* v) - { - Delegates.glColor4fv((Single*)v); - } - public static void Color4(Byte red, Byte green, Byte blue, Byte alpha) { Delegates.glColor4ub((Byte)red, (Byte)green, (Byte)blue, (Byte)alpha); } + [System.CLSCompliant(false)] + public static + unsafe void Color4(Byte* v) + { + Delegates.glColor4ubv((Byte*)v); + } + public static void Color4(Byte[] v) { @@ -584,13 +591,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Color4(Byte* v) - { - Delegates.glColor4ubv((Byte*)v); - } - [System.CLSCompliant(false)] public static void Color4(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha) @@ -604,6 +604,20 @@ namespace OpenTK.OpenGL Delegates.glColor4ui((UInt32)red, (UInt32)green, (UInt32)blue, (UInt32)alpha); } + [System.CLSCompliant(false)] + public static + unsafe void Color4(UInt32* v) + { + Delegates.glColor4uiv((UInt32*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void Color4(Int32* v) + { + Delegates.glColor4uiv((UInt32*)v); + } + [System.CLSCompliant(false)] public static void Color4(UInt32[] v) @@ -654,20 +668,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Color4(UInt32* v) - { - Delegates.glColor4uiv((UInt32*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void Color4(Int32* v) - { - Delegates.glColor4uiv((UInt32*)v); - } - [System.CLSCompliant(false)] public static void Color4(UInt16 red, UInt16 green, UInt16 blue, UInt16 alpha) @@ -681,6 +681,20 @@ namespace OpenTK.OpenGL Delegates.glColor4us((UInt16)red, (UInt16)green, (UInt16)blue, (UInt16)alpha); } + [System.CLSCompliant(false)] + public static + unsafe void Color4(UInt16* v) + { + Delegates.glColor4usv((UInt16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void Color4(Int16* v) + { + Delegates.glColor4usv((UInt16*)v); + } + [System.CLSCompliant(false)] public static void Color4(UInt16[] v) @@ -731,26 +745,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Color4(UInt16* v) - { - Delegates.glColor4usv((UInt16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void Color4(Int16* v) - { - Delegates.glColor4usv((UInt16*)v); - } - public static void EdgeFlag(bool flag) { Delegates.glEdgeFlag((bool)flag); } + [System.CLSCompliant(false)] + public static + unsafe void EdgeFlagv(bool* flag) + { + Delegates.glEdgeFlagv((bool*)flag); + } + public static void EdgeFlagv(bool[] flag) { @@ -775,13 +782,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void EdgeFlagv(bool* flag) - { - Delegates.glEdgeFlagv((bool*)flag); - } - public static void End() { @@ -794,6 +794,13 @@ namespace OpenTK.OpenGL Delegates.glIndexd((Double)c); } + [System.CLSCompliant(false)] + public static + unsafe void Indexv(Double* c) + { + Delegates.glIndexdv((Double*)c); + } + public static void Indexv(Double[] c) { @@ -818,19 +825,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Indexv(Double* c) - { - Delegates.glIndexdv((Double*)c); - } - public static void Index(Single c) { Delegates.glIndexf((Single)c); } + [System.CLSCompliant(false)] + public static + unsafe void Indexv(Single* c) + { + Delegates.glIndexfv((Single*)c); + } + public static void Indexv(Single[] c) { @@ -855,19 +862,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Indexv(Single* c) - { - Delegates.glIndexfv((Single*)c); - } - public static void Index(Int32 c) { Delegates.glIndexi((Int32)c); } + [System.CLSCompliant(false)] + public static + unsafe void Indexv(Int32* c) + { + Delegates.glIndexiv((Int32*)c); + } + public static void Indexv(Int32[] c) { @@ -892,19 +899,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Indexv(Int32* c) - { - Delegates.glIndexiv((Int32*)c); - } - public static void Index(Int16 c) { Delegates.glIndexs((Int16)c); } + [System.CLSCompliant(false)] + public static + unsafe void Indexv(Int16* c) + { + Delegates.glIndexsv((Int16*)c); + } + public static void Indexv(Int16[] c) { @@ -929,13 +936,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Indexv(Int16* c) - { - Delegates.glIndexsv((Int16*)c); - } - [System.CLSCompliant(false)] public static void Normal3(SByte nx, SByte ny, SByte nz) @@ -949,6 +949,20 @@ namespace OpenTK.OpenGL Delegates.glNormal3b((SByte)nx, (SByte)ny, (SByte)nz); } + [System.CLSCompliant(false)] + public static + unsafe void Normal3(SByte* v) + { + Delegates.glNormal3bv((SByte*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void Normal3(Byte* v) + { + Delegates.glNormal3bv((SByte*)v); + } + [System.CLSCompliant(false)] public static void Normal3(SByte[] v) @@ -999,26 +1013,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Normal3(SByte* v) - { - Delegates.glNormal3bv((SByte*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void Normal3(Byte* v) - { - Delegates.glNormal3bv((SByte*)v); - } - public static void Normal3(Double nx, Double ny, Double nz) { Delegates.glNormal3d((Double)nx, (Double)ny, (Double)nz); } + [System.CLSCompliant(false)] + public static + unsafe void Normal3(Double* v) + { + Delegates.glNormal3dv((Double*)v); + } + public static void Normal3(Double[] v) { @@ -1043,19 +1050,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Normal3(Double* v) - { - Delegates.glNormal3dv((Double*)v); - } - public static void Normal3(Single nx, Single ny, Single nz) { Delegates.glNormal3f((Single)nx, (Single)ny, (Single)nz); } + [System.CLSCompliant(false)] + public static + unsafe void Normal3(Single* v) + { + Delegates.glNormal3fv((Single*)v); + } + public static void Normal3(Single[] v) { @@ -1080,19 +1087,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Normal3(Single* v) - { - Delegates.glNormal3fv((Single*)v); - } - public static void Normal3(Int32 nx, Int32 ny, Int32 nz) { Delegates.glNormal3i((Int32)nx, (Int32)ny, (Int32)nz); } + [System.CLSCompliant(false)] + public static + unsafe void Normal3(Int32* v) + { + Delegates.glNormal3iv((Int32*)v); + } + public static void Normal3(Int32[] v) { @@ -1117,19 +1124,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Normal3(Int32* v) - { - Delegates.glNormal3iv((Int32*)v); - } - public static void Normal3(Int16 nx, Int16 ny, Int16 nz) { Delegates.glNormal3s((Int16)nx, (Int16)ny, (Int16)nz); } + [System.CLSCompliant(false)] + public static + unsafe void Normal3(Int16* v) + { + Delegates.glNormal3sv((Int16*)v); + } + public static void Normal3(Int16[] v) { @@ -1154,19 +1161,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Normal3(Int16* v) - { - Delegates.glNormal3sv((Int16*)v); - } - public static void RasterPos2(Double x, Double y) { Delegates.glRasterPos2d((Double)x, (Double)y); } + [System.CLSCompliant(false)] + public static + unsafe void RasterPos2(Double* v) + { + Delegates.glRasterPos2dv((Double*)v); + } + public static void RasterPos2(Double[] v) { @@ -1191,19 +1198,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void RasterPos2(Double* v) - { - Delegates.glRasterPos2dv((Double*)v); - } - public static void RasterPos2(Single x, Single y) { Delegates.glRasterPos2f((Single)x, (Single)y); } + [System.CLSCompliant(false)] + public static + unsafe void RasterPos2(Single* v) + { + Delegates.glRasterPos2fv((Single*)v); + } + public static void RasterPos2(Single[] v) { @@ -1228,19 +1235,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void RasterPos2(Single* v) - { - Delegates.glRasterPos2fv((Single*)v); - } - public static void RasterPos2(Int32 x, Int32 y) { Delegates.glRasterPos2i((Int32)x, (Int32)y); } + [System.CLSCompliant(false)] + public static + unsafe void RasterPos2(Int32* v) + { + Delegates.glRasterPos2iv((Int32*)v); + } + public static void RasterPos2(Int32[] v) { @@ -1265,19 +1272,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void RasterPos2(Int32* v) - { - Delegates.glRasterPos2iv((Int32*)v); - } - public static void RasterPos2(Int16 x, Int16 y) { Delegates.glRasterPos2s((Int16)x, (Int16)y); } + [System.CLSCompliant(false)] + public static + unsafe void RasterPos2(Int16* v) + { + Delegates.glRasterPos2sv((Int16*)v); + } + public static void RasterPos2(Int16[] v) { @@ -1302,19 +1309,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void RasterPos2(Int16* v) - { - Delegates.glRasterPos2sv((Int16*)v); - } - public static void RasterPos3(Double x, Double y, Double z) { Delegates.glRasterPos3d((Double)x, (Double)y, (Double)z); } + [System.CLSCompliant(false)] + public static + unsafe void RasterPos3(Double* v) + { + Delegates.glRasterPos3dv((Double*)v); + } + public static void RasterPos3(Double[] v) { @@ -1339,19 +1346,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void RasterPos3(Double* v) - { - Delegates.glRasterPos3dv((Double*)v); - } - public static void RasterPos3(Single x, Single y, Single z) { Delegates.glRasterPos3f((Single)x, (Single)y, (Single)z); } + [System.CLSCompliant(false)] + public static + unsafe void RasterPos3(Single* v) + { + Delegates.glRasterPos3fv((Single*)v); + } + public static void RasterPos3(Single[] v) { @@ -1376,19 +1383,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void RasterPos3(Single* v) - { - Delegates.glRasterPos3fv((Single*)v); - } - public static void RasterPos3(Int32 x, Int32 y, Int32 z) { Delegates.glRasterPos3i((Int32)x, (Int32)y, (Int32)z); } + [System.CLSCompliant(false)] + public static + unsafe void RasterPos3(Int32* v) + { + Delegates.glRasterPos3iv((Int32*)v); + } + public static void RasterPos3(Int32[] v) { @@ -1413,19 +1420,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void RasterPos3(Int32* v) - { - Delegates.glRasterPos3iv((Int32*)v); - } - public static void RasterPos3(Int16 x, Int16 y, Int16 z) { Delegates.glRasterPos3s((Int16)x, (Int16)y, (Int16)z); } + [System.CLSCompliant(false)] + public static + unsafe void RasterPos3(Int16* v) + { + Delegates.glRasterPos3sv((Int16*)v); + } + public static void RasterPos3(Int16[] v) { @@ -1450,19 +1457,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void RasterPos3(Int16* v) - { - Delegates.glRasterPos3sv((Int16*)v); - } - public static void RasterPos4(Double x, Double y, Double z, Double w) { Delegates.glRasterPos4d((Double)x, (Double)y, (Double)z, (Double)w); } + [System.CLSCompliant(false)] + public static + unsafe void RasterPos4(Double* v) + { + Delegates.glRasterPos4dv((Double*)v); + } + public static void RasterPos4(Double[] v) { @@ -1487,19 +1494,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void RasterPos4(Double* v) - { - Delegates.glRasterPos4dv((Double*)v); - } - public static void RasterPos4(Single x, Single y, Single z, Single w) { Delegates.glRasterPos4f((Single)x, (Single)y, (Single)z, (Single)w); } + [System.CLSCompliant(false)] + public static + unsafe void RasterPos4(Single* v) + { + Delegates.glRasterPos4fv((Single*)v); + } + public static void RasterPos4(Single[] v) { @@ -1524,19 +1531,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void RasterPos4(Single* v) - { - Delegates.glRasterPos4fv((Single*)v); - } - public static void RasterPos4(Int32 x, Int32 y, Int32 z, Int32 w) { Delegates.glRasterPos4i((Int32)x, (Int32)y, (Int32)z, (Int32)w); } + [System.CLSCompliant(false)] + public static + unsafe void RasterPos4(Int32* v) + { + Delegates.glRasterPos4iv((Int32*)v); + } + public static void RasterPos4(Int32[] v) { @@ -1561,19 +1568,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void RasterPos4(Int32* v) - { - Delegates.glRasterPos4iv((Int32*)v); - } - public static void RasterPos4(Int16 x, Int16 y, Int16 z, Int16 w) { Delegates.glRasterPos4s((Int16)x, (Int16)y, (Int16)z, (Int16)w); } + [System.CLSCompliant(false)] + public static + unsafe void RasterPos4(Int16* v) + { + Delegates.glRasterPos4sv((Int16*)v); + } + public static void RasterPos4(Int16[] v) { @@ -1598,19 +1605,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void RasterPos4(Int16* v) - { - Delegates.glRasterPos4sv((Int16*)v); - } - public static void Rect(Double x1, Double y1, Double x2, Double y2) { Delegates.glRectd((Double)x1, (Double)y1, (Double)x2, (Double)y2); } + [System.CLSCompliant(false)] + public static + unsafe void Rect(Double* v1, Double* v2) + { + Delegates.glRectdv((Double*)v1, (Double*)v2); + } + public static void Rect(Double[] v1, Double[] v2) { @@ -1637,19 +1644,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Rect(Double* v1, Double* v2) - { - Delegates.glRectdv((Double*)v1, (Double*)v2); - } - public static void Rect(Single x1, Single y1, Single x2, Single y2) { Delegates.glRectf((Single)x1, (Single)y1, (Single)x2, (Single)y2); } + [System.CLSCompliant(false)] + public static + unsafe void Rect(Single* v1, Single* v2) + { + Delegates.glRectfv((Single*)v1, (Single*)v2); + } + public static void Rect(Single[] v1, Single[] v2) { @@ -1676,19 +1683,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Rect(Single* v1, Single* v2) - { - Delegates.glRectfv((Single*)v1, (Single*)v2); - } - public static void Rect(Int32 x1, Int32 y1, Int32 x2, Int32 y2) { Delegates.glRecti((Int32)x1, (Int32)y1, (Int32)x2, (Int32)y2); } + [System.CLSCompliant(false)] + public static + unsafe void Rect(Int32* v1, Int32* v2) + { + Delegates.glRectiv((Int32*)v1, (Int32*)v2); + } + public static void Rect(Int32[] v1, Int32[] v2) { @@ -1715,19 +1722,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Rect(Int32* v1, Int32* v2) - { - Delegates.glRectiv((Int32*)v1, (Int32*)v2); - } - public static void Rects(Int16 x1, Int16 y1, Int16 x2, Int16 y2) { Delegates.glRects((Int16)x1, (Int16)y1, (Int16)x2, (Int16)y2); } + [System.CLSCompliant(false)] + public static + unsafe void Rect(Int16* v1, Int16* v2) + { + Delegates.glRectsv((Int16*)v1, (Int16*)v2); + } + public static void Rect(Int16[] v1, Int16[] v2) { @@ -1754,19 +1761,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Rect(Int16* v1, Int16* v2) - { - Delegates.glRectsv((Int16*)v1, (Int16*)v2); - } - public static void TexCoord1(Double s) { Delegates.glTexCoord1d((Double)s); } + [System.CLSCompliant(false)] + public static + unsafe void TexCoord1v(Double* v) + { + Delegates.glTexCoord1dv((Double*)v); + } + public static void TexCoord1v(Double[] v) { @@ -1791,19 +1798,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexCoord1v(Double* v) - { - Delegates.glTexCoord1dv((Double*)v); - } - public static void TexCoord1(Single s) { Delegates.glTexCoord1f((Single)s); } + [System.CLSCompliant(false)] + public static + unsafe void TexCoord1v(Single* v) + { + Delegates.glTexCoord1fv((Single*)v); + } + public static void TexCoord1v(Single[] v) { @@ -1828,19 +1835,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexCoord1v(Single* v) - { - Delegates.glTexCoord1fv((Single*)v); - } - public static void TexCoord1(Int32 s) { Delegates.glTexCoord1i((Int32)s); } + [System.CLSCompliant(false)] + public static + unsafe void TexCoord1v(Int32* v) + { + Delegates.glTexCoord1iv((Int32*)v); + } + public static void TexCoord1v(Int32[] v) { @@ -1865,19 +1872,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexCoord1v(Int32* v) - { - Delegates.glTexCoord1iv((Int32*)v); - } - public static void TexCoord1(Int16 s) { Delegates.glTexCoord1s((Int16)s); } + [System.CLSCompliant(false)] + public static + unsafe void TexCoord1v(Int16* v) + { + Delegates.glTexCoord1sv((Int16*)v); + } + public static void TexCoord1v(Int16[] v) { @@ -1902,19 +1909,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexCoord1v(Int16* v) - { - Delegates.glTexCoord1sv((Int16*)v); - } - public static void TexCoord2(Double s, Double t) { Delegates.glTexCoord2d((Double)s, (Double)t); } + [System.CLSCompliant(false)] + public static + unsafe void TexCoord2(Double* v) + { + Delegates.glTexCoord2dv((Double*)v); + } + public static void TexCoord2(Double[] v) { @@ -1939,19 +1946,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexCoord2(Double* v) - { - Delegates.glTexCoord2dv((Double*)v); - } - public static void TexCoord2(Single s, Single t) { Delegates.glTexCoord2f((Single)s, (Single)t); } + [System.CLSCompliant(false)] + public static + unsafe void TexCoord2(Single* v) + { + Delegates.glTexCoord2fv((Single*)v); + } + public static void TexCoord2(Single[] v) { @@ -1976,19 +1983,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexCoord2(Single* v) - { - Delegates.glTexCoord2fv((Single*)v); - } - public static void TexCoord2(Int32 s, Int32 t) { Delegates.glTexCoord2i((Int32)s, (Int32)t); } + [System.CLSCompliant(false)] + public static + unsafe void TexCoord2(Int32* v) + { + Delegates.glTexCoord2iv((Int32*)v); + } + public static void TexCoord2(Int32[] v) { @@ -2013,19 +2020,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexCoord2(Int32* v) - { - Delegates.glTexCoord2iv((Int32*)v); - } - public static void TexCoord2(Int16 s, Int16 t) { Delegates.glTexCoord2s((Int16)s, (Int16)t); } + [System.CLSCompliant(false)] + public static + unsafe void TexCoord2(Int16* v) + { + Delegates.glTexCoord2sv((Int16*)v); + } + public static void TexCoord2(Int16[] v) { @@ -2050,19 +2057,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexCoord2(Int16* v) - { - Delegates.glTexCoord2sv((Int16*)v); - } - public static void TexCoord3(Double s, Double t, Double r) { Delegates.glTexCoord3d((Double)s, (Double)t, (Double)r); } + [System.CLSCompliant(false)] + public static + unsafe void TexCoord3(Double* v) + { + Delegates.glTexCoord3dv((Double*)v); + } + public static void TexCoord3(Double[] v) { @@ -2087,19 +2094,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexCoord3(Double* v) - { - Delegates.glTexCoord3dv((Double*)v); - } - public static void TexCoord3(Single s, Single t, Single r) { Delegates.glTexCoord3f((Single)s, (Single)t, (Single)r); } + [System.CLSCompliant(false)] + public static + unsafe void TexCoord3(Single* v) + { + Delegates.glTexCoord3fv((Single*)v); + } + public static void TexCoord3(Single[] v) { @@ -2124,19 +2131,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexCoord3(Single* v) - { - Delegates.glTexCoord3fv((Single*)v); - } - public static void TexCoord3(Int32 s, Int32 t, Int32 r) { Delegates.glTexCoord3i((Int32)s, (Int32)t, (Int32)r); } + [System.CLSCompliant(false)] + public static + unsafe void TexCoord3(Int32* v) + { + Delegates.glTexCoord3iv((Int32*)v); + } + public static void TexCoord3(Int32[] v) { @@ -2161,19 +2168,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexCoord3(Int32* v) - { - Delegates.glTexCoord3iv((Int32*)v); - } - public static void TexCoord3(Int16 s, Int16 t, Int16 r) { Delegates.glTexCoord3s((Int16)s, (Int16)t, (Int16)r); } + [System.CLSCompliant(false)] + public static + unsafe void TexCoord3(Int16* v) + { + Delegates.glTexCoord3sv((Int16*)v); + } + public static void TexCoord3(Int16[] v) { @@ -2198,19 +2205,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexCoord3(Int16* v) - { - Delegates.glTexCoord3sv((Int16*)v); - } - public static void TexCoord4(Double s, Double t, Double r, Double q) { Delegates.glTexCoord4d((Double)s, (Double)t, (Double)r, (Double)q); } + [System.CLSCompliant(false)] + public static + unsafe void TexCoord4(Double* v) + { + Delegates.glTexCoord4dv((Double*)v); + } + public static void TexCoord4(Double[] v) { @@ -2235,19 +2242,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexCoord4(Double* v) - { - Delegates.glTexCoord4dv((Double*)v); - } - public static void TexCoord4(Single s, Single t, Single r, Single q) { Delegates.glTexCoord4f((Single)s, (Single)t, (Single)r, (Single)q); } + [System.CLSCompliant(false)] + public static + unsafe void TexCoord4(Single* v) + { + Delegates.glTexCoord4fv((Single*)v); + } + public static void TexCoord4(Single[] v) { @@ -2272,19 +2279,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexCoord4(Single* v) - { - Delegates.glTexCoord4fv((Single*)v); - } - public static void TexCoord4(Int32 s, Int32 t, Int32 r, Int32 q) { Delegates.glTexCoord4i((Int32)s, (Int32)t, (Int32)r, (Int32)q); } + [System.CLSCompliant(false)] + public static + unsafe void TexCoord4(Int32* v) + { + Delegates.glTexCoord4iv((Int32*)v); + } + public static void TexCoord4(Int32[] v) { @@ -2309,19 +2316,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexCoord4(Int32* v) - { - Delegates.glTexCoord4iv((Int32*)v); - } - public static void TexCoord4(Int16 s, Int16 t, Int16 r, Int16 q) { Delegates.glTexCoord4s((Int16)s, (Int16)t, (Int16)r, (Int16)q); } + [System.CLSCompliant(false)] + public static + unsafe void TexCoord4(Int16* v) + { + Delegates.glTexCoord4sv((Int16*)v); + } + public static void TexCoord4(Int16[] v) { @@ -2346,19 +2353,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexCoord4(Int16* v) - { - Delegates.glTexCoord4sv((Int16*)v); - } - public static void Vertex2(Double x, Double y) { Delegates.glVertex2d((Double)x, (Double)y); } + [System.CLSCompliant(false)] + public static + unsafe void Vertex2(Double* v) + { + Delegates.glVertex2dv((Double*)v); + } + public static void Vertex2(Double[] v) { @@ -2383,19 +2390,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Vertex2(Double* v) - { - Delegates.glVertex2dv((Double*)v); - } - public static void Vertex2(Single x, Single y) { Delegates.glVertex2f((Single)x, (Single)y); } + [System.CLSCompliant(false)] + public static + unsafe void Vertex2(Single* v) + { + Delegates.glVertex2fv((Single*)v); + } + public static void Vertex2(Single[] v) { @@ -2420,19 +2427,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Vertex2(Single* v) - { - Delegates.glVertex2fv((Single*)v); - } - public static void Vertex2(Int32 x, Int32 y) { Delegates.glVertex2i((Int32)x, (Int32)y); } + [System.CLSCompliant(false)] + public static + unsafe void Vertex2(Int32* v) + { + Delegates.glVertex2iv((Int32*)v); + } + public static void Vertex2(Int32[] v) { @@ -2457,19 +2464,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Vertex2(Int32* v) - { - Delegates.glVertex2iv((Int32*)v); - } - public static void Vertex2(Int16 x, Int16 y) { Delegates.glVertex2s((Int16)x, (Int16)y); } + [System.CLSCompliant(false)] + public static + unsafe void Vertex2(Int16* v) + { + Delegates.glVertex2sv((Int16*)v); + } + public static void Vertex2(Int16[] v) { @@ -2494,19 +2501,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Vertex2(Int16* v) - { - Delegates.glVertex2sv((Int16*)v); - } - public static void Vertex3(Double x, Double y, Double z) { Delegates.glVertex3d((Double)x, (Double)y, (Double)z); } + [System.CLSCompliant(false)] + public static + unsafe void Vertex3(Double* v) + { + Delegates.glVertex3dv((Double*)v); + } + public static void Vertex3(Double[] v) { @@ -2531,19 +2538,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Vertex3(Double* v) - { - Delegates.glVertex3dv((Double*)v); - } - public static void Vertex3(Single x, Single y, Single z) { Delegates.glVertex3f((Single)x, (Single)y, (Single)z); } + [System.CLSCompliant(false)] + public static + unsafe void Vertex3(Single* v) + { + Delegates.glVertex3fv((Single*)v); + } + public static void Vertex3(Single[] v) { @@ -2568,19 +2575,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Vertex3(Single* v) - { - Delegates.glVertex3fv((Single*)v); - } - public static void Vertex3(Int32 x, Int32 y, Int32 z) { Delegates.glVertex3i((Int32)x, (Int32)y, (Int32)z); } + [System.CLSCompliant(false)] + public static + unsafe void Vertex3(Int32* v) + { + Delegates.glVertex3iv((Int32*)v); + } + public static void Vertex3(Int32[] v) { @@ -2605,19 +2612,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Vertex3(Int32* v) - { - Delegates.glVertex3iv((Int32*)v); - } - public static void Vertex3(Int16 x, Int16 y, Int16 z) { Delegates.glVertex3s((Int16)x, (Int16)y, (Int16)z); } + [System.CLSCompliant(false)] + public static + unsafe void Vertex3(Int16* v) + { + Delegates.glVertex3sv((Int16*)v); + } + public static void Vertex3(Int16[] v) { @@ -2642,19 +2649,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Vertex3(Int16* v) - { - Delegates.glVertex3sv((Int16*)v); - } - public static void Vertex4(Double x, Double y, Double z, Double w) { Delegates.glVertex4d((Double)x, (Double)y, (Double)z, (Double)w); } + [System.CLSCompliant(false)] + public static + unsafe void Vertex4(Double* v) + { + Delegates.glVertex4dv((Double*)v); + } + public static void Vertex4(Double[] v) { @@ -2679,19 +2686,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Vertex4(Double* v) - { - Delegates.glVertex4dv((Double*)v); - } - public static void Vertex4(Single x, Single y, Single z, Single w) { Delegates.glVertex4f((Single)x, (Single)y, (Single)z, (Single)w); } + [System.CLSCompliant(false)] + public static + unsafe void Vertex4(Single* v) + { + Delegates.glVertex4fv((Single*)v); + } + public static void Vertex4(Single[] v) { @@ -2716,19 +2723,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Vertex4(Single* v) - { - Delegates.glVertex4fv((Single*)v); - } - public static void Vertex4(Int32 x, Int32 y, Int32 z, Int32 w) { Delegates.glVertex4i((Int32)x, (Int32)y, (Int32)z, (Int32)w); } + [System.CLSCompliant(false)] + public static + unsafe void Vertex4(Int32* v) + { + Delegates.glVertex4iv((Int32*)v); + } + public static void Vertex4(Int32[] v) { @@ -2753,19 +2760,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Vertex4(Int32* v) - { - Delegates.glVertex4iv((Int32*)v); - } - public static void Vertex4(Int16 x, Int16 y, Int16 z, Int16 w) { Delegates.glVertex4s((Int16)x, (Int16)y, (Int16)z, (Int16)w); } + [System.CLSCompliant(false)] + public static + unsafe void Vertex4(Int16* v) + { + Delegates.glVertex4sv((Int16*)v); + } + public static void Vertex4(Int16[] v) { @@ -2792,9 +2799,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Vertex4(Int16* v) + unsafe void ClipPlane(OpenTK.OpenGL.Enums.ClipPlaneName plane, Double* equation) { - Delegates.glVertex4sv((Int16*)v); + Delegates.glClipPlane((OpenTK.OpenGL.Enums.ClipPlaneName)plane, (Double*)equation); } public static @@ -2821,13 +2828,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void ClipPlane(OpenTK.OpenGL.Enums.ClipPlaneName plane, Double* equation) - { - Delegates.glClipPlane((OpenTK.OpenGL.Enums.ClipPlaneName)plane, (Double*)equation); - } - public static void ColorMaterial(OpenTK.OpenGL.Enums.MaterialFace face, OpenTK.OpenGL.Enums.ColorMaterialParameter mode) { @@ -2846,6 +2846,13 @@ namespace OpenTK.OpenGL Delegates.glFogf((OpenTK.OpenGL.Enums.FogParameter)pname, (Single)param); } + [System.CLSCompliant(false)] + public static + unsafe void Fogv(OpenTK.OpenGL.Enums.FogParameter pname, Single* @params) + { + Delegates.glFogfv((OpenTK.OpenGL.Enums.FogParameter)pname, (Single*)@params); + } + public static void Fogv(OpenTK.OpenGL.Enums.FogParameter pname, Single[] @params) { @@ -2870,19 +2877,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Fogv(OpenTK.OpenGL.Enums.FogParameter pname, Single* @params) - { - Delegates.glFogfv((OpenTK.OpenGL.Enums.FogParameter)pname, (Single*)@params); - } - public static void Fog(OpenTK.OpenGL.Enums.FogParameter pname, Int32 param) { Delegates.glFogi((OpenTK.OpenGL.Enums.FogParameter)pname, (Int32)param); } + [System.CLSCompliant(false)] + public static + unsafe void Fogv(OpenTK.OpenGL.Enums.FogParameter pname, Int32* @params) + { + Delegates.glFogiv((OpenTK.OpenGL.Enums.FogParameter)pname, (Int32*)@params); + } + public static void Fogv(OpenTK.OpenGL.Enums.FogParameter pname, Int32[] @params) { @@ -2907,13 +2914,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Fogv(OpenTK.OpenGL.Enums.FogParameter pname, Int32* @params) - { - Delegates.glFogiv((OpenTK.OpenGL.Enums.FogParameter)pname, (Int32*)@params); - } - public static void FrontFace(OpenTK.OpenGL.Enums.FrontFaceDirection mode) { @@ -2932,6 +2932,13 @@ namespace OpenTK.OpenGL Delegates.glLightf((OpenTK.OpenGL.Enums.LightName)light, (OpenTK.OpenGL.Enums.LightParameter)pname, (Single)param); } + [System.CLSCompliant(false)] + public static + unsafe void Lightv(OpenTK.OpenGL.Enums.LightName light, OpenTK.OpenGL.Enums.LightParameter pname, Single* @params) + { + Delegates.glLightfv((OpenTK.OpenGL.Enums.LightName)light, (OpenTK.OpenGL.Enums.LightParameter)pname, (Single*)@params); + } + public static void Lightv(OpenTK.OpenGL.Enums.LightName light, OpenTK.OpenGL.Enums.LightParameter pname, Single[] @params) { @@ -2956,19 +2963,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Lightv(OpenTK.OpenGL.Enums.LightName light, OpenTK.OpenGL.Enums.LightParameter pname, Single* @params) - { - Delegates.glLightfv((OpenTK.OpenGL.Enums.LightName)light, (OpenTK.OpenGL.Enums.LightParameter)pname, (Single*)@params); - } - public static void Light(OpenTK.OpenGL.Enums.LightName light, OpenTK.OpenGL.Enums.LightParameter pname, Int32 param) { Delegates.glLighti((OpenTK.OpenGL.Enums.LightName)light, (OpenTK.OpenGL.Enums.LightParameter)pname, (Int32)param); } + [System.CLSCompliant(false)] + public static + unsafe void Lightv(OpenTK.OpenGL.Enums.LightName light, OpenTK.OpenGL.Enums.LightParameter pname, Int32* @params) + { + Delegates.glLightiv((OpenTK.OpenGL.Enums.LightName)light, (OpenTK.OpenGL.Enums.LightParameter)pname, (Int32*)@params); + } + public static void Lightv(OpenTK.OpenGL.Enums.LightName light, OpenTK.OpenGL.Enums.LightParameter pname, Int32[] @params) { @@ -2993,19 +3000,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Lightv(OpenTK.OpenGL.Enums.LightName light, OpenTK.OpenGL.Enums.LightParameter pname, Int32* @params) - { - Delegates.glLightiv((OpenTK.OpenGL.Enums.LightName)light, (OpenTK.OpenGL.Enums.LightParameter)pname, (Int32*)@params); - } - public static void LightModel(OpenTK.OpenGL.Enums.LightModelParameter pname, Single param) { Delegates.glLightModelf((OpenTK.OpenGL.Enums.LightModelParameter)pname, (Single)param); } + [System.CLSCompliant(false)] + public static + unsafe void LightModelv(OpenTK.OpenGL.Enums.LightModelParameter pname, Single* @params) + { + Delegates.glLightModelfv((OpenTK.OpenGL.Enums.LightModelParameter)pname, (Single*)@params); + } + public static void LightModelv(OpenTK.OpenGL.Enums.LightModelParameter pname, Single[] @params) { @@ -3030,19 +3037,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void LightModelv(OpenTK.OpenGL.Enums.LightModelParameter pname, Single* @params) - { - Delegates.glLightModelfv((OpenTK.OpenGL.Enums.LightModelParameter)pname, (Single*)@params); - } - public static void LightModel(OpenTK.OpenGL.Enums.LightModelParameter pname, Int32 param) { Delegates.glLightModeli((OpenTK.OpenGL.Enums.LightModelParameter)pname, (Int32)param); } + [System.CLSCompliant(false)] + public static + unsafe void LightModelv(OpenTK.OpenGL.Enums.LightModelParameter pname, Int32* @params) + { + Delegates.glLightModeliv((OpenTK.OpenGL.Enums.LightModelParameter)pname, (Int32*)@params); + } + public static void LightModelv(OpenTK.OpenGL.Enums.LightModelParameter pname, Int32[] @params) { @@ -3067,13 +3074,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void LightModelv(OpenTK.OpenGL.Enums.LightModelParameter pname, Int32* @params) - { - Delegates.glLightModeliv((OpenTK.OpenGL.Enums.LightModelParameter)pname, (Int32*)@params); - } - [System.CLSCompliant(false)] public static void LineStipple(Int32 factor, UInt16 pattern) @@ -3105,6 +3105,13 @@ namespace OpenTK.OpenGL Delegates.glMaterialf((OpenTK.OpenGL.Enums.MaterialFace)face, (OpenTK.OpenGL.Enums.MaterialParameter)pname, (Single)param); } + [System.CLSCompliant(false)] + public static + unsafe void Materialv(OpenTK.OpenGL.Enums.MaterialFace face, OpenTK.OpenGL.Enums.MaterialParameter pname, Single* @params) + { + Delegates.glMaterialfv((OpenTK.OpenGL.Enums.MaterialFace)face, (OpenTK.OpenGL.Enums.MaterialParameter)pname, (Single*)@params); + } + public static void Materialv(OpenTK.OpenGL.Enums.MaterialFace face, OpenTK.OpenGL.Enums.MaterialParameter pname, Single[] @params) { @@ -3129,19 +3136,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Materialv(OpenTK.OpenGL.Enums.MaterialFace face, OpenTK.OpenGL.Enums.MaterialParameter pname, Single* @params) - { - Delegates.glMaterialfv((OpenTK.OpenGL.Enums.MaterialFace)face, (OpenTK.OpenGL.Enums.MaterialParameter)pname, (Single*)@params); - } - public static void Material(OpenTK.OpenGL.Enums.MaterialFace face, OpenTK.OpenGL.Enums.MaterialParameter pname, Int32 param) { Delegates.glMateriali((OpenTK.OpenGL.Enums.MaterialFace)face, (OpenTK.OpenGL.Enums.MaterialParameter)pname, (Int32)param); } + [System.CLSCompliant(false)] + public static + unsafe void Materialv(OpenTK.OpenGL.Enums.MaterialFace face, OpenTK.OpenGL.Enums.MaterialParameter pname, Int32* @params) + { + Delegates.glMaterialiv((OpenTK.OpenGL.Enums.MaterialFace)face, (OpenTK.OpenGL.Enums.MaterialParameter)pname, (Int32*)@params); + } + public static void Materialv(OpenTK.OpenGL.Enums.MaterialFace face, OpenTK.OpenGL.Enums.MaterialParameter pname, Int32[] @params) { @@ -3166,13 +3173,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Materialv(OpenTK.OpenGL.Enums.MaterialFace face, OpenTK.OpenGL.Enums.MaterialParameter pname, Int32* @params) - { - Delegates.glMaterialiv((OpenTK.OpenGL.Enums.MaterialFace)face, (OpenTK.OpenGL.Enums.MaterialParameter)pname, (Int32*)@params); - } - public static void PointSize(Single size) { @@ -3185,6 +3185,13 @@ namespace OpenTK.OpenGL Delegates.glPolygonMode((OpenTK.OpenGL.Enums.MaterialFace)face, (OpenTK.OpenGL.Enums.PolygonMode)mode); } + [System.CLSCompliant(false)] + public static + unsafe void PolygonStipple(Byte* mask) + { + Delegates.glPolygonStipple((Byte*)mask); + } + public static void PolygonStipple(Byte[] mask) { @@ -3209,13 +3216,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void PolygonStipple(Byte* mask) - { - Delegates.glPolygonStipple((Byte*)mask); - } - public static void Scissor(Int32 x, Int32 y, Int32 width, Int32 height) { @@ -3234,6 +3234,13 @@ namespace OpenTK.OpenGL Delegates.glTexParameterf((OpenTK.OpenGL.Enums.TextureTarget)target, (OpenTK.OpenGL.Enums.TextureParameterName)pname, (Single)param); } + [System.CLSCompliant(false)] + public static + unsafe void TexParameterv(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.TextureParameterName pname, Single* @params) + { + Delegates.glTexParameterfv((OpenTK.OpenGL.Enums.TextureTarget)target, (OpenTK.OpenGL.Enums.TextureParameterName)pname, (Single*)@params); + } + public static void TexParameterv(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.TextureParameterName pname, Single[] @params) { @@ -3258,19 +3265,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexParameterv(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.TextureParameterName pname, Single* @params) - { - Delegates.glTexParameterfv((OpenTK.OpenGL.Enums.TextureTarget)target, (OpenTK.OpenGL.Enums.TextureParameterName)pname, (Single*)@params); - } - public static void TexParameter(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.TextureParameterName pname, Int32 param) { Delegates.glTexParameteri((OpenTK.OpenGL.Enums.TextureTarget)target, (OpenTK.OpenGL.Enums.TextureParameterName)pname, (Int32)param); } + [System.CLSCompliant(false)] + public static + unsafe void TexParameterv(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.TextureParameterName pname, Int32* @params) + { + Delegates.glTexParameteriv((OpenTK.OpenGL.Enums.TextureTarget)target, (OpenTK.OpenGL.Enums.TextureParameterName)pname, (Int32*)@params); + } + public static void TexParameterv(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.TextureParameterName pname, Int32[] @params) { @@ -3295,13 +3302,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexParameterv(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.TextureParameterName pname, Int32* @params) - { - Delegates.glTexParameteriv((OpenTK.OpenGL.Enums.TextureTarget)target, (OpenTK.OpenGL.Enums.TextureParameterName)pname, (Int32*)@params); - } - public static void TexImage1D(OpenTK.OpenGL.Enums.TextureTarget target, Int32 level, OpenTK.OpenGL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, IntPtr pixels) { @@ -3360,6 +3360,13 @@ namespace OpenTK.OpenGL Delegates.glTexEnvf((OpenTK.OpenGL.Enums.TextureEnvTarget)target, (OpenTK.OpenGL.Enums.TextureEnvParameter)pname, (Single)param); } + [System.CLSCompliant(false)] + public static + unsafe void TexEnvv(OpenTK.OpenGL.Enums.TextureEnvTarget target, OpenTK.OpenGL.Enums.TextureEnvParameter pname, Single* @params) + { + Delegates.glTexEnvfv((OpenTK.OpenGL.Enums.TextureEnvTarget)target, (OpenTK.OpenGL.Enums.TextureEnvParameter)pname, (Single*)@params); + } + public static void TexEnvv(OpenTK.OpenGL.Enums.TextureEnvTarget target, OpenTK.OpenGL.Enums.TextureEnvParameter pname, Single[] @params) { @@ -3384,19 +3391,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexEnvv(OpenTK.OpenGL.Enums.TextureEnvTarget target, OpenTK.OpenGL.Enums.TextureEnvParameter pname, Single* @params) - { - Delegates.glTexEnvfv((OpenTK.OpenGL.Enums.TextureEnvTarget)target, (OpenTK.OpenGL.Enums.TextureEnvParameter)pname, (Single*)@params); - } - public static void TexEnv(OpenTK.OpenGL.Enums.TextureEnvTarget target, OpenTK.OpenGL.Enums.TextureEnvParameter pname, Int32 param) { Delegates.glTexEnvi((OpenTK.OpenGL.Enums.TextureEnvTarget)target, (OpenTK.OpenGL.Enums.TextureEnvParameter)pname, (Int32)param); } + [System.CLSCompliant(false)] + public static + unsafe void TexEnvv(OpenTK.OpenGL.Enums.TextureEnvTarget target, OpenTK.OpenGL.Enums.TextureEnvParameter pname, Int32* @params) + { + Delegates.glTexEnviv((OpenTK.OpenGL.Enums.TextureEnvTarget)target, (OpenTK.OpenGL.Enums.TextureEnvParameter)pname, (Int32*)@params); + } + public static void TexEnvv(OpenTK.OpenGL.Enums.TextureEnvTarget target, OpenTK.OpenGL.Enums.TextureEnvParameter pname, Int32[] @params) { @@ -3421,19 +3428,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexEnvv(OpenTK.OpenGL.Enums.TextureEnvTarget target, OpenTK.OpenGL.Enums.TextureEnvParameter pname, Int32* @params) - { - Delegates.glTexEnviv((OpenTK.OpenGL.Enums.TextureEnvTarget)target, (OpenTK.OpenGL.Enums.TextureEnvParameter)pname, (Int32*)@params); - } - public static void TexGend(OpenTK.OpenGL.Enums.TextureCoordName coord, OpenTK.OpenGL.Enums.TextureGenParameter pname, Double param) { Delegates.glTexGend((OpenTK.OpenGL.Enums.TextureCoordName)coord, (OpenTK.OpenGL.Enums.TextureGenParameter)pname, (Double)param); } + [System.CLSCompliant(false)] + public static + unsafe void TexGenv(OpenTK.OpenGL.Enums.TextureCoordName coord, OpenTK.OpenGL.Enums.TextureGenParameter pname, Double* @params) + { + Delegates.glTexGendv((OpenTK.OpenGL.Enums.TextureCoordName)coord, (OpenTK.OpenGL.Enums.TextureGenParameter)pname, (Double*)@params); + } + public static void TexGenv(OpenTK.OpenGL.Enums.TextureCoordName coord, OpenTK.OpenGL.Enums.TextureGenParameter pname, Double[] @params) { @@ -3458,19 +3465,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexGenv(OpenTK.OpenGL.Enums.TextureCoordName coord, OpenTK.OpenGL.Enums.TextureGenParameter pname, Double* @params) - { - Delegates.glTexGendv((OpenTK.OpenGL.Enums.TextureCoordName)coord, (OpenTK.OpenGL.Enums.TextureGenParameter)pname, (Double*)@params); - } - public static void TexGen(OpenTK.OpenGL.Enums.TextureCoordName coord, OpenTK.OpenGL.Enums.TextureGenParameter pname, Single param) { Delegates.glTexGenf((OpenTK.OpenGL.Enums.TextureCoordName)coord, (OpenTK.OpenGL.Enums.TextureGenParameter)pname, (Single)param); } + [System.CLSCompliant(false)] + public static + unsafe void TexGenv(OpenTK.OpenGL.Enums.TextureCoordName coord, OpenTK.OpenGL.Enums.TextureGenParameter pname, Single* @params) + { + Delegates.glTexGenfv((OpenTK.OpenGL.Enums.TextureCoordName)coord, (OpenTK.OpenGL.Enums.TextureGenParameter)pname, (Single*)@params); + } + public static void TexGenv(OpenTK.OpenGL.Enums.TextureCoordName coord, OpenTK.OpenGL.Enums.TextureGenParameter pname, Single[] @params) { @@ -3495,19 +3502,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexGenv(OpenTK.OpenGL.Enums.TextureCoordName coord, OpenTK.OpenGL.Enums.TextureGenParameter pname, Single* @params) - { - Delegates.glTexGenfv((OpenTK.OpenGL.Enums.TextureCoordName)coord, (OpenTK.OpenGL.Enums.TextureGenParameter)pname, (Single*)@params); - } - public static void TexGen(OpenTK.OpenGL.Enums.TextureCoordName coord, OpenTK.OpenGL.Enums.TextureGenParameter pname, Int32 param) { Delegates.glTexGeni((OpenTK.OpenGL.Enums.TextureCoordName)coord, (OpenTK.OpenGL.Enums.TextureGenParameter)pname, (Int32)param); } + [System.CLSCompliant(false)] + public static + unsafe void TexGenv(OpenTK.OpenGL.Enums.TextureCoordName coord, OpenTK.OpenGL.Enums.TextureGenParameter pname, Int32* @params) + { + Delegates.glTexGeniv((OpenTK.OpenGL.Enums.TextureCoordName)coord, (OpenTK.OpenGL.Enums.TextureGenParameter)pname, (Int32*)@params); + } + public static void TexGenv(OpenTK.OpenGL.Enums.TextureCoordName coord, OpenTK.OpenGL.Enums.TextureGenParameter pname, Int32[] @params) { @@ -3534,9 +3541,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void TexGenv(OpenTK.OpenGL.Enums.TextureCoordName coord, OpenTK.OpenGL.Enums.TextureGenParameter pname, Int32* @params) + unsafe void FeedbackBuffer(Int32 size, OpenTK.OpenGL.Enums.FeedbackType type, [Out] Single* buffer) { - Delegates.glTexGeniv((OpenTK.OpenGL.Enums.TextureCoordName)coord, (OpenTK.OpenGL.Enums.TextureGenParameter)pname, (Int32*)@params); + Delegates.glFeedbackBuffer((Int32)size, (OpenTK.OpenGL.Enums.FeedbackType)type, (Single*)buffer); } public static @@ -3566,9 +3573,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void FeedbackBuffer(Int32 size, OpenTK.OpenGL.Enums.FeedbackType type, [Out] Single* buffer) + unsafe void SelectBuffer(Int32 size, [Out] UInt32* buffer) { - Delegates.glFeedbackBuffer((Int32)size, (OpenTK.OpenGL.Enums.FeedbackType)type, (Single*)buffer); + Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer); + } + + [System.CLSCompliant(false)] + public static + unsafe void SelectBuffer(Int32 size, [Out] Int32* buffer) + { + Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer); } [System.CLSCompliant(false)] @@ -3623,20 +3637,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void SelectBuffer(Int32 size, [Out] UInt32* buffer) - { - Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer); - } - - [System.CLSCompliant(false)] - public static - unsafe void SelectBuffer(Int32 size, [Out] Int32* buffer) - { - Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer); - } - public static Int32 RenderMode(OpenTK.OpenGL.Enums.RenderingMode mode) { @@ -3809,6 +3809,13 @@ namespace OpenTK.OpenGL Delegates.glPushAttrib((OpenTK.OpenGL.Enums.AttribMask)mask); } + [System.CLSCompliant(false)] + public static + unsafe void Map1(OpenTK.OpenGL.Enums.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double* points) + { + Delegates.glMap1d((OpenTK.OpenGL.Enums.MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points); + } + public static void Map1(OpenTK.OpenGL.Enums.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double[] points) { @@ -3835,9 +3842,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Map1(OpenTK.OpenGL.Enums.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double* points) + unsafe void Map1(OpenTK.OpenGL.Enums.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single* points) { - Delegates.glMap1d((OpenTK.OpenGL.Enums.MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points); + Delegates.glMap1f((OpenTK.OpenGL.Enums.MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points); } public static @@ -3866,9 +3873,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Map1(OpenTK.OpenGL.Enums.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single* points) + unsafe void Map2(OpenTK.OpenGL.Enums.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points) { - Delegates.glMap1f((OpenTK.OpenGL.Enums.MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points); + Delegates.glMap2d((OpenTK.OpenGL.Enums.MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points); } public static @@ -3897,9 +3904,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Map2(OpenTK.OpenGL.Enums.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points) + unsafe void Map2(OpenTK.OpenGL.Enums.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points) { - Delegates.glMap2d((OpenTK.OpenGL.Enums.MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points); + Delegates.glMap2f((OpenTK.OpenGL.Enums.MapTarget)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points); } public static @@ -3926,13 +3933,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Map2(OpenTK.OpenGL.Enums.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points) - { - Delegates.glMap2f((OpenTK.OpenGL.Enums.MapTarget)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points); - } - public static void MapGrid1(Int32 un, Double u1, Double u2) { @@ -3963,6 +3963,13 @@ namespace OpenTK.OpenGL Delegates.glEvalCoord1d((Double)u); } + [System.CLSCompliant(false)] + public static + unsafe void EvalCoord1v(Double* u) + { + Delegates.glEvalCoord1dv((Double*)u); + } + public static void EvalCoord1v(Double[] u) { @@ -3987,19 +3994,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void EvalCoord1v(Double* u) - { - Delegates.glEvalCoord1dv((Double*)u); - } - public static void EvalCoord1(Single u) { Delegates.glEvalCoord1f((Single)u); } + [System.CLSCompliant(false)] + public static + unsafe void EvalCoord1v(Single* u) + { + Delegates.glEvalCoord1fv((Single*)u); + } + public static void EvalCoord1v(Single[] u) { @@ -4024,19 +4031,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void EvalCoord1v(Single* u) - { - Delegates.glEvalCoord1fv((Single*)u); - } - public static void EvalCoord2(Double u, Double v) { Delegates.glEvalCoord2d((Double)u, (Double)v); } + [System.CLSCompliant(false)] + public static + unsafe void EvalCoord2(Double* u) + { + Delegates.glEvalCoord2dv((Double*)u); + } + public static void EvalCoord2(Double[] u) { @@ -4061,19 +4068,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void EvalCoord2(Double* u) - { - Delegates.glEvalCoord2dv((Double*)u); - } - public static void EvalCoord2(Single u, Single v) { Delegates.glEvalCoord2f((Single)u, (Single)v); } + [System.CLSCompliant(false)] + public static + unsafe void EvalCoord2(Single* u) + { + Delegates.glEvalCoord2fv((Single*)u); + } + public static void EvalCoord2(Single[] u) { @@ -4098,13 +4105,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void EvalCoord2(Single* u) - { - Delegates.glEvalCoord2fv((Single*)u); - } - public static void EvalMesh1(OpenTK.OpenGL.Enums.MeshMode1 mode, Int32 i1, Int32 i2) { @@ -4202,6 +4202,13 @@ namespace OpenTK.OpenGL Delegates.glPixelStorei((OpenTK.OpenGL.Enums.PixelStoreParameter)pname, (Int32)param); } + [System.CLSCompliant(false)] + public static + unsafe void PixelMap(OpenTK.OpenGL.Enums.PixelMap map, Int32 mapsize, Single* values) + { + Delegates.glPixelMapfv((OpenTK.OpenGL.Enums.PixelMap)map, (Int32)mapsize, (Single*)values); + } + public static void PixelMap(OpenTK.OpenGL.Enums.PixelMap map, Int32 mapsize, Single[] values) { @@ -4228,9 +4235,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void PixelMap(OpenTK.OpenGL.Enums.PixelMap map, Int32 mapsize, Single* values) + unsafe void PixelMap(OpenTK.OpenGL.Enums.PixelMap map, Int32 mapsize, UInt32* values) { - Delegates.glPixelMapfv((OpenTK.OpenGL.Enums.PixelMap)map, (Int32)mapsize, (Single*)values); + Delegates.glPixelMapuiv((OpenTK.OpenGL.Enums.PixelMap)map, (Int32)mapsize, (UInt32*)values); + } + + [System.CLSCompliant(false)] + public static + unsafe void PixelMap(OpenTK.OpenGL.Enums.PixelMap map, Int32 mapsize, Int32* values) + { + Delegates.glPixelMapuiv((OpenTK.OpenGL.Enums.PixelMap)map, (Int32)mapsize, (UInt32*)values); } [System.CLSCompliant(false)] @@ -4285,16 +4299,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void PixelMap(OpenTK.OpenGL.Enums.PixelMap map, Int32 mapsize, UInt32* values) + unsafe void PixelMap(OpenTK.OpenGL.Enums.PixelMap map, Int32 mapsize, UInt16* values) { - Delegates.glPixelMapuiv((OpenTK.OpenGL.Enums.PixelMap)map, (Int32)mapsize, (UInt32*)values); + Delegates.glPixelMapusv((OpenTK.OpenGL.Enums.PixelMap)map, (Int32)mapsize, (UInt16*)values); } [System.CLSCompliant(false)] public static - unsafe void PixelMap(OpenTK.OpenGL.Enums.PixelMap map, Int32 mapsize, Int32* values) + unsafe void PixelMap(OpenTK.OpenGL.Enums.PixelMap map, Int32 mapsize, Int16* values) { - Delegates.glPixelMapuiv((OpenTK.OpenGL.Enums.PixelMap)map, (Int32)mapsize, (UInt32*)values); + Delegates.glPixelMapusv((OpenTK.OpenGL.Enums.PixelMap)map, (Int32)mapsize, (UInt16*)values); } [System.CLSCompliant(false)] @@ -4347,20 +4361,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void PixelMap(OpenTK.OpenGL.Enums.PixelMap map, Int32 mapsize, UInt16* values) - { - Delegates.glPixelMapusv((OpenTK.OpenGL.Enums.PixelMap)map, (Int32)mapsize, (UInt16*)values); - } - - [System.CLSCompliant(false)] - public static - unsafe void PixelMap(OpenTK.OpenGL.Enums.PixelMap map, Int32 mapsize, Int16* values) - { - Delegates.glPixelMapusv((OpenTK.OpenGL.Enums.PixelMap)map, (Int32)mapsize, (UInt16*)values); - } - public static void ReadBuffer(OpenTK.OpenGL.Enums.ReadBufferMode mode) { @@ -4425,6 +4425,13 @@ namespace OpenTK.OpenGL } } + [System.CLSCompliant(false)] + public static + unsafe void GetClipPlane(OpenTK.OpenGL.Enums.ClipPlaneName plane, [Out] Double* equation) + { + Delegates.glGetClipPlane((OpenTK.OpenGL.Enums.ClipPlaneName)plane, (Double*)equation); + } + public static void GetClipPlane(OpenTK.OpenGL.Enums.ClipPlaneName plane, [Out] Double[] equation) { @@ -4452,9 +4459,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetClipPlane(OpenTK.OpenGL.Enums.ClipPlaneName plane, [Out] Double* equation) + unsafe void GetDouble(OpenTK.OpenGL.Enums.GetPName pname, [Out] Double* @params) { - Delegates.glGetClipPlane((OpenTK.OpenGL.Enums.ClipPlaneName)plane, (Double*)equation); + Delegates.glGetDoublev((OpenTK.OpenGL.Enums.GetPName)pname, (Double*)@params); } public static @@ -4482,19 +4489,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetDouble(OpenTK.OpenGL.Enums.GetPName pname, [Out] Double* @params) - { - Delegates.glGetDoublev((OpenTK.OpenGL.Enums.GetPName)pname, (Double*)@params); - } - public static OpenTK.OpenGL.Enums.ErrorCode GetError() { return Delegates.glGetError(); } + [System.CLSCompliant(false)] + public static + unsafe void GetFloat(OpenTK.OpenGL.Enums.GetPName pname, [Out] Single* @params) + { + Delegates.glGetFloatv((OpenTK.OpenGL.Enums.GetPName)pname, (Single*)@params); + } + public static void GetFloat(OpenTK.OpenGL.Enums.GetPName pname, [Out] Single[] @params) { @@ -4522,9 +4529,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetFloat(OpenTK.OpenGL.Enums.GetPName pname, [Out] Single* @params) + unsafe void GetInteger(OpenTK.OpenGL.Enums.GetPName pname, [Out] Int32* @params) { - Delegates.glGetFloatv((OpenTK.OpenGL.Enums.GetPName)pname, (Single*)@params); + Delegates.glGetIntegerv((OpenTK.OpenGL.Enums.GetPName)pname, (Int32*)@params); } public static @@ -4554,9 +4561,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetInteger(OpenTK.OpenGL.Enums.GetPName pname, [Out] Int32* @params) + unsafe void GetLight(OpenTK.OpenGL.Enums.LightName light, OpenTK.OpenGL.Enums.LightParameter pname, [Out] Single* @params) { - Delegates.glGetIntegerv((OpenTK.OpenGL.Enums.GetPName)pname, (Int32*)@params); + Delegates.glGetLightfv((OpenTK.OpenGL.Enums.LightName)light, (OpenTK.OpenGL.Enums.LightParameter)pname, (Single*)@params); } public static @@ -4586,9 +4593,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetLight(OpenTK.OpenGL.Enums.LightName light, OpenTK.OpenGL.Enums.LightParameter pname, [Out] Single* @params) + unsafe void GetLight(OpenTK.OpenGL.Enums.LightName light, OpenTK.OpenGL.Enums.LightParameter pname, [Out] Int32* @params) { - Delegates.glGetLightfv((OpenTK.OpenGL.Enums.LightName)light, (OpenTK.OpenGL.Enums.LightParameter)pname, (Single*)@params); + Delegates.glGetLightiv((OpenTK.OpenGL.Enums.LightName)light, (OpenTK.OpenGL.Enums.LightParameter)pname, (Int32*)@params); } public static @@ -4618,9 +4625,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetLight(OpenTK.OpenGL.Enums.LightName light, OpenTK.OpenGL.Enums.LightParameter pname, [Out] Int32* @params) + unsafe void GetMap(OpenTK.OpenGL.Enums.MapTarget target, OpenTK.OpenGL.Enums.GetMapQuery query, [Out] Double* v) { - Delegates.glGetLightiv((OpenTK.OpenGL.Enums.LightName)light, (OpenTK.OpenGL.Enums.LightParameter)pname, (Int32*)@params); + Delegates.glGetMapdv((OpenTK.OpenGL.Enums.MapTarget)target, (OpenTK.OpenGL.Enums.GetMapQuery)query, (Double*)v); } public static @@ -4650,9 +4657,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetMap(OpenTK.OpenGL.Enums.MapTarget target, OpenTK.OpenGL.Enums.GetMapQuery query, [Out] Double* v) + unsafe void GetMap(OpenTK.OpenGL.Enums.MapTarget target, OpenTK.OpenGL.Enums.GetMapQuery query, [Out] Single* v) { - Delegates.glGetMapdv((OpenTK.OpenGL.Enums.MapTarget)target, (OpenTK.OpenGL.Enums.GetMapQuery)query, (Double*)v); + Delegates.glGetMapfv((OpenTK.OpenGL.Enums.MapTarget)target, (OpenTK.OpenGL.Enums.GetMapQuery)query, (Single*)v); } public static @@ -4682,9 +4689,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetMap(OpenTK.OpenGL.Enums.MapTarget target, OpenTK.OpenGL.Enums.GetMapQuery query, [Out] Single* v) + unsafe void GetMap(OpenTK.OpenGL.Enums.MapTarget target, OpenTK.OpenGL.Enums.GetMapQuery query, [Out] Int32* v) { - Delegates.glGetMapfv((OpenTK.OpenGL.Enums.MapTarget)target, (OpenTK.OpenGL.Enums.GetMapQuery)query, (Single*)v); + Delegates.glGetMapiv((OpenTK.OpenGL.Enums.MapTarget)target, (OpenTK.OpenGL.Enums.GetMapQuery)query, (Int32*)v); } public static @@ -4714,9 +4721,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetMap(OpenTK.OpenGL.Enums.MapTarget target, OpenTK.OpenGL.Enums.GetMapQuery query, [Out] Int32* v) + unsafe void GetMaterial(OpenTK.OpenGL.Enums.MaterialFace face, OpenTK.OpenGL.Enums.MaterialParameter pname, [Out] Single* @params) { - Delegates.glGetMapiv((OpenTK.OpenGL.Enums.MapTarget)target, (OpenTK.OpenGL.Enums.GetMapQuery)query, (Int32*)v); + Delegates.glGetMaterialfv((OpenTK.OpenGL.Enums.MaterialFace)face, (OpenTK.OpenGL.Enums.MaterialParameter)pname, (Single*)@params); } public static @@ -4746,9 +4753,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetMaterial(OpenTK.OpenGL.Enums.MaterialFace face, OpenTK.OpenGL.Enums.MaterialParameter pname, [Out] Single* @params) + unsafe void GetMaterial(OpenTK.OpenGL.Enums.MaterialFace face, OpenTK.OpenGL.Enums.MaterialParameter pname, [Out] Int32* @params) { - Delegates.glGetMaterialfv((OpenTK.OpenGL.Enums.MaterialFace)face, (OpenTK.OpenGL.Enums.MaterialParameter)pname, (Single*)@params); + Delegates.glGetMaterialiv((OpenTK.OpenGL.Enums.MaterialFace)face, (OpenTK.OpenGL.Enums.MaterialParameter)pname, (Int32*)@params); } public static @@ -4778,9 +4785,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetMaterial(OpenTK.OpenGL.Enums.MaterialFace face, OpenTK.OpenGL.Enums.MaterialParameter pname, [Out] Int32* @params) + unsafe void GetPixelMap(OpenTK.OpenGL.Enums.PixelMap map, [Out] Single* values) { - Delegates.glGetMaterialiv((OpenTK.OpenGL.Enums.MaterialFace)face, (OpenTK.OpenGL.Enums.MaterialParameter)pname, (Int32*)@params); + Delegates.glGetPixelMapfv((OpenTK.OpenGL.Enums.PixelMap)map, (Single*)values); } public static @@ -4810,9 +4817,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetPixelMap(OpenTK.OpenGL.Enums.PixelMap map, [Out] Single* values) + unsafe void GetPixelMap(OpenTK.OpenGL.Enums.PixelMap map, [Out] UInt32* values) { - Delegates.glGetPixelMapfv((OpenTK.OpenGL.Enums.PixelMap)map, (Single*)values); + Delegates.glGetPixelMapuiv((OpenTK.OpenGL.Enums.PixelMap)map, (UInt32*)values); + } + + [System.CLSCompliant(false)] + public static + unsafe void GetPixelMap(OpenTK.OpenGL.Enums.PixelMap map, [Out] Int32* values) + { + Delegates.glGetPixelMapuiv((OpenTK.OpenGL.Enums.PixelMap)map, (UInt32*)values); } [System.CLSCompliant(false)] @@ -4869,16 +4883,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetPixelMap(OpenTK.OpenGL.Enums.PixelMap map, [Out] UInt32* values) + unsafe void GetPixelMap(OpenTK.OpenGL.Enums.PixelMap map, [Out] UInt16* values) { - Delegates.glGetPixelMapuiv((OpenTK.OpenGL.Enums.PixelMap)map, (UInt32*)values); + Delegates.glGetPixelMapusv((OpenTK.OpenGL.Enums.PixelMap)map, (UInt16*)values); } [System.CLSCompliant(false)] public static - unsafe void GetPixelMap(OpenTK.OpenGL.Enums.PixelMap map, [Out] Int32* values) + unsafe void GetPixelMap(OpenTK.OpenGL.Enums.PixelMap map, [Out] Int16* values) { - Delegates.glGetPixelMapuiv((OpenTK.OpenGL.Enums.PixelMap)map, (UInt32*)values); + Delegates.glGetPixelMapusv((OpenTK.OpenGL.Enums.PixelMap)map, (UInt16*)values); } [System.CLSCompliant(false)] @@ -4935,16 +4949,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetPixelMap(OpenTK.OpenGL.Enums.PixelMap map, [Out] UInt16* values) + unsafe void GetPolygonStipple([Out] Byte* mask) { - Delegates.glGetPixelMapusv((OpenTK.OpenGL.Enums.PixelMap)map, (UInt16*)values); - } - - [System.CLSCompliant(false)] - public static - unsafe void GetPixelMap(OpenTK.OpenGL.Enums.PixelMap map, [Out] Int16* values) - { - Delegates.glGetPixelMapusv((OpenTK.OpenGL.Enums.PixelMap)map, (UInt16*)values); + Delegates.glGetPolygonStipple((Byte*)mask); } public static @@ -4972,13 +4979,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetPolygonStipple([Out] Byte* mask) - { - Delegates.glGetPolygonStipple((Byte*)mask); - } - public static string GetString(OpenTK.OpenGL.Enums.StringName name) { @@ -4988,6 +4988,13 @@ namespace OpenTK.OpenGL } } + [System.CLSCompliant(false)] + public static + unsafe void GetTexEnv(OpenTK.OpenGL.Enums.TextureEnvTarget target, OpenTK.OpenGL.Enums.TextureEnvParameter pname, [Out] Single* @params) + { + Delegates.glGetTexEnvfv((OpenTK.OpenGL.Enums.TextureEnvTarget)target, (OpenTK.OpenGL.Enums.TextureEnvParameter)pname, (Single*)@params); + } + public static void GetTexEnv(OpenTK.OpenGL.Enums.TextureEnvTarget target, OpenTK.OpenGL.Enums.TextureEnvParameter pname, [Out] Single[] @params) { @@ -5015,9 +5022,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetTexEnv(OpenTK.OpenGL.Enums.TextureEnvTarget target, OpenTK.OpenGL.Enums.TextureEnvParameter pname, [Out] Single* @params) + unsafe void GetTexEnv(OpenTK.OpenGL.Enums.TextureEnvTarget target, OpenTK.OpenGL.Enums.TextureEnvParameter pname, [Out] Int32* @params) { - Delegates.glGetTexEnvfv((OpenTK.OpenGL.Enums.TextureEnvTarget)target, (OpenTK.OpenGL.Enums.TextureEnvParameter)pname, (Single*)@params); + Delegates.glGetTexEnviv((OpenTK.OpenGL.Enums.TextureEnvTarget)target, (OpenTK.OpenGL.Enums.TextureEnvParameter)pname, (Int32*)@params); } public static @@ -5047,9 +5054,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetTexEnv(OpenTK.OpenGL.Enums.TextureEnvTarget target, OpenTK.OpenGL.Enums.TextureEnvParameter pname, [Out] Int32* @params) + unsafe void GetTexGen(OpenTK.OpenGL.Enums.TextureCoordName coord, OpenTK.OpenGL.Enums.TextureGenParameter pname, [Out] Double* @params) { - Delegates.glGetTexEnviv((OpenTK.OpenGL.Enums.TextureEnvTarget)target, (OpenTK.OpenGL.Enums.TextureEnvParameter)pname, (Int32*)@params); + Delegates.glGetTexGendv((OpenTK.OpenGL.Enums.TextureCoordName)coord, (OpenTK.OpenGL.Enums.TextureGenParameter)pname, (Double*)@params); } public static @@ -5079,9 +5086,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetTexGen(OpenTK.OpenGL.Enums.TextureCoordName coord, OpenTK.OpenGL.Enums.TextureGenParameter pname, [Out] Double* @params) + unsafe void GetTexGen(OpenTK.OpenGL.Enums.TextureCoordName coord, OpenTK.OpenGL.Enums.TextureGenParameter pname, [Out] Single* @params) { - Delegates.glGetTexGendv((OpenTK.OpenGL.Enums.TextureCoordName)coord, (OpenTK.OpenGL.Enums.TextureGenParameter)pname, (Double*)@params); + Delegates.glGetTexGenfv((OpenTK.OpenGL.Enums.TextureCoordName)coord, (OpenTK.OpenGL.Enums.TextureGenParameter)pname, (Single*)@params); } public static @@ -5111,9 +5118,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetTexGen(OpenTK.OpenGL.Enums.TextureCoordName coord, OpenTK.OpenGL.Enums.TextureGenParameter pname, [Out] Single* @params) + unsafe void GetTexGen(OpenTK.OpenGL.Enums.TextureCoordName coord, OpenTK.OpenGL.Enums.TextureGenParameter pname, [Out] Int32* @params) { - Delegates.glGetTexGenfv((OpenTK.OpenGL.Enums.TextureCoordName)coord, (OpenTK.OpenGL.Enums.TextureGenParameter)pname, (Single*)@params); + Delegates.glGetTexGeniv((OpenTK.OpenGL.Enums.TextureCoordName)coord, (OpenTK.OpenGL.Enums.TextureGenParameter)pname, (Int32*)@params); } public static @@ -5141,13 +5148,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetTexGen(OpenTK.OpenGL.Enums.TextureCoordName coord, OpenTK.OpenGL.Enums.TextureGenParameter pname, [Out] Int32* @params) - { - Delegates.glGetTexGeniv((OpenTK.OpenGL.Enums.TextureCoordName)coord, (OpenTK.OpenGL.Enums.TextureGenParameter)pname, (Int32*)@params); - } - public static void GetTexImage(OpenTK.OpenGL.Enums.TextureTarget target, Int32 level, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, [Out] IntPtr pixels) { @@ -5174,6 +5174,13 @@ namespace OpenTK.OpenGL } } + [System.CLSCompliant(false)] + public static + unsafe void GetTexParameter(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.GetTextureParameter pname, [Out] Single* @params) + { + Delegates.glGetTexParameterfv((OpenTK.OpenGL.Enums.TextureTarget)target, (OpenTK.OpenGL.Enums.GetTextureParameter)pname, (Single*)@params); + } + public static void GetTexParameter(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.GetTextureParameter pname, [Out] Single[] @params) { @@ -5201,9 +5208,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetTexParameter(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.GetTextureParameter pname, [Out] Single* @params) + unsafe void GetTexParameter(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.GetTextureParameter pname, [Out] Int32* @params) { - Delegates.glGetTexParameterfv((OpenTK.OpenGL.Enums.TextureTarget)target, (OpenTK.OpenGL.Enums.GetTextureParameter)pname, (Single*)@params); + Delegates.glGetTexParameteriv((OpenTK.OpenGL.Enums.TextureTarget)target, (OpenTK.OpenGL.Enums.GetTextureParameter)pname, (Int32*)@params); } public static @@ -5233,9 +5240,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetTexParameter(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.GetTextureParameter pname, [Out] Int32* @params) + unsafe void GetTexLevelParameter(OpenTK.OpenGL.Enums.TextureTarget target, Int32 level, OpenTK.OpenGL.Enums.GetTextureParameter pname, [Out] Single* @params) { - Delegates.glGetTexParameteriv((OpenTK.OpenGL.Enums.TextureTarget)target, (OpenTK.OpenGL.Enums.GetTextureParameter)pname, (Int32*)@params); + Delegates.glGetTexLevelParameterfv((OpenTK.OpenGL.Enums.TextureTarget)target, (Int32)level, (OpenTK.OpenGL.Enums.GetTextureParameter)pname, (Single*)@params); } public static @@ -5265,9 +5272,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetTexLevelParameter(OpenTK.OpenGL.Enums.TextureTarget target, Int32 level, OpenTK.OpenGL.Enums.GetTextureParameter pname, [Out] Single* @params) + unsafe void GetTexLevelParameter(OpenTK.OpenGL.Enums.TextureTarget target, Int32 level, OpenTK.OpenGL.Enums.GetTextureParameter pname, [Out] Int32* @params) { - Delegates.glGetTexLevelParameterfv((OpenTK.OpenGL.Enums.TextureTarget)target, (Int32)level, (OpenTK.OpenGL.Enums.GetTextureParameter)pname, (Single*)@params); + Delegates.glGetTexLevelParameteriv((OpenTK.OpenGL.Enums.TextureTarget)target, (Int32)level, (OpenTK.OpenGL.Enums.GetTextureParameter)pname, (Int32*)@params); } public static @@ -5295,13 +5302,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetTexLevelParameter(OpenTK.OpenGL.Enums.TextureTarget target, Int32 level, OpenTK.OpenGL.Enums.GetTextureParameter pname, [Out] Int32* @params) - { - Delegates.glGetTexLevelParameteriv((OpenTK.OpenGL.Enums.TextureTarget)target, (Int32)level, (OpenTK.OpenGL.Enums.GetTextureParameter)pname, (Int32*)@params); - } - public static bool IsEnabled(OpenTK.OpenGL.Enums.EnableCap cap) { @@ -5339,6 +5339,13 @@ namespace OpenTK.OpenGL Delegates.glLoadIdentity(); } + [System.CLSCompliant(false)] + public static + unsafe void LoadMatrix(Single* m) + { + Delegates.glLoadMatrixf((Single*)m); + } + public static void LoadMatrix(Single[] m) { @@ -5365,9 +5372,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void LoadMatrix(Single* m) + unsafe void LoadMatrix(Double* m) { - Delegates.glLoadMatrixf((Single*)m); + Delegates.glLoadMatrixd((Double*)m); } public static @@ -5394,19 +5401,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void LoadMatrix(Double* m) - { - Delegates.glLoadMatrixd((Double*)m); - } - public static void MatrixMode(OpenTK.OpenGL.Enums.MatrixMode mode) { Delegates.glMatrixMode((OpenTK.OpenGL.Enums.MatrixMode)mode); } + [System.CLSCompliant(false)] + public static + unsafe void MultMatrix(Single* m) + { + Delegates.glMultMatrixf((Single*)m); + } + public static void MultMatrix(Single[] m) { @@ -5433,9 +5440,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void MultMatrix(Single* m) + unsafe void MultMatrix(Double* m) { - Delegates.glMultMatrixf((Single*)m); + Delegates.glMultMatrixd((Double*)m); } public static @@ -5462,13 +5469,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultMatrix(Double* m) - { - Delegates.glMultMatrixd((Double*)m); - } - public static void Ortho(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) { @@ -5869,6 +5869,20 @@ namespace OpenTK.OpenGL } } + [System.CLSCompliant(false)] + public static + unsafe bool AreTexturesResident(Int32 n, UInt32* textures, [Out] bool* residences) + { + return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (bool*)residences); + } + + [System.CLSCompliant(false)] + public static + unsafe bool AreTexturesResident(Int32 n, Int32* textures, [Out] bool* residences) + { + return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (bool*)residences); + } + [System.CLSCompliant(false)] public static bool AreTexturesResident(Int32 n, UInt32[] textures, [Out] bool[] residences) @@ -5927,20 +5941,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe bool AreTexturesResident(Int32 n, UInt32* textures, [Out] bool* residences) - { - return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (bool*)residences); - } - - [System.CLSCompliant(false)] - public static - unsafe bool AreTexturesResident(Int32 n, Int32* textures, [Out] bool* residences) - { - return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (bool*)residences); - } - [System.CLSCompliant(false)] public static void BindTexture(OpenTK.OpenGL.Enums.TextureTarget target, UInt32 texture) @@ -5954,6 +5954,20 @@ namespace OpenTK.OpenGL Delegates.glBindTexture((OpenTK.OpenGL.Enums.TextureTarget)target, (UInt32)texture); } + [System.CLSCompliant(false)] + public static + unsafe void DeleteTextures(Int32 n, UInt32* textures) + { + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); + } + + [System.CLSCompliant(false)] + public static + unsafe void DeleteTextures(Int32 n, Int32* textures) + { + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); + } + [System.CLSCompliant(false)] public static void DeleteTextures(Int32 n, UInt32[] textures) @@ -6006,16 +6020,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void DeleteTextures(Int32 n, UInt32* textures) + unsafe void GenTextures(Int32 n, [Out] UInt32* textures) { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); + Delegates.glGenTextures((Int32)n, (UInt32*)textures); } [System.CLSCompliant(false)] public static - unsafe void DeleteTextures(Int32 n, Int32* textures) + unsafe void GenTextures(Int32 n, [Out] Int32* textures) { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); + Delegates.glGenTextures((Int32)n, (UInt32*)textures); } [System.CLSCompliant(false)] @@ -6070,20 +6084,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GenTextures(Int32 n, [Out] UInt32* textures) - { - Delegates.glGenTextures((Int32)n, (UInt32*)textures); - } - - [System.CLSCompliant(false)] - public static - unsafe void GenTextures(Int32 n, [Out] Int32* textures) - { - Delegates.glGenTextures((Int32)n, (UInt32*)textures); - } - [System.CLSCompliant(false)] public static bool IsTexture(UInt32 texture) @@ -6097,6 +6097,20 @@ namespace OpenTK.OpenGL return Delegates.glIsTexture((UInt32)texture); } + [System.CLSCompliant(false)] + public static + unsafe void PrioritizeTextures(Int32 n, UInt32* textures, Single* priorities) + { + Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures, (Single*)priorities); + } + + [System.CLSCompliant(false)] + public static + unsafe void PrioritizeTextures(Int32 n, Int32* textures, Single* priorities) + { + Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures, (Single*)priorities); + } + [System.CLSCompliant(false)] public static void PrioritizeTextures(Int32 n, UInt32[] textures, Single[] priorities) @@ -6151,26 +6165,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void PrioritizeTextures(Int32 n, UInt32* textures, Single* priorities) - { - Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures, (Single*)priorities); - } - - [System.CLSCompliant(false)] - public static - unsafe void PrioritizeTextures(Int32 n, Int32* textures, Single* priorities) - { - Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures, (Single*)priorities); - } - public static void Index(Byte c) { Delegates.glIndexub((Byte)c); } + [System.CLSCompliant(false)] + public static + unsafe void Indexv(Byte* c) + { + Delegates.glIndexubv((Byte*)c); + } + public static void Indexv(Byte[] c) { @@ -6195,13 +6202,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Indexv(Byte* c) - { - Delegates.glIndexubv((Byte*)c); - } - public static void PopClientAttrib() { @@ -6306,6 +6306,13 @@ namespace OpenTK.OpenGL } } + [System.CLSCompliant(false)] + public static + unsafe void ColorTableParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Single* @params) + { + Delegates.glColorTableParameterfv((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + } + public static void ColorTableParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Single[] @params) { @@ -6332,9 +6339,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ColorTableParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Single* @params) + unsafe void ColorTableParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Int32* @params) { - Delegates.glColorTableParameterfv((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glColorTableParameteriv((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } public static @@ -6361,13 +6368,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void ColorTableParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Int32* @params) - { - Delegates.glColorTableParameteriv((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); - } - public static void CopyColorTable(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) { @@ -6400,6 +6400,13 @@ namespace OpenTK.OpenGL } } + [System.CLSCompliant(false)] + public static + unsafe void GetColorTableParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + { + Delegates.glGetColorTableParameterfv((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + } + public static void GetColorTableParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Single[] @params) { @@ -6427,9 +6434,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetColorTableParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + unsafe void GetColorTableParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) { - Delegates.glGetColorTableParameterfv((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glGetColorTableParameteriv((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } public static @@ -6457,13 +6464,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetColorTableParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) - { - Delegates.glGetColorTableParameteriv((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); - } - public static void ColorSubTable(OpenTK.OpenGL.Enums.All target, Int32 start, Int32 count, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, IntPtr data) { @@ -6554,6 +6554,13 @@ namespace OpenTK.OpenGL Delegates.glConvolutionParameterf((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single)@params); } + [System.CLSCompliant(false)] + public static + unsafe void ConvolutionParameterv(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Single* @params) + { + Delegates.glConvolutionParameterfv((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + } + public static void ConvolutionParameterv(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Single[] @params) { @@ -6578,19 +6585,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void ConvolutionParameterv(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Single* @params) - { - Delegates.glConvolutionParameterfv((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); - } - public static void ConvolutionParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Int32 @params) { Delegates.glConvolutionParameteri((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32)@params); } + [System.CLSCompliant(false)] + public static + unsafe void ConvolutionParameterv(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Int32* @params) + { + Delegates.glConvolutionParameteriv((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + } + public static void ConvolutionParameterv(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Int32[] @params) { @@ -6615,13 +6622,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void ConvolutionParameterv(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Int32* @params) - { - Delegates.glConvolutionParameteriv((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); - } - public static void CopyConvolutionFilter1D(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) { @@ -6660,6 +6660,13 @@ namespace OpenTK.OpenGL } } + [System.CLSCompliant(false)] + public static + unsafe void GetConvolutionParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + { + Delegates.glGetConvolutionParameterfv((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + } + public static void GetConvolutionParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Single[] @params) { @@ -6687,9 +6694,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetConvolutionParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + unsafe void GetConvolutionParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) { - Delegates.glGetConvolutionParameterfv((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glGetConvolutionParameteriv((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } public static @@ -6717,13 +6724,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetConvolutionParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) - { - Delegates.glGetConvolutionParameteriv((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); - } - public static void GetSeparableFilter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span) { @@ -6754,25 +6754,6 @@ namespace OpenTK.OpenGL } } - public static - void GetSeparableFilter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, [Out] IntPtr row, [In, Out] object column, [In, Out] object span) - { - unsafe - { - System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned); - System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.PixelFormat)format, (OpenTK.OpenGL.Enums.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - span_ptr.Free(); - } - } - } - public static void SeparableFilter2D(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, IntPtr row, IntPtr column) { @@ -6827,6 +6808,13 @@ namespace OpenTK.OpenGL } } + [System.CLSCompliant(false)] + public static + unsafe void GetHistogramParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + { + Delegates.glGetHistogramParameterfv((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + } + public static void GetHistogramParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Single[] @params) { @@ -6854,9 +6842,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetHistogramParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + unsafe void GetHistogramParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) { - Delegates.glGetHistogramParameterfv((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glGetHistogramParameteriv((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } public static @@ -6884,13 +6872,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetHistogramParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) - { - Delegates.glGetHistogramParameteriv((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); - } - public static void GetMinmax(OpenTK.OpenGL.Enums.All target, bool reset, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, [Out] IntPtr values) { @@ -6917,6 +6898,13 @@ namespace OpenTK.OpenGL } } + [System.CLSCompliant(false)] + public static + unsafe void GetMinmaxParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + { + Delegates.glGetMinmaxParameterfv((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + } + public static void GetMinmaxParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Single[] @params) { @@ -6944,9 +6932,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetMinmaxParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + unsafe void GetMinmaxParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) { - Delegates.glGetMinmaxParameterfv((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glGetMinmaxParameteriv((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } public static @@ -6974,13 +6962,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetMinmaxParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) - { - Delegates.glGetMinmaxParameteriv((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); - } - public static void Histogram(OpenTK.OpenGL.Enums.All target, Int32 width, OpenTK.OpenGL.Enums.PixelInternalFormat internalformat, bool sink) { @@ -7081,6 +7062,13 @@ namespace OpenTK.OpenGL Delegates.glMultiTexCoord1d((OpenTK.OpenGL.Enums.TextureUnit)target, (Double)s); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord1v(OpenTK.OpenGL.Enums.TextureUnit target, Double* v) + { + Delegates.glMultiTexCoord1dv((OpenTK.OpenGL.Enums.TextureUnit)target, (Double*)v); + } + public static void MultiTexCoord1v(OpenTK.OpenGL.Enums.TextureUnit target, Double[] v) { @@ -7105,19 +7093,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord1v(OpenTK.OpenGL.Enums.TextureUnit target, Double* v) - { - Delegates.glMultiTexCoord1dv((OpenTK.OpenGL.Enums.TextureUnit)target, (Double*)v); - } - public static void MultiTexCoord1(OpenTK.OpenGL.Enums.TextureUnit target, Single s) { Delegates.glMultiTexCoord1f((OpenTK.OpenGL.Enums.TextureUnit)target, (Single)s); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord1v(OpenTK.OpenGL.Enums.TextureUnit target, Single* v) + { + Delegates.glMultiTexCoord1fv((OpenTK.OpenGL.Enums.TextureUnit)target, (Single*)v); + } + public static void MultiTexCoord1v(OpenTK.OpenGL.Enums.TextureUnit target, Single[] v) { @@ -7142,19 +7130,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord1v(OpenTK.OpenGL.Enums.TextureUnit target, Single* v) - { - Delegates.glMultiTexCoord1fv((OpenTK.OpenGL.Enums.TextureUnit)target, (Single*)v); - } - public static void MultiTexCoord1(OpenTK.OpenGL.Enums.TextureUnit target, Int32 s) { Delegates.glMultiTexCoord1i((OpenTK.OpenGL.Enums.TextureUnit)target, (Int32)s); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord1v(OpenTK.OpenGL.Enums.TextureUnit target, Int32* v) + { + Delegates.glMultiTexCoord1iv((OpenTK.OpenGL.Enums.TextureUnit)target, (Int32*)v); + } + public static void MultiTexCoord1v(OpenTK.OpenGL.Enums.TextureUnit target, Int32[] v) { @@ -7179,19 +7167,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord1v(OpenTK.OpenGL.Enums.TextureUnit target, Int32* v) - { - Delegates.glMultiTexCoord1iv((OpenTK.OpenGL.Enums.TextureUnit)target, (Int32*)v); - } - public static void MultiTexCoord1(OpenTK.OpenGL.Enums.TextureUnit target, Int16 s) { Delegates.glMultiTexCoord1s((OpenTK.OpenGL.Enums.TextureUnit)target, (Int16)s); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord1v(OpenTK.OpenGL.Enums.TextureUnit target, Int16* v) + { + Delegates.glMultiTexCoord1sv((OpenTK.OpenGL.Enums.TextureUnit)target, (Int16*)v); + } + public static void MultiTexCoord1v(OpenTK.OpenGL.Enums.TextureUnit target, Int16[] v) { @@ -7216,19 +7204,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord1v(OpenTK.OpenGL.Enums.TextureUnit target, Int16* v) - { - Delegates.glMultiTexCoord1sv((OpenTK.OpenGL.Enums.TextureUnit)target, (Int16*)v); - } - public static void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Double s, Double t) { Delegates.glMultiTexCoord2d((OpenTK.OpenGL.Enums.TextureUnit)target, (Double)s, (Double)t); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Double* v) + { + Delegates.glMultiTexCoord2dv((OpenTK.OpenGL.Enums.TextureUnit)target, (Double*)v); + } + public static void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Double[] v) { @@ -7253,19 +7241,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Double* v) - { - Delegates.glMultiTexCoord2dv((OpenTK.OpenGL.Enums.TextureUnit)target, (Double*)v); - } - public static void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Single s, Single t) { Delegates.glMultiTexCoord2f((OpenTK.OpenGL.Enums.TextureUnit)target, (Single)s, (Single)t); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Single* v) + { + Delegates.glMultiTexCoord2fv((OpenTK.OpenGL.Enums.TextureUnit)target, (Single*)v); + } + public static void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Single[] v) { @@ -7290,19 +7278,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Single* v) - { - Delegates.glMultiTexCoord2fv((OpenTK.OpenGL.Enums.TextureUnit)target, (Single*)v); - } - public static void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Int32 s, Int32 t) { Delegates.glMultiTexCoord2i((OpenTK.OpenGL.Enums.TextureUnit)target, (Int32)s, (Int32)t); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Int32* v) + { + Delegates.glMultiTexCoord2iv((OpenTK.OpenGL.Enums.TextureUnit)target, (Int32*)v); + } + public static void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Int32[] v) { @@ -7327,19 +7315,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Int32* v) - { - Delegates.glMultiTexCoord2iv((OpenTK.OpenGL.Enums.TextureUnit)target, (Int32*)v); - } - public static void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Int16 s, Int16 t) { Delegates.glMultiTexCoord2s((OpenTK.OpenGL.Enums.TextureUnit)target, (Int16)s, (Int16)t); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Int16* v) + { + Delegates.glMultiTexCoord2sv((OpenTK.OpenGL.Enums.TextureUnit)target, (Int16*)v); + } + public static void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Int16[] v) { @@ -7364,19 +7352,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Int16* v) - { - Delegates.glMultiTexCoord2sv((OpenTK.OpenGL.Enums.TextureUnit)target, (Int16*)v); - } - public static void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Double s, Double t, Double r) { Delegates.glMultiTexCoord3d((OpenTK.OpenGL.Enums.TextureUnit)target, (Double)s, (Double)t, (Double)r); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Double* v) + { + Delegates.glMultiTexCoord3dv((OpenTK.OpenGL.Enums.TextureUnit)target, (Double*)v); + } + public static void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Double[] v) { @@ -7401,19 +7389,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Double* v) - { - Delegates.glMultiTexCoord3dv((OpenTK.OpenGL.Enums.TextureUnit)target, (Double*)v); - } - public static void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Single s, Single t, Single r) { Delegates.glMultiTexCoord3f((OpenTK.OpenGL.Enums.TextureUnit)target, (Single)s, (Single)t, (Single)r); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Single* v) + { + Delegates.glMultiTexCoord3fv((OpenTK.OpenGL.Enums.TextureUnit)target, (Single*)v); + } + public static void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Single[] v) { @@ -7438,19 +7426,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Single* v) - { - Delegates.glMultiTexCoord3fv((OpenTK.OpenGL.Enums.TextureUnit)target, (Single*)v); - } - public static void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Int32 s, Int32 t, Int32 r) { Delegates.glMultiTexCoord3i((OpenTK.OpenGL.Enums.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Int32* v) + { + Delegates.glMultiTexCoord3iv((OpenTK.OpenGL.Enums.TextureUnit)target, (Int32*)v); + } + public static void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Int32[] v) { @@ -7475,19 +7463,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Int32* v) - { - Delegates.glMultiTexCoord3iv((OpenTK.OpenGL.Enums.TextureUnit)target, (Int32*)v); - } - public static void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Int16 s, Int16 t, Int16 r) { Delegates.glMultiTexCoord3s((OpenTK.OpenGL.Enums.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Int16* v) + { + Delegates.glMultiTexCoord3sv((OpenTK.OpenGL.Enums.TextureUnit)target, (Int16*)v); + } + public static void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Int16[] v) { @@ -7512,19 +7500,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Int16* v) - { - Delegates.glMultiTexCoord3sv((OpenTK.OpenGL.Enums.TextureUnit)target, (Int16*)v); - } - public static void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Double s, Double t, Double r, Double q) { Delegates.glMultiTexCoord4d((OpenTK.OpenGL.Enums.TextureUnit)target, (Double)s, (Double)t, (Double)r, (Double)q); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Double* v) + { + Delegates.glMultiTexCoord4dv((OpenTK.OpenGL.Enums.TextureUnit)target, (Double*)v); + } + public static void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Double[] v) { @@ -7549,19 +7537,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Double* v) - { - Delegates.glMultiTexCoord4dv((OpenTK.OpenGL.Enums.TextureUnit)target, (Double*)v); - } - public static void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Single s, Single t, Single r, Single q) { Delegates.glMultiTexCoord4f((OpenTK.OpenGL.Enums.TextureUnit)target, (Single)s, (Single)t, (Single)r, (Single)q); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Single* v) + { + Delegates.glMultiTexCoord4fv((OpenTK.OpenGL.Enums.TextureUnit)target, (Single*)v); + } + public static void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Single[] v) { @@ -7586,19 +7574,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Single* v) - { - Delegates.glMultiTexCoord4fv((OpenTK.OpenGL.Enums.TextureUnit)target, (Single*)v); - } - public static void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q) { Delegates.glMultiTexCoord4i((OpenTK.OpenGL.Enums.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r, (Int32)q); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Int32* v) + { + Delegates.glMultiTexCoord4iv((OpenTK.OpenGL.Enums.TextureUnit)target, (Int32*)v); + } + public static void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Int32[] v) { @@ -7623,19 +7611,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Int32* v) - { - Delegates.glMultiTexCoord4iv((OpenTK.OpenGL.Enums.TextureUnit)target, (Int32*)v); - } - public static void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q) { Delegates.glMultiTexCoord4s((OpenTK.OpenGL.Enums.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r, (Int16)q); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Int16* v) + { + Delegates.glMultiTexCoord4sv((OpenTK.OpenGL.Enums.TextureUnit)target, (Int16*)v); + } + public static void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Int16[] v) { @@ -7662,9 +7650,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Int16* v) + unsafe void LoadTransposeMatrix(Single* m) { - Delegates.glMultiTexCoord4sv((OpenTK.OpenGL.Enums.TextureUnit)target, (Int16*)v); + Delegates.glLoadTransposeMatrixf((Single*)m); } public static @@ -7693,9 +7681,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void LoadTransposeMatrix(Single* m) + unsafe void LoadTransposeMatrix(Double* m) { - Delegates.glLoadTransposeMatrixf((Single*)m); + Delegates.glLoadTransposeMatrixd((Double*)m); } public static @@ -7724,9 +7712,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void LoadTransposeMatrix(Double* m) + unsafe void MultTransposeMatrix(Single* m) { - Delegates.glLoadTransposeMatrixd((Double*)m); + Delegates.glMultTransposeMatrixf((Single*)m); } public static @@ -7755,9 +7743,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void MultTransposeMatrix(Single* m) + unsafe void MultTransposeMatrix(Double* m) { - Delegates.glMultTransposeMatrixf((Single*)m); + Delegates.glMultTransposeMatrixd((Double*)m); } public static @@ -7784,13 +7772,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultTransposeMatrix(Double* m) - { - Delegates.glMultTransposeMatrixd((Double*)m); - } - public static void SampleCoverage(Single value, bool invert) { @@ -7991,6 +7972,13 @@ namespace OpenTK.OpenGL Delegates.glFogCoordf((Single)coord); } + [System.CLSCompliant(false)] + public static + unsafe void FogCoordv(Single* coord) + { + Delegates.glFogCoordfv((Single*)coord); + } + public static void FogCoordv(Single[] coord) { @@ -8015,19 +8003,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void FogCoordv(Single* coord) - { - Delegates.glFogCoordfv((Single*)coord); - } - public static void FogCoord(Double coord) { Delegates.glFogCoordd((Double)coord); } + [System.CLSCompliant(false)] + public static + unsafe void FogCoordv(Double* coord) + { + Delegates.glFogCoorddv((Double*)coord); + } + public static void FogCoordv(Double[] coord) { @@ -8052,13 +8040,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void FogCoordv(Double* coord) - { - Delegates.glFogCoorddv((Double*)coord); - } - public static void FogCoordPointer(OpenTK.OpenGL.Enums.FogPointerType type, Int32 stride, IntPtr pointer) { @@ -8085,6 +8066,13 @@ namespace OpenTK.OpenGL } } + [System.CLSCompliant(false)] + public static + unsafe void MultiDrawArrays(OpenTK.OpenGL.Enums.BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount) + { + Delegates.glMultiDrawArrays((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount); + } + public static void MultiDrawArrays(OpenTK.OpenGL.Enums.BeginMode mode, [Out] Int32[] first, [Out] Int32[] count, Int32 primcount) { @@ -8115,21 +8103,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void MultiDrawArrays(OpenTK.OpenGL.Enums.BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount) + unsafe void MultiDrawElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32* count, OpenTK.OpenGL.Enums.DrawElementsType type, IntPtr indices, Int32 primcount) { - Delegates.glMultiDrawArrays((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount); - } - - public static - void MultiDrawElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32[] count, OpenTK.OpenGL.Enums.DrawElementsType type, IntPtr indices, Int32 primcount) - { - unsafe - { - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawElements((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32*)count_ptr, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - } + Delegates.glMultiDrawElements((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32*)count, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); } [System.CLSCompliant(false)] @@ -8147,6 +8123,50 @@ namespace OpenTK.OpenGL } } + public static + void MultiDrawElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32[] count, OpenTK.OpenGL.Enums.DrawElementsType type, IntPtr indices, Int32 primcount) + { + unsafe + { + fixed (Int32* count_ptr = count) + { + Delegates.glMultiDrawElements((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32*)count_ptr, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + } + } + } + + public static + void MultiDrawElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32[] count, OpenTK.OpenGL.Enums.DrawElementsType type, [In, Out] object indices, Int32 primcount) + { + unsafe + { + fixed (Int32* count_ptr = count) + { + System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32*)count_ptr, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + } + + public static + void MultiDrawElements(OpenTK.OpenGL.Enums.BeginMode mode, ref Int32 count, OpenTK.OpenGL.Enums.DrawElementsType type, IntPtr indices, Int32 primcount) + { + unsafe + { + fixed (Int32* count_ptr = &count) + { + Delegates.glMultiDrawElements((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32*)count_ptr, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + } + } + } + public static void MultiDrawElements(OpenTK.OpenGL.Enums.BeginMode mode, ref Int32 count, OpenTK.OpenGL.Enums.DrawElementsType type, [In, Out] object indices, Int32 primcount) { @@ -8173,6 +8193,13 @@ namespace OpenTK.OpenGL Delegates.glPointParameterf((OpenTK.OpenGL.Enums.PointParameterName)pname, (Single)param); } + [System.CLSCompliant(false)] + public static + unsafe void PointParameterv(OpenTK.OpenGL.Enums.PointParameterName pname, Single* @params) + { + Delegates.glPointParameterfv((OpenTK.OpenGL.Enums.PointParameterName)pname, (Single*)@params); + } + public static void PointParameterv(OpenTK.OpenGL.Enums.PointParameterName pname, Single[] @params) { @@ -8197,19 +8224,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void PointParameterv(OpenTK.OpenGL.Enums.PointParameterName pname, Single* @params) - { - Delegates.glPointParameterfv((OpenTK.OpenGL.Enums.PointParameterName)pname, (Single*)@params); - } - public static void PointParameter(OpenTK.OpenGL.Enums.PointParameterName pname, Int32 param) { Delegates.glPointParameteri((OpenTK.OpenGL.Enums.PointParameterName)pname, (Int32)param); } + [System.CLSCompliant(false)] + public static + unsafe void PointParameterv(OpenTK.OpenGL.Enums.PointParameterName pname, Int32* @params) + { + Delegates.glPointParameteriv((OpenTK.OpenGL.Enums.PointParameterName)pname, (Int32*)@params); + } + public static void PointParameterv(OpenTK.OpenGL.Enums.PointParameterName pname, Int32[] @params) { @@ -8236,16 +8263,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void PointParameterv(OpenTK.OpenGL.Enums.PointParameterName pname, Int32* @params) + void SecondaryColor3(SByte red, SByte green, SByte blue) { - Delegates.glPointParameteriv((OpenTK.OpenGL.Enums.PointParameterName)pname, (Int32*)@params); + Delegates.glSecondaryColor3b((SByte)red, (SByte)green, (SByte)blue); } [System.CLSCompliant(false)] public static - void SecondaryColor3(SByte red, SByte green, SByte blue) + unsafe void SecondaryColor3(SByte* v) { - Delegates.glSecondaryColor3b((SByte)red, (SByte)green, (SByte)blue); + Delegates.glSecondaryColor3bv((SByte*)v); } [System.CLSCompliant(false)] @@ -8274,19 +8301,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void SecondaryColor3(SByte* v) - { - Delegates.glSecondaryColor3bv((SByte*)v); - } - public static void SecondaryColor3(Double red, Double green, Double blue) { Delegates.glSecondaryColor3d((Double)red, (Double)green, (Double)blue); } + [System.CLSCompliant(false)] + public static + unsafe void SecondaryColor3(Double* v) + { + Delegates.glSecondaryColor3dv((Double*)v); + } + public static void SecondaryColor3(Double[] v) { @@ -8311,19 +8338,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void SecondaryColor3(Double* v) - { - Delegates.glSecondaryColor3dv((Double*)v); - } - public static void SecondaryColor3(Single red, Single green, Single blue) { Delegates.glSecondaryColor3f((Single)red, (Single)green, (Single)blue); } + [System.CLSCompliant(false)] + public static + unsafe void SecondaryColor3(Single* v) + { + Delegates.glSecondaryColor3fv((Single*)v); + } + public static void SecondaryColor3(Single[] v) { @@ -8348,19 +8375,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void SecondaryColor3(Single* v) - { - Delegates.glSecondaryColor3fv((Single*)v); - } - public static void SecondaryColor3(Byte red, Byte green, Byte blue) { Delegates.glSecondaryColor3ub((Byte)red, (Byte)green, (Byte)blue); } + [System.CLSCompliant(false)] + public static + unsafe void SecondaryColor3(Byte* v) + { + Delegates.glSecondaryColor3ubv((Byte*)v); + } + public static void SecondaryColor3(Byte[] v) { @@ -8385,13 +8412,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void SecondaryColor3(Byte* v) - { - Delegates.glSecondaryColor3ubv((Byte*)v); - } - [System.CLSCompliant(false)] public static void SecondaryColor3(UInt32 red, UInt32 green, UInt32 blue) @@ -8405,6 +8425,20 @@ namespace OpenTK.OpenGL Delegates.glSecondaryColor3ui((UInt32)red, (UInt32)green, (UInt32)blue); } + [System.CLSCompliant(false)] + public static + unsafe void SecondaryColor3(UInt32* v) + { + Delegates.glSecondaryColor3uiv((UInt32*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void SecondaryColor3(Int32* v) + { + Delegates.glSecondaryColor3uiv((UInt32*)v); + } + [System.CLSCompliant(false)] public static void SecondaryColor3(UInt32[] v) @@ -8455,20 +8489,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void SecondaryColor3(UInt32* v) - { - Delegates.glSecondaryColor3uiv((UInt32*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void SecondaryColor3(Int32* v) - { - Delegates.glSecondaryColor3uiv((UInt32*)v); - } - [System.CLSCompliant(false)] public static void SecondaryColor3(UInt16 red, UInt16 green, UInt16 blue) @@ -8482,6 +8502,20 @@ namespace OpenTK.OpenGL Delegates.glSecondaryColor3us((UInt16)red, (UInt16)green, (UInt16)blue); } + [System.CLSCompliant(false)] + public static + unsafe void SecondaryColor3(UInt16* v) + { + Delegates.glSecondaryColor3usv((UInt16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void SecondaryColor3(Int16* v) + { + Delegates.glSecondaryColor3usv((UInt16*)v); + } + [System.CLSCompliant(false)] public static void SecondaryColor3(UInt16[] v) @@ -8532,20 +8566,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void SecondaryColor3(UInt16* v) - { - Delegates.glSecondaryColor3usv((UInt16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void SecondaryColor3(Int16* v) - { - Delegates.glSecondaryColor3usv((UInt16*)v); - } - public static void SecondaryColorPointer(Int32 size, OpenTK.OpenGL.Enums.ColorPointerType type, Int32 stride, IntPtr pointer) { @@ -8578,6 +8598,13 @@ namespace OpenTK.OpenGL Delegates.glWindowPos2d((Double)x, (Double)y); } + [System.CLSCompliant(false)] + public static + unsafe void WindowPos2(Double* v) + { + Delegates.glWindowPos2dv((Double*)v); + } + public static void WindowPos2(Double[] v) { @@ -8602,19 +8629,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void WindowPos2(Double* v) - { - Delegates.glWindowPos2dv((Double*)v); - } - public static void WindowPos2(Single x, Single y) { Delegates.glWindowPos2f((Single)x, (Single)y); } + [System.CLSCompliant(false)] + public static + unsafe void WindowPos2(Single* v) + { + Delegates.glWindowPos2fv((Single*)v); + } + public static void WindowPos2(Single[] v) { @@ -8639,19 +8666,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void WindowPos2(Single* v) - { - Delegates.glWindowPos2fv((Single*)v); - } - public static void WindowPos2(Int32 x, Int32 y) { Delegates.glWindowPos2i((Int32)x, (Int32)y); } + [System.CLSCompliant(false)] + public static + unsafe void WindowPos2(Int32* v) + { + Delegates.glWindowPos2iv((Int32*)v); + } + public static void WindowPos2(Int32[] v) { @@ -8676,19 +8703,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void WindowPos2(Int32* v) - { - Delegates.glWindowPos2iv((Int32*)v); - } - public static void WindowPos2(Int16 x, Int16 y) { Delegates.glWindowPos2s((Int16)x, (Int16)y); } + [System.CLSCompliant(false)] + public static + unsafe void WindowPos2(Int16* v) + { + Delegates.glWindowPos2sv((Int16*)v); + } + public static void WindowPos2(Int16[] v) { @@ -8713,19 +8740,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void WindowPos2(Int16* v) - { - Delegates.glWindowPos2sv((Int16*)v); - } - public static void WindowPos3(Double x, Double y, Double z) { Delegates.glWindowPos3d((Double)x, (Double)y, (Double)z); } + [System.CLSCompliant(false)] + public static + unsafe void WindowPos3(Double* v) + { + Delegates.glWindowPos3dv((Double*)v); + } + public static void WindowPos3(Double[] v) { @@ -8750,19 +8777,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void WindowPos3(Double* v) - { - Delegates.glWindowPos3dv((Double*)v); - } - public static void WindowPos3(Single x, Single y, Single z) { Delegates.glWindowPos3f((Single)x, (Single)y, (Single)z); } + [System.CLSCompliant(false)] + public static + unsafe void WindowPos3(Single* v) + { + Delegates.glWindowPos3fv((Single*)v); + } + public static void WindowPos3(Single[] v) { @@ -8787,19 +8814,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void WindowPos3(Single* v) - { - Delegates.glWindowPos3fv((Single*)v); - } - public static void WindowPos3(Int32 x, Int32 y, Int32 z) { Delegates.glWindowPos3i((Int32)x, (Int32)y, (Int32)z); } + [System.CLSCompliant(false)] + public static + unsafe void WindowPos3(Int32* v) + { + Delegates.glWindowPos3iv((Int32*)v); + } + public static void WindowPos3(Int32[] v) { @@ -8824,19 +8851,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void WindowPos3(Int32* v) - { - Delegates.glWindowPos3iv((Int32*)v); - } - public static void WindowPos3(Int16 x, Int16 y, Int16 z) { Delegates.glWindowPos3s((Int16)x, (Int16)y, (Int16)z); } + [System.CLSCompliant(false)] + public static + unsafe void WindowPos3(Int16* v) + { + Delegates.glWindowPos3sv((Int16*)v); + } + public static void WindowPos3(Int16[] v) { @@ -8863,9 +8890,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void WindowPos3(Int16* v) + unsafe void GenQueries(Int32 n, [Out] UInt32* ids) { - Delegates.glWindowPos3sv((Int16*)v); + Delegates.glGenQueries((Int32)n, (UInt32*)ids); + } + + [System.CLSCompliant(false)] + public static + unsafe void GenQueries(Int32 n, [Out] Int32* ids) + { + Delegates.glGenQueries((Int32)n, (UInt32*)ids); } [System.CLSCompliant(false)] @@ -8922,16 +8956,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GenQueries(Int32 n, [Out] UInt32* ids) + unsafe void DeleteQueries(Int32 n, UInt32* ids) { - Delegates.glGenQueries((Int32)n, (UInt32*)ids); + Delegates.glDeleteQueries((Int32)n, (UInt32*)ids); } [System.CLSCompliant(false)] public static - unsafe void GenQueries(Int32 n, [Out] Int32* ids) + unsafe void DeleteQueries(Int32 n, Int32* ids) { - Delegates.glGenQueries((Int32)n, (UInt32*)ids); + Delegates.glDeleteQueries((Int32)n, (UInt32*)ids); } [System.CLSCompliant(false)] @@ -8984,20 +9018,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void DeleteQueries(Int32 n, UInt32* ids) - { - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids); - } - - [System.CLSCompliant(false)] - public static - unsafe void DeleteQueries(Int32 n, Int32* ids) - { - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids); - } - [System.CLSCompliant(false)] public static bool IsQuery(UInt32 id) @@ -9030,6 +9050,13 @@ namespace OpenTK.OpenGL Delegates.glEndQuery((OpenTK.OpenGL.Enums.QueryTarget)target); } + [System.CLSCompliant(false)] + public static + unsafe void GetQuery(OpenTK.OpenGL.Enums.QueryTarget target, OpenTK.OpenGL.Enums.GetQueryParam pname, [Out] Int32* @params) + { + Delegates.glGetQueryiv((OpenTK.OpenGL.Enums.QueryTarget)target, (OpenTK.OpenGL.Enums.GetQueryParam)pname, (Int32*)@params); + } + public static void GetQuery(OpenTK.OpenGL.Enums.QueryTarget target, OpenTK.OpenGL.Enums.GetQueryParam pname, [Out] Int32[] @params) { @@ -9057,9 +9084,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetQuery(OpenTK.OpenGL.Enums.QueryTarget target, OpenTK.OpenGL.Enums.GetQueryParam pname, [Out] Int32* @params) + unsafe void GetQueryObject(UInt32 id, OpenTK.OpenGL.Enums.GetQueryObjectParam pname, [Out] Int32* @params) { - Delegates.glGetQueryiv((OpenTK.OpenGL.Enums.QueryTarget)target, (OpenTK.OpenGL.Enums.GetQueryParam)pname, (Int32*)@params); + Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.OpenGL.Enums.GetQueryObjectParam)pname, (Int32*)@params); } [System.CLSCompliant(false)] @@ -9091,9 +9118,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetQueryObject(UInt32 id, OpenTK.OpenGL.Enums.GetQueryObjectParam pname, [Out] Int32* @params) + unsafe void GetQueryObject(UInt32 id, OpenTK.OpenGL.Enums.GetQueryObjectParam pname, [Out] UInt32* @params) { - Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.OpenGL.Enums.GetQueryObjectParam)pname, (Int32*)@params); + Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.OpenGL.Enums.GetQueryObjectParam)pname, (UInt32*)@params); + } + + [System.CLSCompliant(false)] + public static + unsafe void GetQueryObject(Int32 id, OpenTK.OpenGL.Enums.GetQueryObjectParam pname, [Out] Int32* @params) + { + Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.OpenGL.Enums.GetQueryObjectParam)pname, (UInt32*)@params); } [System.CLSCompliant(false)] @@ -9148,20 +9182,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.OpenGL.Enums.GetQueryObjectParam pname, [Out] UInt32* @params) - { - Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.OpenGL.Enums.GetQueryObjectParam)pname, (UInt32*)@params); - } - - [System.CLSCompliant(false)] - public static - unsafe void GetQueryObject(Int32 id, OpenTK.OpenGL.Enums.GetQueryObjectParam pname, [Out] Int32* @params) - { - Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.OpenGL.Enums.GetQueryObjectParam)pname, (UInt32*)@params); - } - [System.CLSCompliant(false)] public static void BindBuffer(OpenTK.OpenGL.Enums.BufferTarget target, UInt32 buffer) @@ -9175,6 +9195,20 @@ namespace OpenTK.OpenGL Delegates.glBindBuffer((OpenTK.OpenGL.Enums.BufferTarget)target, (UInt32)buffer); } + [System.CLSCompliant(false)] + public static + unsafe void DeleteBuffers(Int32 n, UInt32* buffers) + { + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); + } + + [System.CLSCompliant(false)] + public static + unsafe void DeleteBuffers(Int32 n, Int32* buffers) + { + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); + } + [System.CLSCompliant(false)] public static void DeleteBuffers(Int32 n, UInt32[] buffers) @@ -9227,16 +9261,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void DeleteBuffers(Int32 n, UInt32* buffers) + unsafe void GenBuffers(Int32 n, [Out] UInt32* buffers) { - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); } [System.CLSCompliant(false)] public static - unsafe void DeleteBuffers(Int32 n, Int32* buffers) + unsafe void GenBuffers(Int32 n, [Out] Int32* buffers) { - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); } [System.CLSCompliant(false)] @@ -9291,20 +9325,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GenBuffers(Int32 n, [Out] UInt32* buffers) - { - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); - } - - [System.CLSCompliant(false)] - public static - unsafe void GenBuffers(Int32 n, [Out] Int32* buffers) - { - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); - } - [System.CLSCompliant(false)] public static bool IsBuffer(UInt32 buffer) @@ -9409,6 +9429,13 @@ namespace OpenTK.OpenGL return Delegates.glUnmapBuffer((OpenTK.OpenGL.Enums.BufferTarget)target); } + [System.CLSCompliant(false)] + public static + unsafe void GetBufferParameter(OpenTK.OpenGL.Enums.BufferTarget target, OpenTK.OpenGL.Enums.BufferParameterName pname, [Out] Int32* @params) + { + Delegates.glGetBufferParameteriv((OpenTK.OpenGL.Enums.BufferTarget)target, (OpenTK.OpenGL.Enums.BufferParameterName)pname, (Int32*)@params); + } + public static void GetBufferParameter(OpenTK.OpenGL.Enums.BufferTarget target, OpenTK.OpenGL.Enums.BufferParameterName pname, [Out] Int32[] @params) { @@ -9434,13 +9461,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetBufferParameter(OpenTK.OpenGL.Enums.BufferTarget target, OpenTK.OpenGL.Enums.BufferParameterName pname, [Out] Int32* @params) - { - Delegates.glGetBufferParameteriv((OpenTK.OpenGL.Enums.BufferTarget)target, (OpenTK.OpenGL.Enums.BufferParameterName)pname, (Int32*)@params); - } - public static void GetBufferPointer(OpenTK.OpenGL.Enums.BufferTarget target, OpenTK.OpenGL.Enums.BufferPointer pname, [Out] IntPtr @params) { @@ -9473,6 +9493,13 @@ namespace OpenTK.OpenGL Delegates.glBlendEquationSeparate((OpenTK.OpenGL.Enums.All)modeRGB, (OpenTK.OpenGL.Enums.All)modeAlpha); } + [System.CLSCompliant(false)] + public static + unsafe void DrawBuffers(Int32 n, OpenTK.OpenGL.Enums.DrawBuffersEnum* bufs) + { + Delegates.glDrawBuffers((Int32)n, (OpenTK.OpenGL.Enums.DrawBuffersEnum*)bufs); + } + public static void DrawBuffers(Int32 n, OpenTK.OpenGL.Enums.DrawBuffersEnum[] bufs) { @@ -9497,13 +9524,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void DrawBuffers(Int32 n, OpenTK.OpenGL.Enums.DrawBuffersEnum* bufs) - { - Delegates.glDrawBuffers((Int32)n, (OpenTK.OpenGL.Enums.DrawBuffersEnum*)bufs); - } - public static void StencilOpSeparate(OpenTK.OpenGL.Enums.All face, OpenTK.OpenGL.Enums.StencilOp sfail, OpenTK.OpenGL.Enums.StencilOp dpfail, OpenTK.OpenGL.Enums.StencilOp dppass) { @@ -9652,6 +9672,20 @@ namespace OpenTK.OpenGL Delegates.glEnableVertexAttribArray((UInt32)index); } + [System.CLSCompliant(false)] + public static + unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.OpenGL.Enums.ActiveAttribType* type, [Out] System.Text.StringBuilder name) + { + Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.OpenGL.Enums.ActiveAttribType*)type, (System.Text.StringBuilder)name); + } + + [System.CLSCompliant(false)] + public static + unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.OpenGL.Enums.ActiveAttribType* type, [Out] System.Text.StringBuilder name) + { + Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.OpenGL.Enums.ActiveAttribType*)type, (System.Text.StringBuilder)name); + } + [System.CLSCompliant(false)] public static void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] OpenTK.OpenGL.Enums.ActiveAttribType[] type, [Out] System.Text.StringBuilder name) @@ -9718,16 +9752,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.OpenGL.Enums.ActiveAttribType* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.OpenGL.Enums.ActiveUniformType* type, [Out] System.Text.StringBuilder name) { - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.OpenGL.Enums.ActiveAttribType*)type, (System.Text.StringBuilder)name); + Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.OpenGL.Enums.ActiveUniformType*)type, (System.Text.StringBuilder)name); } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.OpenGL.Enums.ActiveAttribType* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.OpenGL.Enums.ActiveUniformType* type, [Out] System.Text.StringBuilder name) { - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.OpenGL.Enums.ActiveAttribType*)type, (System.Text.StringBuilder)name); + Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.OpenGL.Enums.ActiveUniformType*)type, (System.Text.StringBuilder)name); } [System.CLSCompliant(false)] @@ -9796,16 +9830,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.OpenGL.Enums.ActiveUniformType* type, [Out] System.Text.StringBuilder name) + unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] Int32* count, [Out] UInt32* obj) { - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.OpenGL.Enums.ActiveUniformType*)type, (System.Text.StringBuilder)name); + Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj); } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.OpenGL.Enums.ActiveUniformType* type, [Out] System.Text.StringBuilder name) + unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [Out] Int32* count, [Out] Int32* obj) { - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.OpenGL.Enums.ActiveUniformType*)type, (System.Text.StringBuilder)name); + Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj); } [System.CLSCompliant(false)] @@ -9866,20 +9900,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] Int32* count, [Out] UInt32* obj) - { - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj); - } - - [System.CLSCompliant(false)] - public static - unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [Out] Int32* count, [Out] Int32* obj) - { - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj); - } - [System.CLSCompliant(false)] public static Int32 GetAttribLocation(UInt32 program, System.String name) @@ -9893,6 +9913,20 @@ namespace OpenTK.OpenGL return Delegates.glGetAttribLocation((UInt32)program, (System.String)name); } + [System.CLSCompliant(false)] + public static + unsafe void GetProgram(UInt32 program, OpenTK.OpenGL.Enums.ProgramParameter pname, [Out] Int32* @params) + { + Delegates.glGetProgramiv((UInt32)program, (OpenTK.OpenGL.Enums.ProgramParameter)pname, (Int32*)@params); + } + + [System.CLSCompliant(false)] + public static + unsafe void GetProgram(Int32 program, OpenTK.OpenGL.Enums.ProgramParameter pname, [Out] Int32* @params) + { + Delegates.glGetProgramiv((UInt32)program, (OpenTK.OpenGL.Enums.ProgramParameter)pname, (Int32*)@params); + } + [System.CLSCompliant(false)] public static void GetProgram(UInt32 program, OpenTK.OpenGL.Enums.ProgramParameter pname, [Out] Int32[] @params) @@ -9947,16 +9981,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetProgram(UInt32 program, OpenTK.OpenGL.Enums.ProgramParameter pname, [Out] Int32* @params) + unsafe void GetProgramInfoLog(UInt32 program, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.OpenGL.Enums.ProgramParameter)pname, (Int32*)@params); + Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)infoLog); } [System.CLSCompliant(false)] public static - unsafe void GetProgram(Int32 program, OpenTK.OpenGL.Enums.ProgramParameter pname, [Out] Int32* @params) + unsafe void GetProgramInfoLog(Int32 program, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.OpenGL.Enums.ProgramParameter)pname, (Int32*)@params); + Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)infoLog); } [System.CLSCompliant(false)] @@ -10013,16 +10047,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetProgramInfoLog(UInt32 program, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) + unsafe void GetShader(UInt32 shader, OpenTK.OpenGL.Enums.ShaderParameter pname, [Out] Int32* @params) { - Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)infoLog); + Delegates.glGetShaderiv((UInt32)shader, (OpenTK.OpenGL.Enums.ShaderParameter)pname, (Int32*)@params); } [System.CLSCompliant(false)] public static - unsafe void GetProgramInfoLog(Int32 program, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) + unsafe void GetShader(Int32 shader, OpenTK.OpenGL.Enums.ShaderParameter pname, [Out] Int32* @params) { - Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)infoLog); + Delegates.glGetShaderiv((UInt32)shader, (OpenTK.OpenGL.Enums.ShaderParameter)pname, (Int32*)@params); } [System.CLSCompliant(false)] @@ -10079,16 +10113,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetShader(UInt32 shader, OpenTK.OpenGL.Enums.ShaderParameter pname, [Out] Int32* @params) + unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.OpenGL.Enums.ShaderParameter)pname, (Int32*)@params); + Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)infoLog); } [System.CLSCompliant(false)] public static - unsafe void GetShader(Int32 shader, OpenTK.OpenGL.Enums.ShaderParameter pname, [Out] Int32* @params) + unsafe void GetShaderInfoLog(Int32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.OpenGL.Enums.ShaderParameter)pname, (Int32*)@params); + Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)infoLog); } [System.CLSCompliant(false)] @@ -10145,16 +10179,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) + unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder[] source) { - Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)infoLog); + Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder[])source); } [System.CLSCompliant(false)] public static - unsafe void GetShaderInfoLog(Int32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) + unsafe void GetShaderSource(Int32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder[] source) { - Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)infoLog); + Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder[])source); } [System.CLSCompliant(false)] @@ -10209,20 +10243,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder[] source) - { - Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder[])source); - } - - [System.CLSCompliant(false)] - public static - unsafe void GetShaderSource(Int32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder[] source) - { - Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder[])source); - } - [System.CLSCompliant(false)] public static Int32 GetUniformLocation(UInt32 program, System.String name) @@ -10236,6 +10256,20 @@ namespace OpenTK.OpenGL return Delegates.glGetUniformLocation((UInt32)program, (System.String)name); } + [System.CLSCompliant(false)] + public static + unsafe void GetUniform(UInt32 program, Int32 location, [Out] Single* @params) + { + Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); + } + + [System.CLSCompliant(false)] + public static + unsafe void GetUniform(Int32 program, Int32 location, [Out] Single* @params) + { + Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); + } + [System.CLSCompliant(false)] public static void GetUniform(UInt32 program, Int32 location, [Out] Single[] @params) @@ -10290,16 +10324,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetUniform(UInt32 program, Int32 location, [Out] Single* @params) + unsafe void GetUniform(UInt32 program, Int32 location, [Out] Int32* @params) { - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); + Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); } [System.CLSCompliant(false)] public static - unsafe void GetUniform(Int32 program, Int32 location, [Out] Single* @params) + unsafe void GetUniform(Int32 program, Int32 location, [Out] Int32* @params) { - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); + Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); } [System.CLSCompliant(false)] @@ -10356,16 +10390,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetUniform(UInt32 program, Int32 location, [Out] Int32* @params) + unsafe void GetVertexAttrib(UInt32 index, OpenTK.OpenGL.Enums.VertexAttribParameter pname, [Out] Double* @params) { - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); + Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.OpenGL.Enums.VertexAttribParameter)pname, (Double*)@params); } [System.CLSCompliant(false)] public static - unsafe void GetUniform(Int32 program, Int32 location, [Out] Int32* @params) + unsafe void GetVertexAttrib(Int32 index, OpenTK.OpenGL.Enums.VertexAttribParameter pname, [Out] Double* @params) { - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); + Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.OpenGL.Enums.VertexAttribParameter)pname, (Double*)@params); } [System.CLSCompliant(false)] @@ -10422,16 +10456,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.OpenGL.Enums.VertexAttribParameter pname, [Out] Double* @params) + unsafe void GetVertexAttrib(UInt32 index, OpenTK.OpenGL.Enums.VertexAttribParameter pname, [Out] Single* @params) { - Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.OpenGL.Enums.VertexAttribParameter)pname, (Double*)@params); + Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.OpenGL.Enums.VertexAttribParameter)pname, (Single*)@params); } [System.CLSCompliant(false)] public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.OpenGL.Enums.VertexAttribParameter pname, [Out] Double* @params) + unsafe void GetVertexAttrib(Int32 index, OpenTK.OpenGL.Enums.VertexAttribParameter pname, [Out] Single* @params) { - Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.OpenGL.Enums.VertexAttribParameter)pname, (Double*)@params); + Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.OpenGL.Enums.VertexAttribParameter)pname, (Single*)@params); } [System.CLSCompliant(false)] @@ -10488,16 +10522,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.OpenGL.Enums.VertexAttribParameter pname, [Out] Single* @params) + unsafe void GetVertexAttrib(UInt32 index, OpenTK.OpenGL.Enums.VertexAttribParameter pname, [Out] Int32* @params) { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.OpenGL.Enums.VertexAttribParameter)pname, (Single*)@params); + Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.OpenGL.Enums.VertexAttribParameter)pname, (Int32*)@params); } [System.CLSCompliant(false)] public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.OpenGL.Enums.VertexAttribParameter pname, [Out] Single* @params) + unsafe void GetVertexAttrib(Int32 index, OpenTK.OpenGL.Enums.VertexAttribParameter pname, [Out] Int32* @params) { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.OpenGL.Enums.VertexAttribParameter)pname, (Single*)@params); + Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.OpenGL.Enums.VertexAttribParameter)pname, (Int32*)@params); } [System.CLSCompliant(false)] @@ -10552,20 +10586,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.OpenGL.Enums.VertexAttribParameter pname, [Out] Int32* @params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.OpenGL.Enums.VertexAttribParameter)pname, (Int32*)@params); - } - - [System.CLSCompliant(false)] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.OpenGL.Enums.VertexAttribParameter pname, [Out] Int32* @params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.OpenGL.Enums.VertexAttribParameter)pname, (Int32*)@params); - } - [System.CLSCompliant(false)] public static void GetVertexAttribPointer(UInt32 index, OpenTK.OpenGL.Enums.VertexAttribPointerParameter pname, [Out] IntPtr pointer) @@ -10659,6 +10679,20 @@ namespace OpenTK.OpenGL Delegates.glLinkProgram((UInt32)program); } + [System.CLSCompliant(false)] + public static + unsafe void ShaderSource(UInt32 shader, Int32 count, System.String[] @string, Int32* length) + { + Delegates.glShaderSource((UInt32)shader, (Int32)count, (System.String[])@string, (Int32*)length); + } + + [System.CLSCompliant(false)] + public static + unsafe void ShaderSource(Int32 shader, Int32 count, System.String[] @string, Int32* length) + { + Delegates.glShaderSource((UInt32)shader, (Int32)count, (System.String[])@string, (Int32*)length); + } + [System.CLSCompliant(false)] public static void ShaderSource(UInt32 shader, Int32 count, System.String[] @string, Int32[] length) @@ -10709,20 +10743,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void ShaderSource(UInt32 shader, Int32 count, System.String[] @string, Int32* length) - { - Delegates.glShaderSource((UInt32)shader, (Int32)count, (System.String[])@string, (Int32*)length); - } - - [System.CLSCompliant(false)] - public static - unsafe void ShaderSource(Int32 shader, Int32 count, System.String[] @string, Int32* length) - { - Delegates.glShaderSource((UInt32)shader, (Int32)count, (System.String[])@string, (Int32*)length); - } - [System.CLSCompliant(false)] public static void UseProgram(UInt32 program) @@ -10784,6 +10804,13 @@ namespace OpenTK.OpenGL Delegates.glUniform4i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); } + [System.CLSCompliant(false)] + public static + unsafe void Uniform1(Int32 location, Int32 count, Single* value) + { + Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value); + } + public static void Uniform1(Int32 location, Int32 count, Single[] value) { @@ -10810,9 +10837,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Uniform1(Int32 location, Int32 count, Single* value) + unsafe void Uniform2v(Int32 location, Int32 count, Single* value) { - Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value); + Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value); } public static @@ -10841,9 +10868,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Uniform2v(Int32 location, Int32 count, Single* value) + unsafe void Uniform3(Int32 location, Int32 count, Single* value) { - Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value); + Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value); } public static @@ -10872,9 +10899,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Uniform3(Int32 location, Int32 count, Single* value) + unsafe void Uniform4(Int32 location, Int32 count, Single* value) { - Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value); + Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value); } public static @@ -10903,9 +10930,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Uniform4(Int32 location, Int32 count, Single* value) + unsafe void Uniform1(Int32 location, Int32 count, Int32* value) { - Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value); + Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value); } public static @@ -10934,9 +10961,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Uniform1(Int32 location, Int32 count, Int32* value) + unsafe void Uniform2v(Int32 location, Int32 count, Int32* value) { - Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value); + Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value); } public static @@ -10965,9 +10992,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Uniform2v(Int32 location, Int32 count, Int32* value) + unsafe void Uniform3(Int32 location, Int32 count, Int32* value) { - Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value); + Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value); } public static @@ -10996,9 +11023,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Uniform3(Int32 location, Int32 count, Int32* value) + unsafe void Uniform4(Int32 location, Int32 count, Int32* value) { - Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value); + Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value); } public static @@ -11027,9 +11054,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Uniform4(Int32 location, Int32 count, Int32* value) + unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value) { - Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value); + Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); } public static @@ -11058,9 +11085,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value) + unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value) { - Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); } public static @@ -11089,9 +11116,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value) + unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value) { - Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); } public static @@ -11118,13 +11145,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - [System.CLSCompliant(false)] public static void ValidateProgram(UInt32 program) @@ -11151,6 +11171,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib1d((UInt32)index, (Double)x); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib1v(UInt32 index, Double* v) + { + Delegates.glVertexAttrib1dv((UInt32)index, (Double*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib1v(Int32 index, Double* v) + { + Delegates.glVertexAttrib1dv((UInt32)index, (Double*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib1v(UInt32 index, Double[] v) @@ -11201,20 +11235,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib1v(UInt32 index, Double* v) - { - Delegates.glVertexAttrib1dv((UInt32)index, (Double*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib1v(Int32 index, Double* v) - { - Delegates.glVertexAttrib1dv((UInt32)index, (Double*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib1(UInt32 index, Single x) @@ -11228,6 +11248,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib1f((UInt32)index, (Single)x); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib1v(UInt32 index, Single* v) + { + Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib1v(Int32 index, Single* v) + { + Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib1v(UInt32 index, Single[] v) @@ -11278,20 +11312,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib1v(UInt32 index, Single* v) - { - Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib1v(Int32 index, Single* v) - { - Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib1(UInt32 index, Int16 x) @@ -11305,6 +11325,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib1s((UInt32)index, (Int16)x); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib1v(UInt32 index, Int16* v) + { + Delegates.glVertexAttrib1sv((UInt32)index, (Int16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib1v(Int32 index, Int16* v) + { + Delegates.glVertexAttrib1sv((UInt32)index, (Int16*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib1v(UInt32 index, Int16[] v) @@ -11355,20 +11389,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib1v(UInt32 index, Int16* v) - { - Delegates.glVertexAttrib1sv((UInt32)index, (Int16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib1v(Int32 index, Int16* v) - { - Delegates.glVertexAttrib1sv((UInt32)index, (Int16*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib2(UInt32 index, Double x, Double y) @@ -11382,6 +11402,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib2d((UInt32)index, (Double)x, (Double)y); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib2(UInt32 index, Double* v) + { + Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib2(Int32 index, Double* v) + { + Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib2(UInt32 index, Double[] v) @@ -11432,20 +11466,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib2(UInt32 index, Double* v) - { - Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib2(Int32 index, Double* v) - { - Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib2(UInt32 index, Single x, Single y) @@ -11459,6 +11479,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib2f((UInt32)index, (Single)x, (Single)y); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib2(UInt32 index, Single* v) + { + Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib2(Int32 index, Single* v) + { + Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib2(UInt32 index, Single[] v) @@ -11509,20 +11543,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib2(UInt32 index, Single* v) - { - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib2(Int32 index, Single* v) - { - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib2(UInt32 index, Int16 x, Int16 y) @@ -11536,6 +11556,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib2s((UInt32)index, (Int16)x, (Int16)y); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib2(UInt32 index, Int16* v) + { + Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib2(Int32 index, Int16* v) + { + Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib2(UInt32 index, Int16[] v) @@ -11586,20 +11620,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib2(UInt32 index, Int16* v) - { - Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib2(Int32 index, Int16* v) - { - Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib3(UInt32 index, Double x, Double y, Double z) @@ -11613,6 +11633,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib3d((UInt32)index, (Double)x, (Double)y, (Double)z); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib3(UInt32 index, Double* v) + { + Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib3(Int32 index, Double* v) + { + Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib3(UInt32 index, Double[] v) @@ -11663,20 +11697,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib3(UInt32 index, Double* v) - { - Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib3(Int32 index, Double* v) - { - Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib3(UInt32 index, Single x, Single y, Single z) @@ -11690,6 +11710,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib3f((UInt32)index, (Single)x, (Single)y, (Single)z); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib3(UInt32 index, Single* v) + { + Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib3(Int32 index, Single* v) + { + Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib3(UInt32 index, Single[] v) @@ -11740,20 +11774,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib3(UInt32 index, Single* v) - { - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib3(Int32 index, Single* v) - { - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib3(UInt32 index, Int16 x, Int16 y, Int16 z) @@ -11767,6 +11787,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib3s((UInt32)index, (Int16)x, (Int16)y, (Int16)z); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib3(UInt32 index, Int16* v) + { + Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib3(Int32 index, Int16* v) + { + Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib3(UInt32 index, Int16[] v) @@ -11819,16 +11853,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib3(UInt32 index, Int16* v) + unsafe void VertexAttrib4N(UInt32 index, SByte* v) { - Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib3(Int32 index, Int16* v) - { - Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v); + Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v); } [System.CLSCompliant(false)] @@ -11859,9 +11886,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4N(UInt32 index, SByte* v) + unsafe void VertexAttrib4N(UInt32 index, Int32* v) { - Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v); + Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v); } [System.CLSCompliant(false)] @@ -11892,9 +11919,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4N(UInt32 index, Int32* v) + unsafe void VertexAttrib4N(UInt32 index, Int16* v) { - Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v); + Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v); } [System.CLSCompliant(false)] @@ -11923,13 +11950,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib4N(UInt32 index, Int16* v) - { - Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib4N(UInt32 index, Byte x, Byte y, Byte z, Byte w) @@ -11943,6 +11963,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib4Nub((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib4N(UInt32 index, Byte* v) + { + Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib4N(Int32 index, Byte* v) + { + Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib4N(UInt32 index, Byte[] v) @@ -11995,16 +12029,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4N(UInt32 index, Byte* v) + unsafe void VertexAttrib4N(UInt32 index, UInt32* v) { - Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v); + Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v); } [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4N(Int32 index, Byte* v) + unsafe void VertexAttrib4N(Int32 index, Int32* v) { - Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v); + Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v); } [System.CLSCompliant(false)] @@ -12059,16 +12093,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4N(UInt32 index, UInt32* v) + unsafe void VertexAttrib4N(UInt32 index, UInt16* v) { - Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v); + Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v); } [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4N(Int32 index, Int32* v) + unsafe void VertexAttrib4N(Int32 index, Int16* v) { - Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v); + Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v); } [System.CLSCompliant(false)] @@ -12123,16 +12157,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4N(UInt32 index, UInt16* v) + unsafe void VertexAttrib4(UInt32 index, SByte* v) { - Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib4N(Int32 index, Int16* v) - { - Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v); + Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v); } [System.CLSCompliant(false)] @@ -12161,13 +12188,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib4(UInt32 index, SByte* v) - { - Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib4(UInt32 index, Double x, Double y, Double z, Double w) @@ -12181,6 +12201,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib4(UInt32 index, Double* v) + { + Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib4(Int32 index, Double* v) + { + Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib4(UInt32 index, Double[] v) @@ -12231,20 +12265,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib4(UInt32 index, Double* v) - { - Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib4(Int32 index, Double* v) - { - Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib4(UInt32 index, Single x, Single y, Single z, Single w) @@ -12258,6 +12278,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib4f((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib4(UInt32 index, Single* v) + { + Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib4(Int32 index, Single* v) + { + Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib4(UInt32 index, Single[] v) @@ -12310,16 +12344,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4(UInt32 index, Single* v) + unsafe void VertexAttrib4(UInt32 index, Int32* v) { - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib4(Int32 index, Single* v) - { - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); + Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v); } [System.CLSCompliant(false)] @@ -12348,13 +12375,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib4(UInt32 index, Int32* v) - { - Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib4(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w) @@ -12368,6 +12388,13 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib4s((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib4(UInt32 index, Int16* v) + { + Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib4(UInt32 index, Int16[] v) @@ -12396,9 +12423,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4(UInt32 index, Int16* v) + unsafe void VertexAttrib4(UInt32 index, Byte* v) { - Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v); + Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib4(Int32 index, Byte* v) + { + Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v); } [System.CLSCompliant(false)] @@ -12453,16 +12487,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4(UInt32 index, Byte* v) + unsafe void VertexAttrib4(UInt32 index, UInt32* v) { - Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v); + Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v); } [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4(Int32 index, Byte* v) + unsafe void VertexAttrib4(Int32 index, Int32* v) { - Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v); + Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v); } [System.CLSCompliant(false)] @@ -12517,16 +12551,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4(UInt32 index, UInt32* v) + unsafe void VertexAttrib4(UInt32 index, UInt16* v) { - Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v); + Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v); } [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4(Int32 index, Int32* v) + unsafe void VertexAttrib4(Int32 index, Int16* v) { - Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v); + Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v); } [System.CLSCompliant(false)] @@ -12579,20 +12613,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib4(UInt32 index, UInt16* v) - { - Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib4(Int32 index, Int16* v) - { - Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v); - } - [System.CLSCompliant(false)] public static void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.OpenGL.Enums.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer) @@ -12647,6 +12667,13 @@ namespace OpenTK.OpenGL } } + [System.CLSCompliant(false)] + public static + unsafe void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + public static void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single[] value) { @@ -12673,9 +12700,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single* value) + unsafe void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single* value) { - Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); } public static @@ -12704,9 +12731,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single* value) + unsafe void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single* value) { - Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); } public static @@ -12735,9 +12762,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single* value) + unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single* value) { - Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); } public static @@ -12766,9 +12793,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single* value) + unsafe void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single* value) { - Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); } public static @@ -12797,9 +12824,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single* value) + unsafe void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single* value) { - Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); } public static @@ -12826,19 +12853,26 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - public static void PolygonOffsetEXT(Single factor, Single bias) { Delegates.glPolygonOffsetEXT((Single)factor, (Single)bias); } + [System.CLSCompliant(false)] + public static + unsafe bool AreTexturesResidentEXT(Int32 n, UInt32* textures, [Out] bool* residences) + { + return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures, (bool*)residences); + } + + [System.CLSCompliant(false)] + public static + unsafe bool AreTexturesResidentEXT(Int32 n, Int32* textures, [Out] bool* residences) + { + return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures, (bool*)residences); + } + [System.CLSCompliant(false)] public static bool AreTexturesResidentEXT(Int32 n, UInt32[] textures, [Out] bool[] residences) @@ -12897,20 +12931,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe bool AreTexturesResidentEXT(Int32 n, UInt32* textures, [Out] bool* residences) - { - return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures, (bool*)residences); - } - - [System.CLSCompliant(false)] - public static - unsafe bool AreTexturesResidentEXT(Int32 n, Int32* textures, [Out] bool* residences) - { - return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures, (bool*)residences); - } - public static void ArrayElementEXT(Int32 i) { @@ -13072,6 +13092,13 @@ namespace OpenTK.OpenGL public static partial class NV { + [System.CLSCompliant(false)] + public static + unsafe void GetBoolea(OpenTK.OpenGL.Enums.GetPName pname, [Out] bool* @params) + { + Delegates.glGetBooleanv((OpenTK.OpenGL.Enums.GetPName)pname, (bool*)@params); + } + public static void GetBoolea(OpenTK.OpenGL.Enums.GetPName pname, [Out] bool[] @params) { @@ -13097,13 +13124,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetBoolea(OpenTK.OpenGL.Enums.GetPName pname, [Out] bool* @params) - { - Delegates.glGetBooleanv((OpenTK.OpenGL.Enums.GetPName)pname, (bool*)@params); - } - public static void FlushVertexArrayRange() { @@ -13136,6 +13156,13 @@ namespace OpenTK.OpenGL } } + [System.CLSCompliant(false)] + public static + unsafe void CombinerParameterv(OpenTK.OpenGL.Enums.All pname, Single* @params) + { + Delegates.glCombinerParameterfvNV((OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + } + public static void CombinerParameterv(OpenTK.OpenGL.Enums.All pname, Single[] @params) { @@ -13160,19 +13187,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void CombinerParameterv(OpenTK.OpenGL.Enums.All pname, Single* @params) - { - Delegates.glCombinerParameterfvNV((OpenTK.OpenGL.Enums.All)pname, (Single*)@params); - } - public static void CombinerParameter(OpenTK.OpenGL.Enums.All pname, Single param) { Delegates.glCombinerParameterfNV((OpenTK.OpenGL.Enums.All)pname, (Single)param); } + [System.CLSCompliant(false)] + public static + unsafe void CombinerParameterv(OpenTK.OpenGL.Enums.All pname, Int32* @params) + { + Delegates.glCombinerParameterivNV((OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + } + public static void CombinerParameterv(OpenTK.OpenGL.Enums.All pname, Int32[] @params) { @@ -13197,13 +13224,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void CombinerParameterv(OpenTK.OpenGL.Enums.All pname, Int32* @params) - { - Delegates.glCombinerParameterivNV((OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); - } - public static void CombinerParameter(OpenTK.OpenGL.Enums.All pname, Int32 param) { @@ -13228,6 +13248,13 @@ namespace OpenTK.OpenGL Delegates.glFinalCombinerInputNV((OpenTK.OpenGL.Enums.All)variable, (OpenTK.OpenGL.Enums.All)input, (OpenTK.OpenGL.Enums.All)mapping, (OpenTK.OpenGL.Enums.All)componentUsage); } + [System.CLSCompliant(false)] + public static + unsafe void GetCombinerInputParameter(OpenTK.OpenGL.Enums.All stage, OpenTK.OpenGL.Enums.All portion, OpenTK.OpenGL.Enums.All variable, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + { + Delegates.glGetCombinerInputParameterfvNV((OpenTK.OpenGL.Enums.All)stage, (OpenTK.OpenGL.Enums.All)portion, (OpenTK.OpenGL.Enums.All)variable, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + } + public static void GetCombinerInputParameter(OpenTK.OpenGL.Enums.All stage, OpenTK.OpenGL.Enums.All portion, OpenTK.OpenGL.Enums.All variable, OpenTK.OpenGL.Enums.All pname, [Out] Single[] @params) { @@ -13255,9 +13282,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetCombinerInputParameter(OpenTK.OpenGL.Enums.All stage, OpenTK.OpenGL.Enums.All portion, OpenTK.OpenGL.Enums.All variable, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + unsafe void GetCombinerInputParameter(OpenTK.OpenGL.Enums.All stage, OpenTK.OpenGL.Enums.All portion, OpenTK.OpenGL.Enums.All variable, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) { - Delegates.glGetCombinerInputParameterfvNV((OpenTK.OpenGL.Enums.All)stage, (OpenTK.OpenGL.Enums.All)portion, (OpenTK.OpenGL.Enums.All)variable, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glGetCombinerInputParameterivNV((OpenTK.OpenGL.Enums.All)stage, (OpenTK.OpenGL.Enums.All)portion, (OpenTK.OpenGL.Enums.All)variable, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } public static @@ -13287,9 +13314,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetCombinerInputParameter(OpenTK.OpenGL.Enums.All stage, OpenTK.OpenGL.Enums.All portion, OpenTK.OpenGL.Enums.All variable, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + unsafe void GetCombinerOutputParameter(OpenTK.OpenGL.Enums.All stage, OpenTK.OpenGL.Enums.All portion, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) { - Delegates.glGetCombinerInputParameterivNV((OpenTK.OpenGL.Enums.All)stage, (OpenTK.OpenGL.Enums.All)portion, (OpenTK.OpenGL.Enums.All)variable, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + Delegates.glGetCombinerOutputParameterfvNV((OpenTK.OpenGL.Enums.All)stage, (OpenTK.OpenGL.Enums.All)portion, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); } public static @@ -13319,9 +13346,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetCombinerOutputParameter(OpenTK.OpenGL.Enums.All stage, OpenTK.OpenGL.Enums.All portion, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + unsafe void GetCombinerOutputParameter(OpenTK.OpenGL.Enums.All stage, OpenTK.OpenGL.Enums.All portion, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) { - Delegates.glGetCombinerOutputParameterfvNV((OpenTK.OpenGL.Enums.All)stage, (OpenTK.OpenGL.Enums.All)portion, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glGetCombinerOutputParameterivNV((OpenTK.OpenGL.Enums.All)stage, (OpenTK.OpenGL.Enums.All)portion, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } public static @@ -13351,9 +13378,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetCombinerOutputParameter(OpenTK.OpenGL.Enums.All stage, OpenTK.OpenGL.Enums.All portion, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + unsafe void GetFinalCombinerInputParameter(OpenTK.OpenGL.Enums.All variable, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) { - Delegates.glGetCombinerOutputParameterivNV((OpenTK.OpenGL.Enums.All)stage, (OpenTK.OpenGL.Enums.All)portion, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + Delegates.glGetFinalCombinerInputParameterfvNV((OpenTK.OpenGL.Enums.All)variable, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); } public static @@ -13383,9 +13410,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetFinalCombinerInputParameter(OpenTK.OpenGL.Enums.All variable, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + unsafe void GetFinalCombinerInputParameter(OpenTK.OpenGL.Enums.All variable, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) { - Delegates.glGetFinalCombinerInputParameterfvNV((OpenTK.OpenGL.Enums.All)variable, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glGetFinalCombinerInputParameterivNV((OpenTK.OpenGL.Enums.All)variable, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } public static @@ -13415,9 +13442,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetFinalCombinerInputParameter(OpenTK.OpenGL.Enums.All variable, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + unsafe void DeleteFences(Int32 n, UInt32* fences) { - Delegates.glGetFinalCombinerInputParameterivNV((OpenTK.OpenGL.Enums.All)variable, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); + } + + [System.CLSCompliant(false)] + public static + unsafe void DeleteFences(Int32 n, Int32* fences) + { + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); } [System.CLSCompliant(false)] @@ -13472,16 +13506,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void DeleteFences(Int32 n, UInt32* fences) + unsafe void GenFences(Int32 n, [Out] UInt32* fences) { - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); } [System.CLSCompliant(false)] public static - unsafe void DeleteFences(Int32 n, Int32* fences) + unsafe void GenFences(Int32 n, [Out] Int32* fences) { - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); } [System.CLSCompliant(false)] @@ -13536,20 +13570,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GenFences(Int32 n, [Out] UInt32* fences) - { - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); - } - - [System.CLSCompliant(false)] - public static - unsafe void GenFences(Int32 n, [Out] Int32* fences) - { - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); - } - [System.CLSCompliant(false)] public static bool IsFence(UInt32 fence) @@ -13576,6 +13596,20 @@ namespace OpenTK.OpenGL return Delegates.glTestFenceNV((UInt32)fence); } + [System.CLSCompliant(false)] + public static + unsafe void GetFence(UInt32 fence, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + { + Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + } + + [System.CLSCompliant(false)] + public static + unsafe void GetFence(Int32 fence, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + { + Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + } + [System.CLSCompliant(false)] public static void GetFence(UInt32 fence, OpenTK.OpenGL.Enums.All pname, [Out] Int32[] @params) @@ -13628,20 +13662,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetFence(UInt32 fence, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) - { - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); - } - - [System.CLSCompliant(false)] - public static - unsafe void GetFence(Int32 fence, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) - { - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); - } - [System.CLSCompliant(false)] public static void FinishFence(UInt32 fence) @@ -13722,6 +13742,13 @@ namespace OpenTK.OpenGL } } + [System.CLSCompliant(false)] + public static + unsafe void MapParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Int32* @params) + { + Delegates.glMapParameterivNV((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + } + public static void MapParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Int32[] @params) { @@ -13748,9 +13775,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void MapParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Int32* @params) + unsafe void MapParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Single* @params) { - Delegates.glMapParameterivNV((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + Delegates.glMapParameterfvNV((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); } public static @@ -13777,13 +13804,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MapParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Single* @params) - { - Delegates.glMapParameterfvNV((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); - } - [System.CLSCompliant(false)] public static void GetMapControlPoints(OpenTK.OpenGL.Enums.All target, UInt32 index, OpenTK.OpenGL.Enums.All type, Int32 ustride, Int32 vstride, bool packed, [Out] IntPtr points) @@ -13838,6 +13858,13 @@ namespace OpenTK.OpenGL } } + [System.CLSCompliant(false)] + public static + unsafe void GetMapParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + { + Delegates.glGetMapParameterivNV((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + } + public static void GetMapParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Int32[] @params) { @@ -13865,9 +13892,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetMapParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + unsafe void GetMapParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) { - Delegates.glGetMapParameterivNV((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + Delegates.glGetMapParameterfvNV((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); } public static @@ -13897,9 +13924,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetMapParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + unsafe void GetMapAttribParameter(OpenTK.OpenGL.Enums.All target, UInt32 index, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) { - Delegates.glGetMapParameterfvNV((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glGetMapAttribParameterivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + } + + [System.CLSCompliant(false)] + public static + unsafe void GetMapAttribParameter(OpenTK.OpenGL.Enums.All target, Int32 index, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + { + Delegates.glGetMapAttribParameterivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } [System.CLSCompliant(false)] @@ -13956,16 +13990,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetMapAttribParameter(OpenTK.OpenGL.Enums.All target, UInt32 index, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + unsafe void GetMapAttribParameter(OpenTK.OpenGL.Enums.All target, UInt32 index, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) { - Delegates.glGetMapAttribParameterivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + Delegates.glGetMapAttribParameterfvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); } [System.CLSCompliant(false)] public static - unsafe void GetMapAttribParameter(OpenTK.OpenGL.Enums.All target, Int32 index, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + unsafe void GetMapAttribParameter(OpenTK.OpenGL.Enums.All target, Int32 index, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) { - Delegates.glGetMapAttribParameterivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + Delegates.glGetMapAttribParameterfvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); } [System.CLSCompliant(false)] @@ -14020,26 +14054,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetMapAttribParameter(OpenTK.OpenGL.Enums.All target, UInt32 index, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) - { - Delegates.glGetMapAttribParameterfvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); - } - - [System.CLSCompliant(false)] - public static - unsafe void GetMapAttribParameter(OpenTK.OpenGL.Enums.All target, Int32 index, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) - { - Delegates.glGetMapAttribParameterfvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); - } - public static void EvalMap(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All mode) { Delegates.glEvalMapsNV((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)mode); } + [System.CLSCompliant(false)] + public static + unsafe void CombinerStageParameter(OpenTK.OpenGL.Enums.All stage, OpenTK.OpenGL.Enums.All pname, Single* @params) + { + Delegates.glCombinerStageParameterfvNV((OpenTK.OpenGL.Enums.All)stage, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + } + public static void CombinerStageParameter(OpenTK.OpenGL.Enums.All stage, OpenTK.OpenGL.Enums.All pname, Single[] @params) { @@ -14066,9 +14093,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void CombinerStageParameter(OpenTK.OpenGL.Enums.All stage, OpenTK.OpenGL.Enums.All pname, Single* @params) + unsafe void GetCombinerStageParameter(OpenTK.OpenGL.Enums.All stage, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) { - Delegates.glCombinerStageParameterfvNV((OpenTK.OpenGL.Enums.All)stage, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glGetCombinerStageParameterfvNV((OpenTK.OpenGL.Enums.All)stage, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); } public static @@ -14098,9 +14125,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetCombinerStageParameter(OpenTK.OpenGL.Enums.All stage, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + unsafe bool AreProgramsResident(Int32 n, UInt32* programs, [Out] bool* residences) { - Delegates.glGetCombinerStageParameterfvNV((OpenTK.OpenGL.Enums.All)stage, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs, (bool*)residences); + } + + [System.CLSCompliant(false)] + public static + unsafe bool AreProgramsResident(Int32 n, Int32* programs, [Out] bool* residences) + { + return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs, (bool*)residences); } [System.CLSCompliant(false)] @@ -14161,20 +14195,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe bool AreProgramsResident(Int32 n, UInt32* programs, [Out] bool* residences) - { - return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs, (bool*)residences); - } - - [System.CLSCompliant(false)] - public static - unsafe bool AreProgramsResident(Int32 n, Int32* programs, [Out] bool* residences) - { - return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs, (bool*)residences); - } - [System.CLSCompliant(false)] public static void BindProgram(OpenTK.OpenGL.Enums.All target, UInt32 id) @@ -14188,6 +14208,20 @@ namespace OpenTK.OpenGL Delegates.glBindProgramNV((OpenTK.OpenGL.Enums.All)target, (UInt32)id); } + [System.CLSCompliant(false)] + public static + unsafe void DeleteProgram(Int32 n, UInt32* programs) + { + Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs); + } + + [System.CLSCompliant(false)] + public static + unsafe void DeleteProgram(Int32 n, Int32* programs) + { + Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs); + } + [System.CLSCompliant(false)] public static void DeleteProgram(Int32 n, UInt32[] programs) @@ -14240,16 +14274,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void DeleteProgram(Int32 n, UInt32* programs) + unsafe void ExecuteProgram(OpenTK.OpenGL.Enums.All target, UInt32 id, Single* @params) { - Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs); + Delegates.glExecuteProgramNV((OpenTK.OpenGL.Enums.All)target, (UInt32)id, (Single*)@params); } [System.CLSCompliant(false)] public static - unsafe void DeleteProgram(Int32 n, Int32* programs) + unsafe void ExecuteProgram(OpenTK.OpenGL.Enums.All target, Int32 id, Single* @params) { - Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs); + Delegates.glExecuteProgramNV((OpenTK.OpenGL.Enums.All)target, (UInt32)id, (Single*)@params); } [System.CLSCompliant(false)] @@ -14304,16 +14338,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ExecuteProgram(OpenTK.OpenGL.Enums.All target, UInt32 id, Single* @params) + unsafe void GenProgram(Int32 n, [Out] UInt32* programs) { - Delegates.glExecuteProgramNV((OpenTK.OpenGL.Enums.All)target, (UInt32)id, (Single*)@params); + Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs); } [System.CLSCompliant(false)] public static - unsafe void ExecuteProgram(OpenTK.OpenGL.Enums.All target, Int32 id, Single* @params) + unsafe void GenProgram(Int32 n, [Out] Int32* programs) { - Delegates.glExecuteProgramNV((OpenTK.OpenGL.Enums.All)target, (UInt32)id, (Single*)@params); + Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs); } [System.CLSCompliant(false)] @@ -14370,16 +14404,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GenProgram(Int32 n, [Out] UInt32* programs) + unsafe void GetProgramParameter(OpenTK.OpenGL.Enums.All target, UInt32 index, OpenTK.OpenGL.Enums.All pname, [Out] Double* @params) { - Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs); + Delegates.glGetProgramParameterdvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Double*)@params); } [System.CLSCompliant(false)] public static - unsafe void GenProgram(Int32 n, [Out] Int32* programs) + unsafe void GetProgramParameter(OpenTK.OpenGL.Enums.All target, Int32 index, OpenTK.OpenGL.Enums.All pname, [Out] Double* @params) { - Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs); + Delegates.glGetProgramParameterdvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Double*)@params); } [System.CLSCompliant(false)] @@ -14436,16 +14470,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetProgramParameter(OpenTK.OpenGL.Enums.All target, UInt32 index, OpenTK.OpenGL.Enums.All pname, [Out] Double* @params) + unsafe void GetProgramParameter(OpenTK.OpenGL.Enums.All target, UInt32 index, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) { - Delegates.glGetProgramParameterdvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Double*)@params); + Delegates.glGetProgramParameterfvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); } [System.CLSCompliant(false)] public static - unsafe void GetProgramParameter(OpenTK.OpenGL.Enums.All target, Int32 index, OpenTK.OpenGL.Enums.All pname, [Out] Double* @params) + unsafe void GetProgramParameter(OpenTK.OpenGL.Enums.All target, Int32 index, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) { - Delegates.glGetProgramParameterdvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Double*)@params); + Delegates.glGetProgramParameterfvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); } [System.CLSCompliant(false)] @@ -14502,16 +14536,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetProgramParameter(OpenTK.OpenGL.Enums.All target, UInt32 index, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + unsafe void GetProgram(UInt32 id, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) { - Delegates.glGetProgramParameterfvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glGetProgramivNV((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } [System.CLSCompliant(false)] public static - unsafe void GetProgramParameter(OpenTK.OpenGL.Enums.All target, Int32 index, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + unsafe void GetProgram(Int32 id, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) { - Delegates.glGetProgramParameterfvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glGetProgramivNV((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } [System.CLSCompliant(false)] @@ -14568,16 +14602,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetProgram(UInt32 id, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + unsafe void GetProgramString(UInt32 id, OpenTK.OpenGL.Enums.All pname, [Out] Byte* program) { - Delegates.glGetProgramivNV((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (Byte*)program); } [System.CLSCompliant(false)] public static - unsafe void GetProgram(Int32 id, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + unsafe void GetProgramString(Int32 id, OpenTK.OpenGL.Enums.All pname, [Out] Byte* program) { - Delegates.glGetProgramivNV((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (Byte*)program); } [System.CLSCompliant(false)] @@ -14634,16 +14668,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetProgramString(UInt32 id, OpenTK.OpenGL.Enums.All pname, [Out] Byte* program) + unsafe void GetTrackMatrix(OpenTK.OpenGL.Enums.All target, UInt32 address, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) { - Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (Byte*)program); + Delegates.glGetTrackMatrixivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)address, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } [System.CLSCompliant(false)] public static - unsafe void GetProgramString(Int32 id, OpenTK.OpenGL.Enums.All pname, [Out] Byte* program) + unsafe void GetTrackMatrix(OpenTK.OpenGL.Enums.All target, Int32 address, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) { - Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (Byte*)program); + Delegates.glGetTrackMatrixivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)address, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } [System.CLSCompliant(false)] @@ -14700,16 +14734,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetTrackMatrix(OpenTK.OpenGL.Enums.All target, UInt32 address, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + unsafe void GetVertexAttrib(UInt32 index, OpenTK.OpenGL.Enums.All pname, [Out] Double* @params) { - Delegates.glGetTrackMatrixivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)address, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Double*)@params); } [System.CLSCompliant(false)] public static - unsafe void GetTrackMatrix(OpenTK.OpenGL.Enums.All target, Int32 address, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + unsafe void GetVertexAttrib(Int32 index, OpenTK.OpenGL.Enums.All pname, [Out] Double* @params) { - Delegates.glGetTrackMatrixivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)address, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Double*)@params); } [System.CLSCompliant(false)] @@ -14766,16 +14800,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.OpenGL.Enums.All pname, [Out] Double* @params) + unsafe void GetVertexAttrib(UInt32 index, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) { - Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Double*)@params); + Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); } [System.CLSCompliant(false)] public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.OpenGL.Enums.All pname, [Out] Double* @params) + unsafe void GetVertexAttrib(Int32 index, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) { - Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Double*)@params); + Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); } [System.CLSCompliant(false)] @@ -14832,16 +14866,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + unsafe void GetVertexAttrib(UInt32 index, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) { - Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } [System.CLSCompliant(false)] public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + unsafe void GetVertexAttrib(Int32 index, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) { - Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } [System.CLSCompliant(false)] @@ -14896,20 +14930,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) - { - Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); - } - - [System.CLSCompliant(false)] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) - { - Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); - } - [System.CLSCompliant(false)] public static void GetVertexAttribPointer(UInt32 index, OpenTK.OpenGL.Enums.All pname, [Out] IntPtr pointer) @@ -14977,6 +14997,20 @@ namespace OpenTK.OpenGL return Delegates.glIsProgramNV((UInt32)id); } + [System.CLSCompliant(false)] + public static + unsafe void LoadProgram(OpenTK.OpenGL.Enums.All target, UInt32 id, Int32 len, Byte* program) + { + Delegates.glLoadProgramNV((OpenTK.OpenGL.Enums.All)target, (UInt32)id, (Int32)len, (Byte*)program); + } + + [System.CLSCompliant(false)] + public static + unsafe void LoadProgram(OpenTK.OpenGL.Enums.All target, Int32 id, Int32 len, Byte* program) + { + Delegates.glLoadProgramNV((OpenTK.OpenGL.Enums.All)target, (UInt32)id, (Int32)len, (Byte*)program); + } + [System.CLSCompliant(false)] public static void LoadProgram(OpenTK.OpenGL.Enums.All target, UInt32 id, Int32 len, Byte[] program) @@ -15027,20 +15061,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void LoadProgram(OpenTK.OpenGL.Enums.All target, UInt32 id, Int32 len, Byte* program) - { - Delegates.glLoadProgramNV((OpenTK.OpenGL.Enums.All)target, (UInt32)id, (Int32)len, (Byte*)program); - } - - [System.CLSCompliant(false)] - public static - unsafe void LoadProgram(OpenTK.OpenGL.Enums.All target, Int32 id, Int32 len, Byte* program) - { - Delegates.glLoadProgramNV((OpenTK.OpenGL.Enums.All)target, (UInt32)id, (Int32)len, (Byte*)program); - } - [System.CLSCompliant(false)] public static void ProgramParameter4(OpenTK.OpenGL.Enums.All target, UInt32 index, Double x, Double y, Double z, Double w) @@ -15054,6 +15074,20 @@ namespace OpenTK.OpenGL Delegates.glProgramParameter4dNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); } + [System.CLSCompliant(false)] + public static + unsafe void ProgramParameter4(OpenTK.OpenGL.Enums.All target, UInt32 index, Double* v) + { + Delegates.glProgramParameter4dvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Double*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void ProgramParameter4(OpenTK.OpenGL.Enums.All target, Int32 index, Double* v) + { + Delegates.glProgramParameter4dvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Double*)v); + } + [System.CLSCompliant(false)] public static void ProgramParameter4(OpenTK.OpenGL.Enums.All target, UInt32 index, Double[] v) @@ -15104,20 +15138,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void ProgramParameter4(OpenTK.OpenGL.Enums.All target, UInt32 index, Double* v) - { - Delegates.glProgramParameter4dvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Double*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void ProgramParameter4(OpenTK.OpenGL.Enums.All target, Int32 index, Double* v) - { - Delegates.glProgramParameter4dvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Double*)v); - } - [System.CLSCompliant(false)] public static void ProgramParameter4(OpenTK.OpenGL.Enums.All target, UInt32 index, Single x, Single y, Single z, Single w) @@ -15131,6 +15151,20 @@ namespace OpenTK.OpenGL Delegates.glProgramParameter4fNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); } + [System.CLSCompliant(false)] + public static + unsafe void ProgramParameter4(OpenTK.OpenGL.Enums.All target, UInt32 index, Single* v) + { + Delegates.glProgramParameter4fvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Single*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void ProgramParameter4(OpenTK.OpenGL.Enums.All target, Int32 index, Single* v) + { + Delegates.glProgramParameter4fvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Single*)v); + } + [System.CLSCompliant(false)] public static void ProgramParameter4(OpenTK.OpenGL.Enums.All target, UInt32 index, Single[] v) @@ -15183,16 +15217,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ProgramParameter4(OpenTK.OpenGL.Enums.All target, UInt32 index, Single* v) + unsafe void ProgramParameters4(OpenTK.OpenGL.Enums.All target, UInt32 index, UInt32 count, Double* v) { - Delegates.glProgramParameter4fvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Single*)v); + Delegates.glProgramParameters4dvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (UInt32)count, (Double*)v); } [System.CLSCompliant(false)] public static - unsafe void ProgramParameter4(OpenTK.OpenGL.Enums.All target, Int32 index, Single* v) + unsafe void ProgramParameters4(OpenTK.OpenGL.Enums.All target, Int32 index, Int32 count, Double* v) { - Delegates.glProgramParameter4fvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Single*)v); + Delegates.glProgramParameters4dvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (UInt32)count, (Double*)v); } [System.CLSCompliant(false)] @@ -15247,16 +15281,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ProgramParameters4(OpenTK.OpenGL.Enums.All target, UInt32 index, UInt32 count, Double* v) + unsafe void ProgramParameters4(OpenTK.OpenGL.Enums.All target, UInt32 index, UInt32 count, Single* v) { - Delegates.glProgramParameters4dvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (UInt32)count, (Double*)v); + Delegates.glProgramParameters4fvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (UInt32)count, (Single*)v); } [System.CLSCompliant(false)] public static - unsafe void ProgramParameters4(OpenTK.OpenGL.Enums.All target, Int32 index, Int32 count, Double* v) + unsafe void ProgramParameters4(OpenTK.OpenGL.Enums.All target, Int32 index, Int32 count, Single* v) { - Delegates.glProgramParameters4dvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (UInt32)count, (Double*)v); + Delegates.glProgramParameters4fvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (UInt32)count, (Single*)v); } [System.CLSCompliant(false)] @@ -15311,16 +15345,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ProgramParameters4(OpenTK.OpenGL.Enums.All target, UInt32 index, UInt32 count, Single* v) + unsafe void RequestResidentProgram(Int32 n, UInt32* programs) { - Delegates.glProgramParameters4fvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (UInt32)count, (Single*)v); + Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs); } [System.CLSCompliant(false)] public static - unsafe void ProgramParameters4(OpenTK.OpenGL.Enums.All target, Int32 index, Int32 count, Single* v) + unsafe void RequestResidentProgram(Int32 n, Int32* programs) { - Delegates.glProgramParameters4fvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (UInt32)count, (Single*)v); + Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs); } [System.CLSCompliant(false)] @@ -15373,20 +15407,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void RequestResidentProgram(Int32 n, UInt32* programs) - { - Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs); - } - - [System.CLSCompliant(false)] - public static - unsafe void RequestResidentProgram(Int32 n, Int32* programs) - { - Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs); - } - [System.CLSCompliant(false)] public static void TrackMatrix(OpenTK.OpenGL.Enums.All target, UInt32 address, OpenTK.OpenGL.Enums.All matrix, OpenTK.OpenGL.Enums.All transform) @@ -15467,6 +15487,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib1dNV((UInt32)index, (Double)x); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib1v(UInt32 index, Double* v) + { + Delegates.glVertexAttrib1dvNV((UInt32)index, (Double*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib1v(Int32 index, Double* v) + { + Delegates.glVertexAttrib1dvNV((UInt32)index, (Double*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib1v(UInt32 index, Double[] v) @@ -15517,20 +15551,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib1v(UInt32 index, Double* v) - { - Delegates.glVertexAttrib1dvNV((UInt32)index, (Double*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib1v(Int32 index, Double* v) - { - Delegates.glVertexAttrib1dvNV((UInt32)index, (Double*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib1(UInt32 index, Single x) @@ -15544,6 +15564,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib1fNV((UInt32)index, (Single)x); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib1v(UInt32 index, Single* v) + { + Delegates.glVertexAttrib1fvNV((UInt32)index, (Single*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib1v(Int32 index, Single* v) + { + Delegates.glVertexAttrib1fvNV((UInt32)index, (Single*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib1v(UInt32 index, Single[] v) @@ -15594,20 +15628,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib1v(UInt32 index, Single* v) - { - Delegates.glVertexAttrib1fvNV((UInt32)index, (Single*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib1v(Int32 index, Single* v) - { - Delegates.glVertexAttrib1fvNV((UInt32)index, (Single*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib1(UInt32 index, Int16 x) @@ -15621,6 +15641,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib1sNV((UInt32)index, (Int16)x); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib1v(UInt32 index, Int16* v) + { + Delegates.glVertexAttrib1svNV((UInt32)index, (Int16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib1v(Int32 index, Int16* v) + { + Delegates.glVertexAttrib1svNV((UInt32)index, (Int16*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib1v(UInt32 index, Int16[] v) @@ -15671,20 +15705,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib1v(UInt32 index, Int16* v) - { - Delegates.glVertexAttrib1svNV((UInt32)index, (Int16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib1v(Int32 index, Int16* v) - { - Delegates.glVertexAttrib1svNV((UInt32)index, (Int16*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib2(UInt32 index, Double x, Double y) @@ -15698,6 +15718,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib2dNV((UInt32)index, (Double)x, (Double)y); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib2(UInt32 index, Double* v) + { + Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib2(Int32 index, Double* v) + { + Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib2(UInt32 index, Double[] v) @@ -15748,20 +15782,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib2(UInt32 index, Double* v) - { - Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib2(Int32 index, Double* v) - { - Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib2(UInt32 index, Single x, Single y) @@ -15775,6 +15795,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib2fNV((UInt32)index, (Single)x, (Single)y); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib2(UInt32 index, Single* v) + { + Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib2(Int32 index, Single* v) + { + Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib2(UInt32 index, Single[] v) @@ -15825,20 +15859,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib2(UInt32 index, Single* v) - { - Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib2(Int32 index, Single* v) - { - Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib2(UInt32 index, Int16 x, Int16 y) @@ -15852,6 +15872,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib2sNV((UInt32)index, (Int16)x, (Int16)y); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib2(UInt32 index, Int16* v) + { + Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib2(Int32 index, Int16* v) + { + Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib2(UInt32 index, Int16[] v) @@ -15902,20 +15936,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib2(UInt32 index, Int16* v) - { - Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib2(Int32 index, Int16* v) - { - Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib3(UInt32 index, Double x, Double y, Double z) @@ -15929,6 +15949,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib3dNV((UInt32)index, (Double)x, (Double)y, (Double)z); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib3(UInt32 index, Double* v) + { + Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib3(Int32 index, Double* v) + { + Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib3(UInt32 index, Double[] v) @@ -15979,20 +16013,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib3(UInt32 index, Double* v) - { - Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib3(Int32 index, Double* v) - { - Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib3(UInt32 index, Single x, Single y, Single z) @@ -16006,6 +16026,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib3fNV((UInt32)index, (Single)x, (Single)y, (Single)z); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib3(UInt32 index, Single* v) + { + Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib3(Int32 index, Single* v) + { + Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib3(UInt32 index, Single[] v) @@ -16056,20 +16090,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib3(UInt32 index, Single* v) - { - Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib3(Int32 index, Single* v) - { - Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib3(UInt32 index, Int16 x, Int16 y, Int16 z) @@ -16083,6 +16103,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib3sNV((UInt32)index, (Int16)x, (Int16)y, (Int16)z); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib3(UInt32 index, Int16* v) + { + Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib3(Int32 index, Int16* v) + { + Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib3(UInt32 index, Int16[] v) @@ -16133,20 +16167,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib3(UInt32 index, Int16* v) - { - Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib3(Int32 index, Int16* v) - { - Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib4(UInt32 index, Double x, Double y, Double z, Double w) @@ -16160,6 +16180,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib4dNV((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib4(UInt32 index, Double* v) + { + Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib4(Int32 index, Double* v) + { + Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib4(UInt32 index, Double[] v) @@ -16210,20 +16244,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib4(UInt32 index, Double* v) - { - Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib4(Int32 index, Double* v) - { - Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib4(UInt32 index, Single x, Single y, Single z, Single w) @@ -16237,6 +16257,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib4fNV((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib4(UInt32 index, Single* v) + { + Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib4(Int32 index, Single* v) + { + Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib4(UInt32 index, Single[] v) @@ -16287,20 +16321,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib4(UInt32 index, Single* v) - { - Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib4(Int32 index, Single* v) - { - Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib4(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w) @@ -16314,6 +16334,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib4sNV((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib4(UInt32 index, Int16* v) + { + Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib4(Int32 index, Int16* v) + { + Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib4(UInt32 index, Int16[] v) @@ -16364,20 +16398,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib4(UInt32 index, Int16* v) - { - Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib4(Int32 index, Int16* v) - { - Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib4(UInt32 index, Byte x, Byte y, Byte z, Byte w) @@ -16391,6 +16411,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib4ubNV((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib4(UInt32 index, Byte* v) + { + Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib4(Int32 index, Byte* v) + { + Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib4(UInt32 index, Byte[] v) @@ -16443,16 +16477,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4(UInt32 index, Byte* v) + unsafe void VertexAttribs1(UInt32 index, Int32 count, Double* v) { - Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v); + Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v); } [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4(Int32 index, Byte* v) + unsafe void VertexAttribs1(Int32 index, Int32 count, Double* v) { - Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v); + Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v); } [System.CLSCompliant(false)] @@ -16507,16 +16541,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribs1(UInt32 index, Int32 count, Double* v) + unsafe void VertexAttribs1(UInt32 index, Int32 count, Single* v) { - Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v); + Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v); } [System.CLSCompliant(false)] public static - unsafe void VertexAttribs1(Int32 index, Int32 count, Double* v) + unsafe void VertexAttribs1(Int32 index, Int32 count, Single* v) { - Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v); + Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v); } [System.CLSCompliant(false)] @@ -16571,16 +16605,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribs1(UInt32 index, Int32 count, Single* v) + unsafe void VertexAttribs1(UInt32 index, Int32 count, Int16* v) { - Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v); + Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v); } [System.CLSCompliant(false)] public static - unsafe void VertexAttribs1(Int32 index, Int32 count, Single* v) + unsafe void VertexAttribs1(Int32 index, Int32 count, Int16* v) { - Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v); + Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v); } [System.CLSCompliant(false)] @@ -16635,16 +16669,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribs1(UInt32 index, Int32 count, Int16* v) + unsafe void VertexAttribs2(UInt32 index, Int32 count, Double* v) { - Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v); + Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v); } [System.CLSCompliant(false)] public static - unsafe void VertexAttribs1(Int32 index, Int32 count, Int16* v) + unsafe void VertexAttribs2(Int32 index, Int32 count, Double* v) { - Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v); + Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v); } [System.CLSCompliant(false)] @@ -16699,16 +16733,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribs2(UInt32 index, Int32 count, Double* v) + unsafe void VertexAttribs2(UInt32 index, Int32 count, Single* v) { - Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v); + Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v); } [System.CLSCompliant(false)] public static - unsafe void VertexAttribs2(Int32 index, Int32 count, Double* v) + unsafe void VertexAttribs2(Int32 index, Int32 count, Single* v) { - Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v); + Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v); } [System.CLSCompliant(false)] @@ -16763,16 +16797,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribs2(UInt32 index, Int32 count, Single* v) + unsafe void VertexAttribs2(UInt32 index, Int32 count, Int16* v) { - Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v); + Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v); } [System.CLSCompliant(false)] public static - unsafe void VertexAttribs2(Int32 index, Int32 count, Single* v) + unsafe void VertexAttribs2(Int32 index, Int32 count, Int16* v) { - Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v); + Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v); } [System.CLSCompliant(false)] @@ -16827,16 +16861,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribs2(UInt32 index, Int32 count, Int16* v) + unsafe void VertexAttribs3(UInt32 index, Int32 count, Double* v) { - Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v); + Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v); } [System.CLSCompliant(false)] public static - unsafe void VertexAttribs2(Int32 index, Int32 count, Int16* v) + unsafe void VertexAttribs3(Int32 index, Int32 count, Double* v) { - Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v); + Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v); } [System.CLSCompliant(false)] @@ -16891,16 +16925,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribs3(UInt32 index, Int32 count, Double* v) + unsafe void VertexAttribs3(UInt32 index, Int32 count, Single* v) { - Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v); + Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v); } [System.CLSCompliant(false)] public static - unsafe void VertexAttribs3(Int32 index, Int32 count, Double* v) + unsafe void VertexAttribs3(Int32 index, Int32 count, Single* v) { - Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v); + Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v); } [System.CLSCompliant(false)] @@ -16955,16 +16989,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribs3(UInt32 index, Int32 count, Single* v) + unsafe void VertexAttribs3(UInt32 index, Int32 count, Int16* v) { - Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v); + Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v); } [System.CLSCompliant(false)] public static - unsafe void VertexAttribs3(Int32 index, Int32 count, Single* v) + unsafe void VertexAttribs3(Int32 index, Int32 count, Int16* v) { - Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v); + Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v); } [System.CLSCompliant(false)] @@ -17019,16 +17053,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribs3(UInt32 index, Int32 count, Int16* v) + unsafe void VertexAttribs4(UInt32 index, Int32 count, Double* v) { - Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v); + Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v); } [System.CLSCompliant(false)] public static - unsafe void VertexAttribs3(Int32 index, Int32 count, Int16* v) + unsafe void VertexAttribs4(Int32 index, Int32 count, Double* v) { - Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v); + Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v); } [System.CLSCompliant(false)] @@ -17083,16 +17117,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribs4(UInt32 index, Int32 count, Double* v) + unsafe void VertexAttribs4(UInt32 index, Int32 count, Single* v) { - Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v); + Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v); } [System.CLSCompliant(false)] public static - unsafe void VertexAttribs4(Int32 index, Int32 count, Double* v) + unsafe void VertexAttribs4(Int32 index, Int32 count, Single* v) { - Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v); + Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v); } [System.CLSCompliant(false)] @@ -17147,16 +17181,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribs4(UInt32 index, Int32 count, Single* v) + unsafe void VertexAttribs4(UInt32 index, Int32 count, Int16* v) { - Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v); + Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v); } [System.CLSCompliant(false)] public static - unsafe void VertexAttribs4(Int32 index, Int32 count, Single* v) + unsafe void VertexAttribs4(Int32 index, Int32 count, Int16* v) { - Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v); + Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v); } [System.CLSCompliant(false)] @@ -17211,16 +17245,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribs4(UInt32 index, Int32 count, Int16* v) + unsafe void VertexAttribs4(UInt32 index, Int32 count, Byte* v) { - Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v); + Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v); } [System.CLSCompliant(false)] public static - unsafe void VertexAttribs4(Int32 index, Int32 count, Int16* v) + unsafe void VertexAttribs4(Int32 index, Int32 count, Byte* v) { - Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v); + Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v); } [System.CLSCompliant(false)] @@ -17275,16 +17309,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribs4(UInt32 index, Int32 count, Byte* v) + unsafe void GenOcclusionQueries(Int32 n, [Out] UInt32* ids) { - Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v); + Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids); } [System.CLSCompliant(false)] public static - unsafe void VertexAttribs4(Int32 index, Int32 count, Byte* v) + unsafe void GenOcclusionQueries(Int32 n, [Out] Int32* ids) { - Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v); + Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids); } [System.CLSCompliant(false)] @@ -17341,16 +17375,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GenOcclusionQueries(Int32 n, [Out] UInt32* ids) + unsafe void DeleteOcclusionQueries(Int32 n, UInt32* ids) { - Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids); + Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids); } [System.CLSCompliant(false)] public static - unsafe void GenOcclusionQueries(Int32 n, [Out] Int32* ids) + unsafe void DeleteOcclusionQueries(Int32 n, Int32* ids) { - Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids); + Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids); } [System.CLSCompliant(false)] @@ -17403,20 +17437,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void DeleteOcclusionQueries(Int32 n, UInt32* ids) - { - Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids); - } - - [System.CLSCompliant(false)] - public static - unsafe void DeleteOcclusionQueries(Int32 n, Int32* ids) - { - Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids); - } - [System.CLSCompliant(false)] public static bool IsOcclusionQuery(UInt32 id) @@ -17449,6 +17469,13 @@ namespace OpenTK.OpenGL Delegates.glEndOcclusionQueryNV(); } + [System.CLSCompliant(false)] + public static + unsafe void GetOcclusionQuery(UInt32 id, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + { + Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + } + [System.CLSCompliant(false)] public static void GetOcclusionQuery(UInt32 id, OpenTK.OpenGL.Enums.All pname, [Out] Int32[] @params) @@ -17478,9 +17505,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetOcclusionQuery(UInt32 id, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + unsafe void GetOcclusionQuery(UInt32 id, OpenTK.OpenGL.Enums.All pname, [Out] UInt32* @params) { - Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + Delegates.glGetOcclusionQueryuivNV((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (UInt32*)@params); + } + + [System.CLSCompliant(false)] + public static + unsafe void GetOcclusionQuery(Int32 id, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + { + Delegates.glGetOcclusionQueryuivNV((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (UInt32*)@params); } [System.CLSCompliant(false)] @@ -17535,26 +17569,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetOcclusionQuery(UInt32 id, OpenTK.OpenGL.Enums.All pname, [Out] UInt32* @params) - { - Delegates.glGetOcclusionQueryuivNV((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (UInt32*)@params); - } - - [System.CLSCompliant(false)] - public static - unsafe void GetOcclusionQuery(Int32 id, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) - { - Delegates.glGetOcclusionQueryuivNV((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (UInt32*)@params); - } - public static void PointParameter(OpenTK.OpenGL.Enums.All pname, Int32 param) { Delegates.glPointParameteriNV((OpenTK.OpenGL.Enums.All)pname, (Int32)param); } + [System.CLSCompliant(false)] + public static + unsafe void PointParameterv(OpenTK.OpenGL.Enums.All pname, Int32* @params) + { + Delegates.glPointParameterivNV((OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + } + public static void PointParameterv(OpenTK.OpenGL.Enums.All pname, Int32[] @params) { @@ -17581,9 +17608,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void PointParameterv(OpenTK.OpenGL.Enums.All pname, Int32* @params) + unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Single x, Single y, Single z, Single w) { - Delegates.glPointParameterivNV((OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name, (Single)x, (Single)y, (Single)z, (Single)w); + } + + [System.CLSCompliant(false)] + public static + unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Single x, Single y, Single z, Single w) + { + Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name, (Single)x, (Single)y, (Single)z, (Single)w); } [System.CLSCompliant(false)] @@ -17638,16 +17672,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Single x, Single y, Single z, Single w) + unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Double x, Double y, Double z, Double w) { - Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name, (Single)x, (Single)y, (Single)z, (Single)w); + Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name, (Double)x, (Double)y, (Double)z, (Double)w); } [System.CLSCompliant(false)] public static - unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Single x, Single y, Single z, Single w) + unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double x, Double y, Double z, Double w) { - Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name, (Single)x, (Single)y, (Single)z, (Single)w); + Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name, (Double)x, (Double)y, (Double)z, (Double)w); } [System.CLSCompliant(false)] @@ -17702,16 +17736,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Double x, Double y, Double z, Double w) + unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Single* v) { - Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name, (Double)x, (Double)y, (Double)z, (Double)w); + Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v); } [System.CLSCompliant(false)] public static - unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double x, Double y, Double z, Double w) + unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Single* v) { - Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name, (Double)x, (Double)y, (Double)z, (Double)w); + Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v); } [System.CLSCompliant(false)] @@ -17770,16 +17804,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Single* v) + unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Double* v) { - Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v); + Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v); } [System.CLSCompliant(false)] public static - unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Single* v) + unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double* v) { - Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v); + Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v); } [System.CLSCompliant(false)] @@ -17838,16 +17872,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Double* v) + unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [Out] Single* @params) { - Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v); + Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params); } [System.CLSCompliant(false)] public static - unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double* v) + unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [Out] Single* @params) { - Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v); + Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params); } [System.CLSCompliant(false)] @@ -17908,16 +17942,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [Out] Single* @params) + unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [Out] Double* @params) { - Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params); + Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params); } [System.CLSCompliant(false)] public static - unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [Out] Single* @params) + unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [Out] Double* @params) { - Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params); + Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params); } [System.CLSCompliant(false)] @@ -17976,20 +18010,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [Out] Double* @params) - { - Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params); - } - - [System.CLSCompliant(false)] - public static - unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [Out] Double* @params) - { - Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params); - } - [System.CLSCompliant(false)] public static void Vertex2h(UInt16 x, UInt16 y) @@ -18003,6 +18023,20 @@ namespace OpenTK.OpenGL Delegates.glVertex2hNV((UInt16)x, (UInt16)y); } + [System.CLSCompliant(false)] + public static + unsafe void Vertex2h(UInt16* v) + { + Delegates.glVertex2hvNV((UInt16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void Vertex2h(Int16* v) + { + Delegates.glVertex2hvNV((UInt16*)v); + } + [System.CLSCompliant(false)] public static void Vertex2h(UInt16[] v) @@ -18053,20 +18087,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Vertex2h(UInt16* v) - { - Delegates.glVertex2hvNV((UInt16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void Vertex2h(Int16* v) - { - Delegates.glVertex2hvNV((UInt16*)v); - } - [System.CLSCompliant(false)] public static void Vertex3h(UInt16 x, UInt16 y, UInt16 z) @@ -18080,6 +18100,20 @@ namespace OpenTK.OpenGL Delegates.glVertex3hNV((UInt16)x, (UInt16)y, (UInt16)z); } + [System.CLSCompliant(false)] + public static + unsafe void Vertex3h(UInt16* v) + { + Delegates.glVertex3hvNV((UInt16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void Vertex3h(Int16* v) + { + Delegates.glVertex3hvNV((UInt16*)v); + } + [System.CLSCompliant(false)] public static void Vertex3h(UInt16[] v) @@ -18130,20 +18164,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Vertex3h(UInt16* v) - { - Delegates.glVertex3hvNV((UInt16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void Vertex3h(Int16* v) - { - Delegates.glVertex3hvNV((UInt16*)v); - } - [System.CLSCompliant(false)] public static void Vertex4h(UInt16 x, UInt16 y, UInt16 z, UInt16 w) @@ -18157,6 +18177,20 @@ namespace OpenTK.OpenGL Delegates.glVertex4hNV((UInt16)x, (UInt16)y, (UInt16)z, (UInt16)w); } + [System.CLSCompliant(false)] + public static + unsafe void Vertex4h(UInt16* v) + { + Delegates.glVertex4hvNV((UInt16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void Vertex4h(Int16* v) + { + Delegates.glVertex4hvNV((UInt16*)v); + } + [System.CLSCompliant(false)] public static void Vertex4h(UInt16[] v) @@ -18207,20 +18241,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Vertex4h(UInt16* v) - { - Delegates.glVertex4hvNV((UInt16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void Vertex4h(Int16* v) - { - Delegates.glVertex4hvNV((UInt16*)v); - } - [System.CLSCompliant(false)] public static void Normal3h(UInt16 nx, UInt16 ny, UInt16 nz) @@ -18234,6 +18254,20 @@ namespace OpenTK.OpenGL Delegates.glNormal3hNV((UInt16)nx, (UInt16)ny, (UInt16)nz); } + [System.CLSCompliant(false)] + public static + unsafe void Normal3h(UInt16* v) + { + Delegates.glNormal3hvNV((UInt16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void Normal3h(Int16* v) + { + Delegates.glNormal3hvNV((UInt16*)v); + } + [System.CLSCompliant(false)] public static void Normal3h(UInt16[] v) @@ -18284,20 +18318,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Normal3h(UInt16* v) - { - Delegates.glNormal3hvNV((UInt16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void Normal3h(Int16* v) - { - Delegates.glNormal3hvNV((UInt16*)v); - } - [System.CLSCompliant(false)] public static void Color3h(UInt16 red, UInt16 green, UInt16 blue) @@ -18311,6 +18331,20 @@ namespace OpenTK.OpenGL Delegates.glColor3hNV((UInt16)red, (UInt16)green, (UInt16)blue); } + [System.CLSCompliant(false)] + public static + unsafe void Color3h(UInt16* v) + { + Delegates.glColor3hvNV((UInt16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void Color3h(Int16* v) + { + Delegates.glColor3hvNV((UInt16*)v); + } + [System.CLSCompliant(false)] public static void Color3h(UInt16[] v) @@ -18361,20 +18395,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Color3h(UInt16* v) - { - Delegates.glColor3hvNV((UInt16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void Color3h(Int16* v) - { - Delegates.glColor3hvNV((UInt16*)v); - } - [System.CLSCompliant(false)] public static void Color4h(UInt16 red, UInt16 green, UInt16 blue, UInt16 alpha) @@ -18388,6 +18408,20 @@ namespace OpenTK.OpenGL Delegates.glColor4hNV((UInt16)red, (UInt16)green, (UInt16)blue, (UInt16)alpha); } + [System.CLSCompliant(false)] + public static + unsafe void Color4h(UInt16* v) + { + Delegates.glColor4hvNV((UInt16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void Color4h(Int16* v) + { + Delegates.glColor4hvNV((UInt16*)v); + } + [System.CLSCompliant(false)] public static void Color4h(UInt16[] v) @@ -18438,20 +18472,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Color4h(UInt16* v) - { - Delegates.glColor4hvNV((UInt16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void Color4h(Int16* v) - { - Delegates.glColor4hvNV((UInt16*)v); - } - [System.CLSCompliant(false)] public static void TexCoord1h(UInt16 s) @@ -18465,6 +18485,20 @@ namespace OpenTK.OpenGL Delegates.glTexCoord1hNV((UInt16)s); } + [System.CLSCompliant(false)] + public static + unsafe void TexCoord1hv(UInt16* v) + { + Delegates.glTexCoord1hvNV((UInt16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void TexCoord1hv(Int16* v) + { + Delegates.glTexCoord1hvNV((UInt16*)v); + } + [System.CLSCompliant(false)] public static void TexCoord1hv(UInt16[] v) @@ -18515,20 +18549,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexCoord1hv(UInt16* v) - { - Delegates.glTexCoord1hvNV((UInt16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void TexCoord1hv(Int16* v) - { - Delegates.glTexCoord1hvNV((UInt16*)v); - } - [System.CLSCompliant(false)] public static void TexCoord2h(UInt16 s, UInt16 t) @@ -18542,6 +18562,20 @@ namespace OpenTK.OpenGL Delegates.glTexCoord2hNV((UInt16)s, (UInt16)t); } + [System.CLSCompliant(false)] + public static + unsafe void TexCoord2h(UInt16* v) + { + Delegates.glTexCoord2hvNV((UInt16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void TexCoord2h(Int16* v) + { + Delegates.glTexCoord2hvNV((UInt16*)v); + } + [System.CLSCompliant(false)] public static void TexCoord2h(UInt16[] v) @@ -18592,20 +18626,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexCoord2h(UInt16* v) - { - Delegates.glTexCoord2hvNV((UInt16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void TexCoord2h(Int16* v) - { - Delegates.glTexCoord2hvNV((UInt16*)v); - } - [System.CLSCompliant(false)] public static void TexCoord3h(UInt16 s, UInt16 t, UInt16 r) @@ -18619,6 +18639,20 @@ namespace OpenTK.OpenGL Delegates.glTexCoord3hNV((UInt16)s, (UInt16)t, (UInt16)r); } + [System.CLSCompliant(false)] + public static + unsafe void TexCoord3h(UInt16* v) + { + Delegates.glTexCoord3hvNV((UInt16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void TexCoord3h(Int16* v) + { + Delegates.glTexCoord3hvNV((UInt16*)v); + } + [System.CLSCompliant(false)] public static void TexCoord3h(UInt16[] v) @@ -18669,20 +18703,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexCoord3h(UInt16* v) - { - Delegates.glTexCoord3hvNV((UInt16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void TexCoord3h(Int16* v) - { - Delegates.glTexCoord3hvNV((UInt16*)v); - } - [System.CLSCompliant(false)] public static void TexCoord4h(UInt16 s, UInt16 t, UInt16 r, UInt16 q) @@ -18696,6 +18716,20 @@ namespace OpenTK.OpenGL Delegates.glTexCoord4hNV((UInt16)s, (UInt16)t, (UInt16)r, (UInt16)q); } + [System.CLSCompliant(false)] + public static + unsafe void TexCoord4h(UInt16* v) + { + Delegates.glTexCoord4hvNV((UInt16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void TexCoord4h(Int16* v) + { + Delegates.glTexCoord4hvNV((UInt16*)v); + } + [System.CLSCompliant(false)] public static void TexCoord4h(UInt16[] v) @@ -18746,20 +18780,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexCoord4h(UInt16* v) - { - Delegates.glTexCoord4hvNV((UInt16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void TexCoord4h(Int16* v) - { - Delegates.glTexCoord4hvNV((UInt16*)v); - } - [System.CLSCompliant(false)] public static void MultiTexCoord1h(OpenTK.OpenGL.Enums.TextureUnit target, UInt16 s) @@ -18773,6 +18793,20 @@ namespace OpenTK.OpenGL Delegates.glMultiTexCoord1hNV((OpenTK.OpenGL.Enums.TextureUnit)target, (UInt16)s); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord1hv(OpenTK.OpenGL.Enums.TextureUnit target, UInt16* v) + { + Delegates.glMultiTexCoord1hvNV((OpenTK.OpenGL.Enums.TextureUnit)target, (UInt16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord1hv(OpenTK.OpenGL.Enums.TextureUnit target, Int16* v) + { + Delegates.glMultiTexCoord1hvNV((OpenTK.OpenGL.Enums.TextureUnit)target, (UInt16*)v); + } + [System.CLSCompliant(false)] public static void MultiTexCoord1hv(OpenTK.OpenGL.Enums.TextureUnit target, UInt16[] v) @@ -18823,20 +18857,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord1hv(OpenTK.OpenGL.Enums.TextureUnit target, UInt16* v) - { - Delegates.glMultiTexCoord1hvNV((OpenTK.OpenGL.Enums.TextureUnit)target, (UInt16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord1hv(OpenTK.OpenGL.Enums.TextureUnit target, Int16* v) - { - Delegates.glMultiTexCoord1hvNV((OpenTK.OpenGL.Enums.TextureUnit)target, (UInt16*)v); - } - [System.CLSCompliant(false)] public static void MultiTexCoord2h(OpenTK.OpenGL.Enums.TextureUnit target, UInt16 s, UInt16 t) @@ -18850,6 +18870,20 @@ namespace OpenTK.OpenGL Delegates.glMultiTexCoord2hNV((OpenTK.OpenGL.Enums.TextureUnit)target, (UInt16)s, (UInt16)t); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord2h(OpenTK.OpenGL.Enums.TextureUnit target, UInt16* v) + { + Delegates.glMultiTexCoord2hvNV((OpenTK.OpenGL.Enums.TextureUnit)target, (UInt16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord2h(OpenTK.OpenGL.Enums.TextureUnit target, Int16* v) + { + Delegates.glMultiTexCoord2hvNV((OpenTK.OpenGL.Enums.TextureUnit)target, (UInt16*)v); + } + [System.CLSCompliant(false)] public static void MultiTexCoord2h(OpenTK.OpenGL.Enums.TextureUnit target, UInt16[] v) @@ -18900,20 +18934,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord2h(OpenTK.OpenGL.Enums.TextureUnit target, UInt16* v) - { - Delegates.glMultiTexCoord2hvNV((OpenTK.OpenGL.Enums.TextureUnit)target, (UInt16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord2h(OpenTK.OpenGL.Enums.TextureUnit target, Int16* v) - { - Delegates.glMultiTexCoord2hvNV((OpenTK.OpenGL.Enums.TextureUnit)target, (UInt16*)v); - } - [System.CLSCompliant(false)] public static void MultiTexCoord3h(OpenTK.OpenGL.Enums.TextureUnit target, UInt16 s, UInt16 t, UInt16 r) @@ -18927,6 +18947,20 @@ namespace OpenTK.OpenGL Delegates.glMultiTexCoord3hNV((OpenTK.OpenGL.Enums.TextureUnit)target, (UInt16)s, (UInt16)t, (UInt16)r); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord3h(OpenTK.OpenGL.Enums.TextureUnit target, UInt16* v) + { + Delegates.glMultiTexCoord3hvNV((OpenTK.OpenGL.Enums.TextureUnit)target, (UInt16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord3h(OpenTK.OpenGL.Enums.TextureUnit target, Int16* v) + { + Delegates.glMultiTexCoord3hvNV((OpenTK.OpenGL.Enums.TextureUnit)target, (UInt16*)v); + } + [System.CLSCompliant(false)] public static void MultiTexCoord3h(OpenTK.OpenGL.Enums.TextureUnit target, UInt16[] v) @@ -18977,20 +19011,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord3h(OpenTK.OpenGL.Enums.TextureUnit target, UInt16* v) - { - Delegates.glMultiTexCoord3hvNV((OpenTK.OpenGL.Enums.TextureUnit)target, (UInt16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord3h(OpenTK.OpenGL.Enums.TextureUnit target, Int16* v) - { - Delegates.glMultiTexCoord3hvNV((OpenTK.OpenGL.Enums.TextureUnit)target, (UInt16*)v); - } - [System.CLSCompliant(false)] public static void MultiTexCoord4h(OpenTK.OpenGL.Enums.TextureUnit target, UInt16 s, UInt16 t, UInt16 r, UInt16 q) @@ -19004,6 +19024,20 @@ namespace OpenTK.OpenGL Delegates.glMultiTexCoord4hNV((OpenTK.OpenGL.Enums.TextureUnit)target, (UInt16)s, (UInt16)t, (UInt16)r, (UInt16)q); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord4h(OpenTK.OpenGL.Enums.TextureUnit target, UInt16* v) + { + Delegates.glMultiTexCoord4hvNV((OpenTK.OpenGL.Enums.TextureUnit)target, (UInt16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord4h(OpenTK.OpenGL.Enums.TextureUnit target, Int16* v) + { + Delegates.glMultiTexCoord4hvNV((OpenTK.OpenGL.Enums.TextureUnit)target, (UInt16*)v); + } + [System.CLSCompliant(false)] public static void MultiTexCoord4h(OpenTK.OpenGL.Enums.TextureUnit target, UInt16[] v) @@ -19054,20 +19088,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord4h(OpenTK.OpenGL.Enums.TextureUnit target, UInt16* v) - { - Delegates.glMultiTexCoord4hvNV((OpenTK.OpenGL.Enums.TextureUnit)target, (UInt16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord4h(OpenTK.OpenGL.Enums.TextureUnit target, Int16* v) - { - Delegates.glMultiTexCoord4hvNV((OpenTK.OpenGL.Enums.TextureUnit)target, (UInt16*)v); - } - [System.CLSCompliant(false)] public static void FogCoordh(UInt16 fog) @@ -19081,6 +19101,20 @@ namespace OpenTK.OpenGL Delegates.glFogCoordhNV((UInt16)fog); } + [System.CLSCompliant(false)] + public static + unsafe void FogCoordhv(UInt16* fog) + { + Delegates.glFogCoordhvNV((UInt16*)fog); + } + + [System.CLSCompliant(false)] + public static + unsafe void FogCoordhv(Int16* fog) + { + Delegates.glFogCoordhvNV((UInt16*)fog); + } + [System.CLSCompliant(false)] public static void FogCoordhv(UInt16[] fog) @@ -19131,20 +19165,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void FogCoordhv(UInt16* fog) - { - Delegates.glFogCoordhvNV((UInt16*)fog); - } - - [System.CLSCompliant(false)] - public static - unsafe void FogCoordhv(Int16* fog) - { - Delegates.glFogCoordhvNV((UInt16*)fog); - } - [System.CLSCompliant(false)] public static void SecondaryColor3h(UInt16 red, UInt16 green, UInt16 blue) @@ -19158,6 +19178,20 @@ namespace OpenTK.OpenGL Delegates.glSecondaryColor3hNV((UInt16)red, (UInt16)green, (UInt16)blue); } + [System.CLSCompliant(false)] + public static + unsafe void SecondaryColor3h(UInt16* v) + { + Delegates.glSecondaryColor3hvNV((UInt16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void SecondaryColor3h(Int16* v) + { + Delegates.glSecondaryColor3hvNV((UInt16*)v); + } + [System.CLSCompliant(false)] public static void SecondaryColor3h(UInt16[] v) @@ -19208,20 +19242,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void SecondaryColor3h(UInt16* v) - { - Delegates.glSecondaryColor3hvNV((UInt16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void SecondaryColor3h(Int16* v) - { - Delegates.glSecondaryColor3hvNV((UInt16*)v); - } - [System.CLSCompliant(false)] public static void VertexWeighth(UInt16 weight) @@ -19235,6 +19255,20 @@ namespace OpenTK.OpenGL Delegates.glVertexWeighthNV((UInt16)weight); } + [System.CLSCompliant(false)] + public static + unsafe void VertexWeighthv(UInt16* weight) + { + Delegates.glVertexWeighthvNV((UInt16*)weight); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexWeighthv(Int16* weight) + { + Delegates.glVertexWeighthvNV((UInt16*)weight); + } + [System.CLSCompliant(false)] public static void VertexWeighthv(UInt16[] weight) @@ -19285,20 +19319,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexWeighthv(UInt16* weight) - { - Delegates.glVertexWeighthvNV((UInt16*)weight); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexWeighthv(Int16* weight) - { - Delegates.glVertexWeighthvNV((UInt16*)weight); - } - [System.CLSCompliant(false)] public static void VertexAttrib1h(UInt32 index, UInt16 x) @@ -19312,6 +19332,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib1hNV((UInt32)index, (UInt16)x); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib1hv(UInt32 index, UInt16* v) + { + Delegates.glVertexAttrib1hvNV((UInt32)index, (UInt16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib1hv(Int32 index, Int16* v) + { + Delegates.glVertexAttrib1hvNV((UInt32)index, (UInt16*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib1hv(UInt32 index, UInt16[] v) @@ -19362,20 +19396,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib1hv(UInt32 index, UInt16* v) - { - Delegates.glVertexAttrib1hvNV((UInt32)index, (UInt16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib1hv(Int32 index, Int16* v) - { - Delegates.glVertexAttrib1hvNV((UInt32)index, (UInt16*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib2h(UInt32 index, UInt16 x, UInt16 y) @@ -19389,6 +19409,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib2hNV((UInt32)index, (UInt16)x, (UInt16)y); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib2h(UInt32 index, UInt16* v) + { + Delegates.glVertexAttrib2hvNV((UInt32)index, (UInt16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib2h(Int32 index, Int16* v) + { + Delegates.glVertexAttrib2hvNV((UInt32)index, (UInt16*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib2h(UInt32 index, UInt16[] v) @@ -19439,20 +19473,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib2h(UInt32 index, UInt16* v) - { - Delegates.glVertexAttrib2hvNV((UInt32)index, (UInt16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib2h(Int32 index, Int16* v) - { - Delegates.glVertexAttrib2hvNV((UInt32)index, (UInt16*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib3h(UInt32 index, UInt16 x, UInt16 y, UInt16 z) @@ -19466,6 +19486,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib3hNV((UInt32)index, (UInt16)x, (UInt16)y, (UInt16)z); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib3h(UInt32 index, UInt16* v) + { + Delegates.glVertexAttrib3hvNV((UInt32)index, (UInt16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib3h(Int32 index, Int16* v) + { + Delegates.glVertexAttrib3hvNV((UInt32)index, (UInt16*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib3h(UInt32 index, UInt16[] v) @@ -19516,20 +19550,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib3h(UInt32 index, UInt16* v) - { - Delegates.glVertexAttrib3hvNV((UInt32)index, (UInt16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib3h(Int32 index, Int16* v) - { - Delegates.glVertexAttrib3hvNV((UInt32)index, (UInt16*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib4h(UInt32 index, UInt16 x, UInt16 y, UInt16 z, UInt16 w) @@ -19543,6 +19563,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib4hNV((UInt32)index, (UInt16)x, (UInt16)y, (UInt16)z, (UInt16)w); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib4h(UInt32 index, UInt16* v) + { + Delegates.glVertexAttrib4hvNV((UInt32)index, (UInt16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib4h(Int32 index, Int16* v) + { + Delegates.glVertexAttrib4hvNV((UInt32)index, (UInt16*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib4h(UInt32 index, UInt16[] v) @@ -19595,16 +19629,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4h(UInt32 index, UInt16* v) + unsafe void VertexAttribs1h(UInt32 index, Int32 n, UInt16* v) { - Delegates.glVertexAttrib4hvNV((UInt32)index, (UInt16*)v); + Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (UInt16*)v); } [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4h(Int32 index, Int16* v) + unsafe void VertexAttribs1h(Int32 index, Int32 n, Int16* v) { - Delegates.glVertexAttrib4hvNV((UInt32)index, (UInt16*)v); + Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (UInt16*)v); } [System.CLSCompliant(false)] @@ -19659,16 +19693,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribs1h(UInt32 index, Int32 n, UInt16* v) + unsafe void VertexAttribs2h(UInt32 index, Int32 n, UInt16* v) { - Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (UInt16*)v); + Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (UInt16*)v); } [System.CLSCompliant(false)] public static - unsafe void VertexAttribs1h(Int32 index, Int32 n, Int16* v) + unsafe void VertexAttribs2h(Int32 index, Int32 n, Int16* v) { - Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (UInt16*)v); + Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (UInt16*)v); } [System.CLSCompliant(false)] @@ -19723,16 +19757,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribs2h(UInt32 index, Int32 n, UInt16* v) + unsafe void VertexAttribs3h(UInt32 index, Int32 n, UInt16* v) { - Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (UInt16*)v); + Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (UInt16*)v); } [System.CLSCompliant(false)] public static - unsafe void VertexAttribs2h(Int32 index, Int32 n, Int16* v) + unsafe void VertexAttribs3h(Int32 index, Int32 n, Int16* v) { - Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (UInt16*)v); + Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (UInt16*)v); } [System.CLSCompliant(false)] @@ -19787,16 +19821,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribs3h(UInt32 index, Int32 n, UInt16* v) + unsafe void VertexAttribs4h(UInt32 index, Int32 n, UInt16* v) { - Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (UInt16*)v); + Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (UInt16*)v); } [System.CLSCompliant(false)] public static - unsafe void VertexAttribs3h(Int32 index, Int32 n, Int16* v) + unsafe void VertexAttribs4h(Int32 index, Int32 n, Int16* v) { - Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (UInt16*)v); + Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (UInt16*)v); } [System.CLSCompliant(false)] @@ -19849,20 +19883,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttribs4h(UInt32 index, Int32 n, UInt16* v) - { - Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (UInt16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttribs4h(Int32 index, Int32 n, Int16* v) - { - Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (UInt16*)v); - } - public static void PixelDataRange(OpenTK.OpenGL.Enums.All target, Int32 length, [Out] IntPtr pointer) { @@ -19921,6 +19941,13 @@ namespace OpenTK.OpenGL Delegates.glProgramLocalParameterI4iNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); } + [System.CLSCompliant(false)] + public static + unsafe void ProgramLocalParameterI4(OpenTK.OpenGL.Enums.All target, UInt32 index, Int32* @params) + { + Delegates.glProgramLocalParameterI4ivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32*)@params); + } + [System.CLSCompliant(false)] public static void ProgramLocalParameterI4(OpenTK.OpenGL.Enums.All target, UInt32 index, Int32[] @params) @@ -19949,9 +19976,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ProgramLocalParameterI4(OpenTK.OpenGL.Enums.All target, UInt32 index, Int32* @params) + unsafe void ProgramLocalParametersI4(OpenTK.OpenGL.Enums.All target, UInt32 index, Int32 count, Int32* @params) { - Delegates.glProgramLocalParameterI4ivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32*)@params); + Delegates.glProgramLocalParametersI4ivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32)count, (Int32*)@params); } [System.CLSCompliant(false)] @@ -19980,13 +20007,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void ProgramLocalParametersI4(OpenTK.OpenGL.Enums.All target, UInt32 index, Int32 count, Int32* @params) - { - Delegates.glProgramLocalParametersI4ivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32)count, (Int32*)@params); - } - [System.CLSCompliant(false)] public static void ProgramLocalParameterI4(OpenTK.OpenGL.Enums.All target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) @@ -20000,6 +20020,20 @@ namespace OpenTK.OpenGL Delegates.glProgramLocalParameterI4uiNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); } + [System.CLSCompliant(false)] + public static + unsafe void ProgramLocalParameterI4(OpenTK.OpenGL.Enums.All target, UInt32 index, UInt32* @params) + { + Delegates.glProgramLocalParameterI4uivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (UInt32*)@params); + } + + [System.CLSCompliant(false)] + public static + unsafe void ProgramLocalParameterI4(OpenTK.OpenGL.Enums.All target, Int32 index, Int32* @params) + { + Delegates.glProgramLocalParameterI4uivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (UInt32*)@params); + } + [System.CLSCompliant(false)] public static void ProgramLocalParameterI4(OpenTK.OpenGL.Enums.All target, UInt32 index, UInt32[] @params) @@ -20052,16 +20086,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ProgramLocalParameterI4(OpenTK.OpenGL.Enums.All target, UInt32 index, UInt32* @params) + unsafe void ProgramLocalParametersI4(OpenTK.OpenGL.Enums.All target, UInt32 index, Int32 count, UInt32* @params) { - Delegates.glProgramLocalParameterI4uivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (UInt32*)@params); + Delegates.glProgramLocalParametersI4uivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32)count, (UInt32*)@params); } [System.CLSCompliant(false)] public static - unsafe void ProgramLocalParameterI4(OpenTK.OpenGL.Enums.All target, Int32 index, Int32* @params) + unsafe void ProgramLocalParametersI4(OpenTK.OpenGL.Enums.All target, Int32 index, Int32 count, Int32* @params) { - Delegates.glProgramLocalParameterI4uivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (UInt32*)@params); + Delegates.glProgramLocalParametersI4uivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32)count, (UInt32*)@params); } [System.CLSCompliant(false)] @@ -20114,20 +20148,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void ProgramLocalParametersI4(OpenTK.OpenGL.Enums.All target, UInt32 index, Int32 count, UInt32* @params) - { - Delegates.glProgramLocalParametersI4uivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32)count, (UInt32*)@params); - } - - [System.CLSCompliant(false)] - public static - unsafe void ProgramLocalParametersI4(OpenTK.OpenGL.Enums.All target, Int32 index, Int32 count, Int32* @params) - { - Delegates.glProgramLocalParametersI4uivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32)count, (UInt32*)@params); - } - [System.CLSCompliant(false)] public static void ProgramEnvParameterI4(OpenTK.OpenGL.Enums.All target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) @@ -20135,6 +20155,13 @@ namespace OpenTK.OpenGL Delegates.glProgramEnvParameterI4iNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); } + [System.CLSCompliant(false)] + public static + unsafe void ProgramEnvParameterI4(OpenTK.OpenGL.Enums.All target, UInt32 index, Int32* @params) + { + Delegates.glProgramEnvParameterI4ivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32*)@params); + } + [System.CLSCompliant(false)] public static void ProgramEnvParameterI4(OpenTK.OpenGL.Enums.All target, UInt32 index, Int32[] @params) @@ -20163,9 +20190,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ProgramEnvParameterI4(OpenTK.OpenGL.Enums.All target, UInt32 index, Int32* @params) + unsafe void ProgramEnvParametersI4(OpenTK.OpenGL.Enums.All target, UInt32 index, Int32 count, Int32* @params) { - Delegates.glProgramEnvParameterI4ivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32*)@params); + Delegates.glProgramEnvParametersI4ivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32)count, (Int32*)@params); } [System.CLSCompliant(false)] @@ -20194,13 +20221,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void ProgramEnvParametersI4(OpenTK.OpenGL.Enums.All target, UInt32 index, Int32 count, Int32* @params) - { - Delegates.glProgramEnvParametersI4ivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32)count, (Int32*)@params); - } - [System.CLSCompliant(false)] public static void ProgramEnvParameterI4(OpenTK.OpenGL.Enums.All target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) @@ -20214,6 +20234,20 @@ namespace OpenTK.OpenGL Delegates.glProgramEnvParameterI4uiNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); } + [System.CLSCompliant(false)] + public static + unsafe void ProgramEnvParameterI4(OpenTK.OpenGL.Enums.All target, UInt32 index, UInt32* @params) + { + Delegates.glProgramEnvParameterI4uivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (UInt32*)@params); + } + + [System.CLSCompliant(false)] + public static + unsafe void ProgramEnvParameterI4(OpenTK.OpenGL.Enums.All target, Int32 index, Int32* @params) + { + Delegates.glProgramEnvParameterI4uivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (UInt32*)@params); + } + [System.CLSCompliant(false)] public static void ProgramEnvParameterI4(OpenTK.OpenGL.Enums.All target, UInt32 index, UInt32[] @params) @@ -20266,16 +20300,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ProgramEnvParameterI4(OpenTK.OpenGL.Enums.All target, UInt32 index, UInt32* @params) + unsafe void ProgramEnvParametersI4(OpenTK.OpenGL.Enums.All target, UInt32 index, Int32 count, UInt32* @params) { - Delegates.glProgramEnvParameterI4uivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (UInt32*)@params); + Delegates.glProgramEnvParametersI4uivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32)count, (UInt32*)@params); } [System.CLSCompliant(false)] public static - unsafe void ProgramEnvParameterI4(OpenTK.OpenGL.Enums.All target, Int32 index, Int32* @params) + unsafe void ProgramEnvParametersI4(OpenTK.OpenGL.Enums.All target, Int32 index, Int32 count, Int32* @params) { - Delegates.glProgramEnvParameterI4uivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (UInt32*)@params); + Delegates.glProgramEnvParametersI4uivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32)count, (UInt32*)@params); } [System.CLSCompliant(false)] @@ -20330,16 +20364,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ProgramEnvParametersI4(OpenTK.OpenGL.Enums.All target, UInt32 index, Int32 count, UInt32* @params) + unsafe void GetProgramLocalParameterI(OpenTK.OpenGL.Enums.All target, UInt32 index, [Out] Int32* @params) { - Delegates.glProgramEnvParametersI4uivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32)count, (UInt32*)@params); - } - - [System.CLSCompliant(false)] - public static - unsafe void ProgramEnvParametersI4(OpenTK.OpenGL.Enums.All target, Int32 index, Int32 count, Int32* @params) - { - Delegates.glProgramEnvParametersI4uivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32)count, (UInt32*)@params); + Delegates.glGetProgramLocalParameterIivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32*)@params); } [System.CLSCompliant(false)] @@ -20371,9 +20398,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetProgramLocalParameterI(OpenTK.OpenGL.Enums.All target, UInt32 index, [Out] Int32* @params) + unsafe void GetProgramLocalParameterI(OpenTK.OpenGL.Enums.All target, UInt32 index, [Out] UInt32* @params) { - Delegates.glGetProgramLocalParameterIivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32*)@params); + Delegates.glGetProgramLocalParameterIuivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (UInt32*)@params); + } + + [System.CLSCompliant(false)] + public static + unsafe void GetProgramLocalParameterI(OpenTK.OpenGL.Enums.All target, Int32 index, [Out] Int32* @params) + { + Delegates.glGetProgramLocalParameterIuivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (UInt32*)@params); } [System.CLSCompliant(false)] @@ -20430,16 +20464,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetProgramLocalParameterI(OpenTK.OpenGL.Enums.All target, UInt32 index, [Out] UInt32* @params) + unsafe void GetProgramEnvParameterI(OpenTK.OpenGL.Enums.All target, UInt32 index, [Out] Int32* @params) { - Delegates.glGetProgramLocalParameterIuivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (UInt32*)@params); - } - - [System.CLSCompliant(false)] - public static - unsafe void GetProgramLocalParameterI(OpenTK.OpenGL.Enums.All target, Int32 index, [Out] Int32* @params) - { - Delegates.glGetProgramLocalParameterIuivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (UInt32*)@params); + Delegates.glGetProgramEnvParameterIivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32*)@params); } [System.CLSCompliant(false)] @@ -20471,9 +20498,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetProgramEnvParameterI(OpenTK.OpenGL.Enums.All target, UInt32 index, [Out] Int32* @params) + unsafe void GetProgramEnvParameterI(OpenTK.OpenGL.Enums.All target, UInt32 index, [Out] UInt32* @params) { - Delegates.glGetProgramEnvParameterIivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32*)@params); + Delegates.glGetProgramEnvParameterIuivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (UInt32*)@params); + } + + [System.CLSCompliant(false)] + public static + unsafe void GetProgramEnvParameterI(OpenTK.OpenGL.Enums.All target, Int32 index, [Out] Int32* @params) + { + Delegates.glGetProgramEnvParameterIuivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (UInt32*)@params); } [System.CLSCompliant(false)] @@ -20528,20 +20562,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetProgramEnvParameterI(OpenTK.OpenGL.Enums.All target, UInt32 index, [Out] UInt32* @params) - { - Delegates.glGetProgramEnvParameterIuivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (UInt32*)@params); - } - - [System.CLSCompliant(false)] - public static - unsafe void GetProgramEnvParameterI(OpenTK.OpenGL.Enums.All target, Int32 index, [Out] Int32* @params) - { - Delegates.glGetProgramEnvParameterIuivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (UInt32*)@params); - } - public static void ProgramVertexLimit(OpenTK.OpenGL.Enums.All target, Int32 limit) { @@ -20572,6 +20592,20 @@ namespace OpenTK.OpenGL Delegates.glRenderbufferStorageMultisampleCoverageNV((OpenTK.OpenGL.Enums.All)target, (Int32)coverageSamples, (Int32)colorSamples, (OpenTK.OpenGL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); } + [System.CLSCompliant(false)] + public static + unsafe void ProgramBufferParameters(OpenTK.OpenGL.Enums.All target, UInt32 buffer, UInt32 index, Int32 count, Single* @params) + { + Delegates.glProgramBufferParametersfvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params); + } + + [System.CLSCompliant(false)] + public static + unsafe void ProgramBufferParameters(OpenTK.OpenGL.Enums.All target, Int32 buffer, Int32 index, Int32 count, Single* @params) + { + Delegates.glProgramBufferParametersfvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params); + } + [System.CLSCompliant(false)] public static void ProgramBufferParameters(OpenTK.OpenGL.Enums.All target, UInt32 buffer, UInt32 index, Int32 count, Single[] @params) @@ -20624,16 +20658,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ProgramBufferParameters(OpenTK.OpenGL.Enums.All target, UInt32 buffer, UInt32 index, Int32 count, Single* @params) + unsafe void ProgramBufferParametersI(OpenTK.OpenGL.Enums.All target, UInt32 buffer, UInt32 index, Int32 count, Int32* @params) { - Delegates.glProgramBufferParametersfvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params); - } - - [System.CLSCompliant(false)] - public static - unsafe void ProgramBufferParameters(OpenTK.OpenGL.Enums.All target, Int32 buffer, Int32 index, Int32 count, Single* @params) - { - Delegates.glProgramBufferParametersfvNV((OpenTK.OpenGL.Enums.All)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params); + Delegates.glProgramBufferParametersIivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params); } [System.CLSCompliant(false)] @@ -20664,9 +20691,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ProgramBufferParametersI(OpenTK.OpenGL.Enums.All target, UInt32 buffer, UInt32 index, Int32 count, Int32* @params) + unsafe void ProgramBufferParametersI(OpenTK.OpenGL.Enums.All target, UInt32 buffer, UInt32 index, Int32 count, UInt32* @params) { - Delegates.glProgramBufferParametersIivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params); + Delegates.glProgramBufferParametersIuivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params); + } + + [System.CLSCompliant(false)] + public static + unsafe void ProgramBufferParametersI(OpenTK.OpenGL.Enums.All target, Int32 buffer, Int32 index, Int32 count, Int32* @params) + { + Delegates.glProgramBufferParametersIuivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params); } [System.CLSCompliant(false)] @@ -20719,20 +20753,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void ProgramBufferParametersI(OpenTK.OpenGL.Enums.All target, UInt32 buffer, UInt32 index, Int32 count, UInt32* @params) - { - Delegates.glProgramBufferParametersIuivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params); - } - - [System.CLSCompliant(false)] - public static - unsafe void ProgramBufferParametersI(OpenTK.OpenGL.Enums.All target, Int32 buffer, Int32 index, Int32 count, Int32* @params) - { - Delegates.glProgramBufferParametersIuivNV((OpenTK.OpenGL.Enums.All)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params); - } - public static void BeginTransformFeedback(OpenTK.OpenGL.Enums.All primitiveMode) { @@ -20745,6 +20765,20 @@ namespace OpenTK.OpenGL Delegates.glEndTransformFeedbackNV(); } + [System.CLSCompliant(false)] + public static + unsafe void TransformFeedbackAttrib(UInt32 count, Int32* attribs, OpenTK.OpenGL.Enums.All bufferMode) + { + Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs, (OpenTK.OpenGL.Enums.All)bufferMode); + } + + [System.CLSCompliant(false)] + public static + unsafe void TransformFeedbackAttrib(Int32 count, Int32* attribs, OpenTK.OpenGL.Enums.All bufferMode) + { + Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs, (OpenTK.OpenGL.Enums.All)bufferMode); + } + [System.CLSCompliant(false)] public static void TransformFeedbackAttrib(UInt32 count, Int32[] attribs, OpenTK.OpenGL.Enums.All bufferMode) @@ -20795,20 +20829,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TransformFeedbackAttrib(UInt32 count, Int32* attribs, OpenTK.OpenGL.Enums.All bufferMode) - { - Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs, (OpenTK.OpenGL.Enums.All)bufferMode); - } - - [System.CLSCompliant(false)] - public static - unsafe void TransformFeedbackAttrib(Int32 count, Int32* attribs, OpenTK.OpenGL.Enums.All bufferMode) - { - Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs, (OpenTK.OpenGL.Enums.All)bufferMode); - } - [System.CLSCompliant(false)] public static void BindBufferRange(OpenTK.OpenGL.Enums.All target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) @@ -20848,6 +20868,20 @@ namespace OpenTK.OpenGL Delegates.glBindBufferBaseNV((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (UInt32)buffer); } + [System.CLSCompliant(false)] + public static + unsafe void TransformFeedbackVarying(UInt32 program, Int32 count, Int32* locations, OpenTK.OpenGL.Enums.All bufferMode) + { + Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations, (OpenTK.OpenGL.Enums.All)bufferMode); + } + + [System.CLSCompliant(false)] + public static + unsafe void TransformFeedbackVarying(Int32 program, Int32 count, Int32* locations, OpenTK.OpenGL.Enums.All bufferMode) + { + Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations, (OpenTK.OpenGL.Enums.All)bufferMode); + } + [System.CLSCompliant(false)] public static void TransformFeedbackVarying(UInt32 program, Int32 count, Int32[] locations, OpenTK.OpenGL.Enums.All bufferMode) @@ -20898,20 +20932,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TransformFeedbackVarying(UInt32 program, Int32 count, Int32* locations, OpenTK.OpenGL.Enums.All bufferMode) - { - Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations, (OpenTK.OpenGL.Enums.All)bufferMode); - } - - [System.CLSCompliant(false)] - public static - unsafe void TransformFeedbackVarying(Int32 program, Int32 count, Int32* locations, OpenTK.OpenGL.Enums.All bufferMode) - { - Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations, (OpenTK.OpenGL.Enums.All)bufferMode); - } - [System.CLSCompliant(false)] public static void ActiveVarying(UInt32 program, System.String name) @@ -20938,6 +20958,20 @@ namespace OpenTK.OpenGL return Delegates.glGetVaryingLocationNV((UInt32)program, (System.String)name); } + [System.CLSCompliant(false)] + public static + unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.OpenGL.Enums.All* type, [Out] System.Text.StringBuilder name) + { + Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.OpenGL.Enums.All*)type, (System.Text.StringBuilder)name); + } + + [System.CLSCompliant(false)] + public static + unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.OpenGL.Enums.All* type, [Out] System.Text.StringBuilder name) + { + Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.OpenGL.Enums.All*)type, (System.Text.StringBuilder)name); + } + [System.CLSCompliant(false)] public static void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] OpenTK.OpenGL.Enums.All[] type, [Out] System.Text.StringBuilder name) @@ -21004,16 +21038,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.OpenGL.Enums.All* type, [Out] System.Text.StringBuilder name) + unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, [Out] Int32* location) { - Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.OpenGL.Enums.All*)type, (System.Text.StringBuilder)name); + Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location); } [System.CLSCompliant(false)] public static - unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.OpenGL.Enums.All* type, [Out] System.Text.StringBuilder name) + unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, [Out] Int32* location) { - Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.OpenGL.Enums.All*)type, (System.Text.StringBuilder)name); + Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location); } [System.CLSCompliant(false)] @@ -21068,20 +21102,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, [Out] Int32* location) - { - Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location); - } - - [System.CLSCompliant(false)] - public static - unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, [Out] Int32* location) - { - Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location); - } - } public static partial class Arb @@ -21104,6 +21124,13 @@ namespace OpenTK.OpenGL Delegates.glMultiTexCoord1dARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Double)s); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord1v(OpenTK.OpenGL.Enums.TextureUnit target, Double* v) + { + Delegates.glMultiTexCoord1dvARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Double*)v); + } + public static void MultiTexCoord1v(OpenTK.OpenGL.Enums.TextureUnit target, Double[] v) { @@ -21128,19 +21155,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord1v(OpenTK.OpenGL.Enums.TextureUnit target, Double* v) - { - Delegates.glMultiTexCoord1dvARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Double*)v); - } - public static void MultiTexCoord1(OpenTK.OpenGL.Enums.TextureUnit target, Single s) { Delegates.glMultiTexCoord1fARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Single)s); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord1v(OpenTK.OpenGL.Enums.TextureUnit target, Single* v) + { + Delegates.glMultiTexCoord1fvARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Single*)v); + } + public static void MultiTexCoord1v(OpenTK.OpenGL.Enums.TextureUnit target, Single[] v) { @@ -21165,19 +21192,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord1v(OpenTK.OpenGL.Enums.TextureUnit target, Single* v) - { - Delegates.glMultiTexCoord1fvARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Single*)v); - } - public static void MultiTexCoord1(OpenTK.OpenGL.Enums.TextureUnit target, Int32 s) { Delegates.glMultiTexCoord1iARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Int32)s); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord1v(OpenTK.OpenGL.Enums.TextureUnit target, Int32* v) + { + Delegates.glMultiTexCoord1ivARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Int32*)v); + } + public static void MultiTexCoord1v(OpenTK.OpenGL.Enums.TextureUnit target, Int32[] v) { @@ -21202,19 +21229,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord1v(OpenTK.OpenGL.Enums.TextureUnit target, Int32* v) - { - Delegates.glMultiTexCoord1ivARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Int32*)v); - } - public static void MultiTexCoord1(OpenTK.OpenGL.Enums.TextureUnit target, Int16 s) { Delegates.glMultiTexCoord1sARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Int16)s); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord1v(OpenTK.OpenGL.Enums.TextureUnit target, Int16* v) + { + Delegates.glMultiTexCoord1svARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Int16*)v); + } + public static void MultiTexCoord1v(OpenTK.OpenGL.Enums.TextureUnit target, Int16[] v) { @@ -21239,19 +21266,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord1v(OpenTK.OpenGL.Enums.TextureUnit target, Int16* v) - { - Delegates.glMultiTexCoord1svARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Int16*)v); - } - public static void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Double s, Double t) { Delegates.glMultiTexCoord2dARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Double)s, (Double)t); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Double* v) + { + Delegates.glMultiTexCoord2dvARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Double*)v); + } + public static void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Double[] v) { @@ -21276,19 +21303,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Double* v) - { - Delegates.glMultiTexCoord2dvARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Double*)v); - } - public static void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Single s, Single t) { Delegates.glMultiTexCoord2fARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Single)s, (Single)t); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Single* v) + { + Delegates.glMultiTexCoord2fvARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Single*)v); + } + public static void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Single[] v) { @@ -21313,19 +21340,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Single* v) - { - Delegates.glMultiTexCoord2fvARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Single*)v); - } - public static void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Int32 s, Int32 t) { Delegates.glMultiTexCoord2iARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Int32)s, (Int32)t); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Int32* v) + { + Delegates.glMultiTexCoord2ivARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Int32*)v); + } + public static void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Int32[] v) { @@ -21350,19 +21377,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Int32* v) - { - Delegates.glMultiTexCoord2ivARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Int32*)v); - } - public static void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Int16 s, Int16 t) { Delegates.glMultiTexCoord2sARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Int16)s, (Int16)t); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Int16* v) + { + Delegates.glMultiTexCoord2svARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Int16*)v); + } + public static void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Int16[] v) { @@ -21387,19 +21414,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord2(OpenTK.OpenGL.Enums.TextureUnit target, Int16* v) - { - Delegates.glMultiTexCoord2svARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Int16*)v); - } - public static void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Double s, Double t, Double r) { Delegates.glMultiTexCoord3dARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Double)s, (Double)t, (Double)r); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Double* v) + { + Delegates.glMultiTexCoord3dvARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Double*)v); + } + public static void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Double[] v) { @@ -21424,19 +21451,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Double* v) - { - Delegates.glMultiTexCoord3dvARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Double*)v); - } - public static void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Single s, Single t, Single r) { Delegates.glMultiTexCoord3fARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Single)s, (Single)t, (Single)r); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Single* v) + { + Delegates.glMultiTexCoord3fvARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Single*)v); + } + public static void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Single[] v) { @@ -21461,19 +21488,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Single* v) - { - Delegates.glMultiTexCoord3fvARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Single*)v); - } - public static void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Int32 s, Int32 t, Int32 r) { Delegates.glMultiTexCoord3iARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Int32* v) + { + Delegates.glMultiTexCoord3ivARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Int32*)v); + } + public static void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Int32[] v) { @@ -21498,19 +21525,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Int32* v) - { - Delegates.glMultiTexCoord3ivARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Int32*)v); - } - public static void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Int16 s, Int16 t, Int16 r) { Delegates.glMultiTexCoord3sARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Int16* v) + { + Delegates.glMultiTexCoord3svARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Int16*)v); + } + public static void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Int16[] v) { @@ -21535,19 +21562,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord3(OpenTK.OpenGL.Enums.TextureUnit target, Int16* v) - { - Delegates.glMultiTexCoord3svARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Int16*)v); - } - public static void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Double s, Double t, Double r, Double q) { Delegates.glMultiTexCoord4dARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Double)s, (Double)t, (Double)r, (Double)q); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Double* v) + { + Delegates.glMultiTexCoord4dvARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Double*)v); + } + public static void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Double[] v) { @@ -21572,19 +21599,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Double* v) - { - Delegates.glMultiTexCoord4dvARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Double*)v); - } - public static void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Single s, Single t, Single r, Single q) { Delegates.glMultiTexCoord4fARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Single)s, (Single)t, (Single)r, (Single)q); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Single* v) + { + Delegates.glMultiTexCoord4fvARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Single*)v); + } + public static void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Single[] v) { @@ -21609,19 +21636,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Single* v) - { - Delegates.glMultiTexCoord4fvARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Single*)v); - } - public static void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q) { Delegates.glMultiTexCoord4iARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r, (Int32)q); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Int32* v) + { + Delegates.glMultiTexCoord4ivARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Int32*)v); + } + public static void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Int32[] v) { @@ -21646,19 +21673,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Int32* v) - { - Delegates.glMultiTexCoord4ivARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Int32*)v); - } - public static void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q) { Delegates.glMultiTexCoord4sARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r, (Int16)q); } + [System.CLSCompliant(false)] + public static + unsafe void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Int16* v) + { + Delegates.glMultiTexCoord4svARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Int16*)v); + } + public static void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Int16[] v) { @@ -21685,9 +21712,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void MultiTexCoord4(OpenTK.OpenGL.Enums.TextureUnit target, Int16* v) + unsafe void LoadTransposeMatrix(Single* m) { - Delegates.glMultiTexCoord4svARB((OpenTK.OpenGL.Enums.TextureUnit)target, (Int16*)v); + Delegates.glLoadTransposeMatrixfARB((Single*)m); } public static @@ -21716,9 +21743,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void LoadTransposeMatrix(Single* m) + unsafe void LoadTransposeMatrix(Double* m) { - Delegates.glLoadTransposeMatrixfARB((Single*)m); + Delegates.glLoadTransposeMatrixdARB((Double*)m); } public static @@ -21747,9 +21774,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void LoadTransposeMatrix(Double* m) + unsafe void MultTransposeMatrix(Single* m) { - Delegates.glLoadTransposeMatrixdARB((Double*)m); + Delegates.glMultTransposeMatrixfARB((Single*)m); } public static @@ -21778,9 +21805,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void MultTransposeMatrix(Single* m) + unsafe void MultTransposeMatrix(Double* m) { - Delegates.glMultTransposeMatrixfARB((Single*)m); + Delegates.glMultTransposeMatrixdARB((Double*)m); } public static @@ -21807,13 +21834,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MultTransposeMatrix(Double* m) - { - Delegates.glMultTransposeMatrixdARB((Double*)m); - } - public static void SampleCoverage(Single value, bool invert) { @@ -22008,6 +22028,13 @@ namespace OpenTK.OpenGL Delegates.glPointParameterfARB((OpenTK.OpenGL.Enums.All)pname, (Single)param); } + [System.CLSCompliant(false)] + public static + unsafe void PointParameterv(OpenTK.OpenGL.Enums.All pname, Single* @params) + { + Delegates.glPointParameterfvARB((OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + } + public static void PointParameterv(OpenTK.OpenGL.Enums.All pname, Single[] @params) { @@ -22034,9 +22061,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void PointParameterv(OpenTK.OpenGL.Enums.All pname, Single* @params) + unsafe void Weight(Int32 size, SByte* weights) { - Delegates.glPointParameterfvARB((OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glWeightbvARB((Int32)size, (SByte*)weights); } [System.CLSCompliant(false)] @@ -22067,9 +22094,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Weight(Int32 size, SByte* weights) + unsafe void Weight(Int32 size, Single* weights) { - Delegates.glWeightbvARB((Int32)size, (SByte*)weights); + Delegates.glWeightfvARB((Int32)size, (Single*)weights); } public static @@ -22098,9 +22125,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Weight(Int32 size, Single* weights) + unsafe void Weight(Int32 size, Double* weights) { - Delegates.glWeightfvARB((Int32)size, (Single*)weights); + Delegates.glWeightdvARB((Int32)size, (Double*)weights); } public static @@ -22129,9 +22156,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Weight(Int32 size, Double* weights) + unsafe void Weight(Int32 size, Byte* weights) { - Delegates.glWeightdvARB((Int32)size, (Double*)weights); + Delegates.glWeightubvARB((Int32)size, (Byte*)weights); } public static @@ -22160,9 +22187,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Weight(Int32 size, Byte* weights) + unsafe void Weight(Int32 size, UInt16* weights) { - Delegates.glWeightubvARB((Int32)size, (Byte*)weights); + Delegates.glWeightusvARB((Int32)size, (UInt16*)weights); + } + + [System.CLSCompliant(false)] + public static + unsafe void Weight(Int32 size, Int16* weights) + { + Delegates.glWeightusvARB((Int32)size, (UInt16*)weights); } [System.CLSCompliant(false)] @@ -22217,16 +22251,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Weight(Int32 size, UInt16* weights) + unsafe void Weight(Int32 size, UInt32* weights) { - Delegates.glWeightusvARB((Int32)size, (UInt16*)weights); + Delegates.glWeightuivARB((Int32)size, (UInt32*)weights); } [System.CLSCompliant(false)] public static - unsafe void Weight(Int32 size, Int16* weights) + unsafe void Weight(Int32 size, Int32* weights) { - Delegates.glWeightusvARB((Int32)size, (UInt16*)weights); + Delegates.glWeightuivARB((Int32)size, (UInt32*)weights); } [System.CLSCompliant(false)] @@ -22279,20 +22313,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Weight(Int32 size, UInt32* weights) - { - Delegates.glWeightuivARB((Int32)size, (UInt32*)weights); - } - - [System.CLSCompliant(false)] - public static - unsafe void Weight(Int32 size, Int32* weights) - { - Delegates.glWeightuivARB((Int32)size, (UInt32*)weights); - } - public static void WeightPointer(Int32 size, OpenTK.OpenGL.Enums.All type, Int32 stride, IntPtr pointer) { @@ -22331,6 +22351,13 @@ namespace OpenTK.OpenGL Delegates.glCurrentPaletteMatrixARB((Int32)index); } + [System.CLSCompliant(false)] + public static + unsafe void MatrixIndex(Int32 size, Byte* indices) + { + Delegates.glMatrixIndexubvARB((Int32)size, (Byte*)indices); + } + public static void MatrixIndex(Int32 size, Byte[] indices) { @@ -22357,9 +22384,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void MatrixIndex(Int32 size, Byte* indices) + unsafe void MatrixIndex(Int32 size, UInt16* indices) { - Delegates.glMatrixIndexubvARB((Int32)size, (Byte*)indices); + Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices); + } + + [System.CLSCompliant(false)] + public static + unsafe void MatrixIndex(Int32 size, Int16* indices) + { + Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices); } [System.CLSCompliant(false)] @@ -22414,16 +22448,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void MatrixIndex(Int32 size, UInt16* indices) + unsafe void MatrixIndex(Int32 size, UInt32* indices) { - Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices); + Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices); } [System.CLSCompliant(false)] public static - unsafe void MatrixIndex(Int32 size, Int16* indices) + unsafe void MatrixIndex(Int32 size, Int32* indices) { - Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices); + Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices); } [System.CLSCompliant(false)] @@ -22476,20 +22510,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void MatrixIndex(Int32 size, UInt32* indices) - { - Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices); - } - - [System.CLSCompliant(false)] - public static - unsafe void MatrixIndex(Int32 size, Int32* indices) - { - Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices); - } - public static void MatrixIndexPointer(Int32 size, OpenTK.OpenGL.Enums.All type, Int32 stride, IntPtr pointer) { @@ -22522,6 +22542,13 @@ namespace OpenTK.OpenGL Delegates.glWindowPos2dARB((Double)x, (Double)y); } + [System.CLSCompliant(false)] + public static + unsafe void WindowPos2(Double* v) + { + Delegates.glWindowPos2dvARB((Double*)v); + } + public static void WindowPos2(Double[] v) { @@ -22546,19 +22573,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void WindowPos2(Double* v) - { - Delegates.glWindowPos2dvARB((Double*)v); - } - public static void WindowPos2(Single x, Single y) { Delegates.glWindowPos2fARB((Single)x, (Single)y); } + [System.CLSCompliant(false)] + public static + unsafe void WindowPos2(Single* v) + { + Delegates.glWindowPos2fvARB((Single*)v); + } + public static void WindowPos2(Single[] v) { @@ -22583,19 +22610,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void WindowPos2(Single* v) - { - Delegates.glWindowPos2fvARB((Single*)v); - } - public static void WindowPos2(Int32 x, Int32 y) { Delegates.glWindowPos2iARB((Int32)x, (Int32)y); } + [System.CLSCompliant(false)] + public static + unsafe void WindowPos2(Int32* v) + { + Delegates.glWindowPos2ivARB((Int32*)v); + } + public static void WindowPos2(Int32[] v) { @@ -22620,19 +22647,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void WindowPos2(Int32* v) - { - Delegates.glWindowPos2ivARB((Int32*)v); - } - public static void WindowPos2(Int16 x, Int16 y) { Delegates.glWindowPos2sARB((Int16)x, (Int16)y); } + [System.CLSCompliant(false)] + public static + unsafe void WindowPos2(Int16* v) + { + Delegates.glWindowPos2svARB((Int16*)v); + } + public static void WindowPos2(Int16[] v) { @@ -22657,19 +22684,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void WindowPos2(Int16* v) - { - Delegates.glWindowPos2svARB((Int16*)v); - } - public static void WindowPos3(Double x, Double y, Double z) { Delegates.glWindowPos3dARB((Double)x, (Double)y, (Double)z); } + [System.CLSCompliant(false)] + public static + unsafe void WindowPos3(Double* v) + { + Delegates.glWindowPos3dvARB((Double*)v); + } + public static void WindowPos3(Double[] v) { @@ -22694,19 +22721,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void WindowPos3(Double* v) - { - Delegates.glWindowPos3dvARB((Double*)v); - } - public static void WindowPos3(Single x, Single y, Single z) { Delegates.glWindowPos3fARB((Single)x, (Single)y, (Single)z); } + [System.CLSCompliant(false)] + public static + unsafe void WindowPos3(Single* v) + { + Delegates.glWindowPos3fvARB((Single*)v); + } + public static void WindowPos3(Single[] v) { @@ -22731,19 +22758,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void WindowPos3(Single* v) - { - Delegates.glWindowPos3fvARB((Single*)v); - } - public static void WindowPos3(Int32 x, Int32 y, Int32 z) { Delegates.glWindowPos3iARB((Int32)x, (Int32)y, (Int32)z); } + [System.CLSCompliant(false)] + public static + unsafe void WindowPos3(Int32* v) + { + Delegates.glWindowPos3ivARB((Int32*)v); + } + public static void WindowPos3(Int32[] v) { @@ -22768,19 +22795,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void WindowPos3(Int32* v) - { - Delegates.glWindowPos3ivARB((Int32*)v); - } - public static void WindowPos3(Int16 x, Int16 y, Int16 z) { Delegates.glWindowPos3sARB((Int16)x, (Int16)y, (Int16)z); } + [System.CLSCompliant(false)] + public static + unsafe void WindowPos3(Int16* v) + { + Delegates.glWindowPos3svARB((Int16*)v); + } + public static void WindowPos3(Int16[] v) { @@ -22805,13 +22832,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void WindowPos3(Int16* v) - { - Delegates.glWindowPos3svARB((Int16*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib1(UInt32 index, Double x) @@ -22825,6 +22845,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib1dARB((UInt32)index, (Double)x); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib1v(UInt32 index, Double* v) + { + Delegates.glVertexAttrib1dvARB((UInt32)index, (Double*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib1v(Int32 index, Double* v) + { + Delegates.glVertexAttrib1dvARB((UInt32)index, (Double*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib1v(UInt32 index, Double[] v) @@ -22875,20 +22909,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib1v(UInt32 index, Double* v) - { - Delegates.glVertexAttrib1dvARB((UInt32)index, (Double*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib1v(Int32 index, Double* v) - { - Delegates.glVertexAttrib1dvARB((UInt32)index, (Double*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib1(UInt32 index, Single x) @@ -22902,6 +22922,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib1fARB((UInt32)index, (Single)x); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib1v(UInt32 index, Single* v) + { + Delegates.glVertexAttrib1fvARB((UInt32)index, (Single*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib1v(Int32 index, Single* v) + { + Delegates.glVertexAttrib1fvARB((UInt32)index, (Single*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib1v(UInt32 index, Single[] v) @@ -22952,20 +22986,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib1v(UInt32 index, Single* v) - { - Delegates.glVertexAttrib1fvARB((UInt32)index, (Single*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib1v(Int32 index, Single* v) - { - Delegates.glVertexAttrib1fvARB((UInt32)index, (Single*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib1(UInt32 index, Int16 x) @@ -22979,6 +22999,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib1sARB((UInt32)index, (Int16)x); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib1v(UInt32 index, Int16* v) + { + Delegates.glVertexAttrib1svARB((UInt32)index, (Int16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib1v(Int32 index, Int16* v) + { + Delegates.glVertexAttrib1svARB((UInt32)index, (Int16*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib1v(UInt32 index, Int16[] v) @@ -23029,20 +23063,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib1v(UInt32 index, Int16* v) - { - Delegates.glVertexAttrib1svARB((UInt32)index, (Int16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib1v(Int32 index, Int16* v) - { - Delegates.glVertexAttrib1svARB((UInt32)index, (Int16*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib2(UInt32 index, Double x, Double y) @@ -23056,6 +23076,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib2dARB((UInt32)index, (Double)x, (Double)y); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib2(UInt32 index, Double* v) + { + Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib2(Int32 index, Double* v) + { + Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib2(UInt32 index, Double[] v) @@ -23106,20 +23140,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib2(UInt32 index, Double* v) - { - Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib2(Int32 index, Double* v) - { - Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib2(UInt32 index, Single x, Single y) @@ -23133,6 +23153,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib2fARB((UInt32)index, (Single)x, (Single)y); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib2(UInt32 index, Single* v) + { + Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib2(Int32 index, Single* v) + { + Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib2(UInt32 index, Single[] v) @@ -23183,20 +23217,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib2(UInt32 index, Single* v) - { - Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib2(Int32 index, Single* v) - { - Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib2(UInt32 index, Int16 x, Int16 y) @@ -23210,6 +23230,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib2sARB((UInt32)index, (Int16)x, (Int16)y); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib2(UInt32 index, Int16* v) + { + Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib2(Int32 index, Int16* v) + { + Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib2(UInt32 index, Int16[] v) @@ -23260,20 +23294,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib2(UInt32 index, Int16* v) - { - Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib2(Int32 index, Int16* v) - { - Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib3(UInt32 index, Double x, Double y, Double z) @@ -23287,6 +23307,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib3dARB((UInt32)index, (Double)x, (Double)y, (Double)z); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib3(UInt32 index, Double* v) + { + Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib3(Int32 index, Double* v) + { + Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib3(UInt32 index, Double[] v) @@ -23337,20 +23371,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib3(UInt32 index, Double* v) - { - Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib3(Int32 index, Double* v) - { - Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib3(UInt32 index, Single x, Single y, Single z) @@ -23364,6 +23384,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib3fARB((UInt32)index, (Single)x, (Single)y, (Single)z); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib3(UInt32 index, Single* v) + { + Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib3(Int32 index, Single* v) + { + Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib3(UInt32 index, Single[] v) @@ -23414,20 +23448,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib3(UInt32 index, Single* v) - { - Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib3(Int32 index, Single* v) - { - Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib3(UInt32 index, Int16 x, Int16 y, Int16 z) @@ -23441,6 +23461,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib3sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib3(UInt32 index, Int16* v) + { + Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib3(Int32 index, Int16* v) + { + Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib3(UInt32 index, Int16[] v) @@ -23493,16 +23527,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib3(UInt32 index, Int16* v) + unsafe void VertexAttrib4N(UInt32 index, SByte* v) { - Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib3(Int32 index, Int16* v) - { - Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v); + Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v); } [System.CLSCompliant(false)] @@ -23533,9 +23560,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4N(UInt32 index, SByte* v) + unsafe void VertexAttrib4N(UInt32 index, Int32* v) { - Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v); + Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v); } [System.CLSCompliant(false)] @@ -23566,9 +23593,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4N(UInt32 index, Int32* v) + unsafe void VertexAttrib4N(UInt32 index, Int16* v) { - Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v); + Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v); } [System.CLSCompliant(false)] @@ -23597,13 +23624,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib4N(UInt32 index, Int16* v) - { - Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib4N(UInt32 index, Byte x, Byte y, Byte z, Byte w) @@ -23617,6 +23637,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib4NubARB((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib4N(UInt32 index, Byte* v) + { + Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib4N(Int32 index, Byte* v) + { + Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib4N(UInt32 index, Byte[] v) @@ -23669,16 +23703,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4N(UInt32 index, Byte* v) + unsafe void VertexAttrib4N(UInt32 index, UInt32* v) { - Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v); + Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v); } [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4N(Int32 index, Byte* v) + unsafe void VertexAttrib4N(Int32 index, Int32* v) { - Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v); + Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v); } [System.CLSCompliant(false)] @@ -23733,16 +23767,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4N(UInt32 index, UInt32* v) + unsafe void VertexAttrib4N(UInt32 index, UInt16* v) { - Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v); + Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v); } [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4N(Int32 index, Int32* v) + unsafe void VertexAttrib4N(Int32 index, Int16* v) { - Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v); + Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v); } [System.CLSCompliant(false)] @@ -23797,16 +23831,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4N(UInt32 index, UInt16* v) + unsafe void VertexAttrib4(UInt32 index, SByte* v) { - Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib4N(Int32 index, Int16* v) - { - Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v); + Delegates.glVertexAttrib4bvARB((UInt32)index, (SByte*)v); } [System.CLSCompliant(false)] @@ -23835,13 +23862,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib4(UInt32 index, SByte* v) - { - Delegates.glVertexAttrib4bvARB((UInt32)index, (SByte*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib4(UInt32 index, Double x, Double y, Double z, Double w) @@ -23855,6 +23875,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib4dARB((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib4(UInt32 index, Double* v) + { + Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib4(Int32 index, Double* v) + { + Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib4(UInt32 index, Double[] v) @@ -23905,20 +23939,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib4(UInt32 index, Double* v) - { - Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib4(Int32 index, Double* v) - { - Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib4(UInt32 index, Single x, Single y, Single z, Single w) @@ -23932,6 +23952,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib4fARB((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib4(UInt32 index, Single* v) + { + Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib4(Int32 index, Single* v) + { + Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib4(UInt32 index, Single[] v) @@ -23984,16 +24018,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4(UInt32 index, Single* v) + unsafe void VertexAttrib4(UInt32 index, Int32* v) { - Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib4(Int32 index, Single* v) - { - Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v); + Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v); } [System.CLSCompliant(false)] @@ -24022,13 +24049,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib4(UInt32 index, Int32* v) - { - Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v); - } - [System.CLSCompliant(false)] public static void VertexAttrib4(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w) @@ -24042,6 +24062,13 @@ namespace OpenTK.OpenGL Delegates.glVertexAttrib4sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib4(UInt32 index, Int16* v) + { + Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v); + } + [System.CLSCompliant(false)] public static void VertexAttrib4(UInt32 index, Int16[] v) @@ -24070,9 +24097,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4(UInt32 index, Int16* v) + unsafe void VertexAttrib4(UInt32 index, Byte* v) { - Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v); + Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttrib4(Int32 index, Byte* v) + { + Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v); } [System.CLSCompliant(false)] @@ -24127,16 +24161,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4(UInt32 index, Byte* v) + unsafe void VertexAttrib4(UInt32 index, UInt32* v) { - Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v); + Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v); } [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4(Int32 index, Byte* v) + unsafe void VertexAttrib4(Int32 index, Int32* v) { - Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v); + Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v); } [System.CLSCompliant(false)] @@ -24191,16 +24225,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4(UInt32 index, UInt32* v) + unsafe void VertexAttrib4(UInt32 index, UInt16* v) { - Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v); + Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v); } [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4(Int32 index, Int32* v) + unsafe void VertexAttrib4(Int32 index, Int16* v) { - Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v); + Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v); } [System.CLSCompliant(false)] @@ -24253,20 +24287,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib4(UInt32 index, UInt16* v) - { - Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttrib4(Int32 index, Int16* v) - { - Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v); - } - [System.CLSCompliant(false)] public static void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.OpenGL.Enums.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer) @@ -24386,6 +24406,20 @@ namespace OpenTK.OpenGL Delegates.glBindProgramARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)program); } + [System.CLSCompliant(false)] + public static + unsafe void DeleteProgram(Int32 n, UInt32* programs) + { + Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs); + } + + [System.CLSCompliant(false)] + public static + unsafe void DeleteProgram(Int32 n, Int32* programs) + { + Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs); + } + [System.CLSCompliant(false)] public static void DeleteProgram(Int32 n, UInt32[] programs) @@ -24438,16 +24472,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void DeleteProgram(Int32 n, UInt32* programs) + unsafe void GenProgram(Int32 n, [Out] UInt32* programs) { - Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs); + Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs); } [System.CLSCompliant(false)] public static - unsafe void DeleteProgram(Int32 n, Int32* programs) + unsafe void GenProgram(Int32 n, [Out] Int32* programs) { - Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs); + Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs); } [System.CLSCompliant(false)] @@ -24502,20 +24536,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GenProgram(Int32 n, [Out] UInt32* programs) - { - Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs); - } - - [System.CLSCompliant(false)] - public static - unsafe void GenProgram(Int32 n, [Out] Int32* programs) - { - Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs); - } - [System.CLSCompliant(false)] public static void ProgramEnvParameter4(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w) @@ -24529,6 +24549,20 @@ namespace OpenTK.OpenGL Delegates.glProgramEnvParameter4dARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); } + [System.CLSCompliant(false)] + public static + unsafe void ProgramEnvParameter4(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, UInt32 index, Double* @params) + { + Delegates.glProgramEnvParameter4dvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); + } + + [System.CLSCompliant(false)] + public static + unsafe void ProgramEnvParameter4(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, Int32 index, Double* @params) + { + Delegates.glProgramEnvParameter4dvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); + } + [System.CLSCompliant(false)] public static void ProgramEnvParameter4(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, UInt32 index, Double[] @params) @@ -24579,20 +24613,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void ProgramEnvParameter4(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, UInt32 index, Double* @params) - { - Delegates.glProgramEnvParameter4dvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); - } - - [System.CLSCompliant(false)] - public static - unsafe void ProgramEnvParameter4(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, Int32 index, Double* @params) - { - Delegates.glProgramEnvParameter4dvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); - } - [System.CLSCompliant(false)] public static void ProgramEnvParameter4(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w) @@ -24606,6 +24626,20 @@ namespace OpenTK.OpenGL Delegates.glProgramEnvParameter4fARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); } + [System.CLSCompliant(false)] + public static + unsafe void ProgramEnvParameter4(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, UInt32 index, Single* @params) + { + Delegates.glProgramEnvParameter4fvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); + } + + [System.CLSCompliant(false)] + public static + unsafe void ProgramEnvParameter4(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, Int32 index, Single* @params) + { + Delegates.glProgramEnvParameter4fvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); + } + [System.CLSCompliant(false)] public static void ProgramEnvParameter4(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, UInt32 index, Single[] @params) @@ -24656,20 +24690,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void ProgramEnvParameter4(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, UInt32 index, Single* @params) - { - Delegates.glProgramEnvParameter4fvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); - } - - [System.CLSCompliant(false)] - public static - unsafe void ProgramEnvParameter4(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, Int32 index, Single* @params) - { - Delegates.glProgramEnvParameter4fvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); - } - [System.CLSCompliant(false)] public static void ProgramLocalParameter4(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w) @@ -24683,6 +24703,20 @@ namespace OpenTK.OpenGL Delegates.glProgramLocalParameter4dARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); } + [System.CLSCompliant(false)] + public static + unsafe void ProgramLocalParameter4(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, UInt32 index, Double* @params) + { + Delegates.glProgramLocalParameter4dvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); + } + + [System.CLSCompliant(false)] + public static + unsafe void ProgramLocalParameter4(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, Int32 index, Double* @params) + { + Delegates.glProgramLocalParameter4dvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); + } + [System.CLSCompliant(false)] public static void ProgramLocalParameter4(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, UInt32 index, Double[] @params) @@ -24733,20 +24767,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void ProgramLocalParameter4(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, UInt32 index, Double* @params) - { - Delegates.glProgramLocalParameter4dvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); - } - - [System.CLSCompliant(false)] - public static - unsafe void ProgramLocalParameter4(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, Int32 index, Double* @params) - { - Delegates.glProgramLocalParameter4dvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); - } - [System.CLSCompliant(false)] public static void ProgramLocalParameter4(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w) @@ -24760,6 +24780,20 @@ namespace OpenTK.OpenGL Delegates.glProgramLocalParameter4fARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); } + [System.CLSCompliant(false)] + public static + unsafe void ProgramLocalParameter4(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, UInt32 index, Single* @params) + { + Delegates.glProgramLocalParameter4fvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); + } + + [System.CLSCompliant(false)] + public static + unsafe void ProgramLocalParameter4(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, Int32 index, Single* @params) + { + Delegates.glProgramLocalParameter4fvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); + } + [System.CLSCompliant(false)] public static void ProgramLocalParameter4(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, UInt32 index, Single[] @params) @@ -24812,16 +24846,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ProgramLocalParameter4(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, UInt32 index, Single* @params) + unsafe void GetProgramEnvParameter(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, UInt32 index, [Out] Double* @params) { - Delegates.glProgramLocalParameter4fvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); + Delegates.glGetProgramEnvParameterdvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); } [System.CLSCompliant(false)] public static - unsafe void ProgramLocalParameter4(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, Int32 index, Single* @params) + unsafe void GetProgramEnvParameter(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, Int32 index, [Out] Double* @params) { - Delegates.glProgramLocalParameter4fvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); + Delegates.glGetProgramEnvParameterdvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); } [System.CLSCompliant(false)] @@ -24878,16 +24912,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetProgramEnvParameter(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, UInt32 index, [Out] Double* @params) + unsafe void GetProgramEnvParameter(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, UInt32 index, [Out] Single* @params) { - Delegates.glGetProgramEnvParameterdvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); + Delegates.glGetProgramEnvParameterfvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); } [System.CLSCompliant(false)] public static - unsafe void GetProgramEnvParameter(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, Int32 index, [Out] Double* @params) + unsafe void GetProgramEnvParameter(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, Int32 index, [Out] Single* @params) { - Delegates.glGetProgramEnvParameterdvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); + Delegates.glGetProgramEnvParameterfvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); } [System.CLSCompliant(false)] @@ -24944,16 +24978,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetProgramEnvParameter(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, UInt32 index, [Out] Single* @params) + unsafe void GetProgramLocalParameter(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, UInt32 index, [Out] Double* @params) { - Delegates.glGetProgramEnvParameterfvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); + Delegates.glGetProgramLocalParameterdvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); } [System.CLSCompliant(false)] public static - unsafe void GetProgramEnvParameter(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, Int32 index, [Out] Single* @params) + unsafe void GetProgramLocalParameter(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, Int32 index, [Out] Double* @params) { - Delegates.glGetProgramEnvParameterfvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); + Delegates.glGetProgramLocalParameterdvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); } [System.CLSCompliant(false)] @@ -25010,16 +25044,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetProgramLocalParameter(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, UInt32 index, [Out] Double* @params) + unsafe void GetProgramLocalParameter(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, UInt32 index, [Out] Single* @params) { - Delegates.glGetProgramLocalParameterdvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); + Delegates.glGetProgramLocalParameterfvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); } [System.CLSCompliant(false)] public static - unsafe void GetProgramLocalParameter(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, Int32 index, [Out] Double* @params) + unsafe void GetProgramLocalParameter(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, Int32 index, [Out] Single* @params) { - Delegates.glGetProgramLocalParameterdvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); + Delegates.glGetProgramLocalParameterfvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); } [System.CLSCompliant(false)] @@ -25076,16 +25110,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetProgramLocalParameter(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, UInt32 index, [Out] Single* @params) + unsafe void GetProgram(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, OpenTK.OpenGL.Enums.AssemblyProgramParameterArb pname, [Out] Int32* @params) { - Delegates.glGetProgramLocalParameterfvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); - } - - [System.CLSCompliant(false)] - public static - unsafe void GetProgramLocalParameter(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, Int32 index, [Out] Single* @params) - { - Delegates.glGetProgramLocalParameterfvARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); + Delegates.glGetProgramivARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (OpenTK.OpenGL.Enums.AssemblyProgramParameterArb)pname, (Int32*)@params); } public static @@ -25113,13 +25140,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetProgram(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, OpenTK.OpenGL.Enums.AssemblyProgramParameterArb pname, [Out] Int32* @params) - { - Delegates.glGetProgramivARB((OpenTK.OpenGL.Enums.AssemblyProgramTargetArb)target, (OpenTK.OpenGL.Enums.AssemblyProgramParameterArb)pname, (Int32*)@params); - } - public static void GetProgramString(OpenTK.OpenGL.Enums.AssemblyProgramTargetArb target, OpenTK.OpenGL.Enums.AssemblyProgramStringParameterArb pname, [Out] IntPtr @string) { @@ -25146,6 +25166,20 @@ namespace OpenTK.OpenGL } } + [System.CLSCompliant(false)] + public static + unsafe void GetVertexAttrib(UInt32 index, OpenTK.OpenGL.Enums.VertexAttribParameterArb pname, [Out] Double* @params) + { + Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.OpenGL.Enums.VertexAttribParameterArb)pname, (Double*)@params); + } + + [System.CLSCompliant(false)] + public static + unsafe void GetVertexAttrib(Int32 index, OpenTK.OpenGL.Enums.VertexAttribParameterArb pname, [Out] Double* @params) + { + Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.OpenGL.Enums.VertexAttribParameterArb)pname, (Double*)@params); + } + [System.CLSCompliant(false)] public static void GetVertexAttrib(UInt32 index, OpenTK.OpenGL.Enums.VertexAttribParameterArb pname, [Out] Double[] @params) @@ -25200,16 +25234,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.OpenGL.Enums.VertexAttribParameterArb pname, [Out] Double* @params) + unsafe void GetVertexAttrib(UInt32 index, OpenTK.OpenGL.Enums.VertexAttribParameterArb pname, [Out] Single* @params) { - Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.OpenGL.Enums.VertexAttribParameterArb)pname, (Double*)@params); + Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.OpenGL.Enums.VertexAttribParameterArb)pname, (Single*)@params); } [System.CLSCompliant(false)] public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.OpenGL.Enums.VertexAttribParameterArb pname, [Out] Double* @params) + unsafe void GetVertexAttrib(Int32 index, OpenTK.OpenGL.Enums.VertexAttribParameterArb pname, [Out] Single* @params) { - Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.OpenGL.Enums.VertexAttribParameterArb)pname, (Double*)@params); + Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.OpenGL.Enums.VertexAttribParameterArb)pname, (Single*)@params); } [System.CLSCompliant(false)] @@ -25266,16 +25300,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.OpenGL.Enums.VertexAttribParameterArb pname, [Out] Single* @params) + unsafe void GetVertexAttrib(UInt32 index, OpenTK.OpenGL.Enums.VertexAttribParameterArb pname, [Out] Int32* @params) { - Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.OpenGL.Enums.VertexAttribParameterArb)pname, (Single*)@params); + Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.OpenGL.Enums.VertexAttribParameterArb)pname, (Int32*)@params); } [System.CLSCompliant(false)] public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.OpenGL.Enums.VertexAttribParameterArb pname, [Out] Single* @params) + unsafe void GetVertexAttrib(Int32 index, OpenTK.OpenGL.Enums.VertexAttribParameterArb pname, [Out] Int32* @params) { - Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.OpenGL.Enums.VertexAttribParameterArb)pname, (Single*)@params); + Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.OpenGL.Enums.VertexAttribParameterArb)pname, (Int32*)@params); } [System.CLSCompliant(false)] @@ -25330,20 +25364,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.OpenGL.Enums.VertexAttribParameterArb pname, [Out] Int32* @params) - { - Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.OpenGL.Enums.VertexAttribParameterArb)pname, (Int32*)@params); - } - - [System.CLSCompliant(false)] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.OpenGL.Enums.VertexAttribParameterArb pname, [Out] Int32* @params) - { - Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.OpenGL.Enums.VertexAttribParameterArb)pname, (Int32*)@params); - } - [System.CLSCompliant(false)] public static void GetVertexAttribPointer(UInt32 index, OpenTK.OpenGL.Enums.VertexAttribPointerParameterArb pname, [Out] IntPtr pointer) @@ -25424,6 +25444,20 @@ namespace OpenTK.OpenGL Delegates.glBindBufferARB((OpenTK.OpenGL.Enums.BufferTargetArb)target, (UInt32)buffer); } + [System.CLSCompliant(false)] + public static + unsafe void DeleteBuffers(Int32 n, UInt32* buffers) + { + Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers); + } + + [System.CLSCompliant(false)] + public static + unsafe void DeleteBuffers(Int32 n, Int32* buffers) + { + Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers); + } + [System.CLSCompliant(false)] public static void DeleteBuffers(Int32 n, UInt32[] buffers) @@ -25476,16 +25510,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void DeleteBuffers(Int32 n, UInt32* buffers) + unsafe void GenBuffers(Int32 n, [Out] UInt32* buffers) { - Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers); + Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers); } [System.CLSCompliant(false)] public static - unsafe void DeleteBuffers(Int32 n, Int32* buffers) + unsafe void GenBuffers(Int32 n, [Out] Int32* buffers) { - Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers); + Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers); } [System.CLSCompliant(false)] @@ -25540,20 +25574,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GenBuffers(Int32 n, [Out] UInt32* buffers) - { - Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers); - } - - [System.CLSCompliant(false)] - public static - unsafe void GenBuffers(Int32 n, [Out] Int32* buffers) - { - Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers); - } - [System.CLSCompliant(false)] public static bool IsBuffer(UInt32 buffer) @@ -25658,6 +25678,13 @@ namespace OpenTK.OpenGL return Delegates.glUnmapBufferARB((OpenTK.OpenGL.Enums.BufferTargetArb)target); } + [System.CLSCompliant(false)] + public static + unsafe void GetBufferParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.BufferParameterNameArb pname, [Out] Int32* @params) + { + Delegates.glGetBufferParameterivARB((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.BufferParameterNameArb)pname, (Int32*)@params); + } + public static void GetBufferParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.BufferParameterNameArb pname, [Out] Int32[] @params) { @@ -25683,13 +25710,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetBufferParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.BufferParameterNameArb pname, [Out] Int32* @params) - { - Delegates.glGetBufferParameterivARB((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.BufferParameterNameArb)pname, (Int32*)@params); - } - public static void GetBufferPointer(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.BufferPointerNameArb pname, [Out] IntPtr @params) { @@ -25716,6 +25736,20 @@ namespace OpenTK.OpenGL } } + [System.CLSCompliant(false)] + public static + unsafe void GenQueries(Int32 n, [Out] UInt32* ids) + { + Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids); + } + + [System.CLSCompliant(false)] + public static + unsafe void GenQueries(Int32 n, [Out] Int32* ids) + { + Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids); + } + [System.CLSCompliant(false)] public static void GenQueries(Int32 n, [Out] UInt32[] ids) @@ -25770,16 +25804,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GenQueries(Int32 n, [Out] UInt32* ids) + unsafe void DeleteQueries(Int32 n, UInt32* ids) { - Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids); + Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids); } [System.CLSCompliant(false)] public static - unsafe void GenQueries(Int32 n, [Out] Int32* ids) + unsafe void DeleteQueries(Int32 n, Int32* ids) { - Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids); + Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids); } [System.CLSCompliant(false)] @@ -25832,20 +25866,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void DeleteQueries(Int32 n, UInt32* ids) - { - Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids); - } - - [System.CLSCompliant(false)] - public static - unsafe void DeleteQueries(Int32 n, Int32* ids) - { - Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids); - } - [System.CLSCompliant(false)] public static bool IsQuery(UInt32 id) @@ -25878,6 +25898,13 @@ namespace OpenTK.OpenGL Delegates.glEndQueryARB((OpenTK.OpenGL.Enums.All)target); } + [System.CLSCompliant(false)] + public static + unsafe void GetQuery(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + { + Delegates.glGetQueryivARB((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + } + public static void GetQuery(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Int32[] @params) { @@ -25905,9 +25932,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetQuery(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + unsafe void GetQueryObject(UInt32 id, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) { - Delegates.glGetQueryivARB((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } [System.CLSCompliant(false)] @@ -25939,9 +25966,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetQueryObject(UInt32 id, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + unsafe void GetQueryObject(UInt32 id, OpenTK.OpenGL.Enums.All pname, [Out] UInt32* @params) { - Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (UInt32*)@params); + } + + [System.CLSCompliant(false)] + public static + unsafe void GetQueryObject(Int32 id, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + { + Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (UInt32*)@params); } [System.CLSCompliant(false)] @@ -25996,20 +26030,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.OpenGL.Enums.All pname, [Out] UInt32* @params) - { - Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (UInt32*)@params); - } - - [System.CLSCompliant(false)] - public static - unsafe void GetQueryObject(Int32 id, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) - { - Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (UInt32*)@params); - } - [System.CLSCompliant(false)] public static void DeleteObject(UInt32 obj) @@ -26048,6 +26068,20 @@ namespace OpenTK.OpenGL return Delegates.glCreateShaderObjectARB((OpenTK.OpenGL.Enums.All)shaderType); } + [System.CLSCompliant(false)] + public static + unsafe void ShaderSource(UInt32 shaderObj, Int32 count, System.String[] @string, Int32* length) + { + Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (System.String[])@string, (Int32*)length); + } + + [System.CLSCompliant(false)] + public static + unsafe void ShaderSource(Int32 shaderObj, Int32 count, System.String[] @string, Int32* length) + { + Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (System.String[])@string, (Int32*)length); + } + [System.CLSCompliant(false)] public static void ShaderSource(UInt32 shaderObj, Int32 count, System.String[] @string, Int32[] length) @@ -26098,20 +26132,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void ShaderSource(UInt32 shaderObj, Int32 count, System.String[] @string, Int32* length) - { - Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (System.String[])@string, (Int32*)length); - } - - [System.CLSCompliant(false)] - public static - unsafe void ShaderSource(Int32 shaderObj, Int32 count, System.String[] @string, Int32* length) - { - Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (System.String[])@string, (Int32*)length); - } - [System.CLSCompliant(false)] public static void CompileShader(UInt32 shaderObj) @@ -26231,6 +26251,13 @@ namespace OpenTK.OpenGL Delegates.glUniform4iARB((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); } + [System.CLSCompliant(false)] + public static + unsafe void Uniform1(Int32 location, Int32 count, Single* value) + { + Delegates.glUniform1fvARB((Int32)location, (Int32)count, (Single*)value); + } + public static void Uniform1(Int32 location, Int32 count, Single[] value) { @@ -26257,9 +26284,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Uniform1(Int32 location, Int32 count, Single* value) + unsafe void Uniform2v(Int32 location, Int32 count, Single* value) { - Delegates.glUniform1fvARB((Int32)location, (Int32)count, (Single*)value); + Delegates.glUniform2fvARB((Int32)location, (Int32)count, (Single*)value); } public static @@ -26288,9 +26315,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Uniform2v(Int32 location, Int32 count, Single* value) + unsafe void Uniform3(Int32 location, Int32 count, Single* value) { - Delegates.glUniform2fvARB((Int32)location, (Int32)count, (Single*)value); + Delegates.glUniform3fvARB((Int32)location, (Int32)count, (Single*)value); } public static @@ -26319,9 +26346,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Uniform3(Int32 location, Int32 count, Single* value) + unsafe void Uniform4(Int32 location, Int32 count, Single* value) { - Delegates.glUniform3fvARB((Int32)location, (Int32)count, (Single*)value); + Delegates.glUniform4fvARB((Int32)location, (Int32)count, (Single*)value); } public static @@ -26350,9 +26377,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Uniform4(Int32 location, Int32 count, Single* value) + unsafe void Uniform1(Int32 location, Int32 count, Int32* value) { - Delegates.glUniform4fvARB((Int32)location, (Int32)count, (Single*)value); + Delegates.glUniform1ivARB((Int32)location, (Int32)count, (Int32*)value); } public static @@ -26381,9 +26408,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Uniform1(Int32 location, Int32 count, Int32* value) + unsafe void Uniform2v(Int32 location, Int32 count, Int32* value) { - Delegates.glUniform1ivARB((Int32)location, (Int32)count, (Int32*)value); + Delegates.glUniform2ivARB((Int32)location, (Int32)count, (Int32*)value); } public static @@ -26412,9 +26439,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Uniform2v(Int32 location, Int32 count, Int32* value) + unsafe void Uniform3(Int32 location, Int32 count, Int32* value) { - Delegates.glUniform2ivARB((Int32)location, (Int32)count, (Int32*)value); + Delegates.glUniform3ivARB((Int32)location, (Int32)count, (Int32*)value); } public static @@ -26443,9 +26470,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Uniform3(Int32 location, Int32 count, Int32* value) + unsafe void Uniform4(Int32 location, Int32 count, Int32* value) { - Delegates.glUniform3ivARB((Int32)location, (Int32)count, (Int32*)value); + Delegates.glUniform4ivARB((Int32)location, (Int32)count, (Int32*)value); } public static @@ -26474,9 +26501,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Uniform4(Int32 location, Int32 count, Int32* value) + unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value) { - Delegates.glUniform4ivARB((Int32)location, (Int32)count, (Int32*)value); + Delegates.glUniformMatrix2fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value); } public static @@ -26505,9 +26532,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value) + unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value) { - Delegates.glUniformMatrix2fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + Delegates.glUniformMatrix3fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value); } public static @@ -26536,9 +26563,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value) + unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value) { - Delegates.glUniformMatrix3fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + Delegates.glUniformMatrix4fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value); } public static @@ -26567,9 +26594,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value) + unsafe void GetObjectParameter(UInt32 obj, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) { - Delegates.glUniformMatrix4fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + } + + [System.CLSCompliant(false)] + public static + unsafe void GetObjectParameter(Int32 obj, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + { + Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); } [System.CLSCompliant(false)] @@ -26626,16 +26660,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetObjectParameter(UInt32 obj, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + unsafe void GetObjectParameter(UInt32 obj, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) { - Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } [System.CLSCompliant(false)] public static - unsafe void GetObjectParameter(Int32 obj, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + unsafe void GetObjectParameter(Int32 obj, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) { - Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } [System.CLSCompliant(false)] @@ -26692,16 +26726,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetObjectParameter(UInt32 obj, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + unsafe void GetInfoLog(UInt32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) { - Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder)infoLog); } [System.CLSCompliant(false)] public static - unsafe void GetObjectParameter(Int32 obj, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + unsafe void GetInfoLog(Int32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) { - Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder)infoLog); } [System.CLSCompliant(false)] @@ -26758,16 +26792,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetInfoLog(UInt32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) + unsafe void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] UInt32* obj) { - Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder)infoLog); + Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj); } [System.CLSCompliant(false)] public static - unsafe void GetInfoLog(Int32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) + unsafe void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] Int32* obj) { - Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder)infoLog); + Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj); } [System.CLSCompliant(false)] @@ -26828,20 +26862,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] UInt32* obj) - { - Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj); - } - - [System.CLSCompliant(false)] - public static - unsafe void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] Int32* obj) - { - Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj); - } - [System.CLSCompliant(false)] public static Int32 GetUniformLocation(UInt32 programObj, System.String name) @@ -26855,6 +26875,20 @@ namespace OpenTK.OpenGL return Delegates.glGetUniformLocationARB((UInt32)programObj, (System.String)name); } + [System.CLSCompliant(false)] + public static + unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.OpenGL.Enums.All* type, [Out] System.Text.StringBuilder name) + { + Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.OpenGL.Enums.All*)type, (System.Text.StringBuilder)name); + } + + [System.CLSCompliant(false)] + public static + unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.OpenGL.Enums.All* type, [Out] System.Text.StringBuilder name) + { + Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.OpenGL.Enums.All*)type, (System.Text.StringBuilder)name); + } + [System.CLSCompliant(false)] public static void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] OpenTK.OpenGL.Enums.All[] type, [Out] System.Text.StringBuilder name) @@ -26921,16 +26955,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.OpenGL.Enums.All* type, [Out] System.Text.StringBuilder name) + unsafe void GetUniform(UInt32 programObj, Int32 location, [Out] Single* @params) { - Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.OpenGL.Enums.All*)type, (System.Text.StringBuilder)name); + Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params); } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.OpenGL.Enums.All* type, [Out] System.Text.StringBuilder name) + unsafe void GetUniform(Int32 programObj, Int32 location, [Out] Single* @params) { - Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.OpenGL.Enums.All*)type, (System.Text.StringBuilder)name); + Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params); } [System.CLSCompliant(false)] @@ -26987,16 +27021,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetUniform(UInt32 programObj, Int32 location, [Out] Single* @params) + unsafe void GetUniform(UInt32 programObj, Int32 location, [Out] Int32* @params) { - Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params); + Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params); } [System.CLSCompliant(false)] public static - unsafe void GetUniform(Int32 programObj, Int32 location, [Out] Single* @params) + unsafe void GetUniform(Int32 programObj, Int32 location, [Out] Int32* @params) { - Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params); + Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params); } [System.CLSCompliant(false)] @@ -27053,16 +27087,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetUniform(UInt32 programObj, Int32 location, [Out] Int32* @params) + unsafe void GetShaderSource(UInt32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder[] source) { - Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params); + Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder[])source); } [System.CLSCompliant(false)] public static - unsafe void GetUniform(Int32 programObj, Int32 location, [Out] Int32* @params) + unsafe void GetShaderSource(Int32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder[] source) { - Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params); + Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder[])source); } [System.CLSCompliant(false)] @@ -27117,20 +27151,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetShaderSource(UInt32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder[] source) - { - Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder[])source); - } - - [System.CLSCompliant(false)] - public static - unsafe void GetShaderSource(Int32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder[] source) - { - Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder[])source); - } - [System.CLSCompliant(false)] public static void BindAttribLocation(UInt32 programObj, UInt32 index, System.String name) @@ -27144,6 +27164,20 @@ namespace OpenTK.OpenGL Delegates.glBindAttribLocationARB((UInt32)programObj, (UInt32)index, (System.String)name); } + [System.CLSCompliant(false)] + public static + unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.OpenGL.Enums.All* type, [Out] System.Text.StringBuilder name) + { + Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.OpenGL.Enums.All*)type, (System.Text.StringBuilder)name); + } + + [System.CLSCompliant(false)] + public static + unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.OpenGL.Enums.All* type, [Out] System.Text.StringBuilder name) + { + Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.OpenGL.Enums.All*)type, (System.Text.StringBuilder)name); + } + [System.CLSCompliant(false)] public static void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] OpenTK.OpenGL.Enums.All[] type, [Out] System.Text.StringBuilder name) @@ -27208,20 +27242,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.OpenGL.Enums.All* type, [Out] System.Text.StringBuilder name) - { - Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.OpenGL.Enums.All*)type, (System.Text.StringBuilder)name); - } - - [System.CLSCompliant(false)] - public static - unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.OpenGL.Enums.All* type, [Out] System.Text.StringBuilder name) - { - Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.OpenGL.Enums.All*)type, (System.Text.StringBuilder)name); - } - [System.CLSCompliant(false)] public static Int32 GetAttribLocation(UInt32 programObj, System.String name) @@ -27235,6 +27255,13 @@ namespace OpenTK.OpenGL return Delegates.glGetAttribLocationARB((UInt32)programObj, (System.String)name); } + [System.CLSCompliant(false)] + public static + unsafe void DrawBuffers(Int32 n, OpenTK.OpenGL.Enums.All* bufs) + { + Delegates.glDrawBuffersARB((Int32)n, (OpenTK.OpenGL.Enums.All*)bufs); + } + public static void DrawBuffers(Int32 n, OpenTK.OpenGL.Enums.All[] bufs) { @@ -27259,13 +27286,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void DrawBuffers(Int32 n, OpenTK.OpenGL.Enums.All* bufs) - { - Delegates.glDrawBuffersARB((Int32)n, (OpenTK.OpenGL.Enums.All*)bufs); - } - public static void ClampColor(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All clamp) { @@ -27442,6 +27462,13 @@ namespace OpenTK.OpenGL } } + [System.CLSCompliant(false)] + public static + unsafe void GetHistogramParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + { + Delegates.glGetHistogramParameterfvEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + } + public static void GetHistogramParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Single[] @params) { @@ -27469,9 +27496,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetHistogramParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + unsafe void GetHistogramParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) { - Delegates.glGetHistogramParameterfvEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glGetHistogramParameterivEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } public static @@ -27499,13 +27526,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetHistogramParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) - { - Delegates.glGetHistogramParameterivEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); - } - public static void GetMinmax(OpenTK.OpenGL.Enums.All target, bool reset, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, [Out] IntPtr values) { @@ -27532,6 +27552,13 @@ namespace OpenTK.OpenGL } } + [System.CLSCompliant(false)] + public static + unsafe void GetMinmaxParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + { + Delegates.glGetMinmaxParameterfvEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + } + public static void GetMinmaxParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Single[] @params) { @@ -27559,9 +27586,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetMinmaxParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + unsafe void GetMinmaxParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) { - Delegates.glGetMinmaxParameterfvEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glGetMinmaxParameterivEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } public static @@ -27589,13 +27616,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetMinmaxParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) - { - Delegates.glGetMinmaxParameterivEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); - } - public static void Histogram(OpenTK.OpenGL.Enums.All target, Int32 width, OpenTK.OpenGL.Enums.PixelInternalFormat internalformat, bool sink) { @@ -27678,6 +27698,13 @@ namespace OpenTK.OpenGL Delegates.glConvolutionParameterfEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single)@params); } + [System.CLSCompliant(false)] + public static + unsafe void ConvolutionParameterv(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Single* @params) + { + Delegates.glConvolutionParameterfvEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + } + public static void ConvolutionParameterv(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Single[] @params) { @@ -27702,19 +27729,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void ConvolutionParameterv(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Single* @params) - { - Delegates.glConvolutionParameterfvEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); - } - public static void ConvolutionParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Int32 @params) { Delegates.glConvolutionParameteriEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32)@params); } + [System.CLSCompliant(false)] + public static + unsafe void ConvolutionParameterv(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Int32* @params) + { + Delegates.glConvolutionParameterivEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + } + public static void ConvolutionParameterv(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Int32[] @params) { @@ -27739,13 +27766,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void ConvolutionParameterv(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Int32* @params) - { - Delegates.glConvolutionParameterivEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); - } - public static void CopyConvolutionFilter1D(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) { @@ -27784,6 +27804,13 @@ namespace OpenTK.OpenGL } } + [System.CLSCompliant(false)] + public static + unsafe void GetConvolutionParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + { + Delegates.glGetConvolutionParameterfvEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + } + public static void GetConvolutionParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Single[] @params) { @@ -27811,9 +27838,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetConvolutionParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + unsafe void GetConvolutionParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) { - Delegates.glGetConvolutionParameterfvEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glGetConvolutionParameterivEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } public static @@ -27841,13 +27868,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetConvolutionParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) - { - Delegates.glGetConvolutionParameterivEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); - } - public static void GetSeparableFilter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span) { @@ -27878,25 +27898,6 @@ namespace OpenTK.OpenGL } } - public static - void GetSeparableFilter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, [Out] IntPtr row, [In, Out] object column, [In, Out] object span) - { - unsafe - { - System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned); - System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.PixelFormat)format, (OpenTK.OpenGL.Enums.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - span_ptr.Free(); - } - } - } - public static void SeparableFilter2D(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, IntPtr row, IntPtr column) { @@ -27938,6 +27939,20 @@ namespace OpenTK.OpenGL Delegates.glBindTextureEXT((OpenTK.OpenGL.Enums.TextureTarget)target, (UInt32)texture); } + [System.CLSCompliant(false)] + public static + unsafe void DeleteTextures(Int32 n, UInt32* textures) + { + Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures); + } + + [System.CLSCompliant(false)] + public static + unsafe void DeleteTextures(Int32 n, Int32* textures) + { + Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures); + } + [System.CLSCompliant(false)] public static void DeleteTextures(Int32 n, UInt32[] textures) @@ -27990,16 +28005,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void DeleteTextures(Int32 n, UInt32* textures) + unsafe void GenTextures(Int32 n, [Out] UInt32* textures) { - Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures); + Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures); } [System.CLSCompliant(false)] public static - unsafe void DeleteTextures(Int32 n, Int32* textures) + unsafe void GenTextures(Int32 n, [Out] Int32* textures) { - Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures); + Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures); } [System.CLSCompliant(false)] @@ -28054,20 +28069,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GenTextures(Int32 n, [Out] UInt32* textures) - { - Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures); - } - - [System.CLSCompliant(false)] - public static - unsafe void GenTextures(Int32 n, [Out] Int32* textures) - { - Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures); - } - [System.CLSCompliant(false)] public static bool IsTexture(UInt32 texture) @@ -28081,6 +28082,20 @@ namespace OpenTK.OpenGL return Delegates.glIsTextureEXT((UInt32)texture); } + [System.CLSCompliant(false)] + public static + unsafe void PrioritizeTextures(Int32 n, UInt32* textures, Single* priorities) + { + Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures, (Single*)priorities); + } + + [System.CLSCompliant(false)] + public static + unsafe void PrioritizeTextures(Int32 n, Int32* textures, Single* priorities) + { + Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures, (Single*)priorities); + } + [System.CLSCompliant(false)] public static void PrioritizeTextures(Int32 n, UInt32[] textures, Single[] priorities) @@ -28135,20 +28150,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void PrioritizeTextures(Int32 n, UInt32* textures, Single* priorities) - { - Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures, (Single*)priorities); - } - - [System.CLSCompliant(false)] - public static - unsafe void PrioritizeTextures(Int32 n, Int32* textures, Single* priorities) - { - Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures, (Single*)priorities); - } - public static void ColorPointer(Int32 size, OpenTK.OpenGL.Enums.ColorPointerType type, Int32 stride, Int32 count, IntPtr pointer) { @@ -28181,6 +28182,13 @@ namespace OpenTK.OpenGL Delegates.glDrawArraysEXT((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32)first, (Int32)count); } + [System.CLSCompliant(false)] + public static + unsafe void EdgeFlagPointer(Int32 stride, Int32 count, bool* pointer) + { + Delegates.glEdgeFlagPointerEXT((Int32)stride, (Int32)count, (bool*)pointer); + } + public static void EdgeFlagPointer(Int32 stride, Int32 count, bool[] pointer) { @@ -28205,13 +28213,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void EdgeFlagPointer(Int32 stride, Int32 count, bool* pointer) - { - Delegates.glEdgeFlagPointerEXT((Int32)stride, (Int32)count, (bool*)pointer); - } - public static void GetPointer(OpenTK.OpenGL.Enums.GetPointervPName pname, [Out] IntPtr @params) { @@ -28354,6 +28355,13 @@ namespace OpenTK.OpenGL Delegates.glPointParameterfEXT((OpenTK.OpenGL.Enums.All)pname, (Single)param); } + [System.CLSCompliant(false)] + public static + unsafe void PointParameterv(OpenTK.OpenGL.Enums.All pname, Single* @params) + { + Delegates.glPointParameterfvEXT((OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + } + public static void PointParameterv(OpenTK.OpenGL.Enums.All pname, Single[] @params) { @@ -28378,13 +28386,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void PointParameterv(OpenTK.OpenGL.Enums.All pname, Single* @params) - { - Delegates.glPointParameterfvEXT((OpenTK.OpenGL.Enums.All)pname, (Single*)@params); - } - public static void ColorSubTable(OpenTK.OpenGL.Enums.All target, Int32 start, Int32 count, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, IntPtr data) { @@ -28469,6 +28470,13 @@ namespace OpenTK.OpenGL } } + [System.CLSCompliant(false)] + public static + unsafe void GetColorTableParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + { + Delegates.glGetColorTableParameterivEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + } + public static void GetColorTableParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Int32[] @params) { @@ -28496,9 +28504,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetColorTableParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + unsafe void GetColorTableParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) { - Delegates.glGetColorTableParameterivEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + Delegates.glGetColorTableParameterfvEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); } public static @@ -28526,13 +28534,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetColorTableParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) - { - Delegates.glGetColorTableParameterfvEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); - } - public static void IndexMaterial(OpenTK.OpenGL.Enums.MaterialFace face, OpenTK.OpenGL.Enums.All mode) { @@ -28557,6 +28558,13 @@ namespace OpenTK.OpenGL Delegates.glUnlockArraysEXT(); } + [System.CLSCompliant(false)] + public static + unsafe void CullParameter(OpenTK.OpenGL.Enums.All pname, [Out] Double* @params) + { + Delegates.glCullParameterdvEXT((OpenTK.OpenGL.Enums.All)pname, (Double*)@params); + } + public static void CullParameter(OpenTK.OpenGL.Enums.All pname, [Out] Double[] @params) { @@ -28584,9 +28592,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void CullParameter(OpenTK.OpenGL.Enums.All pname, [Out] Double* @params) + unsafe void CullParameter(OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) { - Delegates.glCullParameterdvEXT((OpenTK.OpenGL.Enums.All)pname, (Double*)@params); + Delegates.glCullParameterfvEXT((OpenTK.OpenGL.Enums.All)pname, (Single*)@params); } public static @@ -28614,13 +28622,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void CullParameter(OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) - { - Delegates.glCullParameterfvEXT((OpenTK.OpenGL.Enums.All)pname, (Single*)@params); - } - [System.CLSCompliant(false)] public static void DrawRangeElements(OpenTK.OpenGL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.OpenGL.Enums.DrawElementsType type, IntPtr indices) @@ -28699,6 +28700,13 @@ namespace OpenTK.OpenGL Delegates.glPixelTransformParameterfEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single)param); } + [System.CLSCompliant(false)] + public static + unsafe void PixelTransformParameterv(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Int32* @params) + { + Delegates.glPixelTransformParameterivEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + } + public static void PixelTransformParameterv(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Int32[] @params) { @@ -28725,9 +28733,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void PixelTransformParameterv(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Int32* @params) + unsafe void PixelTransformParameterv(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Single* @params) { - Delegates.glPixelTransformParameterivEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + Delegates.glPixelTransformParameterfvEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); } public static @@ -28756,16 +28764,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void PixelTransformParameterv(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Single* @params) + void SecondaryColor3(SByte red, SByte green, SByte blue) { - Delegates.glPixelTransformParameterfvEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glSecondaryColor3bEXT((SByte)red, (SByte)green, (SByte)blue); } [System.CLSCompliant(false)] public static - void SecondaryColor3(SByte red, SByte green, SByte blue) + unsafe void SecondaryColor3(SByte* v) { - Delegates.glSecondaryColor3bEXT((SByte)red, (SByte)green, (SByte)blue); + Delegates.glSecondaryColor3bvEXT((SByte*)v); } [System.CLSCompliant(false)] @@ -28794,19 +28802,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void SecondaryColor3(SByte* v) - { - Delegates.glSecondaryColor3bvEXT((SByte*)v); - } - public static void SecondaryColor3(Double red, Double green, Double blue) { Delegates.glSecondaryColor3dEXT((Double)red, (Double)green, (Double)blue); } + [System.CLSCompliant(false)] + public static + unsafe void SecondaryColor3(Double* v) + { + Delegates.glSecondaryColor3dvEXT((Double*)v); + } + public static void SecondaryColor3(Double[] v) { @@ -28831,19 +28839,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void SecondaryColor3(Double* v) - { - Delegates.glSecondaryColor3dvEXT((Double*)v); - } - public static void SecondaryColor3(Single red, Single green, Single blue) { Delegates.glSecondaryColor3fEXT((Single)red, (Single)green, (Single)blue); } + [System.CLSCompliant(false)] + public static + unsafe void SecondaryColor3(Single* v) + { + Delegates.glSecondaryColor3fvEXT((Single*)v); + } + public static void SecondaryColor3(Single[] v) { @@ -28868,19 +28876,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void SecondaryColor3(Single* v) - { - Delegates.glSecondaryColor3fvEXT((Single*)v); - } - public static void SecondaryColor3(Byte red, Byte green, Byte blue) { Delegates.glSecondaryColor3ubEXT((Byte)red, (Byte)green, (Byte)blue); } + [System.CLSCompliant(false)] + public static + unsafe void SecondaryColor3(Byte* v) + { + Delegates.glSecondaryColor3ubvEXT((Byte*)v); + } + public static void SecondaryColor3(Byte[] v) { @@ -28905,13 +28913,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void SecondaryColor3(Byte* v) - { - Delegates.glSecondaryColor3ubvEXT((Byte*)v); - } - [System.CLSCompliant(false)] public static void SecondaryColor3(UInt32 red, UInt32 green, UInt32 blue) @@ -28925,6 +28926,20 @@ namespace OpenTK.OpenGL Delegates.glSecondaryColor3uiEXT((UInt32)red, (UInt32)green, (UInt32)blue); } + [System.CLSCompliant(false)] + public static + unsafe void SecondaryColor3(UInt32* v) + { + Delegates.glSecondaryColor3uivEXT((UInt32*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void SecondaryColor3(Int32* v) + { + Delegates.glSecondaryColor3uivEXT((UInt32*)v); + } + [System.CLSCompliant(false)] public static void SecondaryColor3(UInt32[] v) @@ -28975,20 +28990,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void SecondaryColor3(UInt32* v) - { - Delegates.glSecondaryColor3uivEXT((UInt32*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void SecondaryColor3(Int32* v) - { - Delegates.glSecondaryColor3uivEXT((UInt32*)v); - } - [System.CLSCompliant(false)] public static void SecondaryColor3(UInt16 red, UInt16 green, UInt16 blue) @@ -29002,6 +29003,20 @@ namespace OpenTK.OpenGL Delegates.glSecondaryColor3usEXT((UInt16)red, (UInt16)green, (UInt16)blue); } + [System.CLSCompliant(false)] + public static + unsafe void SecondaryColor3(UInt16* v) + { + Delegates.glSecondaryColor3usvEXT((UInt16*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void SecondaryColor3(Int16* v) + { + Delegates.glSecondaryColor3usvEXT((UInt16*)v); + } + [System.CLSCompliant(false)] public static void SecondaryColor3(UInt16[] v) @@ -29052,20 +29067,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void SecondaryColor3(UInt16* v) - { - Delegates.glSecondaryColor3usvEXT((UInt16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void SecondaryColor3(Int16* v) - { - Delegates.glSecondaryColor3usvEXT((UInt16*)v); - } - public static void SecondaryColorPointer(Int32 size, OpenTK.OpenGL.Enums.ColorPointerType type, Int32 stride, IntPtr pointer) { @@ -29098,6 +29099,13 @@ namespace OpenTK.OpenGL Delegates.glTextureNormalEXT((OpenTK.OpenGL.Enums.All)mode); } + [System.CLSCompliant(false)] + public static + unsafe void MultiDrawArrays(OpenTK.OpenGL.Enums.BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount) + { + Delegates.glMultiDrawArraysEXT((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount); + } + public static void MultiDrawArrays(OpenTK.OpenGL.Enums.BeginMode mode, [Out] Int32[] first, [Out] Int32[] count, Int32 primcount) { @@ -29128,21 +29136,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void MultiDrawArrays(OpenTK.OpenGL.Enums.BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount) + unsafe void MultiDrawElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32* count, OpenTK.OpenGL.Enums.DrawElementsType type, IntPtr indices, Int32 primcount) { - Delegates.glMultiDrawArraysEXT((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount); - } - - public static - void MultiDrawElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32[] count, OpenTK.OpenGL.Enums.DrawElementsType type, IntPtr indices, Int32 primcount) - { - unsafe - { - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawElementsEXT((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32*)count_ptr, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - } + Delegates.glMultiDrawElementsEXT((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32*)count, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); } [System.CLSCompliant(false)] @@ -29160,6 +29156,50 @@ namespace OpenTK.OpenGL } } + public static + void MultiDrawElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32[] count, OpenTK.OpenGL.Enums.DrawElementsType type, IntPtr indices, Int32 primcount) + { + unsafe + { + fixed (Int32* count_ptr = count) + { + Delegates.glMultiDrawElementsEXT((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32*)count_ptr, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + } + } + } + + public static + void MultiDrawElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32[] count, OpenTK.OpenGL.Enums.DrawElementsType type, [In, Out] object indices, Int32 primcount) + { + unsafe + { + fixed (Int32* count_ptr = count) + { + System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32*)count_ptr, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + } + + public static + void MultiDrawElements(OpenTK.OpenGL.Enums.BeginMode mode, ref Int32 count, OpenTK.OpenGL.Enums.DrawElementsType type, IntPtr indices, Int32 primcount) + { + unsafe + { + fixed (Int32* count_ptr = &count) + { + Delegates.glMultiDrawElementsEXT((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32*)count_ptr, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + } + } + } + public static void MultiDrawElements(OpenTK.OpenGL.Enums.BeginMode mode, ref Int32 count, OpenTK.OpenGL.Enums.DrawElementsType type, [In, Out] object indices, Int32 primcount) { @@ -29186,6 +29226,13 @@ namespace OpenTK.OpenGL Delegates.glFogCoordfEXT((Single)coord); } + [System.CLSCompliant(false)] + public static + unsafe void FogCoordv(Single* coord) + { + Delegates.glFogCoordfvEXT((Single*)coord); + } + public static void FogCoordv(Single[] coord) { @@ -29210,19 +29257,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void FogCoordv(Single* coord) - { - Delegates.glFogCoordfvEXT((Single*)coord); - } - public static void FogCoord(Double coord) { Delegates.glFogCoorddEXT((Double)coord); } + [System.CLSCompliant(false)] + public static + unsafe void FogCoordv(Double* coord) + { + Delegates.glFogCoorddvEXT((Double*)coord); + } + public static void FogCoordv(Double[] coord) { @@ -29247,13 +29294,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void FogCoordv(Double* coord) - { - Delegates.glFogCoorddvEXT((Double*)coord); - } - public static void FogCoordPointer(OpenTK.OpenGL.Enums.All type, Int32 stride, IntPtr pointer) { @@ -29293,6 +29333,20 @@ namespace OpenTK.OpenGL Delegates.glTangent3bEXT((SByte)tx, (SByte)ty, (SByte)tz); } + [System.CLSCompliant(false)] + public static + unsafe void Tangent3(SByte* v) + { + Delegates.glTangent3bvEXT((SByte*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void Tangent3(Byte* v) + { + Delegates.glTangent3bvEXT((SByte*)v); + } + [System.CLSCompliant(false)] public static void Tangent3(SByte[] v) @@ -29343,26 +29397,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Tangent3(SByte* v) - { - Delegates.glTangent3bvEXT((SByte*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void Tangent3(Byte* v) - { - Delegates.glTangent3bvEXT((SByte*)v); - } - public static void Tangent3(Double tx, Double ty, Double tz) { Delegates.glTangent3dEXT((Double)tx, (Double)ty, (Double)tz); } + [System.CLSCompliant(false)] + public static + unsafe void Tangent3(Double* v) + { + Delegates.glTangent3dvEXT((Double*)v); + } + public static void Tangent3(Double[] v) { @@ -29387,19 +29434,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Tangent3(Double* v) - { - Delegates.glTangent3dvEXT((Double*)v); - } - public static void Tangent3(Single tx, Single ty, Single tz) { Delegates.glTangent3fEXT((Single)tx, (Single)ty, (Single)tz); } + [System.CLSCompliant(false)] + public static + unsafe void Tangent3(Single* v) + { + Delegates.glTangent3fvEXT((Single*)v); + } + public static void Tangent3(Single[] v) { @@ -29424,19 +29471,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Tangent3(Single* v) - { - Delegates.glTangent3fvEXT((Single*)v); - } - public static void Tangent3(Int32 tx, Int32 ty, Int32 tz) { Delegates.glTangent3iEXT((Int32)tx, (Int32)ty, (Int32)tz); } + [System.CLSCompliant(false)] + public static + unsafe void Tangent3(Int32* v) + { + Delegates.glTangent3ivEXT((Int32*)v); + } + public static void Tangent3(Int32[] v) { @@ -29461,19 +29508,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Tangent3(Int32* v) - { - Delegates.glTangent3ivEXT((Int32*)v); - } - public static void Tangent3(Int16 tx, Int16 ty, Int16 tz) { Delegates.glTangent3sEXT((Int16)tx, (Int16)ty, (Int16)tz); } + [System.CLSCompliant(false)] + public static + unsafe void Tangent3(Int16* v) + { + Delegates.glTangent3svEXT((Int16*)v); + } + public static void Tangent3(Int16[] v) { @@ -29498,13 +29545,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Tangent3(Int16* v) - { - Delegates.glTangent3svEXT((Int16*)v); - } - [System.CLSCompliant(false)] public static void Binormal3(SByte bx, SByte by, SByte bz) @@ -29518,6 +29558,20 @@ namespace OpenTK.OpenGL Delegates.glBinormal3bEXT((SByte)bx, (SByte)by, (SByte)bz); } + [System.CLSCompliant(false)] + public static + unsafe void Binormal3(SByte* v) + { + Delegates.glBinormal3bvEXT((SByte*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void Binormal3(Byte* v) + { + Delegates.glBinormal3bvEXT((SByte*)v); + } + [System.CLSCompliant(false)] public static void Binormal3(SByte[] v) @@ -29568,26 +29622,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Binormal3(SByte* v) - { - Delegates.glBinormal3bvEXT((SByte*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void Binormal3(Byte* v) - { - Delegates.glBinormal3bvEXT((SByte*)v); - } - public static void Binormal3(Double bx, Double by, Double bz) { Delegates.glBinormal3dEXT((Double)bx, (Double)by, (Double)bz); } + [System.CLSCompliant(false)] + public static + unsafe void Binormal3(Double* v) + { + Delegates.glBinormal3dvEXT((Double*)v); + } + public static void Binormal3(Double[] v) { @@ -29612,19 +29659,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Binormal3(Double* v) - { - Delegates.glBinormal3dvEXT((Double*)v); - } - public static void Binormal3(Single bx, Single by, Single bz) { Delegates.glBinormal3fEXT((Single)bx, (Single)by, (Single)bz); } + [System.CLSCompliant(false)] + public static + unsafe void Binormal3(Single* v) + { + Delegates.glBinormal3fvEXT((Single*)v); + } + public static void Binormal3(Single[] v) { @@ -29649,19 +29696,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Binormal3(Single* v) - { - Delegates.glBinormal3fvEXT((Single*)v); - } - public static void Binormal3(Int32 bx, Int32 by, Int32 bz) { Delegates.glBinormal3iEXT((Int32)bx, (Int32)by, (Int32)bz); } + [System.CLSCompliant(false)] + public static + unsafe void Binormal3(Int32* v) + { + Delegates.glBinormal3ivEXT((Int32*)v); + } + public static void Binormal3(Int32[] v) { @@ -29686,19 +29733,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Binormal3(Int32* v) - { - Delegates.glBinormal3ivEXT((Int32*)v); - } - public static void Binormal3(Int16 bx, Int16 by, Int16 bz) { Delegates.glBinormal3sEXT((Int16)bx, (Int16)by, (Int16)bz); } + [System.CLSCompliant(false)] + public static + unsafe void Binormal3(Int16* v) + { + Delegates.glBinormal3svEXT((Int16*)v); + } + public static void Binormal3(Int16[] v) { @@ -29723,13 +29770,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Binormal3(Int16* v) - { - Delegates.glBinormal3svEXT((Int16*)v); - } - public static void TangentPointer(OpenTK.OpenGL.Enums.All type, Int32 stride, IntPtr pointer) { @@ -29794,6 +29834,13 @@ namespace OpenTK.OpenGL Delegates.glVertexWeightfEXT((Single)weight); } + [System.CLSCompliant(false)] + public static + unsafe void VertexWeightv(Single* weight) + { + Delegates.glVertexWeightfvEXT((Single*)weight); + } + public static void VertexWeightv(Single[] weight) { @@ -29818,13 +29865,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexWeightv(Single* weight) - { - Delegates.glVertexWeightfvEXT((Single*)weight); - } - public static void VertexWeightPointer(Int32 size, OpenTK.OpenGL.Enums.All type, Int32 stride, IntPtr pointer) { @@ -29992,6 +30032,13 @@ namespace OpenTK.OpenGL return Delegates.glGenSymbolsEXT((OpenTK.OpenGL.Enums.All)datatype, (OpenTK.OpenGL.Enums.All)storagetype, (OpenTK.OpenGL.Enums.All)range, (UInt32)components); } + [System.CLSCompliant(false)] + public static + unsafe void Variant(UInt32 id, SByte* addr) + { + Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr); + } + [System.CLSCompliant(false)] public static void Variant(UInt32 id, SByte[] addr) @@ -30020,9 +30067,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Variant(UInt32 id, SByte* addr) + unsafe void Variant(UInt32 id, Int16* addr) { - Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr); + Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr); } [System.CLSCompliant(false)] @@ -30053,9 +30100,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Variant(UInt32 id, Int16* addr) + unsafe void Variant(UInt32 id, Int32* addr) { - Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr); + Delegates.glVariantivEXT((UInt32)id, (Int32*)addr); } [System.CLSCompliant(false)] @@ -30086,9 +30133,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Variant(UInt32 id, Int32* addr) + unsafe void Variant(UInt32 id, Single* addr) { - Delegates.glVariantivEXT((UInt32)id, (Int32*)addr); + Delegates.glVariantfvEXT((UInt32)id, (Single*)addr); + } + + [System.CLSCompliant(false)] + public static + unsafe void Variant(Int32 id, Single* addr) + { + Delegates.glVariantfvEXT((UInt32)id, (Single*)addr); } [System.CLSCompliant(false)] @@ -30143,16 +30197,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Variant(UInt32 id, Single* addr) + unsafe void Variant(UInt32 id, Double* addr) { - Delegates.glVariantfvEXT((UInt32)id, (Single*)addr); + Delegates.glVariantdvEXT((UInt32)id, (Double*)addr); } [System.CLSCompliant(false)] public static - unsafe void Variant(Int32 id, Single* addr) + unsafe void Variant(Int32 id, Double* addr) { - Delegates.glVariantfvEXT((UInt32)id, (Single*)addr); + Delegates.glVariantdvEXT((UInt32)id, (Double*)addr); } [System.CLSCompliant(false)] @@ -30207,16 +30261,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Variant(UInt32 id, Double* addr) + unsafe void Variant(UInt32 id, Byte* addr) { - Delegates.glVariantdvEXT((UInt32)id, (Double*)addr); + Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr); } [System.CLSCompliant(false)] public static - unsafe void Variant(Int32 id, Double* addr) + unsafe void Variant(Int32 id, Byte* addr) { - Delegates.glVariantdvEXT((UInt32)id, (Double*)addr); + Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr); } [System.CLSCompliant(false)] @@ -30271,16 +30325,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Variant(UInt32 id, Byte* addr) + unsafe void Variant(UInt32 id, UInt16* addr) { - Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr); + Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr); } [System.CLSCompliant(false)] public static - unsafe void Variant(Int32 id, Byte* addr) + unsafe void Variant(Int32 id, Int16* addr) { - Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr); + Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr); } [System.CLSCompliant(false)] @@ -30335,16 +30389,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Variant(UInt32 id, UInt16* addr) + unsafe void Variant(UInt32 id, UInt32* addr) { - Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr); + Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr); } [System.CLSCompliant(false)] public static - unsafe void Variant(Int32 id, Int16* addr) + unsafe void Variant(Int32 id, Int32* addr) { - Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr); + Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr); } [System.CLSCompliant(false)] @@ -30397,20 +30451,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Variant(UInt32 id, UInt32* addr) - { - Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr); - } - - [System.CLSCompliant(false)] - public static - unsafe void Variant(Int32 id, Int32* addr) - { - Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr); - } - [System.CLSCompliant(false)] public static void VariantPointer(UInt32 id, OpenTK.OpenGL.Enums.All type, UInt32 stride, IntPtr addr) @@ -30534,6 +30574,20 @@ namespace OpenTK.OpenGL return Delegates.glIsVariantEnabledEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)cap); } + [System.CLSCompliant(false)] + public static + unsafe void GetVariantBoolean(UInt32 id, OpenTK.OpenGL.Enums.All value, [Out] bool* data) + { + Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (bool*)data); + } + + [System.CLSCompliant(false)] + public static + unsafe void GetVariantBoolean(Int32 id, OpenTK.OpenGL.Enums.All value, [Out] bool* data) + { + Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (bool*)data); + } + [System.CLSCompliant(false)] public static void GetVariantBoolean(UInt32 id, OpenTK.OpenGL.Enums.All value, [Out] bool[] data) @@ -30588,16 +30642,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetVariantBoolean(UInt32 id, OpenTK.OpenGL.Enums.All value, [Out] bool* data) + unsafe void GetVariantInteger(UInt32 id, OpenTK.OpenGL.Enums.All value, [Out] Int32* data) { - Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (bool*)data); + Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (Int32*)data); } [System.CLSCompliant(false)] public static - unsafe void GetVariantBoolean(Int32 id, OpenTK.OpenGL.Enums.All value, [Out] bool* data) + unsafe void GetVariantInteger(Int32 id, OpenTK.OpenGL.Enums.All value, [Out] Int32* data) { - Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (bool*)data); + Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (Int32*)data); } [System.CLSCompliant(false)] @@ -30654,16 +30708,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetVariantInteger(UInt32 id, OpenTK.OpenGL.Enums.All value, [Out] Int32* data) + unsafe void GetVariantFloat(UInt32 id, OpenTK.OpenGL.Enums.All value, [Out] Single* data) { - Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (Int32*)data); + Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (Single*)data); } [System.CLSCompliant(false)] public static - unsafe void GetVariantInteger(Int32 id, OpenTK.OpenGL.Enums.All value, [Out] Int32* data) + unsafe void GetVariantFloat(Int32 id, OpenTK.OpenGL.Enums.All value, [Out] Single* data) { - Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (Int32*)data); + Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (Single*)data); } [System.CLSCompliant(false)] @@ -30718,20 +30772,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetVariantFloat(UInt32 id, OpenTK.OpenGL.Enums.All value, [Out] Single* data) - { - Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (Single*)data); - } - - [System.CLSCompliant(false)] - public static - unsafe void GetVariantFloat(Int32 id, OpenTK.OpenGL.Enums.All value, [Out] Single* data) - { - Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (Single*)data); - } - [System.CLSCompliant(false)] public static void GetVariantPointer(UInt32 id, OpenTK.OpenGL.Enums.All value, [Out] IntPtr data) @@ -30786,6 +30826,20 @@ namespace OpenTK.OpenGL } } + [System.CLSCompliant(false)] + public static + unsafe void GetInvariantBoolean(UInt32 id, OpenTK.OpenGL.Enums.All value, [Out] bool* data) + { + Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (bool*)data); + } + + [System.CLSCompliant(false)] + public static + unsafe void GetInvariantBoolean(Int32 id, OpenTK.OpenGL.Enums.All value, [Out] bool* data) + { + Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (bool*)data); + } + [System.CLSCompliant(false)] public static void GetInvariantBoolean(UInt32 id, OpenTK.OpenGL.Enums.All value, [Out] bool[] data) @@ -30840,16 +30894,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetInvariantBoolean(UInt32 id, OpenTK.OpenGL.Enums.All value, [Out] bool* data) + unsafe void GetInvariantInteger(UInt32 id, OpenTK.OpenGL.Enums.All value, [Out] Int32* data) { - Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (bool*)data); + Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (Int32*)data); } [System.CLSCompliant(false)] public static - unsafe void GetInvariantBoolean(Int32 id, OpenTK.OpenGL.Enums.All value, [Out] bool* data) + unsafe void GetInvariantInteger(Int32 id, OpenTK.OpenGL.Enums.All value, [Out] Int32* data) { - Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (bool*)data); + Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (Int32*)data); } [System.CLSCompliant(false)] @@ -30906,16 +30960,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetInvariantInteger(UInt32 id, OpenTK.OpenGL.Enums.All value, [Out] Int32* data) + unsafe void GetInvariantFloat(UInt32 id, OpenTK.OpenGL.Enums.All value, [Out] Single* data) { - Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (Int32*)data); + Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (Single*)data); } [System.CLSCompliant(false)] public static - unsafe void GetInvariantInteger(Int32 id, OpenTK.OpenGL.Enums.All value, [Out] Int32* data) + unsafe void GetInvariantFloat(Int32 id, OpenTK.OpenGL.Enums.All value, [Out] Single* data) { - Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (Int32*)data); + Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (Single*)data); } [System.CLSCompliant(false)] @@ -30972,16 +31026,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetInvariantFloat(UInt32 id, OpenTK.OpenGL.Enums.All value, [Out] Single* data) + unsafe void GetLocalConstantBoolean(UInt32 id, OpenTK.OpenGL.Enums.All value, [Out] bool* data) { - Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (Single*)data); + Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (bool*)data); } [System.CLSCompliant(false)] public static - unsafe void GetInvariantFloat(Int32 id, OpenTK.OpenGL.Enums.All value, [Out] Single* data) + unsafe void GetLocalConstantBoolean(Int32 id, OpenTK.OpenGL.Enums.All value, [Out] bool* data) { - Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (Single*)data); + Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (bool*)data); } [System.CLSCompliant(false)] @@ -31038,16 +31092,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetLocalConstantBoolean(UInt32 id, OpenTK.OpenGL.Enums.All value, [Out] bool* data) + unsafe void GetLocalConstantInteger(UInt32 id, OpenTK.OpenGL.Enums.All value, [Out] Int32* data) { - Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (bool*)data); + Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (Int32*)data); } [System.CLSCompliant(false)] public static - unsafe void GetLocalConstantBoolean(Int32 id, OpenTK.OpenGL.Enums.All value, [Out] bool* data) + unsafe void GetLocalConstantInteger(Int32 id, OpenTK.OpenGL.Enums.All value, [Out] Int32* data) { - Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (bool*)data); + Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (Int32*)data); } [System.CLSCompliant(false)] @@ -31104,16 +31158,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetLocalConstantInteger(UInt32 id, OpenTK.OpenGL.Enums.All value, [Out] Int32* data) + unsafe void GetLocalConstantFloat(UInt32 id, OpenTK.OpenGL.Enums.All value, [Out] Single* data) { - Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (Int32*)data); + Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (Single*)data); } [System.CLSCompliant(false)] public static - unsafe void GetLocalConstantInteger(Int32 id, OpenTK.OpenGL.Enums.All value, [Out] Int32* data) + unsafe void GetLocalConstantFloat(Int32 id, OpenTK.OpenGL.Enums.All value, [Out] Single* data) { - Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (Int32*)data); + Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (Single*)data); } [System.CLSCompliant(false)] @@ -31168,20 +31222,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetLocalConstantFloat(UInt32 id, OpenTK.OpenGL.Enums.All value, [Out] Single* data) - { - Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (Single*)data); - } - - [System.CLSCompliant(false)] - public static - unsafe void GetLocalConstantFloat(Int32 id, OpenTK.OpenGL.Enums.All value, [Out] Single* data) - { - Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)value, (Single*)data); - } - public static void ActiveStencilFace(OpenTK.OpenGL.Enums.All face) { @@ -31226,6 +31266,20 @@ namespace OpenTK.OpenGL Delegates.glBindRenderbufferEXT((OpenTK.OpenGL.Enums.All)target, (UInt32)renderbuffer); } + [System.CLSCompliant(false)] + public static + unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) + { + Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); + } + + [System.CLSCompliant(false)] + public static + unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) + { + Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); + } + [System.CLSCompliant(false)] public static void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers) @@ -31278,16 +31332,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) + unsafe void GenRenderbuffers(Int32 n, [Out] UInt32* renderbuffers) { - Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); + Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); } [System.CLSCompliant(false)] public static - unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) + unsafe void GenRenderbuffers(Int32 n, [Out] Int32* renderbuffers) { - Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); + Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); } [System.CLSCompliant(false)] @@ -31342,26 +31396,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GenRenderbuffers(Int32 n, [Out] UInt32* renderbuffers) - { - Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); - } - - [System.CLSCompliant(false)] - public static - unsafe void GenRenderbuffers(Int32 n, [Out] Int32* renderbuffers) - { - Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); - } - public static void RenderbufferStorage(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All internalformat, Int32 width, Int32 height) { Delegates.glRenderbufferStorageEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)internalformat, (Int32)width, (Int32)height); } + [System.CLSCompliant(false)] + public static + unsafe void GetRenderbufferParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + { + Delegates.glGetRenderbufferParameterivEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + } + public static void GetRenderbufferParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Int32[] @params) { @@ -31387,13 +31434,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetRenderbufferParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) - { - Delegates.glGetRenderbufferParameterivEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); - } - [System.CLSCompliant(false)] public static bool IsFramebuffer(UInt32 framebuffer) @@ -31420,6 +31460,20 @@ namespace OpenTK.OpenGL Delegates.glBindFramebufferEXT((OpenTK.OpenGL.Enums.All)target, (UInt32)framebuffer); } + [System.CLSCompliant(false)] + public static + unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers) + { + Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers); + } + + [System.CLSCompliant(false)] + public static + unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers) + { + Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers); + } + [System.CLSCompliant(false)] public static void DeleteFramebuffers(Int32 n, UInt32[] framebuffers) @@ -31472,16 +31526,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers) + unsafe void GenFramebuffers(Int32 n, [Out] UInt32* framebuffers) { - Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers); + Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers); } [System.CLSCompliant(false)] public static - unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers) + unsafe void GenFramebuffers(Int32 n, [Out] Int32* framebuffers) { - Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers); + Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers); } [System.CLSCompliant(false)] @@ -31536,20 +31590,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GenFramebuffers(Int32 n, [Out] UInt32* framebuffers) - { - Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers); - } - - [System.CLSCompliant(false)] - public static - unsafe void GenFramebuffers(Int32 n, [Out] Int32* framebuffers) - { - Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers); - } - public static OpenTK.OpenGL.Enums.All CheckFramebufferStat(OpenTK.OpenGL.Enums.All target) { @@ -31608,6 +31648,13 @@ namespace OpenTK.OpenGL Delegates.glFramebufferRenderbufferEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)attachment, (OpenTK.OpenGL.Enums.All)renderbuffertarget, (UInt32)renderbuffer); } + [System.CLSCompliant(false)] + public static + unsafe void GetFramebufferAttachmentParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All attachment, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + { + Delegates.glGetFramebufferAttachmentParameterivEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)attachment, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + } + public static void GetFramebufferAttachmentParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All attachment, OpenTK.OpenGL.Enums.All pname, [Out] Int32[] @params) { @@ -31633,13 +31680,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetFramebufferAttachmentParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All attachment, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) - { - Delegates.glGetFramebufferAttachmentParameterivEXT((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)attachment, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); - } - public static void GenerateMipmap(OpenTK.OpenGL.Enums.All target) { @@ -31671,6 +31711,20 @@ namespace OpenTK.OpenGL Delegates.glRenderbufferStorageMultisampleEXT((OpenTK.OpenGL.Enums.All)target, (Int32)samples, (OpenTK.OpenGL.Enums.All)internalformat, (Int32)width, (Int32)height); } + [System.CLSCompliant(false)] + public static + unsafe void GetQueryObjecti64(UInt32 id, OpenTK.OpenGL.Enums.All pname, [Out] Int64* @params) + { + Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (Int64*)@params); + } + + [System.CLSCompliant(false)] + public static + unsafe void GetQueryObjecti64(Int32 id, OpenTK.OpenGL.Enums.All pname, [Out] Int64* @params) + { + Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (Int64*)@params); + } + [System.CLSCompliant(false)] public static void GetQueryObjecti64(UInt32 id, OpenTK.OpenGL.Enums.All pname, [Out] Int64[] @params) @@ -31725,16 +31779,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetQueryObjecti64(UInt32 id, OpenTK.OpenGL.Enums.All pname, [Out] Int64* @params) + unsafe void GetQueryObjectui64(UInt32 id, OpenTK.OpenGL.Enums.All pname, [Out] UInt64* @params) { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (Int64*)@params); + Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (UInt64*)@params); } [System.CLSCompliant(false)] public static - unsafe void GetQueryObjecti64(Int32 id, OpenTK.OpenGL.Enums.All pname, [Out] Int64* @params) + unsafe void GetQueryObjectui64(Int32 id, OpenTK.OpenGL.Enums.All pname, [Out] Int64* @params) { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (Int64*)@params); + Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (UInt64*)@params); } [System.CLSCompliant(false)] @@ -31791,16 +31845,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetQueryObjectui64(UInt32 id, OpenTK.OpenGL.Enums.All pname, [Out] UInt64* @params) + unsafe void ProgramEnvParameters4(OpenTK.OpenGL.Enums.All target, UInt32 index, Int32 count, Single* @params) { - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (UInt64*)@params); + Delegates.glProgramEnvParameters4fvEXT((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32)count, (Single*)@params); } [System.CLSCompliant(false)] public static - unsafe void GetQueryObjectui64(Int32 id, OpenTK.OpenGL.Enums.All pname, [Out] Int64* @params) + unsafe void ProgramEnvParameters4(OpenTK.OpenGL.Enums.All target, Int32 index, Int32 count, Single* @params) { - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (UInt64*)@params); + Delegates.glProgramEnvParameters4fvEXT((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32)count, (Single*)@params); } [System.CLSCompliant(false)] @@ -31855,16 +31909,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ProgramEnvParameters4(OpenTK.OpenGL.Enums.All target, UInt32 index, Int32 count, Single* @params) + unsafe void ProgramLocalParameters4(OpenTK.OpenGL.Enums.All target, UInt32 index, Int32 count, Single* @params) { - Delegates.glProgramEnvParameters4fvEXT((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32)count, (Single*)@params); + Delegates.glProgramLocalParameters4fvEXT((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32)count, (Single*)@params); } [System.CLSCompliant(false)] public static - unsafe void ProgramEnvParameters4(OpenTK.OpenGL.Enums.All target, Int32 index, Int32 count, Single* @params) + unsafe void ProgramLocalParameters4(OpenTK.OpenGL.Enums.All target, Int32 index, Int32 count, Single* @params) { - Delegates.glProgramEnvParameters4fvEXT((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32)count, (Single*)@params); + Delegates.glProgramLocalParameters4fvEXT((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32)count, (Single*)@params); } [System.CLSCompliant(false)] @@ -31917,20 +31971,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void ProgramLocalParameters4(OpenTK.OpenGL.Enums.All target, UInt32 index, Int32 count, Single* @params) - { - Delegates.glProgramLocalParameters4fvEXT((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32)count, (Single*)@params); - } - - [System.CLSCompliant(false)] - public static - unsafe void ProgramLocalParameters4(OpenTK.OpenGL.Enums.All target, Int32 index, Int32 count, Single* @params) - { - Delegates.glProgramLocalParameters4fvEXT((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32)count, (Single*)@params); - } - [System.CLSCompliant(false)] public static void FramebufferTexture(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All attachment, UInt32 texture, Int32 level) @@ -32063,6 +32103,13 @@ namespace OpenTK.OpenGL Delegates.glVertexAttribI4uiEXT((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); } + [System.CLSCompliant(false)] + public static + unsafe void VertexAttribI1v(UInt32 index, Int32* v) + { + Delegates.glVertexAttribI1ivEXT((UInt32)index, (Int32*)v); + } + [System.CLSCompliant(false)] public static void VertexAttribI1v(UInt32 index, Int32[] v) @@ -32091,9 +32138,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribI1v(UInt32 index, Int32* v) + unsafe void VertexAttribI2(UInt32 index, Int32* v) { - Delegates.glVertexAttribI1ivEXT((UInt32)index, (Int32*)v); + Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v); } [System.CLSCompliant(false)] @@ -32124,9 +32171,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribI2(UInt32 index, Int32* v) + unsafe void VertexAttribI3(UInt32 index, Int32* v) { - Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v); + Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v); } [System.CLSCompliant(false)] @@ -32157,9 +32204,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribI3(UInt32 index, Int32* v) + unsafe void VertexAttribI4(UInt32 index, Int32* v) { - Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v); + Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v); } [System.CLSCompliant(false)] @@ -32190,9 +32237,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribI4(UInt32 index, Int32* v) + unsafe void VertexAttribI1v(UInt32 index, UInt32* v) { - Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v); + Delegates.glVertexAttribI1uivEXT((UInt32)index, (UInt32*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttribI1v(Int32 index, Int32* v) + { + Delegates.glVertexAttribI1uivEXT((UInt32)index, (UInt32*)v); } [System.CLSCompliant(false)] @@ -32247,16 +32301,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribI1v(UInt32 index, UInt32* v) + unsafe void VertexAttribI2(UInt32 index, UInt32* v) { - Delegates.glVertexAttribI1uivEXT((UInt32)index, (UInt32*)v); + Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v); } [System.CLSCompliant(false)] public static - unsafe void VertexAttribI1v(Int32 index, Int32* v) + unsafe void VertexAttribI2(Int32 index, Int32* v) { - Delegates.glVertexAttribI1uivEXT((UInt32)index, (UInt32*)v); + Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v); } [System.CLSCompliant(false)] @@ -32311,16 +32365,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribI2(UInt32 index, UInt32* v) + unsafe void VertexAttribI3(UInt32 index, UInt32* v) { - Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v); + Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v); } [System.CLSCompliant(false)] public static - unsafe void VertexAttribI2(Int32 index, Int32* v) + unsafe void VertexAttribI3(Int32 index, Int32* v) { - Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v); + Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v); } [System.CLSCompliant(false)] @@ -32375,16 +32429,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribI3(UInt32 index, UInt32* v) + unsafe void VertexAttribI4(UInt32 index, UInt32* v) { - Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v); + Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v); } [System.CLSCompliant(false)] public static - unsafe void VertexAttribI3(Int32 index, Int32* v) + unsafe void VertexAttribI4(Int32 index, Int32* v) { - Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v); + Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v); } [System.CLSCompliant(false)] @@ -32439,16 +32493,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribI4(UInt32 index, UInt32* v) + unsafe void VertexAttribI4(UInt32 index, SByte* v) { - Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttribI4(Int32 index, Int32* v) - { - Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v); + Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v); } [System.CLSCompliant(false)] @@ -32479,9 +32526,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribI4(UInt32 index, SByte* v) + unsafe void VertexAttribI4(UInt32 index, Int16* v) { - Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v); + Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v); } [System.CLSCompliant(false)] @@ -32512,9 +32559,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribI4(UInt32 index, Int16* v) + unsafe void VertexAttribI4(UInt32 index, Byte* v) { - Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v); + Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void VertexAttribI4(Int32 index, Byte* v) + { + Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v); } [System.CLSCompliant(false)] @@ -32569,16 +32623,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribI4(UInt32 index, Byte* v) + unsafe void VertexAttribI4(UInt32 index, UInt16* v) { - Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v); + Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v); } [System.CLSCompliant(false)] public static - unsafe void VertexAttribI4(Int32 index, Byte* v) + unsafe void VertexAttribI4(Int32 index, Int16* v) { - Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v); + Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v); } [System.CLSCompliant(false)] @@ -32631,20 +32685,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexAttribI4(UInt32 index, UInt16* v) - { - Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void VertexAttribI4(Int32 index, Int16* v) - { - Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v); - } - [System.CLSCompliant(false)] public static void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.OpenGL.Enums.All type, Int32 stride, IntPtr pointer) @@ -32699,6 +32739,13 @@ namespace OpenTK.OpenGL } } + [System.CLSCompliant(false)] + public static + unsafe void GetVertexAttribI(UInt32 index, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + { + Delegates.glGetVertexAttribIivEXT((UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + } + [System.CLSCompliant(false)] public static void GetVertexAttribI(UInt32 index, OpenTK.OpenGL.Enums.All pname, [Out] Int32[] @params) @@ -32728,9 +32775,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetVertexAttribI(UInt32 index, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + unsafe void GetVertexAttribI(UInt32 index, OpenTK.OpenGL.Enums.All pname, [Out] UInt32* @params) { - Delegates.glGetVertexAttribIivEXT((UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + Delegates.glGetVertexAttribIuivEXT((UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (UInt32*)@params); + } + + [System.CLSCompliant(false)] + public static + unsafe void GetVertexAttribI(Int32 index, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + { + Delegates.glGetVertexAttribIuivEXT((UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (UInt32*)@params); } [System.CLSCompliant(false)] @@ -32787,16 +32841,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetVertexAttribI(UInt32 index, OpenTK.OpenGL.Enums.All pname, [Out] UInt32* @params) + unsafe void GetUniform(UInt32 program, Int32 location, [Out] UInt32* @params) { - Delegates.glGetVertexAttribIuivEXT((UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (UInt32*)@params); + Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params); } [System.CLSCompliant(false)] public static - unsafe void GetVertexAttribI(Int32 index, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + unsafe void GetUniform(Int32 program, Int32 location, [Out] Int32* @params) { - Delegates.glGetVertexAttribIuivEXT((UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (UInt32*)@params); + Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params); } [System.CLSCompliant(false)] @@ -32851,20 +32905,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetUniform(UInt32 program, Int32 location, [Out] UInt32* @params) - { - Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params); - } - - [System.CLSCompliant(false)] - public static - unsafe void GetUniform(Int32 program, Int32 location, [Out] Int32* @params) - { - Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params); - } - [System.CLSCompliant(false)] public static void BindFragDataLocation(UInt32 program, UInt32 color, System.String name) @@ -32943,6 +32983,20 @@ namespace OpenTK.OpenGL Delegates.glUniform4uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); } + [System.CLSCompliant(false)] + public static + unsafe void Uniform1(Int32 location, Int32 count, UInt32* value) + { + Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value); + } + + [System.CLSCompliant(false)] + public static + unsafe void Uniform1(Int32 location, Int32 count, Int32* value) + { + Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value); + } + [System.CLSCompliant(false)] public static void Uniform1(Int32 location, Int32 count, UInt32[] value) @@ -32995,16 +33049,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Uniform1(Int32 location, Int32 count, UInt32* value) + unsafe void Uniform2v(Int32 location, Int32 count, UInt32* value) { - Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value); + Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value); } [System.CLSCompliant(false)] public static - unsafe void Uniform1(Int32 location, Int32 count, Int32* value) + unsafe void Uniform2v(Int32 location, Int32 count, Int32* value) { - Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value); + Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value); } [System.CLSCompliant(false)] @@ -33059,16 +33113,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Uniform2v(Int32 location, Int32 count, UInt32* value) + unsafe void Uniform3(Int32 location, Int32 count, UInt32* value) { - Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value); + Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value); } [System.CLSCompliant(false)] public static - unsafe void Uniform2v(Int32 location, Int32 count, Int32* value) + unsafe void Uniform3(Int32 location, Int32 count, Int32* value) { - Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value); + Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value); } [System.CLSCompliant(false)] @@ -33123,16 +33177,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Uniform3(Int32 location, Int32 count, UInt32* value) + unsafe void Uniform4(Int32 location, Int32 count, UInt32* value) { - Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value); + Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value); } [System.CLSCompliant(false)] public static - unsafe void Uniform3(Int32 location, Int32 count, Int32* value) + unsafe void Uniform4(Int32 location, Int32 count, Int32* value) { - Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value); + Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value); } [System.CLSCompliant(false)] @@ -33185,20 +33239,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Uniform4(Int32 location, Int32 count, UInt32* value) - { - Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value); - } - - [System.CLSCompliant(false)] - public static - unsafe void Uniform4(Int32 location, Int32 count, Int32* value) - { - Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value); - } - public static void DrawArraysInstance(OpenTK.OpenGL.Enums.BeginMode mode, Int32 start, Int32 count, Int32 primcount) { @@ -33257,6 +33297,20 @@ namespace OpenTK.OpenGL Delegates.glColorMaskIndexedEXT((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a); } + [System.CLSCompliant(false)] + public static + unsafe void GetBooleanIndexed(OpenTK.OpenGL.Enums.All target, UInt32 index, [Out] bool* data) + { + Delegates.glGetBooleanIndexedvEXT((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (bool*)data); + } + + [System.CLSCompliant(false)] + public static + unsafe void GetBooleanIndexed(OpenTK.OpenGL.Enums.All target, Int32 index, [Out] bool* data) + { + Delegates.glGetBooleanIndexedvEXT((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (bool*)data); + } + [System.CLSCompliant(false)] public static void GetBooleanIndexed(OpenTK.OpenGL.Enums.All target, UInt32 index, [Out] bool[] data) @@ -33311,16 +33365,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetBooleanIndexed(OpenTK.OpenGL.Enums.All target, UInt32 index, [Out] bool* data) + unsafe void GetIntegerIndexed(OpenTK.OpenGL.Enums.All target, UInt32 index, [Out] Int32* data) { - Delegates.glGetBooleanIndexedvEXT((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (bool*)data); + Delegates.glGetIntegerIndexedvEXT((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32*)data); } [System.CLSCompliant(false)] public static - unsafe void GetBooleanIndexed(OpenTK.OpenGL.Enums.All target, Int32 index, [Out] bool* data) + unsafe void GetIntegerIndexed(OpenTK.OpenGL.Enums.All target, Int32 index, [Out] Int32* data) { - Delegates.glGetBooleanIndexedvEXT((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (bool*)data); + Delegates.glGetIntegerIndexedvEXT((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32*)data); } [System.CLSCompliant(false)] @@ -33375,20 +33429,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetIntegerIndexed(OpenTK.OpenGL.Enums.All target, UInt32 index, [Out] Int32* data) - { - Delegates.glGetIntegerIndexedvEXT((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32*)data); - } - - [System.CLSCompliant(false)] - public static - unsafe void GetIntegerIndexed(OpenTK.OpenGL.Enums.All target, Int32 index, [Out] Int32* data) - { - Delegates.glGetIntegerIndexedvEXT((OpenTK.OpenGL.Enums.All)target, (UInt32)index, (Int32*)data); - } - [System.CLSCompliant(false)] public static void EnableIndexe(OpenTK.OpenGL.Enums.All target, UInt32 index) @@ -33454,6 +33494,20 @@ namespace OpenTK.OpenGL return Delegates.glGetUniformBufferSizeEXT((UInt32)program, (Int32)location); } + [System.CLSCompliant(false)] + public static + unsafe void TexParameterIv(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.TextureParameterName pname, UInt32* @params) + { + Delegates.glTexParameterIuivEXT((OpenTK.OpenGL.Enums.TextureTarget)target, (OpenTK.OpenGL.Enums.TextureParameterName)pname, (UInt32*)@params); + } + + [System.CLSCompliant(false)] + public static + unsafe void TexParameterIv(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.TextureParameterName pname, Int32* @params) + { + Delegates.glTexParameterIuivEXT((OpenTK.OpenGL.Enums.TextureTarget)target, (OpenTK.OpenGL.Enums.TextureParameterName)pname, (UInt32*)@params); + } + [System.CLSCompliant(false)] public static void TexParameterIv(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.TextureParameterName pname, UInt32[] @params) @@ -33506,16 +33560,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void TexParameterIv(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.TextureParameterName pname, UInt32* @params) + unsafe void GetTexParameterI(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.GetTextureParameter pname, [Out] UInt32* @params) { - Delegates.glTexParameterIuivEXT((OpenTK.OpenGL.Enums.TextureTarget)target, (OpenTK.OpenGL.Enums.TextureParameterName)pname, (UInt32*)@params); + Delegates.glGetTexParameterIuivEXT((OpenTK.OpenGL.Enums.TextureTarget)target, (OpenTK.OpenGL.Enums.GetTextureParameter)pname, (UInt32*)@params); } [System.CLSCompliant(false)] public static - unsafe void TexParameterIv(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.TextureParameterName pname, Int32* @params) + unsafe void GetTexParameterI(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.GetTextureParameter pname, [Out] Int32* @params) { - Delegates.glTexParameterIuivEXT((OpenTK.OpenGL.Enums.TextureTarget)target, (OpenTK.OpenGL.Enums.TextureParameterName)pname, (UInt32*)@params); + Delegates.glGetTexParameterIuivEXT((OpenTK.OpenGL.Enums.TextureTarget)target, (OpenTK.OpenGL.Enums.GetTextureParameter)pname, (UInt32*)@params); } [System.CLSCompliant(false)] @@ -33570,20 +33624,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetTexParameterI(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.GetTextureParameter pname, [Out] UInt32* @params) - { - Delegates.glGetTexParameterIuivEXT((OpenTK.OpenGL.Enums.TextureTarget)target, (OpenTK.OpenGL.Enums.GetTextureParameter)pname, (UInt32*)@params); - } - - [System.CLSCompliant(false)] - public static - unsafe void GetTexParameterI(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.GetTextureParameter pname, [Out] Int32* @params) - { - Delegates.glGetTexParameterIuivEXT((OpenTK.OpenGL.Enums.TextureTarget)target, (OpenTK.OpenGL.Enums.GetTextureParameter)pname, (UInt32*)@params); - } - [System.CLSCompliant(false)] public static void ClearColorI(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha) @@ -33601,6 +33641,13 @@ namespace OpenTK.OpenGL public static partial class Sgis { + [System.CLSCompliant(false)] + public static + unsafe void GetTexFilterFunc(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.All filter, [Out] Single* weights) + { + Delegates.glGetTexFilterFuncSGIS((OpenTK.OpenGL.Enums.TextureTarget)target, (OpenTK.OpenGL.Enums.All)filter, (Single*)weights); + } + public static void GetTexFilterFunc(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.All filter, [Out] Single[] weights) { @@ -33628,9 +33675,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetTexFilterFunc(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.All filter, [Out] Single* weights) + unsafe void TexFilterFunc(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.All filter, Int32 n, Single* weights) { - Delegates.glGetTexFilterFuncSGIS((OpenTK.OpenGL.Enums.TextureTarget)target, (OpenTK.OpenGL.Enums.All)filter, (Single*)weights); + Delegates.glTexFilterFuncSGIS((OpenTK.OpenGL.Enums.TextureTarget)target, (OpenTK.OpenGL.Enums.All)filter, (Int32)n, (Single*)weights); } public static @@ -33657,19 +33704,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexFilterFunc(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.All filter, Int32 n, Single* weights) - { - Delegates.glTexFilterFuncSGIS((OpenTK.OpenGL.Enums.TextureTarget)target, (OpenTK.OpenGL.Enums.All)filter, (Int32)n, (Single*)weights); - } - public static void PixelTexGenParameter(OpenTK.OpenGL.Enums.All pname, Int32 param) { Delegates.glPixelTexGenParameteriSGIS((OpenTK.OpenGL.Enums.All)pname, (Int32)param); } + [System.CLSCompliant(false)] + public static + unsafe void PixelTexGenParameterv(OpenTK.OpenGL.Enums.All pname, Int32* @params) + { + Delegates.glPixelTexGenParameterivSGIS((OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + } + public static void PixelTexGenParameterv(OpenTK.OpenGL.Enums.All pname, Int32[] @params) { @@ -33694,19 +33741,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void PixelTexGenParameterv(OpenTK.OpenGL.Enums.All pname, Int32* @params) - { - Delegates.glPixelTexGenParameterivSGIS((OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); - } - public static void PixelTexGenParameter(OpenTK.OpenGL.Enums.All pname, Single param) { Delegates.glPixelTexGenParameterfSGIS((OpenTK.OpenGL.Enums.All)pname, (Single)param); } + [System.CLSCompliant(false)] + public static + unsafe void PixelTexGenParameterv(OpenTK.OpenGL.Enums.All pname, Single* @params) + { + Delegates.glPixelTexGenParameterfvSGIS((OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + } + public static void PixelTexGenParameterv(OpenTK.OpenGL.Enums.All pname, Single[] @params) { @@ -33733,9 +33780,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void PixelTexGenParameterv(OpenTK.OpenGL.Enums.All pname, Single* @params) + unsafe void GetPixelTexGenParameter(OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) { - Delegates.glPixelTexGenParameterfvSGIS((OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } public static @@ -33765,9 +33812,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetPixelTexGenParameter(OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + unsafe void GetPixelTexGenParameter(OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) { - Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.OpenGL.Enums.All)pname, (Single*)@params); } public static @@ -33795,13 +33842,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetPixelTexGenParameter(OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) - { - Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.OpenGL.Enums.All)pname, (Single*)@params); - } - public static void TexImage4D(OpenTK.OpenGL.Enums.TextureTarget target, Int32 level, OpenTK.OpenGL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, IntPtr pixels) { @@ -33854,6 +33894,13 @@ namespace OpenTK.OpenGL } } + [System.CLSCompliant(false)] + public static + unsafe void DetailTexFunc(OpenTK.OpenGL.Enums.TextureTarget target, Int32 n, Single* points) + { + Delegates.glDetailTexFuncSGIS((OpenTK.OpenGL.Enums.TextureTarget)target, (Int32)n, (Single*)points); + } + public static void DetailTexFunc(OpenTK.OpenGL.Enums.TextureTarget target, Int32 n, Single[] points) { @@ -33880,9 +33927,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void DetailTexFunc(OpenTK.OpenGL.Enums.TextureTarget target, Int32 n, Single* points) + unsafe void GetDetailTexFunc(OpenTK.OpenGL.Enums.TextureTarget target, [Out] Single* points) { - Delegates.glDetailTexFuncSGIS((OpenTK.OpenGL.Enums.TextureTarget)target, (Int32)n, (Single*)points); + Delegates.glGetDetailTexFuncSGIS((OpenTK.OpenGL.Enums.TextureTarget)target, (Single*)points); } public static @@ -33912,9 +33959,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetDetailTexFunc(OpenTK.OpenGL.Enums.TextureTarget target, [Out] Single* points) + unsafe void SharpenTexFunc(OpenTK.OpenGL.Enums.TextureTarget target, Int32 n, Single* points) { - Delegates.glGetDetailTexFuncSGIS((OpenTK.OpenGL.Enums.TextureTarget)target, (Single*)points); + Delegates.glSharpenTexFuncSGIS((OpenTK.OpenGL.Enums.TextureTarget)target, (Int32)n, (Single*)points); } public static @@ -33943,9 +33990,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void SharpenTexFunc(OpenTK.OpenGL.Enums.TextureTarget target, Int32 n, Single* points) + unsafe void GetSharpenTexFunc(OpenTK.OpenGL.Enums.TextureTarget target, [Out] Single* points) { - Delegates.glSharpenTexFuncSGIS((OpenTK.OpenGL.Enums.TextureTarget)target, (Int32)n, (Single*)points); + Delegates.glGetSharpenTexFuncSGIS((OpenTK.OpenGL.Enums.TextureTarget)target, (Single*)points); } public static @@ -33973,13 +34020,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetSharpenTexFunc(OpenTK.OpenGL.Enums.TextureTarget target, [Out] Single* points) - { - Delegates.glGetSharpenTexFuncSGIS((OpenTK.OpenGL.Enums.TextureTarget)target, (Single*)points); - } - public static void SampleMask(Single value, bool invert) { @@ -33998,6 +34038,13 @@ namespace OpenTK.OpenGL Delegates.glPointParameterfSGIS((OpenTK.OpenGL.Enums.All)pname, (Single)param); } + [System.CLSCompliant(false)] + public static + unsafe void PointParameterv(OpenTK.OpenGL.Enums.All pname, Single* @params) + { + Delegates.glPointParameterfvSGIS((OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + } + public static void PointParameterv(OpenTK.OpenGL.Enums.All pname, Single[] @params) { @@ -34024,9 +34071,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void PointParameterv(OpenTK.OpenGL.Enums.All pname, Single* @params) + unsafe void FogFunc(Int32 n, Single* points) { - Delegates.glPointParameterfvSGIS((OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glFogFuncSGIS((Int32)n, (Single*)points); } public static @@ -34055,9 +34102,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void FogFunc(Int32 n, Single* points) + unsafe void GetFogFunc([Out] Single* points) { - Delegates.glFogFuncSGIS((Int32)n, (Single*)points); + Delegates.glGetFogFuncSGIS((Single*)points); } public static @@ -34085,13 +34132,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetFogFunc([Out] Single* points) - { - Delegates.glGetFogFuncSGIS((Single*)points); - } - public static void TextureColorMask(bool red, bool green, bool blue, bool alpha) { @@ -34128,6 +34168,13 @@ namespace OpenTK.OpenGL } } + [System.CLSCompliant(false)] + public static + unsafe void ColorTableParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Single* @params) + { + Delegates.glColorTableParameterfvSGI((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + } + public static void ColorTableParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Single[] @params) { @@ -34154,9 +34201,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ColorTableParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Single* @params) + unsafe void ColorTableParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Int32* @params) { - Delegates.glColorTableParameterfvSGI((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glColorTableParameterivSGI((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } public static @@ -34183,13 +34230,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void ColorTableParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Int32* @params) - { - Delegates.glColorTableParameterivSGI((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); - } - public static void CopyColorTable(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) { @@ -34222,6 +34262,13 @@ namespace OpenTK.OpenGL } } + [System.CLSCompliant(false)] + public static + unsafe void GetColorTableParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + { + Delegates.glGetColorTableParameterfvSGI((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + } + public static void GetColorTableParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Single[] @params) { @@ -34249,9 +34296,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetColorTableParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + unsafe void GetColorTableParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) { - Delegates.glGetColorTableParameterfvSGI((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glGetColorTableParameterivSGI((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } public static @@ -34279,13 +34326,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetColorTableParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) - { - Delegates.glGetColorTableParameterivSGI((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); - } - } public static partial class Sgix @@ -34302,6 +34342,13 @@ namespace OpenTK.OpenGL Delegates.glSpriteParameterfSGIX((OpenTK.OpenGL.Enums.All)pname, (Single)param); } + [System.CLSCompliant(false)] + public static + unsafe void SpriteParameterv(OpenTK.OpenGL.Enums.All pname, Single* @params) + { + Delegates.glSpriteParameterfvSGIX((OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + } + public static void SpriteParameterv(OpenTK.OpenGL.Enums.All pname, Single[] @params) { @@ -34326,19 +34373,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void SpriteParameterv(OpenTK.OpenGL.Enums.All pname, Single* @params) - { - Delegates.glSpriteParameterfvSGIX((OpenTK.OpenGL.Enums.All)pname, (Single*)@params); - } - public static void SpriteParameter(OpenTK.OpenGL.Enums.All pname, Int32 param) { Delegates.glSpriteParameteriSGIX((OpenTK.OpenGL.Enums.All)pname, (Int32)param); } + [System.CLSCompliant(false)] + public static + unsafe void SpriteParameterv(OpenTK.OpenGL.Enums.All pname, Int32* @params) + { + Delegates.glSpriteParameterivSGIX((OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + } + public static void SpriteParameterv(OpenTK.OpenGL.Enums.All pname, Int32[] @params) { @@ -34363,19 +34410,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void SpriteParameterv(OpenTK.OpenGL.Enums.All pname, Int32* @params) - { - Delegates.glSpriteParameterivSGIX((OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); - } - public static Int32 GetInstruments() { return Delegates.glGetInstrumentsSGIX(); } + [System.CLSCompliant(false)] + public static + unsafe void InstrumentsBuffer(Int32 size, [Out] Int32* buffer) + { + Delegates.glInstrumentsBufferSGIX((Int32)size, (Int32*)buffer); + } + public static void InstrumentsBuffer(Int32 size, [Out] Int32[] buffer) { @@ -34403,9 +34450,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void InstrumentsBuffer(Int32 size, [Out] Int32* buffer) + unsafe Int32 PollInstruments([Out] Int32* marker_p) { - Delegates.glInstrumentsBufferSGIX((Int32)size, (Int32*)buffer); + return Delegates.glPollInstrumentsSGIX((Int32*)marker_p); } public static @@ -34434,13 +34481,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe Int32 PollInstruments([Out] Int32* marker_p) - { - return Delegates.glPollInstrumentsSGIX((Int32*)marker_p); - } - public static void ReadInstruments(Int32 marker) { @@ -34471,6 +34511,13 @@ namespace OpenTK.OpenGL Delegates.glTagSampleBufferSGIX(); } + [System.CLSCompliant(false)] + public static + unsafe void DeformationMap3(OpenTK.OpenGL.Enums.All target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double* points) + { + Delegates.glDeformationMap3dSGIX((OpenTK.OpenGL.Enums.All)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points); + } + public static void DeformationMap3(OpenTK.OpenGL.Enums.All target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double[] points) { @@ -34497,9 +34544,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void DeformationMap3(OpenTK.OpenGL.Enums.All target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double* points) + unsafe void DeformationMap3(OpenTK.OpenGL.Enums.All target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single* points) { - Delegates.glDeformationMap3dSGIX((OpenTK.OpenGL.Enums.All)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points); + Delegates.glDeformationMap3fSGIX((OpenTK.OpenGL.Enums.All)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points); } public static @@ -34526,13 +34573,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void DeformationMap3(OpenTK.OpenGL.Enums.All target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single* points) - { - Delegates.glDeformationMap3fSGIX((OpenTK.OpenGL.Enums.All)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points); - } - [System.CLSCompliant(false)] public static void Deform(UInt32 mask) @@ -34559,6 +34599,13 @@ namespace OpenTK.OpenGL Delegates.glLoadIdentityDeformationMapSGIX((UInt32)mask); } + [System.CLSCompliant(false)] + public static + unsafe void ReferencePlane(Double* equation) + { + Delegates.glReferencePlaneSGIX((Double*)equation); + } + public static void ReferencePlane(Double[] equation) { @@ -34583,19 +34630,26 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void ReferencePlane(Double* equation) - { - Delegates.glReferencePlaneSGIX((Double*)equation); - } - public static void FlushRaster() { Delegates.glFlushRasterSGIX(); } + [System.CLSCompliant(false)] + public static + unsafe void GetListParameter(UInt32 list, OpenTK.OpenGL.Enums.ListParameterName pname, [Out] Single* @params) + { + Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.OpenGL.Enums.ListParameterName)pname, (Single*)@params); + } + + [System.CLSCompliant(false)] + public static + unsafe void GetListParameter(Int32 list, OpenTK.OpenGL.Enums.ListParameterName pname, [Out] Single* @params) + { + Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.OpenGL.Enums.ListParameterName)pname, (Single*)@params); + } + [System.CLSCompliant(false)] public static void GetListParameter(UInt32 list, OpenTK.OpenGL.Enums.ListParameterName pname, [Out] Single[] @params) @@ -34650,16 +34704,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetListParameter(UInt32 list, OpenTK.OpenGL.Enums.ListParameterName pname, [Out] Single* @params) + unsafe void GetListParameter(UInt32 list, OpenTK.OpenGL.Enums.ListParameterName pname, [Out] Int32* @params) { - Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.OpenGL.Enums.ListParameterName)pname, (Single*)@params); + Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.OpenGL.Enums.ListParameterName)pname, (Int32*)@params); } [System.CLSCompliant(false)] public static - unsafe void GetListParameter(Int32 list, OpenTK.OpenGL.Enums.ListParameterName pname, [Out] Single* @params) + unsafe void GetListParameter(Int32 list, OpenTK.OpenGL.Enums.ListParameterName pname, [Out] Int32* @params) { - Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.OpenGL.Enums.ListParameterName)pname, (Single*)@params); + Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.OpenGL.Enums.ListParameterName)pname, (Int32*)@params); } [System.CLSCompliant(false)] @@ -34714,20 +34768,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetListParameter(UInt32 list, OpenTK.OpenGL.Enums.ListParameterName pname, [Out] Int32* @params) - { - Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.OpenGL.Enums.ListParameterName)pname, (Int32*)@params); - } - - [System.CLSCompliant(false)] - public static - unsafe void GetListParameter(Int32 list, OpenTK.OpenGL.Enums.ListParameterName pname, [Out] Int32* @params) - { - Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.OpenGL.Enums.ListParameterName)pname, (Int32*)@params); - } - [System.CLSCompliant(false)] public static void ListParameter(UInt32 list, OpenTK.OpenGL.Enums.ListParameterName pname, Single param) @@ -34741,6 +34781,20 @@ namespace OpenTK.OpenGL Delegates.glListParameterfSGIX((UInt32)list, (OpenTK.OpenGL.Enums.ListParameterName)pname, (Single)param); } + [System.CLSCompliant(false)] + public static + unsafe void ListParameterv(UInt32 list, OpenTK.OpenGL.Enums.ListParameterName pname, Single* @params) + { + Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.OpenGL.Enums.ListParameterName)pname, (Single*)@params); + } + + [System.CLSCompliant(false)] + public static + unsafe void ListParameterv(Int32 list, OpenTK.OpenGL.Enums.ListParameterName pname, Single* @params) + { + Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.OpenGL.Enums.ListParameterName)pname, (Single*)@params); + } + [System.CLSCompliant(false)] public static void ListParameterv(UInt32 list, OpenTK.OpenGL.Enums.ListParameterName pname, Single[] @params) @@ -34791,20 +34845,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void ListParameterv(UInt32 list, OpenTK.OpenGL.Enums.ListParameterName pname, Single* @params) - { - Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.OpenGL.Enums.ListParameterName)pname, (Single*)@params); - } - - [System.CLSCompliant(false)] - public static - unsafe void ListParameterv(Int32 list, OpenTK.OpenGL.Enums.ListParameterName pname, Single* @params) - { - Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.OpenGL.Enums.ListParameterName)pname, (Single*)@params); - } - [System.CLSCompliant(false)] public static void ListParameter(UInt32 list, OpenTK.OpenGL.Enums.ListParameterName pname, Int32 param) @@ -34818,6 +34858,20 @@ namespace OpenTK.OpenGL Delegates.glListParameteriSGIX((UInt32)list, (OpenTK.OpenGL.Enums.ListParameterName)pname, (Int32)param); } + [System.CLSCompliant(false)] + public static + unsafe void ListParameterv(UInt32 list, OpenTK.OpenGL.Enums.ListParameterName pname, Int32* @params) + { + Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.OpenGL.Enums.ListParameterName)pname, (Int32*)@params); + } + + [System.CLSCompliant(false)] + public static + unsafe void ListParameterv(Int32 list, OpenTK.OpenGL.Enums.ListParameterName pname, Int32* @params) + { + Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.OpenGL.Enums.ListParameterName)pname, (Int32*)@params); + } + [System.CLSCompliant(false)] public static void ListParameterv(UInt32 list, OpenTK.OpenGL.Enums.ListParameterName pname, Int32[] @params) @@ -34868,20 +34922,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void ListParameterv(UInt32 list, OpenTK.OpenGL.Enums.ListParameterName pname, Int32* @params) - { - Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.OpenGL.Enums.ListParameterName)pname, (Int32*)@params); - } - - [System.CLSCompliant(false)] - public static - unsafe void ListParameterv(Int32 list, OpenTK.OpenGL.Enums.ListParameterName pname, Int32* @params) - { - Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.OpenGL.Enums.ListParameterName)pname, (Int32*)@params); - } - public static void FragmentColorMaterial(OpenTK.OpenGL.Enums.MaterialFace face, OpenTK.OpenGL.Enums.MaterialParameter mode) { @@ -34894,6 +34934,13 @@ namespace OpenTK.OpenGL Delegates.glFragmentLightfSGIX((OpenTK.OpenGL.Enums.All)light, (OpenTK.OpenGL.Enums.All)pname, (Single)param); } + [System.CLSCompliant(false)] + public static + unsafe void FragmentLightv(OpenTK.OpenGL.Enums.All light, OpenTK.OpenGL.Enums.All pname, Single* @params) + { + Delegates.glFragmentLightfvSGIX((OpenTK.OpenGL.Enums.All)light, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + } + public static void FragmentLightv(OpenTK.OpenGL.Enums.All light, OpenTK.OpenGL.Enums.All pname, Single[] @params) { @@ -34918,19 +34965,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void FragmentLightv(OpenTK.OpenGL.Enums.All light, OpenTK.OpenGL.Enums.All pname, Single* @params) - { - Delegates.glFragmentLightfvSGIX((OpenTK.OpenGL.Enums.All)light, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); - } - public static void FragmentLight(OpenTK.OpenGL.Enums.All light, OpenTK.OpenGL.Enums.All pname, Int32 param) { Delegates.glFragmentLightiSGIX((OpenTK.OpenGL.Enums.All)light, (OpenTK.OpenGL.Enums.All)pname, (Int32)param); } + [System.CLSCompliant(false)] + public static + unsafe void FragmentLightv(OpenTK.OpenGL.Enums.All light, OpenTK.OpenGL.Enums.All pname, Int32* @params) + { + Delegates.glFragmentLightivSGIX((OpenTK.OpenGL.Enums.All)light, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + } + public static void FragmentLightv(OpenTK.OpenGL.Enums.All light, OpenTK.OpenGL.Enums.All pname, Int32[] @params) { @@ -34955,19 +35002,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void FragmentLightv(OpenTK.OpenGL.Enums.All light, OpenTK.OpenGL.Enums.All pname, Int32* @params) - { - Delegates.glFragmentLightivSGIX((OpenTK.OpenGL.Enums.All)light, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); - } - public static void FragmentLightModel(OpenTK.OpenGL.Enums.All pname, Single param) { Delegates.glFragmentLightModelfSGIX((OpenTK.OpenGL.Enums.All)pname, (Single)param); } + [System.CLSCompliant(false)] + public static + unsafe void FragmentLightModelv(OpenTK.OpenGL.Enums.All pname, Single* @params) + { + Delegates.glFragmentLightModelfvSGIX((OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + } + public static void FragmentLightModelv(OpenTK.OpenGL.Enums.All pname, Single[] @params) { @@ -34992,19 +35039,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void FragmentLightModelv(OpenTK.OpenGL.Enums.All pname, Single* @params) - { - Delegates.glFragmentLightModelfvSGIX((OpenTK.OpenGL.Enums.All)pname, (Single*)@params); - } - public static void FragmentLightModel(OpenTK.OpenGL.Enums.All pname, Int32 param) { Delegates.glFragmentLightModeliSGIX((OpenTK.OpenGL.Enums.All)pname, (Int32)param); } + [System.CLSCompliant(false)] + public static + unsafe void FragmentLightModelv(OpenTK.OpenGL.Enums.All pname, Int32* @params) + { + Delegates.glFragmentLightModelivSGIX((OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + } + public static void FragmentLightModelv(OpenTK.OpenGL.Enums.All pname, Int32[] @params) { @@ -35029,19 +35076,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void FragmentLightModelv(OpenTK.OpenGL.Enums.All pname, Int32* @params) - { - Delegates.glFragmentLightModelivSGIX((OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); - } - public static void FragmentMaterial(OpenTK.OpenGL.Enums.MaterialFace face, OpenTK.OpenGL.Enums.MaterialParameter pname, Single param) { Delegates.glFragmentMaterialfSGIX((OpenTK.OpenGL.Enums.MaterialFace)face, (OpenTK.OpenGL.Enums.MaterialParameter)pname, (Single)param); } + [System.CLSCompliant(false)] + public static + unsafe void FragmentMaterialv(OpenTK.OpenGL.Enums.MaterialFace face, OpenTK.OpenGL.Enums.MaterialParameter pname, Single* @params) + { + Delegates.glFragmentMaterialfvSGIX((OpenTK.OpenGL.Enums.MaterialFace)face, (OpenTK.OpenGL.Enums.MaterialParameter)pname, (Single*)@params); + } + public static void FragmentMaterialv(OpenTK.OpenGL.Enums.MaterialFace face, OpenTK.OpenGL.Enums.MaterialParameter pname, Single[] @params) { @@ -35066,19 +35113,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void FragmentMaterialv(OpenTK.OpenGL.Enums.MaterialFace face, OpenTK.OpenGL.Enums.MaterialParameter pname, Single* @params) - { - Delegates.glFragmentMaterialfvSGIX((OpenTK.OpenGL.Enums.MaterialFace)face, (OpenTK.OpenGL.Enums.MaterialParameter)pname, (Single*)@params); - } - public static void FragmentMaterial(OpenTK.OpenGL.Enums.MaterialFace face, OpenTK.OpenGL.Enums.MaterialParameter pname, Int32 param) { Delegates.glFragmentMaterialiSGIX((OpenTK.OpenGL.Enums.MaterialFace)face, (OpenTK.OpenGL.Enums.MaterialParameter)pname, (Int32)param); } + [System.CLSCompliant(false)] + public static + unsafe void FragmentMaterialv(OpenTK.OpenGL.Enums.MaterialFace face, OpenTK.OpenGL.Enums.MaterialParameter pname, Int32* @params) + { + Delegates.glFragmentMaterialivSGIX((OpenTK.OpenGL.Enums.MaterialFace)face, (OpenTK.OpenGL.Enums.MaterialParameter)pname, (Int32*)@params); + } + public static void FragmentMaterialv(OpenTK.OpenGL.Enums.MaterialFace face, OpenTK.OpenGL.Enums.MaterialParameter pname, Int32[] @params) { @@ -35105,9 +35152,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void FragmentMaterialv(OpenTK.OpenGL.Enums.MaterialFace face, OpenTK.OpenGL.Enums.MaterialParameter pname, Int32* @params) + unsafe void GetFragmentLight(OpenTK.OpenGL.Enums.All light, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) { - Delegates.glFragmentMaterialivSGIX((OpenTK.OpenGL.Enums.MaterialFace)face, (OpenTK.OpenGL.Enums.MaterialParameter)pname, (Int32*)@params); + Delegates.glGetFragmentLightfvSGIX((OpenTK.OpenGL.Enums.All)light, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); } public static @@ -35137,9 +35184,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetFragmentLight(OpenTK.OpenGL.Enums.All light, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + unsafe void GetFragmentLight(OpenTK.OpenGL.Enums.All light, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) { - Delegates.glGetFragmentLightfvSGIX((OpenTK.OpenGL.Enums.All)light, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glGetFragmentLightivSGIX((OpenTK.OpenGL.Enums.All)light, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } public static @@ -35169,9 +35216,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetFragmentLight(OpenTK.OpenGL.Enums.All light, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + unsafe void GetFragmentMaterial(OpenTK.OpenGL.Enums.MaterialFace face, OpenTK.OpenGL.Enums.MaterialParameter pname, [Out] Single* @params) { - Delegates.glGetFragmentLightivSGIX((OpenTK.OpenGL.Enums.All)light, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + Delegates.glGetFragmentMaterialfvSGIX((OpenTK.OpenGL.Enums.MaterialFace)face, (OpenTK.OpenGL.Enums.MaterialParameter)pname, (Single*)@params); } public static @@ -35201,9 +35248,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetFragmentMaterial(OpenTK.OpenGL.Enums.MaterialFace face, OpenTK.OpenGL.Enums.MaterialParameter pname, [Out] Single* @params) + unsafe void GetFragmentMaterial(OpenTK.OpenGL.Enums.MaterialFace face, OpenTK.OpenGL.Enums.MaterialParameter pname, [Out] Int32* @params) { - Delegates.glGetFragmentMaterialfvSGIX((OpenTK.OpenGL.Enums.MaterialFace)face, (OpenTK.OpenGL.Enums.MaterialParameter)pname, (Single*)@params); + Delegates.glGetFragmentMaterialivSGIX((OpenTK.OpenGL.Enums.MaterialFace)face, (OpenTK.OpenGL.Enums.MaterialParameter)pname, (Int32*)@params); } public static @@ -35231,13 +35278,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetFragmentMaterial(OpenTK.OpenGL.Enums.MaterialFace face, OpenTK.OpenGL.Enums.MaterialParameter pname, [Out] Int32* @params) - { - Delegates.glGetFragmentMaterialivSGIX((OpenTK.OpenGL.Enums.MaterialFace)face, (OpenTK.OpenGL.Enums.MaterialParameter)pname, (Int32*)@params); - } - public static void LightEnv(OpenTK.OpenGL.Enums.All pname, Int32 param) { @@ -35257,6 +35297,20 @@ namespace OpenTK.OpenGL Delegates.glAsyncMarkerSGIX((UInt32)marker); } + [System.CLSCompliant(false)] + public static + unsafe Int32 FinishAsync([Out] UInt32* markerp) + { + return Delegates.glFinishAsyncSGIX((UInt32*)markerp); + } + + [System.CLSCompliant(false)] + public static + unsafe Int32 FinishAsync([Out] Int32* markerp) + { + return Delegates.glFinishAsyncSGIX((UInt32*)markerp); + } + [System.CLSCompliant(false)] public static Int32 FinishAsync([Out] UInt32[] markerp) @@ -35313,16 +35367,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe Int32 FinishAsync([Out] UInt32* markerp) + unsafe Int32 PollAsync([Out] UInt32* markerp) { - return Delegates.glFinishAsyncSGIX((UInt32*)markerp); + return Delegates.glPollAsyncSGIX((UInt32*)markerp); } [System.CLSCompliant(false)] public static - unsafe Int32 FinishAsync([Out] Int32* markerp) + unsafe Int32 PollAsync([Out] Int32* markerp) { - return Delegates.glFinishAsyncSGIX((UInt32*)markerp); + return Delegates.glPollAsyncSGIX((UInt32*)markerp); } [System.CLSCompliant(false)] @@ -35379,20 +35433,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe Int32 PollAsync([Out] UInt32* markerp) - { - return Delegates.glPollAsyncSGIX((UInt32*)markerp); - } - - [System.CLSCompliant(false)] - public static - unsafe Int32 PollAsync([Out] Int32* markerp) - { - return Delegates.glPollAsyncSGIX((UInt32*)markerp); - } - public static Int32 GenAsyncMarkers(Int32 range) { @@ -35467,6 +35507,13 @@ namespace OpenTK.OpenGL Delegates.glImageTransformParameterfHP((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single)param); } + [System.CLSCompliant(false)] + public static + unsafe void ImageTransformParameterv(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Int32* @params) + { + Delegates.glImageTransformParameterivHP((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + } + public static void ImageTransformParameterv(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Int32[] @params) { @@ -35493,9 +35540,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ImageTransformParameterv(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Int32* @params) + unsafe void ImageTransformParameterv(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Single* @params) { - Delegates.glImageTransformParameterivHP((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + Delegates.glImageTransformParameterfvHP((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); } public static @@ -35524,9 +35571,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ImageTransformParameterv(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, Single* @params) + unsafe void GetImageTransformParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) { - Delegates.glImageTransformParameterfvHP((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glGetImageTransformParameterivHP((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } public static @@ -35556,9 +35603,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetImageTransformParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) + unsafe void GetImageTransformParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) { - Delegates.glGetImageTransformParameterivHP((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); + Delegates.glGetImageTransformParameterfvHP((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); } public static @@ -35586,13 +35633,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetImageTransformParameter(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) - { - Delegates.glGetImageTransformParameterfvHP((OpenTK.OpenGL.Enums.All)target, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); - } - } public static partial class Pgi @@ -35814,6 +35854,20 @@ namespace OpenTK.OpenGL Delegates.glReplacementCodeubSUN((Byte)code); } + [System.CLSCompliant(false)] + public static + unsafe void ReplacementCodev(UInt32* code) + { + Delegates.glReplacementCodeuivSUN((UInt32*)code); + } + + [System.CLSCompliant(false)] + public static + unsafe void ReplacementCodev(Int32* code) + { + Delegates.glReplacementCodeuivSUN((UInt32*)code); + } + [System.CLSCompliant(false)] public static void ReplacementCodev(UInt32[] code) @@ -35866,16 +35920,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ReplacementCodev(UInt32* code) + unsafe void ReplacementCodev(UInt16* code) { - Delegates.glReplacementCodeuivSUN((UInt32*)code); + Delegates.glReplacementCodeusvSUN((UInt16*)code); } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodev(Int32* code) + unsafe void ReplacementCodev(Int16* code) { - Delegates.glReplacementCodeuivSUN((UInt32*)code); + Delegates.glReplacementCodeusvSUN((UInt16*)code); } [System.CLSCompliant(false)] @@ -35930,16 +35984,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ReplacementCodev(UInt16* code) + unsafe void ReplacementCodev(Byte* code) { - Delegates.glReplacementCodeusvSUN((UInt16*)code); - } - - [System.CLSCompliant(false)] - public static - unsafe void ReplacementCodev(Int16* code) - { - Delegates.glReplacementCodeusvSUN((UInt16*)code); + Delegates.glReplacementCodeubvSUN((Byte*)code); } public static @@ -35966,13 +36013,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void ReplacementCodev(Byte* code) - { - Delegates.glReplacementCodeubvSUN((Byte*)code); - } - public static void ReplacementCodePointer(OpenTK.OpenGL.Enums.All type, Int32 stride, IntPtr pointer) { @@ -36005,6 +36045,13 @@ namespace OpenTK.OpenGL Delegates.glColor4ubVertex2fSUN((Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y); } + [System.CLSCompliant(false)] + public static + unsafe void Color4ubVertex2(Byte* c, Single* v) + { + Delegates.glColor4ubVertex2fvSUN((Byte*)c, (Single*)v); + } + public static void Color4ubVertex2(Byte[] c, Single[] v) { @@ -36031,19 +36078,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Color4ubVertex2(Byte* c, Single* v) - { - Delegates.glColor4ubVertex2fvSUN((Byte*)c, (Single*)v); - } - public static void Color4ubVertex3(Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) { Delegates.glColor4ubVertex3fSUN((Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z); } + [System.CLSCompliant(false)] + public static + unsafe void Color4ubVertex3(Byte* c, Single* v) + { + Delegates.glColor4ubVertex3fvSUN((Byte*)c, (Single*)v); + } + public static void Color4ubVertex3(Byte[] c, Single[] v) { @@ -36070,19 +36117,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Color4ubVertex3(Byte* c, Single* v) - { - Delegates.glColor4ubVertex3fvSUN((Byte*)c, (Single*)v); - } - public static void Color3fVertex3(Single r, Single g, Single b, Single x, Single y, Single z) { Delegates.glColor3fVertex3fSUN((Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z); } + [System.CLSCompliant(false)] + public static + unsafe void Color3fVertex3(Single* c, Single* v) + { + Delegates.glColor3fVertex3fvSUN((Single*)c, (Single*)v); + } + public static void Color3fVertex3(Single[] c, Single[] v) { @@ -36109,19 +36156,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Color3fVertex3(Single* c, Single* v) - { - Delegates.glColor3fVertex3fvSUN((Single*)c, (Single*)v); - } - public static void Normal3fVertex3(Single nx, Single ny, Single nz, Single x, Single y, Single z) { Delegates.glNormal3fVertex3fSUN((Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); } + [System.CLSCompliant(false)] + public static + unsafe void Normal3fVertex3(Single* n, Single* v) + { + Delegates.glNormal3fVertex3fvSUN((Single*)n, (Single*)v); + } + public static void Normal3fVertex3(Single[] n, Single[] v) { @@ -36148,19 +36195,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Normal3fVertex3(Single* n, Single* v) - { - Delegates.glNormal3fVertex3fvSUN((Single*)n, (Single*)v); - } - public static void Color4fNormal3fVertex3(Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) { Delegates.glColor4fNormal3fVertex3fSUN((Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); } + [System.CLSCompliant(false)] + public static + unsafe void Color4fNormal3fVertex3(Single* c, Single* n, Single* v) + { + Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c, (Single*)n, (Single*)v); + } + public static void Color4fNormal3fVertex3(Single[] c, Single[] n, Single[] v) { @@ -36189,19 +36236,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void Color4fNormal3fVertex3(Single* c, Single* n, Single* v) - { - Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c, (Single*)n, (Single*)v); - } - public static void TexCoord2fVertex3(Single s, Single t, Single x, Single y, Single z) { Delegates.glTexCoord2fVertex3fSUN((Single)s, (Single)t, (Single)x, (Single)y, (Single)z); } + [System.CLSCompliant(false)] + public static + unsafe void TexCoord2fVertex3(Single* tc, Single* v) + { + Delegates.glTexCoord2fVertex3fvSUN((Single*)tc, (Single*)v); + } + public static void TexCoord2fVertex3(Single[] tc, Single[] v) { @@ -36228,19 +36275,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexCoord2fVertex3(Single* tc, Single* v) - { - Delegates.glTexCoord2fVertex3fvSUN((Single*)tc, (Single*)v); - } - public static void TexCoord4fVertex4(Single s, Single t, Single p, Single q, Single x, Single y, Single z, Single w) { Delegates.glTexCoord4fVertex4fSUN((Single)s, (Single)t, (Single)p, (Single)q, (Single)x, (Single)y, (Single)z, (Single)w); } + [System.CLSCompliant(false)] + public static + unsafe void TexCoord4fVertex4(Single* tc, Single* v) + { + Delegates.glTexCoord4fVertex4fvSUN((Single*)tc, (Single*)v); + } + public static void TexCoord4fVertex4(Single[] tc, Single[] v) { @@ -36267,19 +36314,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexCoord4fVertex4(Single* tc, Single* v) - { - Delegates.glTexCoord4fVertex4fvSUN((Single*)tc, (Single*)v); - } - public static void TexCoord2fColor4ubVertex3(Single s, Single t, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) { Delegates.glTexCoord2fColor4ubVertex3fSUN((Single)s, (Single)t, (Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z); } + [System.CLSCompliant(false)] + public static + unsafe void TexCoord2fColor4ubVertex3(Single* tc, Byte* c, Single* v) + { + Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc, (Byte*)c, (Single*)v); + } + public static void TexCoord2fColor4ubVertex3(Single[] tc, Byte[] c, Single[] v) { @@ -36308,19 +36355,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexCoord2fColor4ubVertex3(Single* tc, Byte* c, Single* v) - { - Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc, (Byte*)c, (Single*)v); - } - public static void TexCoord2fColor3fVertex3(Single s, Single t, Single r, Single g, Single b, Single x, Single y, Single z) { Delegates.glTexCoord2fColor3fVertex3fSUN((Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z); } + [System.CLSCompliant(false)] + public static + unsafe void TexCoord2fColor3fVertex3(Single* tc, Single* c, Single* v) + { + Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)v); + } + public static void TexCoord2fColor3fVertex3(Single[] tc, Single[] c, Single[] v) { @@ -36349,19 +36396,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexCoord2fColor3fVertex3(Single* tc, Single* c, Single* v) - { - Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)v); - } - public static void TexCoord2fNormal3fVertex3(Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z) { Delegates.glTexCoord2fNormal3fVertex3fSUN((Single)s, (Single)t, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); } + [System.CLSCompliant(false)] + public static + unsafe void TexCoord2fNormal3fVertex3(Single* tc, Single* n, Single* v) + { + Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc, (Single*)n, (Single*)v); + } + public static void TexCoord2fNormal3fVertex3(Single[] tc, Single[] n, Single[] v) { @@ -36390,19 +36437,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexCoord2fNormal3fVertex3(Single* tc, Single* n, Single* v) - { - Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc, (Single*)n, (Single*)v); - } - public static void TexCoord2fColor4fNormal3fVertex3(Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) { Delegates.glTexCoord2fColor4fNormal3fVertex3fSUN((Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); } + [System.CLSCompliant(false)] + public static + unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single* c, Single* n, Single* v) + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v); + } + public static void TexCoord2fColor4fNormal3fVertex3(Single[] tc, Single[] c, Single[] n, Single[] v) { @@ -36433,19 +36480,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single* c, Single* n, Single* v) - { - Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v); - } - public static void TexCoord4fColor4fNormal3fVertex4(Single s, Single t, Single p, Single q, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z, Single w) { Delegates.glTexCoord4fColor4fNormal3fVertex4fSUN((Single)s, (Single)t, (Single)p, (Single)q, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z, (Single)w); } + [System.CLSCompliant(false)] + public static + unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single* c, Single* n, Single* v) + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v); + } + public static void TexCoord4fColor4fNormal3fVertex4(Single[] tc, Single[] c, Single[] n, Single[] v) { @@ -36476,13 +36523,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single* c, Single* n, Single* v) - { - Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v); - } - [System.CLSCompliant(false)] public static void ReplacementCodeuiVertex3(UInt32 rc, Single x, Single y, Single z) @@ -36496,6 +36536,20 @@ namespace OpenTK.OpenGL Delegates.glReplacementCodeuiVertex3fSUN((UInt32)rc, (Single)x, (Single)y, (Single)z); } + [System.CLSCompliant(false)] + public static + unsafe void ReplacementCodeuiVertex3v(UInt32* rc, Single* v) + { + Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void ReplacementCodeuiVertex3v(Int32* rc, Single* v) + { + Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v); + } + [System.CLSCompliant(false)] public static void ReplacementCodeuiVertex3v(UInt32[] rc, Single[] v) @@ -36550,20 +36604,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void ReplacementCodeuiVertex3v(UInt32* rc, Single* v) - { - Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void ReplacementCodeuiVertex3v(Int32* rc, Single* v) - { - Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v); - } - [System.CLSCompliant(false)] public static void ReplacementCodeuiColor4ubVertex3(UInt32 rc, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) @@ -36577,6 +36617,20 @@ namespace OpenTK.OpenGL Delegates.glReplacementCodeuiColor4ubVertex3fSUN((UInt32)rc, (Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z); } + [System.CLSCompliant(false)] + public static + unsafe void ReplacementCodeuiColor4ubVertex3v(UInt32* rc, Byte* c, Single* v) + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c, (Single*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void ReplacementCodeuiColor4ubVertex3v(Int32* rc, Byte* c, Single* v) + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c, (Single*)v); + } + [System.CLSCompliant(false)] public static void ReplacementCodeuiColor4ubVertex3v(UInt32[] rc, Byte[] c, Single[] v) @@ -36635,20 +36689,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void ReplacementCodeuiColor4ubVertex3v(UInt32* rc, Byte* c, Single* v) - { - Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c, (Single*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void ReplacementCodeuiColor4ubVertex3v(Int32* rc, Byte* c, Single* v) - { - Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c, (Single*)v); - } - [System.CLSCompliant(false)] public static void ReplacementCodeuiColor3fVertex3(UInt32 rc, Single r, Single g, Single b, Single x, Single y, Single z) @@ -36662,6 +36702,20 @@ namespace OpenTK.OpenGL Delegates.glReplacementCodeuiColor3fVertex3fSUN((UInt32)rc, (Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z); } + [System.CLSCompliant(false)] + public static + unsafe void ReplacementCodeuiColor3fVertex3v(UInt32* rc, Single* c, Single* v) + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void ReplacementCodeuiColor3fVertex3v(Int32* rc, Single* c, Single* v) + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)v); + } + [System.CLSCompliant(false)] public static void ReplacementCodeuiColor3fVertex3v(UInt32[] rc, Single[] c, Single[] v) @@ -36720,20 +36774,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void ReplacementCodeuiColor3fVertex3v(UInt32* rc, Single* c, Single* v) - { - Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void ReplacementCodeuiColor3fVertex3v(Int32* rc, Single* c, Single* v) - { - Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)v); - } - [System.CLSCompliant(false)] public static void ReplacementCodeuiNormal3fVertex3(UInt32 rc, Single nx, Single ny, Single nz, Single x, Single y, Single z) @@ -36747,6 +36787,20 @@ namespace OpenTK.OpenGL Delegates.glReplacementCodeuiNormal3fVertex3fSUN((UInt32)rc, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); } + [System.CLSCompliant(false)] + public static + unsafe void ReplacementCodeuiNormal3fVertex3v(UInt32* rc, Single* n, Single* v) + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n, (Single*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void ReplacementCodeuiNormal3fVertex3v(Int32* rc, Single* n, Single* v) + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n, (Single*)v); + } + [System.CLSCompliant(false)] public static void ReplacementCodeuiNormal3fVertex3v(UInt32[] rc, Single[] n, Single[] v) @@ -36805,20 +36859,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void ReplacementCodeuiNormal3fVertex3v(UInt32* rc, Single* n, Single* v) - { - Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n, (Single*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void ReplacementCodeuiNormal3fVertex3v(Int32* rc, Single* n, Single* v) - { - Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n, (Single*)v); - } - [System.CLSCompliant(false)] public static void ReplacementCodeuiColor4fNormal3fVertex3(UInt32 rc, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) @@ -36832,6 +36872,20 @@ namespace OpenTK.OpenGL Delegates.glReplacementCodeuiColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); } + [System.CLSCompliant(false)] + public static + unsafe void ReplacementCodeuiColor4fNormal3fVertex3v(UInt32* rc, Single* c, Single* n, Single* v) + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n, (Single*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void ReplacementCodeuiColor4fNormal3fVertex3v(Int32* rc, Single* c, Single* n, Single* v) + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n, (Single*)v); + } + [System.CLSCompliant(false)] public static void ReplacementCodeuiColor4fNormal3fVertex3v(UInt32[] rc, Single[] c, Single[] n, Single[] v) @@ -36894,20 +36948,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3v(UInt32* rc, Single* c, Single* n, Single* v) - { - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n, (Single*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3v(Int32* rc, Single* c, Single* n, Single* v) - { - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n, (Single*)v); - } - [System.CLSCompliant(false)] public static void ReplacementCodeuiTexCoord2fVertex3(UInt32 rc, Single s, Single t, Single x, Single y, Single z) @@ -36921,6 +36961,20 @@ namespace OpenTK.OpenGL Delegates.glReplacementCodeuiTexCoord2fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)x, (Single)y, (Single)z); } + [System.CLSCompliant(false)] + public static + unsafe void ReplacementCodeuiTexCoord2fVertex3v(UInt32* rc, Single* tc, Single* v) + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void ReplacementCodeuiTexCoord2fVertex3v(Int32* rc, Single* tc, Single* v) + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)v); + } + [System.CLSCompliant(false)] public static void ReplacementCodeuiTexCoord2fVertex3v(UInt32[] rc, Single[] tc, Single[] v) @@ -36979,20 +37033,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void ReplacementCodeuiTexCoord2fVertex3v(UInt32* rc, Single* tc, Single* v) - { - Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void ReplacementCodeuiTexCoord2fVertex3v(Int32* rc, Single* tc, Single* v) - { - Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)v); - } - [System.CLSCompliant(false)] public static void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32 rc, Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z) @@ -37006,6 +37046,20 @@ namespace OpenTK.OpenGL Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); } + [System.CLSCompliant(false)] + public static + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3v(UInt32* rc, Single* tc, Single* n, Single* v) + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n, (Single*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3v(Int32* rc, Single* tc, Single* n, Single* v) + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n, (Single*)v); + } + [System.CLSCompliant(false)] public static void ReplacementCodeuiTexCoord2fNormal3fVertex3v(UInt32[] rc, Single[] tc, Single[] n, Single[] v) @@ -37068,20 +37122,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3v(UInt32* rc, Single* tc, Single* n, Single* v) - { - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n, (Single*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3v(Int32* rc, Single* tc, Single* n, Single* v) - { - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n, (Single*)v); - } - [System.CLSCompliant(false)] public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32 rc, Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) @@ -37095,6 +37135,20 @@ namespace OpenTK.OpenGL Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); } + [System.CLSCompliant(false)] + public static + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3v(UInt32* rc, Single* tc, Single* c, Single* n, Single* v) + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n, (Single*)v); + } + + [System.CLSCompliant(false)] + public static + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3v(Int32* rc, Single* tc, Single* c, Single* n, Single* v) + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n, (Single*)v); + } + [System.CLSCompliant(false)] public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3v(UInt32[] rc, Single[] tc, Single[] c, Single[] n, Single[] v) @@ -37161,20 +37215,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3v(UInt32* rc, Single* tc, Single* c, Single* n, Single* v) - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n, (Single*)v); - } - - [System.CLSCompliant(false)] - public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3v(Int32* rc, Single* tc, Single* c, Single* n, Single* v) - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n, (Single*)v); - } - public static void DrawMeshArrays(OpenTK.OpenGL.Enums.BeginMode mode, Int32 first, Int32 count, Int32 width) { @@ -37207,6 +37247,13 @@ namespace OpenTK.OpenGL Delegates.glWindowPos2dMESA((Double)x, (Double)y); } + [System.CLSCompliant(false)] + public static + unsafe void WindowPos2(Double* v) + { + Delegates.glWindowPos2dvMESA((Double*)v); + } + public static void WindowPos2(Double[] v) { @@ -37231,19 +37278,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void WindowPos2(Double* v) - { - Delegates.glWindowPos2dvMESA((Double*)v); - } - public static void WindowPos2(Single x, Single y) { Delegates.glWindowPos2fMESA((Single)x, (Single)y); } + [System.CLSCompliant(false)] + public static + unsafe void WindowPos2(Single* v) + { + Delegates.glWindowPos2fvMESA((Single*)v); + } + public static void WindowPos2(Single[] v) { @@ -37268,19 +37315,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void WindowPos2(Single* v) - { - Delegates.glWindowPos2fvMESA((Single*)v); - } - public static void WindowPos2(Int32 x, Int32 y) { Delegates.glWindowPos2iMESA((Int32)x, (Int32)y); } + [System.CLSCompliant(false)] + public static + unsafe void WindowPos2(Int32* v) + { + Delegates.glWindowPos2ivMESA((Int32*)v); + } + public static void WindowPos2(Int32[] v) { @@ -37305,19 +37352,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void WindowPos2(Int32* v) - { - Delegates.glWindowPos2ivMESA((Int32*)v); - } - public static void WindowPos2(Int16 x, Int16 y) { Delegates.glWindowPos2sMESA((Int16)x, (Int16)y); } + [System.CLSCompliant(false)] + public static + unsafe void WindowPos2(Int16* v) + { + Delegates.glWindowPos2svMESA((Int16*)v); + } + public static void WindowPos2(Int16[] v) { @@ -37342,19 +37389,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void WindowPos2(Int16* v) - { - Delegates.glWindowPos2svMESA((Int16*)v); - } - public static void WindowPos3(Double x, Double y, Double z) { Delegates.glWindowPos3dMESA((Double)x, (Double)y, (Double)z); } + [System.CLSCompliant(false)] + public static + unsafe void WindowPos3(Double* v) + { + Delegates.glWindowPos3dvMESA((Double*)v); + } + public static void WindowPos3(Double[] v) { @@ -37379,19 +37426,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void WindowPos3(Double* v) - { - Delegates.glWindowPos3dvMESA((Double*)v); - } - public static void WindowPos3(Single x, Single y, Single z) { Delegates.glWindowPos3fMESA((Single)x, (Single)y, (Single)z); } + [System.CLSCompliant(false)] + public static + unsafe void WindowPos3(Single* v) + { + Delegates.glWindowPos3fvMESA((Single*)v); + } + public static void WindowPos3(Single[] v) { @@ -37416,19 +37463,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void WindowPos3(Single* v) - { - Delegates.glWindowPos3fvMESA((Single*)v); - } - public static void WindowPos3(Int32 x, Int32 y, Int32 z) { Delegates.glWindowPos3iMESA((Int32)x, (Int32)y, (Int32)z); } + [System.CLSCompliant(false)] + public static + unsafe void WindowPos3(Int32* v) + { + Delegates.glWindowPos3ivMESA((Int32*)v); + } + public static void WindowPos3(Int32[] v) { @@ -37453,19 +37500,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void WindowPos3(Int32* v) - { - Delegates.glWindowPos3ivMESA((Int32*)v); - } - public static void WindowPos3(Int16 x, Int16 y, Int16 z) { Delegates.glWindowPos3sMESA((Int16)x, (Int16)y, (Int16)z); } + [System.CLSCompliant(false)] + public static + unsafe void WindowPos3(Int16* v) + { + Delegates.glWindowPos3svMESA((Int16*)v); + } + public static void WindowPos3(Int16[] v) { @@ -37490,19 +37537,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void WindowPos3(Int16* v) - { - Delegates.glWindowPos3svMESA((Int16*)v); - } - public static void WindowPos4(Double x, Double y, Double z, Double w) { Delegates.glWindowPos4dMESA((Double)x, (Double)y, (Double)z, (Double)w); } + [System.CLSCompliant(false)] + public static + unsafe void WindowPos4(Double* v) + { + Delegates.glWindowPos4dvMESA((Double*)v); + } + public static void WindowPos4(Double[] v) { @@ -37527,19 +37574,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void WindowPos4(Double* v) - { - Delegates.glWindowPos4dvMESA((Double*)v); - } - public static void WindowPos4(Single x, Single y, Single z, Single w) { Delegates.glWindowPos4fMESA((Single)x, (Single)y, (Single)z, (Single)w); } + [System.CLSCompliant(false)] + public static + unsafe void WindowPos4(Single* v) + { + Delegates.glWindowPos4fvMESA((Single*)v); + } + public static void WindowPos4(Single[] v) { @@ -37564,19 +37611,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void WindowPos4(Single* v) - { - Delegates.glWindowPos4fvMESA((Single*)v); - } - public static void WindowPos4(Int32 x, Int32 y, Int32 z, Int32 w) { Delegates.glWindowPos4iMESA((Int32)x, (Int32)y, (Int32)z, (Int32)w); } + [System.CLSCompliant(false)] + public static + unsafe void WindowPos4(Int32* v) + { + Delegates.glWindowPos4ivMESA((Int32*)v); + } + public static void WindowPos4(Int32[] v) { @@ -37601,19 +37648,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void WindowPos4(Int32* v) - { - Delegates.glWindowPos4ivMESA((Int32*)v); - } - public static void WindowPos4(Int16 x, Int16 y, Int16 z, Int16 w) { Delegates.glWindowPos4sMESA((Int16)x, (Int16)y, (Int16)z, (Int16)w); } + [System.CLSCompliant(false)] + public static + unsafe void WindowPos4(Int16* v) + { + Delegates.glWindowPos4svMESA((Int16*)v); + } + public static void WindowPos4(Int16[] v) { @@ -37638,17 +37685,17 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void WindowPos4(Int16* v) - { - Delegates.glWindowPos4svMESA((Int16*)v); - } - } public static partial class Ibm { + [System.CLSCompliant(false)] + public static + unsafe void MultiModeDrawArrays(OpenTK.OpenGL.Enums.BeginMode* mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride) + { + Delegates.glMultiModeDrawArraysIBM((OpenTK.OpenGL.Enums.BeginMode*)mode, (Int32*)first, (Int32*)count, (Int32)primcount, (Int32)modestride); + } + public static void MultiModeDrawArrays(OpenTK.OpenGL.Enums.BeginMode[] mode, Int32[] first, Int32[] count, Int32 primcount, Int32 modestride) { @@ -37679,9 +37726,24 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void MultiModeDrawArrays(OpenTK.OpenGL.Enums.BeginMode* mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride) + unsafe void MultiModeDrawElements(OpenTK.OpenGL.Enums.BeginMode* mode, Int32* count, OpenTK.OpenGL.Enums.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride) { - Delegates.glMultiModeDrawArraysIBM((OpenTK.OpenGL.Enums.BeginMode*)mode, (Int32*)first, (Int32*)count, (Int32)primcount, (Int32)modestride); + Delegates.glMultiModeDrawElementsIBM((OpenTK.OpenGL.Enums.BeginMode*)mode, (Int32*)count, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride); + } + + [System.CLSCompliant(false)] + public static + unsafe void MultiModeDrawElements(OpenTK.OpenGL.Enums.BeginMode* mode, Int32* count, OpenTK.OpenGL.Enums.DrawElementsType type, [In, Out] object indices, Int32 primcount, Int32 modestride) + { + System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.OpenGL.Enums.BeginMode*)mode, (Int32*)count, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } } public static @@ -37697,18 +37759,37 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] public static - unsafe void MultiModeDrawElements(OpenTK.OpenGL.Enums.BeginMode* mode, Int32* count, OpenTK.OpenGL.Enums.DrawElementsType type, [In, Out] object indices, Int32 primcount, Int32 modestride) + void MultiModeDrawElements(OpenTK.OpenGL.Enums.BeginMode[] mode, Int32[] count, OpenTK.OpenGL.Enums.DrawElementsType type, [In, Out] object indices, Int32 primcount, Int32 modestride) { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); - try + unsafe { - Delegates.glMultiModeDrawElementsIBM((OpenTK.OpenGL.Enums.BeginMode*)mode, (Int32*)count, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + fixed (OpenTK.OpenGL.Enums.BeginMode* mode_ptr = mode) + fixed (Int32* count_ptr = count) + { + System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.OpenGL.Enums.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + } } - finally + } + + public static + void MultiModeDrawElements(ref OpenTK.OpenGL.Enums.BeginMode mode, ref Int32 count, OpenTK.OpenGL.Enums.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride) + { + unsafe { - indices_ptr.Free(); + fixed (OpenTK.OpenGL.Enums.BeginMode* mode_ptr = &mode) + fixed (Int32* count_ptr = &count) + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.OpenGL.Enums.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride); + } } } @@ -37785,6 +37866,13 @@ namespace OpenTK.OpenGL } } + [System.CLSCompliant(false)] + public static + unsafe void EdgeFlagPointerList(Int32 stride, bool* pointer, Int32 ptrstride) + { + Delegates.glEdgeFlagPointerListIBM((Int32)stride, (bool*)pointer, (Int32)ptrstride); + } + public static void EdgeFlagPointerList(Int32 stride, bool[] pointer, Int32 ptrstride) { @@ -37809,13 +37897,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void EdgeFlagPointerList(Int32 stride, bool* pointer, Int32 ptrstride) - { - Delegates.glEdgeFlagPointerListIBM((Int32)stride, (bool*)pointer, (Int32)ptrstride); - } - public static void FogCoordPointerList(OpenTK.OpenGL.Enums.All type, Int32 stride, IntPtr pointer, Int32 ptrstride) { @@ -37967,6 +38048,13 @@ namespace OpenTK.OpenGL public static partial class Ati { + [System.CLSCompliant(false)] + public static + unsafe void TexBumpParameter(OpenTK.OpenGL.Enums.All pname, Int32* param) + { + Delegates.glTexBumpParameterivATI((OpenTK.OpenGL.Enums.All)pname, (Int32*)param); + } + public static void TexBumpParameter(OpenTK.OpenGL.Enums.All pname, Int32[] param) { @@ -37993,9 +38081,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void TexBumpParameter(OpenTK.OpenGL.Enums.All pname, Int32* param) + unsafe void TexBumpParameter(OpenTK.OpenGL.Enums.All pname, Single* param) { - Delegates.glTexBumpParameterivATI((OpenTK.OpenGL.Enums.All)pname, (Int32*)param); + Delegates.glTexBumpParameterfvATI((OpenTK.OpenGL.Enums.All)pname, (Single*)param); } public static @@ -38024,9 +38112,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void TexBumpParameter(OpenTK.OpenGL.Enums.All pname, Single* param) + unsafe void GetTexBumpParameter(OpenTK.OpenGL.Enums.All pname, [Out] Int32* param) { - Delegates.glTexBumpParameterfvATI((OpenTK.OpenGL.Enums.All)pname, (Single*)param); + Delegates.glGetTexBumpParameterivATI((OpenTK.OpenGL.Enums.All)pname, (Int32*)param); } public static @@ -38056,9 +38144,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetTexBumpParameter(OpenTK.OpenGL.Enums.All pname, [Out] Int32* param) + unsafe void GetTexBumpParameter(OpenTK.OpenGL.Enums.All pname, [Out] Single* param) { - Delegates.glGetTexBumpParameterivATI((OpenTK.OpenGL.Enums.All)pname, (Int32*)param); + Delegates.glGetTexBumpParameterfvATI((OpenTK.OpenGL.Enums.All)pname, (Single*)param); } public static @@ -38086,13 +38174,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetTexBumpParameter(OpenTK.OpenGL.Enums.All pname, [Out] Single* param) - { - Delegates.glGetTexBumpParameterfvATI((OpenTK.OpenGL.Enums.All)pname, (Single*)param); - } - [System.CLSCompliant(false)] public static Int32 GenFragmentShaders(UInt32 range) @@ -38248,6 +38329,20 @@ namespace OpenTK.OpenGL Delegates.glAlphaFragmentOp3ATI((OpenTK.OpenGL.Enums.All)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod); } + [System.CLSCompliant(false)] + public static + unsafe void SetFragmentShaderConstant(UInt32 dst, Single* value) + { + Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value); + } + + [System.CLSCompliant(false)] + public static + unsafe void SetFragmentShaderConstant(Int32 dst, Single* value) + { + Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value); + } + [System.CLSCompliant(false)] public static void SetFragmentShaderConstant(UInt32 dst, Single[] value) @@ -38298,20 +38393,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void SetFragmentShaderConstant(UInt32 dst, Single* value) - { - Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value); - } - - [System.CLSCompliant(false)] - public static - unsafe void SetFragmentShaderConstant(Int32 dst, Single* value) - { - Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value); - } - public static void PNTriangles(OpenTK.OpenGL.Enums.All pname, Int32 param) { @@ -38417,6 +38498,20 @@ namespace OpenTK.OpenGL } } + [System.CLSCompliant(false)] + public static + unsafe void GetObjectBuffer(UInt32 buffer, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + { + Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + } + + [System.CLSCompliant(false)] + public static + unsafe void GetObjectBuffer(Int32 buffer, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + { + Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + } + [System.CLSCompliant(false)] public static void GetObjectBuffer(UInt32 buffer, OpenTK.OpenGL.Enums.All pname, [Out] Single[] @params) @@ -38471,16 +38566,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetObjectBuffer(UInt32 buffer, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + unsafe void GetObjectBuffer(UInt32 buffer, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) { - Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } [System.CLSCompliant(false)] public static - unsafe void GetObjectBuffer(Int32 buffer, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + unsafe void GetObjectBuffer(Int32 buffer, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) { - Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } [System.CLSCompliant(false)] @@ -38535,20 +38630,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetObjectBuffer(UInt32 buffer, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) - { - Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); - } - - [System.CLSCompliant(false)] - public static - unsafe void GetObjectBuffer(Int32 buffer, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) - { - Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); - } - [System.CLSCompliant(false)] public static void FreeObjectBuffer(UInt32 buffer) @@ -38575,6 +38656,13 @@ namespace OpenTK.OpenGL Delegates.glArrayObjectATI((OpenTK.OpenGL.Enums.EnableCap)array, (Int32)size, (OpenTK.OpenGL.Enums.All)type, (Int32)stride, (UInt32)buffer, (UInt32)offset); } + [System.CLSCompliant(false)] + public static + unsafe void GetArrayObject(OpenTK.OpenGL.Enums.EnableCap array, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + { + Delegates.glGetArrayObjectfvATI((OpenTK.OpenGL.Enums.EnableCap)array, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + } + public static void GetArrayObject(OpenTK.OpenGL.Enums.EnableCap array, OpenTK.OpenGL.Enums.All pname, [Out] Single[] @params) { @@ -38602,9 +38690,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetArrayObject(OpenTK.OpenGL.Enums.EnableCap array, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + unsafe void GetArrayObject(OpenTK.OpenGL.Enums.EnableCap array, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) { - Delegates.glGetArrayObjectfvATI((OpenTK.OpenGL.Enums.EnableCap)array, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glGetArrayObjectivATI((OpenTK.OpenGL.Enums.EnableCap)array, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } public static @@ -38632,13 +38720,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetArrayObject(OpenTK.OpenGL.Enums.EnableCap array, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) - { - Delegates.glGetArrayObjectivATI((OpenTK.OpenGL.Enums.EnableCap)array, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); - } - [System.CLSCompliant(false)] public static void VariantArrayObject(UInt32 id, OpenTK.OpenGL.Enums.All type, Int32 stride, UInt32 buffer, UInt32 offset) @@ -38652,6 +38733,20 @@ namespace OpenTK.OpenGL Delegates.glVariantArrayObjectATI((UInt32)id, (OpenTK.OpenGL.Enums.All)type, (Int32)stride, (UInt32)buffer, (UInt32)offset); } + [System.CLSCompliant(false)] + public static + unsafe void GetVariantArrayObject(UInt32 id, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + { + Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + } + + [System.CLSCompliant(false)] + public static + unsafe void GetVariantArrayObject(Int32 id, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + { + Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + } + [System.CLSCompliant(false)] public static void GetVariantArrayObject(UInt32 id, OpenTK.OpenGL.Enums.All pname, [Out] Single[] @params) @@ -38706,16 +38801,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetVariantArrayObject(UInt32 id, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + unsafe void GetVariantArrayObject(UInt32 id, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) { - Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } [System.CLSCompliant(false)] public static - unsafe void GetVariantArrayObject(Int32 id, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + unsafe void GetVariantArrayObject(Int32 id, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) { - Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } [System.CLSCompliant(false)] @@ -38770,26 +38865,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetVariantArrayObject(UInt32 id, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) - { - Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); - } - - [System.CLSCompliant(false)] - public static - unsafe void GetVariantArrayObject(Int32 id, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) - { - Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); - } - public static void VertexStream1(OpenTK.OpenGL.Enums.All stream, Int16 x) { Delegates.glVertexStream1sATI((OpenTK.OpenGL.Enums.All)stream, (Int16)x); } + [System.CLSCompliant(false)] + public static + unsafe void VertexStream1v(OpenTK.OpenGL.Enums.All stream, Int16* coords) + { + Delegates.glVertexStream1svATI((OpenTK.OpenGL.Enums.All)stream, (Int16*)coords); + } + public static void VertexStream1v(OpenTK.OpenGL.Enums.All stream, Int16[] coords) { @@ -38814,19 +38902,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexStream1v(OpenTK.OpenGL.Enums.All stream, Int16* coords) - { - Delegates.glVertexStream1svATI((OpenTK.OpenGL.Enums.All)stream, (Int16*)coords); - } - public static void VertexStream1(OpenTK.OpenGL.Enums.All stream, Int32 x) { Delegates.glVertexStream1iATI((OpenTK.OpenGL.Enums.All)stream, (Int32)x); } + [System.CLSCompliant(false)] + public static + unsafe void VertexStream1v(OpenTK.OpenGL.Enums.All stream, Int32* coords) + { + Delegates.glVertexStream1ivATI((OpenTK.OpenGL.Enums.All)stream, (Int32*)coords); + } + public static void VertexStream1v(OpenTK.OpenGL.Enums.All stream, Int32[] coords) { @@ -38851,19 +38939,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexStream1v(OpenTK.OpenGL.Enums.All stream, Int32* coords) - { - Delegates.glVertexStream1ivATI((OpenTK.OpenGL.Enums.All)stream, (Int32*)coords); - } - public static void VertexStream1(OpenTK.OpenGL.Enums.All stream, Single x) { Delegates.glVertexStream1fATI((OpenTK.OpenGL.Enums.All)stream, (Single)x); } + [System.CLSCompliant(false)] + public static + unsafe void VertexStream1v(OpenTK.OpenGL.Enums.All stream, Single* coords) + { + Delegates.glVertexStream1fvATI((OpenTK.OpenGL.Enums.All)stream, (Single*)coords); + } + public static void VertexStream1v(OpenTK.OpenGL.Enums.All stream, Single[] coords) { @@ -38888,19 +38976,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexStream1v(OpenTK.OpenGL.Enums.All stream, Single* coords) - { - Delegates.glVertexStream1fvATI((OpenTK.OpenGL.Enums.All)stream, (Single*)coords); - } - public static void VertexStream1(OpenTK.OpenGL.Enums.All stream, Double x) { Delegates.glVertexStream1dATI((OpenTK.OpenGL.Enums.All)stream, (Double)x); } + [System.CLSCompliant(false)] + public static + unsafe void VertexStream1v(OpenTK.OpenGL.Enums.All stream, Double* coords) + { + Delegates.glVertexStream1dvATI((OpenTK.OpenGL.Enums.All)stream, (Double*)coords); + } + public static void VertexStream1v(OpenTK.OpenGL.Enums.All stream, Double[] coords) { @@ -38925,19 +39013,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexStream1v(OpenTK.OpenGL.Enums.All stream, Double* coords) - { - Delegates.glVertexStream1dvATI((OpenTK.OpenGL.Enums.All)stream, (Double*)coords); - } - public static void VertexStream2(OpenTK.OpenGL.Enums.All stream, Int16 x, Int16 y) { Delegates.glVertexStream2sATI((OpenTK.OpenGL.Enums.All)stream, (Int16)x, (Int16)y); } + [System.CLSCompliant(false)] + public static + unsafe void VertexStream2(OpenTK.OpenGL.Enums.All stream, Int16* coords) + { + Delegates.glVertexStream2svATI((OpenTK.OpenGL.Enums.All)stream, (Int16*)coords); + } + public static void VertexStream2(OpenTK.OpenGL.Enums.All stream, Int16[] coords) { @@ -38962,19 +39050,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexStream2(OpenTK.OpenGL.Enums.All stream, Int16* coords) - { - Delegates.glVertexStream2svATI((OpenTK.OpenGL.Enums.All)stream, (Int16*)coords); - } - public static void VertexStream2(OpenTK.OpenGL.Enums.All stream, Int32 x, Int32 y) { Delegates.glVertexStream2iATI((OpenTK.OpenGL.Enums.All)stream, (Int32)x, (Int32)y); } + [System.CLSCompliant(false)] + public static + unsafe void VertexStream2(OpenTK.OpenGL.Enums.All stream, Int32* coords) + { + Delegates.glVertexStream2ivATI((OpenTK.OpenGL.Enums.All)stream, (Int32*)coords); + } + public static void VertexStream2(OpenTK.OpenGL.Enums.All stream, Int32[] coords) { @@ -38999,19 +39087,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexStream2(OpenTK.OpenGL.Enums.All stream, Int32* coords) - { - Delegates.glVertexStream2ivATI((OpenTK.OpenGL.Enums.All)stream, (Int32*)coords); - } - public static void VertexStream2(OpenTK.OpenGL.Enums.All stream, Single x, Single y) { Delegates.glVertexStream2fATI((OpenTK.OpenGL.Enums.All)stream, (Single)x, (Single)y); } + [System.CLSCompliant(false)] + public static + unsafe void VertexStream2(OpenTK.OpenGL.Enums.All stream, Single* coords) + { + Delegates.glVertexStream2fvATI((OpenTK.OpenGL.Enums.All)stream, (Single*)coords); + } + public static void VertexStream2(OpenTK.OpenGL.Enums.All stream, Single[] coords) { @@ -39036,19 +39124,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexStream2(OpenTK.OpenGL.Enums.All stream, Single* coords) - { - Delegates.glVertexStream2fvATI((OpenTK.OpenGL.Enums.All)stream, (Single*)coords); - } - public static void VertexStream2(OpenTK.OpenGL.Enums.All stream, Double x, Double y) { Delegates.glVertexStream2dATI((OpenTK.OpenGL.Enums.All)stream, (Double)x, (Double)y); } + [System.CLSCompliant(false)] + public static + unsafe void VertexStream2(OpenTK.OpenGL.Enums.All stream, Double* coords) + { + Delegates.glVertexStream2dvATI((OpenTK.OpenGL.Enums.All)stream, (Double*)coords); + } + public static void VertexStream2(OpenTK.OpenGL.Enums.All stream, Double[] coords) { @@ -39073,19 +39161,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexStream2(OpenTK.OpenGL.Enums.All stream, Double* coords) - { - Delegates.glVertexStream2dvATI((OpenTK.OpenGL.Enums.All)stream, (Double*)coords); - } - public static void VertexStream3(OpenTK.OpenGL.Enums.All stream, Int16 x, Int16 y, Int16 z) { Delegates.glVertexStream3sATI((OpenTK.OpenGL.Enums.All)stream, (Int16)x, (Int16)y, (Int16)z); } + [System.CLSCompliant(false)] + public static + unsafe void VertexStream3(OpenTK.OpenGL.Enums.All stream, Int16* coords) + { + Delegates.glVertexStream3svATI((OpenTK.OpenGL.Enums.All)stream, (Int16*)coords); + } + public static void VertexStream3(OpenTK.OpenGL.Enums.All stream, Int16[] coords) { @@ -39110,19 +39198,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexStream3(OpenTK.OpenGL.Enums.All stream, Int16* coords) - { - Delegates.glVertexStream3svATI((OpenTK.OpenGL.Enums.All)stream, (Int16*)coords); - } - public static void VertexStream3(OpenTK.OpenGL.Enums.All stream, Int32 x, Int32 y, Int32 z) { Delegates.glVertexStream3iATI((OpenTK.OpenGL.Enums.All)stream, (Int32)x, (Int32)y, (Int32)z); } + [System.CLSCompliant(false)] + public static + unsafe void VertexStream3(OpenTK.OpenGL.Enums.All stream, Int32* coords) + { + Delegates.glVertexStream3ivATI((OpenTK.OpenGL.Enums.All)stream, (Int32*)coords); + } + public static void VertexStream3(OpenTK.OpenGL.Enums.All stream, Int32[] coords) { @@ -39147,19 +39235,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexStream3(OpenTK.OpenGL.Enums.All stream, Int32* coords) - { - Delegates.glVertexStream3ivATI((OpenTK.OpenGL.Enums.All)stream, (Int32*)coords); - } - public static void VertexStream3(OpenTK.OpenGL.Enums.All stream, Single x, Single y, Single z) { Delegates.glVertexStream3fATI((OpenTK.OpenGL.Enums.All)stream, (Single)x, (Single)y, (Single)z); } + [System.CLSCompliant(false)] + public static + unsafe void VertexStream3(OpenTK.OpenGL.Enums.All stream, Single* coords) + { + Delegates.glVertexStream3fvATI((OpenTK.OpenGL.Enums.All)stream, (Single*)coords); + } + public static void VertexStream3(OpenTK.OpenGL.Enums.All stream, Single[] coords) { @@ -39184,19 +39272,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexStream3(OpenTK.OpenGL.Enums.All stream, Single* coords) - { - Delegates.glVertexStream3fvATI((OpenTK.OpenGL.Enums.All)stream, (Single*)coords); - } - public static void VertexStream3(OpenTK.OpenGL.Enums.All stream, Double x, Double y, Double z) { Delegates.glVertexStream3dATI((OpenTK.OpenGL.Enums.All)stream, (Double)x, (Double)y, (Double)z); } + [System.CLSCompliant(false)] + public static + unsafe void VertexStream3(OpenTK.OpenGL.Enums.All stream, Double* coords) + { + Delegates.glVertexStream3dvATI((OpenTK.OpenGL.Enums.All)stream, (Double*)coords); + } + public static void VertexStream3(OpenTK.OpenGL.Enums.All stream, Double[] coords) { @@ -39221,19 +39309,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexStream3(OpenTK.OpenGL.Enums.All stream, Double* coords) - { - Delegates.glVertexStream3dvATI((OpenTK.OpenGL.Enums.All)stream, (Double*)coords); - } - public static void VertexStream4(OpenTK.OpenGL.Enums.All stream, Int16 x, Int16 y, Int16 z, Int16 w) { Delegates.glVertexStream4sATI((OpenTK.OpenGL.Enums.All)stream, (Int16)x, (Int16)y, (Int16)z, (Int16)w); } + [System.CLSCompliant(false)] + public static + unsafe void VertexStream4(OpenTK.OpenGL.Enums.All stream, Int16* coords) + { + Delegates.glVertexStream4svATI((OpenTK.OpenGL.Enums.All)stream, (Int16*)coords); + } + public static void VertexStream4(OpenTK.OpenGL.Enums.All stream, Int16[] coords) { @@ -39258,19 +39346,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexStream4(OpenTK.OpenGL.Enums.All stream, Int16* coords) - { - Delegates.glVertexStream4svATI((OpenTK.OpenGL.Enums.All)stream, (Int16*)coords); - } - public static void VertexStream4(OpenTK.OpenGL.Enums.All stream, Int32 x, Int32 y, Int32 z, Int32 w) { Delegates.glVertexStream4iATI((OpenTK.OpenGL.Enums.All)stream, (Int32)x, (Int32)y, (Int32)z, (Int32)w); } + [System.CLSCompliant(false)] + public static + unsafe void VertexStream4(OpenTK.OpenGL.Enums.All stream, Int32* coords) + { + Delegates.glVertexStream4ivATI((OpenTK.OpenGL.Enums.All)stream, (Int32*)coords); + } + public static void VertexStream4(OpenTK.OpenGL.Enums.All stream, Int32[] coords) { @@ -39295,19 +39383,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexStream4(OpenTK.OpenGL.Enums.All stream, Int32* coords) - { - Delegates.glVertexStream4ivATI((OpenTK.OpenGL.Enums.All)stream, (Int32*)coords); - } - public static void VertexStream4(OpenTK.OpenGL.Enums.All stream, Single x, Single y, Single z, Single w) { Delegates.glVertexStream4fATI((OpenTK.OpenGL.Enums.All)stream, (Single)x, (Single)y, (Single)z, (Single)w); } + [System.CLSCompliant(false)] + public static + unsafe void VertexStream4(OpenTK.OpenGL.Enums.All stream, Single* coords) + { + Delegates.glVertexStream4fvATI((OpenTK.OpenGL.Enums.All)stream, (Single*)coords); + } + public static void VertexStream4(OpenTK.OpenGL.Enums.All stream, Single[] coords) { @@ -39332,19 +39420,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexStream4(OpenTK.OpenGL.Enums.All stream, Single* coords) - { - Delegates.glVertexStream4fvATI((OpenTK.OpenGL.Enums.All)stream, (Single*)coords); - } - public static void VertexStream4(OpenTK.OpenGL.Enums.All stream, Double x, Double y, Double z, Double w) { Delegates.glVertexStream4dATI((OpenTK.OpenGL.Enums.All)stream, (Double)x, (Double)y, (Double)z, (Double)w); } + [System.CLSCompliant(false)] + public static + unsafe void VertexStream4(OpenTK.OpenGL.Enums.All stream, Double* coords) + { + Delegates.glVertexStream4dvATI((OpenTK.OpenGL.Enums.All)stream, (Double*)coords); + } + public static void VertexStream4(OpenTK.OpenGL.Enums.All stream, Double[] coords) { @@ -39369,13 +39457,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void VertexStream4(OpenTK.OpenGL.Enums.All stream, Double* coords) - { - Delegates.glVertexStream4dvATI((OpenTK.OpenGL.Enums.All)stream, (Double*)coords); - } - [System.CLSCompliant(false)] public static void NormalStream3(OpenTK.OpenGL.Enums.All stream, SByte nx, SByte ny, SByte nz) @@ -39389,6 +39470,20 @@ namespace OpenTK.OpenGL Delegates.glNormalStream3bATI((OpenTK.OpenGL.Enums.All)stream, (SByte)nx, (SByte)ny, (SByte)nz); } + [System.CLSCompliant(false)] + public static + unsafe void NormalStream3(OpenTK.OpenGL.Enums.All stream, SByte* coords) + { + Delegates.glNormalStream3bvATI((OpenTK.OpenGL.Enums.All)stream, (SByte*)coords); + } + + [System.CLSCompliant(false)] + public static + unsafe void NormalStream3(OpenTK.OpenGL.Enums.All stream, Byte* coords) + { + Delegates.glNormalStream3bvATI((OpenTK.OpenGL.Enums.All)stream, (SByte*)coords); + } + [System.CLSCompliant(false)] public static void NormalStream3(OpenTK.OpenGL.Enums.All stream, SByte[] coords) @@ -39439,26 +39534,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void NormalStream3(OpenTK.OpenGL.Enums.All stream, SByte* coords) - { - Delegates.glNormalStream3bvATI((OpenTK.OpenGL.Enums.All)stream, (SByte*)coords); - } - - [System.CLSCompliant(false)] - public static - unsafe void NormalStream3(OpenTK.OpenGL.Enums.All stream, Byte* coords) - { - Delegates.glNormalStream3bvATI((OpenTK.OpenGL.Enums.All)stream, (SByte*)coords); - } - public static void NormalStream3(OpenTK.OpenGL.Enums.All stream, Int16 nx, Int16 ny, Int16 nz) { Delegates.glNormalStream3sATI((OpenTK.OpenGL.Enums.All)stream, (Int16)nx, (Int16)ny, (Int16)nz); } + [System.CLSCompliant(false)] + public static + unsafe void NormalStream3(OpenTK.OpenGL.Enums.All stream, Int16* coords) + { + Delegates.glNormalStream3svATI((OpenTK.OpenGL.Enums.All)stream, (Int16*)coords); + } + public static void NormalStream3(OpenTK.OpenGL.Enums.All stream, Int16[] coords) { @@ -39483,19 +39571,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void NormalStream3(OpenTK.OpenGL.Enums.All stream, Int16* coords) - { - Delegates.glNormalStream3svATI((OpenTK.OpenGL.Enums.All)stream, (Int16*)coords); - } - public static void NormalStream3(OpenTK.OpenGL.Enums.All stream, Int32 nx, Int32 ny, Int32 nz) { Delegates.glNormalStream3iATI((OpenTK.OpenGL.Enums.All)stream, (Int32)nx, (Int32)ny, (Int32)nz); } + [System.CLSCompliant(false)] + public static + unsafe void NormalStream3(OpenTK.OpenGL.Enums.All stream, Int32* coords) + { + Delegates.glNormalStream3ivATI((OpenTK.OpenGL.Enums.All)stream, (Int32*)coords); + } + public static void NormalStream3(OpenTK.OpenGL.Enums.All stream, Int32[] coords) { @@ -39520,19 +39608,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void NormalStream3(OpenTK.OpenGL.Enums.All stream, Int32* coords) - { - Delegates.glNormalStream3ivATI((OpenTK.OpenGL.Enums.All)stream, (Int32*)coords); - } - public static void NormalStream3(OpenTK.OpenGL.Enums.All stream, Single nx, Single ny, Single nz) { Delegates.glNormalStream3fATI((OpenTK.OpenGL.Enums.All)stream, (Single)nx, (Single)ny, (Single)nz); } + [System.CLSCompliant(false)] + public static + unsafe void NormalStream3(OpenTK.OpenGL.Enums.All stream, Single* coords) + { + Delegates.glNormalStream3fvATI((OpenTK.OpenGL.Enums.All)stream, (Single*)coords); + } + public static void NormalStream3(OpenTK.OpenGL.Enums.All stream, Single[] coords) { @@ -39557,19 +39645,19 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void NormalStream3(OpenTK.OpenGL.Enums.All stream, Single* coords) - { - Delegates.glNormalStream3fvATI((OpenTK.OpenGL.Enums.All)stream, (Single*)coords); - } - public static void NormalStream3(OpenTK.OpenGL.Enums.All stream, Double nx, Double ny, Double nz) { Delegates.glNormalStream3dATI((OpenTK.OpenGL.Enums.All)stream, (Double)nx, (Double)ny, (Double)nz); } + [System.CLSCompliant(false)] + public static + unsafe void NormalStream3(OpenTK.OpenGL.Enums.All stream, Double* coords) + { + Delegates.glNormalStream3dvATI((OpenTK.OpenGL.Enums.All)stream, (Double*)coords); + } + public static void NormalStream3(OpenTK.OpenGL.Enums.All stream, Double[] coords) { @@ -39594,13 +39682,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void NormalStream3(OpenTK.OpenGL.Enums.All stream, Double* coords) - { - Delegates.glNormalStream3dvATI((OpenTK.OpenGL.Enums.All)stream, (Double*)coords); - } - public static void ClientActiveVertexStream(OpenTK.OpenGL.Enums.All stream) { @@ -39664,6 +39745,13 @@ namespace OpenTK.OpenGL Delegates.glDrawRangeElementArrayATI((OpenTK.OpenGL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count); } + [System.CLSCompliant(false)] + public static + unsafe void DrawBuffers(Int32 n, OpenTK.OpenGL.Enums.All* bufs) + { + Delegates.glDrawBuffersATI((Int32)n, (OpenTK.OpenGL.Enums.All*)bufs); + } + public static void DrawBuffers(Int32 n, OpenTK.OpenGL.Enums.All[] bufs) { @@ -39688,13 +39776,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void DrawBuffers(Int32 n, OpenTK.OpenGL.Enums.All* bufs) - { - Delegates.glDrawBuffersATI((Int32)n, (OpenTK.OpenGL.Enums.All*)bufs); - } - [System.CLSCompliant(false)] public static unsafe IntPtr MapObjectBuffer(UInt32 buffer) @@ -39754,6 +39835,20 @@ namespace OpenTK.OpenGL Delegates.glVertexAttribArrayObjectATI((UInt32)index, (Int32)size, (OpenTK.OpenGL.Enums.All)type, (bool)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset); } + [System.CLSCompliant(false)] + public static + unsafe void GetVertexAttribArrayObject(UInt32 index, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + { + Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + } + + [System.CLSCompliant(false)] + public static + unsafe void GetVertexAttribArrayObject(Int32 index, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + { + Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + } + [System.CLSCompliant(false)] public static void GetVertexAttribArrayObject(UInt32 index, OpenTK.OpenGL.Enums.All pname, [Out] Single[] @params) @@ -39808,16 +39903,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetVertexAttribArrayObject(UInt32 index, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + unsafe void GetVertexAttribArrayObject(UInt32 index, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) { - Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } [System.CLSCompliant(false)] public static - unsafe void GetVertexAttribArrayObject(Int32 index, OpenTK.OpenGL.Enums.All pname, [Out] Single* @params) + unsafe void GetVertexAttribArrayObject(Int32 index, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) { - Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Single*)@params); + Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); } [System.CLSCompliant(false)] @@ -39872,20 +39967,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GetVertexAttribArrayObject(UInt32 index, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) - { - Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); - } - - [System.CLSCompliant(false)] - public static - unsafe void GetVertexAttribArrayObject(Int32 index, OpenTK.OpenGL.Enums.All pname, [Out] Int32* @params) - { - Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.OpenGL.Enums.All)pname, (Int32*)@params); - } - } public static partial class Apple @@ -39935,6 +40016,13 @@ namespace OpenTK.OpenGL Delegates.glDrawRangeElementArrayAPPLE((OpenTK.OpenGL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count); } + [System.CLSCompliant(false)] + public static + unsafe void MultiDrawElementArray(OpenTK.OpenGL.Enums.BeginMode mode, Int32* first, Int32* count, Int32 primcount) + { + Delegates.glMultiDrawElementArrayAPPLE((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount); + } + public static void MultiDrawElementArray(OpenTK.OpenGL.Enums.BeginMode mode, Int32[] first, Int32[] count, Int32 primcount) { @@ -39963,9 +40051,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void MultiDrawElementArray(OpenTK.OpenGL.Enums.BeginMode mode, Int32* first, Int32* count, Int32 primcount) + unsafe void MultiDrawRangeElementArray(OpenTK.OpenGL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32* first, Int32* count, Int32 primcount) { - Delegates.glMultiDrawElementArrayAPPLE((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount); + Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.OpenGL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount); + } + + [System.CLSCompliant(false)] + public static + unsafe void MultiDrawRangeElementArray(OpenTK.OpenGL.Enums.BeginMode mode, Int32 start, Int32 end, Int32* first, Int32* count, Int32 primcount) + { + Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.OpenGL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount); } [System.CLSCompliant(false)] @@ -40024,16 +40119,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void MultiDrawRangeElementArray(OpenTK.OpenGL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32* first, Int32* count, Int32 primcount) + unsafe void GenFences(Int32 n, [Out] UInt32* fences) { - Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.OpenGL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount); + Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences); } [System.CLSCompliant(false)] public static - unsafe void MultiDrawRangeElementArray(OpenTK.OpenGL.Enums.BeginMode mode, Int32 start, Int32 end, Int32* first, Int32* count, Int32 primcount) + unsafe void GenFences(Int32 n, [Out] Int32* fences) { - Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.OpenGL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount); + Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences); } [System.CLSCompliant(false)] @@ -40090,16 +40185,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GenFences(Int32 n, [Out] UInt32* fences) + unsafe void DeleteFences(Int32 n, UInt32* fences) { - Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences); + Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences); } [System.CLSCompliant(false)] public static - unsafe void GenFences(Int32 n, [Out] Int32* fences) + unsafe void DeleteFences(Int32 n, Int32* fences) { - Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences); + Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences); } [System.CLSCompliant(false)] @@ -40152,20 +40247,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void DeleteFences(Int32 n, UInt32* fences) - { - Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences); - } - - [System.CLSCompliant(false)] - public static - unsafe void DeleteFences(Int32 n, Int32* fences) - { - Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences); - } - [System.CLSCompliant(false)] public static void SetFence(UInt32 fence) @@ -40250,6 +40331,20 @@ namespace OpenTK.OpenGL Delegates.glBindVertexArrayAPPLE((UInt32)array); } + [System.CLSCompliant(false)] + public static + unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays) + { + Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays); + } + + [System.CLSCompliant(false)] + public static + unsafe void DeleteVertexArrays(Int32 n, Int32* arrays) + { + Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays); + } + [System.CLSCompliant(false)] public static void DeleteVertexArrays(Int32 n, UInt32[] arrays) @@ -40302,16 +40397,16 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays) + unsafe void GenVertexArrays(Int32 n, [Out] UInt32* arrays) { - Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays); + Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays); } [System.CLSCompliant(false)] public static - unsafe void DeleteVertexArrays(Int32 n, Int32* arrays) + unsafe void GenVertexArrays(Int32 n, [Out] Int32* arrays) { - Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays); + Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays); } [System.CLSCompliant(false)] @@ -40366,20 +40461,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe void GenVertexArrays(Int32 n, [Out] UInt32* arrays) - { - Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays); - } - - [System.CLSCompliant(false)] - public static - unsafe void GenVertexArrays(Int32 n, [Out] Int32* arrays) - { - Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays); - } - [System.CLSCompliant(false)] public static bool IsVertexArray(UInt32 array) diff --git a/Source/OpenTK/OpenGL/Bindings/Glu.cs b/Source/OpenTK/OpenGL/Bindings/Glu.cs index 1995c299..d38bd762 100644 --- a/Source/OpenTK/OpenGL/Bindings/Glu.cs +++ b/Source/OpenTK/OpenGL/Bindings/Glu.cs @@ -9,27 +9,27 @@ namespace OpenTK.OpenGL { public static - void BeginCurve(int nurb) + void BeginCurve(IntPtr nurb) { - Delegates.gluBeginCurve((int)nurb); + Delegates.gluBeginCurve((IntPtr)nurb); } public static - void BeginPolygon(int tess) + void BeginPolygon(IntPtr tess) { - Delegates.gluBeginPolygon((int)tess); + Delegates.gluBeginPolygon((IntPtr)tess); } public static - void BeginSurface(int nurb) + void BeginSurface(IntPtr nurb) { - Delegates.gluBeginSurface((int)nurb); + Delegates.gluBeginSurface((IntPtr)nurb); } public static - void BeginTrim(int nurb) + void BeginTrim(IntPtr nurb) { - Delegates.gluBeginTrim((int)nurb); + Delegates.gluBeginTrim((IntPtr)nurb); } public static @@ -188,6 +188,13 @@ namespace OpenTK.OpenGL } } + [System.CLSCompliant(false)] + public static + unsafe bool CheckExtension(Byte* extName, Byte* extString) + { + return Delegates.gluCheckExtension((Byte*)extName, (Byte*)extString); + } + public static bool CheckExtension(Byte[] extName, Byte[] extString) { @@ -214,65 +221,58 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] public static - unsafe bool CheckExtension(Byte* extName, Byte* extString) + void Cylinder(IntPtr quad, double @base, double top, double height, Int32 slices, Int32 stacks) { - return Delegates.gluCheckExtension((Byte*)extName, (Byte*)extString); + Delegates.gluCylinder((IntPtr)quad, (double)@base, (double)top, (double)height, (Int32)slices, (Int32)stacks); } public static - void Cylinder(int quad, double @base, double top, double height, Int32 slices, Int32 stacks) + void DeleteNurbsRenderer(IntPtr nurb) { - Delegates.gluCylinder((int)quad, (double)@base, (double)top, (double)height, (Int32)slices, (Int32)stacks); + Delegates.gluDeleteNurbsRenderer((IntPtr)nurb); } public static - void DeleteNurbsRenderer(int nurb) + void DeleteQuadric(IntPtr quad) { - Delegates.gluDeleteNurbsRenderer((int)nurb); + Delegates.gluDeleteQuadric((IntPtr)quad); } public static - void DeleteQuadric(int quad) + void DeleteTess(IntPtr tess) { - Delegates.gluDeleteQuadric((int)quad); + Delegates.gluDeleteTess((IntPtr)tess); } public static - void DeleteTes(int tess) + void Disk(IntPtr quad, double inner, double outer, Int32 slices, Int32 loops) { - Delegates.gluDeleteTess((int)tess); + Delegates.gluDisk((IntPtr)quad, (double)inner, (double)outer, (Int32)slices, (Int32)loops); } public static - void Disk(int quad, double inner, double outer, Int32 slices, Int32 loops) + void EndCurve(IntPtr nurb) { - Delegates.gluDisk((int)quad, (double)inner, (double)outer, (Int32)slices, (Int32)loops); + Delegates.gluEndCurve((IntPtr)nurb); } public static - void EndCurve(int nurb) + void EndPolygon(IntPtr tess) { - Delegates.gluEndCurve((int)nurb); + Delegates.gluEndPolygon((IntPtr)tess); } public static - void EndPolygon(int tess) + void EndSurface(IntPtr nurb) { - Delegates.gluEndPolygon((int)tess); + Delegates.gluEndSurface((IntPtr)nurb); } public static - void EndSurface(int nurb) + void EndTrim(IntPtr nurb) { - Delegates.gluEndSurface((int)nurb); - } - - public static - void EndTrim(int nurb) - { - Delegates.gluEndTrim((int)nurb); + Delegates.gluEndTrim((IntPtr)nurb); } public static @@ -293,26 +293,33 @@ namespace OpenTK.OpenGL } } + [System.CLSCompliant(false)] public static - void GetNurbsProperty(int nurb, OpenTK.OpenGL.Enums.NurbsProperty property, [Out] float[] data) + unsafe void GetNurbsProperty(IntPtr nurb, OpenTK.OpenGL.Enums.NurbsProperty property, [Out] float* data) + { + Delegates.gluGetNurbsProperty((IntPtr)nurb, (OpenTK.OpenGL.Enums.NurbsProperty)property, (float*)data); + } + + public static + void GetNurbsProperty(IntPtr nurb, OpenTK.OpenGL.Enums.NurbsProperty property, [Out] float[] data) { unsafe { fixed (float* data_ptr = data) { - Delegates.gluGetNurbsProperty((int)nurb, (OpenTK.OpenGL.Enums.NurbsProperty)property, (float*)data_ptr); + Delegates.gluGetNurbsProperty((IntPtr)nurb, (OpenTK.OpenGL.Enums.NurbsProperty)property, (float*)data_ptr); } } } public static - void GetNurbsProperty(int nurb, OpenTK.OpenGL.Enums.NurbsProperty property, [Out] out float data) + void GetNurbsProperty(IntPtr nurb, OpenTK.OpenGL.Enums.NurbsProperty property, [Out] out float data) { unsafe { fixed (float* data_ptr = &data) { - Delegates.gluGetNurbsProperty((int)nurb, (OpenTK.OpenGL.Enums.NurbsProperty)property, (float*)data_ptr); + Delegates.gluGetNurbsProperty((IntPtr)nurb, (OpenTK.OpenGL.Enums.NurbsProperty)property, (float*)data_ptr); data = *data_ptr; } } @@ -320,31 +327,31 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetNurbsProperty(int nurb, OpenTK.OpenGL.Enums.NurbsProperty property, [Out] float* data) + unsafe void GetTessProperty(IntPtr tess, OpenTK.OpenGL.Enums.TessProperty which, [Out] double* data) { - Delegates.gluGetNurbsProperty((int)nurb, (OpenTK.OpenGL.Enums.NurbsProperty)property, (float*)data); + Delegates.gluGetTessProperty((IntPtr)tess, (OpenTK.OpenGL.Enums.TessProperty)which, (double*)data); } public static - void GetTessProperty(int tess, OpenTK.OpenGL.Enums.TessProperty which, [Out] double[] data) + void GetTessProperty(IntPtr tess, OpenTK.OpenGL.Enums.TessProperty which, [Out] double[] data) { unsafe { fixed (double* data_ptr = data) { - Delegates.gluGetTessProperty((int)tess, (OpenTK.OpenGL.Enums.TessProperty)which, (double*)data_ptr); + Delegates.gluGetTessProperty((IntPtr)tess, (OpenTK.OpenGL.Enums.TessProperty)which, (double*)data_ptr); } } } public static - void GetTessProperty(int tess, OpenTK.OpenGL.Enums.TessProperty which, [Out] out double data) + void GetTessProperty(IntPtr tess, OpenTK.OpenGL.Enums.TessProperty which, [Out] out double data) { unsafe { fixed (double* data_ptr = &data) { - Delegates.gluGetTessProperty((int)tess, (OpenTK.OpenGL.Enums.TessProperty)which, (double*)data_ptr); + Delegates.gluGetTessProperty((IntPtr)tess, (OpenTK.OpenGL.Enums.TessProperty)which, (double*)data_ptr); data = *data_ptr; } } @@ -352,13 +359,13 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetTessProperty(int tess, OpenTK.OpenGL.Enums.TessProperty which, [Out] double* data) + unsafe void LoadSamplingMatrices(IntPtr nurb, float* model, float* perspective, Int32* view) { - Delegates.gluGetTessProperty((int)tess, (OpenTK.OpenGL.Enums.TessProperty)which, (double*)data); + Delegates.gluLoadSamplingMatrices((IntPtr)nurb, (float*)model, (float*)perspective, (Int32*)view); } public static - void LoadSamplingMatrices(int nurb, float[] model, float[] perspective, Int32[] view) + void LoadSamplingMatrices(IntPtr nurb, float[] model, float[] perspective, Int32[] view) { unsafe { @@ -366,13 +373,13 @@ namespace OpenTK.OpenGL fixed (float* perspective_ptr = perspective) fixed (Int32* view_ptr = view) { - Delegates.gluLoadSamplingMatrices((int)nurb, (float*)model_ptr, (float*)perspective_ptr, (Int32*)view_ptr); + Delegates.gluLoadSamplingMatrices((IntPtr)nurb, (float*)model_ptr, (float*)perspective_ptr, (Int32*)view_ptr); } } } public static - void LoadSamplingMatrices(int nurb, ref float model, ref float perspective, ref Int32 view) + void LoadSamplingMatrices(IntPtr nurb, ref float model, ref float perspective, ref Int32 view) { unsafe { @@ -380,18 +387,11 @@ namespace OpenTK.OpenGL fixed (float* perspective_ptr = &perspective) fixed (Int32* view_ptr = &view) { - Delegates.gluLoadSamplingMatrices((int)nurb, (float*)model_ptr, (float*)perspective_ptr, (Int32*)view_ptr); + Delegates.gluLoadSamplingMatrices((IntPtr)nurb, (float*)model_ptr, (float*)perspective_ptr, (Int32*)view_ptr); } } } - [System.CLSCompliant(false)] - public static - unsafe void LoadSamplingMatrices(int nurb, float* model, float* perspective, Int32* view) - { - Delegates.gluLoadSamplingMatrices((int)nurb, (float*)model, (float*)perspective, (Int32*)view); - } - public static void LookAt(double eyeX, double eyeY, double eyeZ, double centerX, double centerY, double centerZ, double upX, double upY, double upZ) { @@ -399,53 +399,53 @@ namespace OpenTK.OpenGL } public static - int NewNurbsRenderer() + IntPtr NewNurbsRenderer() { return Delegates.gluNewNurbsRenderer(); } public static - int NewQuadric() + IntPtr NewQuadric() { return Delegates.gluNewQuadric(); } public static - int NewTes() + IntPtr NewTess() { return Delegates.gluNewTess(); } public static - void NextContour(int tess, OpenTK.OpenGL.Enums.TessContour type) + void NextContour(IntPtr tess, OpenTK.OpenGL.Enums.TessContour type) { - Delegates.gluNextContour((int)tess, (OpenTK.OpenGL.Enums.TessContour)type); + Delegates.gluNextContour((IntPtr)tess, (OpenTK.OpenGL.Enums.TessContour)type); } public static - void NurbsCallback(int nurb, OpenTK.OpenGL.Enums.NurbsCallback which, IntPtr CallBackFunc) + void NurbsCallback(IntPtr nurb, OpenTK.OpenGL.Enums.NurbsCallback which, Delegate CallBackFunc) { - Delegates.gluNurbsCallback((int)nurb, (OpenTK.OpenGL.Enums.NurbsCallback)which, (IntPtr)CallBackFunc); + Delegates.gluNurbsCallback((IntPtr)nurb, (OpenTK.OpenGL.Enums.NurbsCallback)which, (Delegate)CallBackFunc); } public static - void NurbsCallbackData(int nurb, IntPtr userData) + void NurbsCallbackData(IntPtr nurb, IntPtr userData) { unsafe { - Delegates.gluNurbsCallbackData((int)nurb, (IntPtr)userData); + Delegates.gluNurbsCallbackData((IntPtr)nurb, (IntPtr)userData); } } public static - void NurbsCallbackData(int nurb, [In, Out] object userData) + void NurbsCallbackData(IntPtr nurb, [In, Out] object userData) { unsafe { System.Runtime.InteropServices.GCHandle userData_ptr = System.Runtime.InteropServices.GCHandle.Alloc(userData, System.Runtime.InteropServices.GCHandleType.Pinned); try { - Delegates.gluNurbsCallbackData((int)nurb, (IntPtr)userData_ptr.AddrOfPinnedObject()); + Delegates.gluNurbsCallbackData((IntPtr)nurb, (IntPtr)userData_ptr.AddrOfPinnedObject()); } finally { @@ -454,49 +454,56 @@ namespace OpenTK.OpenGL } } + [System.CLSCompliant(false)] public static - void NurbsCurve(int nurb, Int32 knotCount, [Out] float[] knots, Int32 stride, [Out] float[] control, Int32 order, OpenTK.OpenGL.Enums.MapTarget type) + unsafe void NurbsCurve(IntPtr nurb, Int32 knotCount, [Out] float* knots, Int32 stride, [Out] float* control, Int32 order, OpenTK.OpenGL.Enums.MapTarget type) + { + Delegates.gluNurbsCurve((IntPtr)nurb, (Int32)knotCount, (float*)knots, (Int32)stride, (float*)control, (Int32)order, (OpenTK.OpenGL.Enums.MapTarget)type); + } + + public static + void NurbsCurve(IntPtr nurb, Int32 knotCount, [Out] float[] knots, Int32 stride, [Out] float[] control, Int32 order, OpenTK.OpenGL.Enums.MapTarget type) { unsafe { fixed (float* knots_ptr = knots) fixed (float* control_ptr = control) { - Delegates.gluNurbsCurve((int)nurb, (Int32)knotCount, (float*)knots_ptr, (Int32)stride, (float*)control_ptr, (Int32)order, (OpenTK.OpenGL.Enums.MapTarget)type); + Delegates.gluNurbsCurve((IntPtr)nurb, (Int32)knotCount, (float*)knots_ptr, (Int32)stride, (float*)control_ptr, (Int32)order, (OpenTK.OpenGL.Enums.MapTarget)type); } } } public static - void NurbsCurve(int nurb, Int32 knotCount, [Out] out float knots, Int32 stride, [Out] out float control, Int32 order, OpenTK.OpenGL.Enums.MapTarget type) + void NurbsCurve(IntPtr nurb, Int32 knotCount, [Out] out float knots, Int32 stride, [Out] out float control, Int32 order, OpenTK.OpenGL.Enums.MapTarget type) { unsafe { fixed (float* knots_ptr = &knots) fixed (float* control_ptr = &control) { - Delegates.gluNurbsCurve((int)nurb, (Int32)knotCount, (float*)knots_ptr, (Int32)stride, (float*)control_ptr, (Int32)order, (OpenTK.OpenGL.Enums.MapTarget)type); + Delegates.gluNurbsCurve((IntPtr)nurb, (Int32)knotCount, (float*)knots_ptr, (Int32)stride, (float*)control_ptr, (Int32)order, (OpenTK.OpenGL.Enums.MapTarget)type); knots = *knots_ptr; control = *control_ptr; } } } + public static + void NurbsProperty(IntPtr nurb, OpenTK.OpenGL.Enums.NurbsProperty property, float value) + { + Delegates.gluNurbsProperty((IntPtr)nurb, (OpenTK.OpenGL.Enums.NurbsProperty)property, (float)value); + } + [System.CLSCompliant(false)] public static - unsafe void NurbsCurve(int nurb, Int32 knotCount, [Out] float* knots, Int32 stride, [Out] float* control, Int32 order, OpenTK.OpenGL.Enums.MapTarget type) + unsafe void NurbsSurface(IntPtr nurb, Int32 sKnotCount, float* sKnots, Int32 tKnotCount, float* tKnots, Int32 sStride, Int32 tStride, float* control, Int32 sOrder, Int32 tOrder, OpenTK.OpenGL.Enums.MapTarget type) { - Delegates.gluNurbsCurve((int)nurb, (Int32)knotCount, (float*)knots, (Int32)stride, (float*)control, (Int32)order, (OpenTK.OpenGL.Enums.MapTarget)type); + Delegates.gluNurbsSurface((IntPtr)nurb, (Int32)sKnotCount, (float*)sKnots, (Int32)tKnotCount, (float*)tKnots, (Int32)sStride, (Int32)tStride, (float*)control, (Int32)sOrder, (Int32)tOrder, (OpenTK.OpenGL.Enums.MapTarget)type); } public static - void NurbsProperty(int nurb, OpenTK.OpenGL.Enums.NurbsProperty property, float value) - { - Delegates.gluNurbsProperty((int)nurb, (OpenTK.OpenGL.Enums.NurbsProperty)property, (float)value); - } - - public static - void NurbsSurface(int nurb, Int32 sKnotCount, float[] sKnots, Int32 tKnotCount, float[] tKnots, Int32 sStride, Int32 tStride, float[] control, Int32 sOrder, Int32 tOrder, OpenTK.OpenGL.Enums.MapTarget type) + void NurbsSurface(IntPtr nurb, Int32 sKnotCount, float[] sKnots, Int32 tKnotCount, float[] tKnots, Int32 sStride, Int32 tStride, float[] control, Int32 sOrder, Int32 tOrder, OpenTK.OpenGL.Enums.MapTarget type) { unsafe { @@ -504,13 +511,13 @@ namespace OpenTK.OpenGL fixed (float* tKnots_ptr = tKnots) fixed (float* control_ptr = control) { - Delegates.gluNurbsSurface((int)nurb, (Int32)sKnotCount, (float*)sKnots_ptr, (Int32)tKnotCount, (float*)tKnots_ptr, (Int32)sStride, (Int32)tStride, (float*)control_ptr, (Int32)sOrder, (Int32)tOrder, (OpenTK.OpenGL.Enums.MapTarget)type); + Delegates.gluNurbsSurface((IntPtr)nurb, (Int32)sKnotCount, (float*)sKnots_ptr, (Int32)tKnotCount, (float*)tKnots_ptr, (Int32)sStride, (Int32)tStride, (float*)control_ptr, (Int32)sOrder, (Int32)tOrder, (OpenTK.OpenGL.Enums.MapTarget)type); } } } public static - void NurbsSurface(int nurb, Int32 sKnotCount, ref float sKnots, Int32 tKnotCount, ref float tKnots, Int32 sStride, Int32 tStride, ref float control, Int32 sOrder, Int32 tOrder, OpenTK.OpenGL.Enums.MapTarget type) + void NurbsSurface(IntPtr nurb, Int32 sKnotCount, ref float sKnots, Int32 tKnotCount, ref float tKnots, Int32 sStride, Int32 tStride, ref float control, Int32 sOrder, Int32 tOrder, OpenTK.OpenGL.Enums.MapTarget type) { unsafe { @@ -518,18 +525,11 @@ namespace OpenTK.OpenGL fixed (float* tKnots_ptr = &tKnots) fixed (float* control_ptr = &control) { - Delegates.gluNurbsSurface((int)nurb, (Int32)sKnotCount, (float*)sKnots_ptr, (Int32)tKnotCount, (float*)tKnots_ptr, (Int32)sStride, (Int32)tStride, (float*)control_ptr, (Int32)sOrder, (Int32)tOrder, (OpenTK.OpenGL.Enums.MapTarget)type); + Delegates.gluNurbsSurface((IntPtr)nurb, (Int32)sKnotCount, (float*)sKnots_ptr, (Int32)tKnotCount, (float*)tKnots_ptr, (Int32)sStride, (Int32)tStride, (float*)control_ptr, (Int32)sOrder, (Int32)tOrder, (OpenTK.OpenGL.Enums.MapTarget)type); } } } - [System.CLSCompliant(false)] - public static - unsafe void NurbsSurface(int nurb, Int32 sKnotCount, float* sKnots, Int32 tKnotCount, float* tKnots, Int32 sStride, Int32 tStride, float* control, Int32 sOrder, Int32 tOrder, OpenTK.OpenGL.Enums.MapTarget type) - { - Delegates.gluNurbsSurface((int)nurb, (Int32)sKnotCount, (float*)sKnots, (Int32)tKnotCount, (float*)tKnots, (Int32)sStride, (Int32)tStride, (float*)control, (Int32)sOrder, (Int32)tOrder, (OpenTK.OpenGL.Enums.MapTarget)type); - } - public static void Ortho2D(double left, double right, double bottom, double top) { @@ -537,9 +537,9 @@ namespace OpenTK.OpenGL } public static - void PartialDisk(int quad, double inner, double outer, Int32 slices, Int32 loops, double start, double sweep) + void PartialDisk(IntPtr quad, double inner, double outer, Int32 slices, Int32 loops, double start, double sweep) { - Delegates.gluPartialDisk((int)quad, (double)inner, (double)outer, (Int32)slices, (Int32)loops, (double)start, (double)sweep); + Delegates.gluPartialDisk((IntPtr)quad, (double)inner, (double)outer, (Int32)slices, (Int32)loops, (double)start, (double)sweep); } public static @@ -548,6 +548,13 @@ namespace OpenTK.OpenGL Delegates.gluPerspective((double)fovy, (double)aspect, (double)zNear, (double)zFar); } + [System.CLSCompliant(false)] + public static + unsafe void PickMatrix(double x, double y, double delX, double delY, [Out] Int32* viewport) + { + Delegates.gluPickMatrix((double)x, (double)y, (double)delX, (double)delY, (Int32*)viewport); + } + public static void PickMatrix(double x, double y, double delX, double delY, [Out] Int32[] viewport) { @@ -575,9 +582,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void PickMatrix(double x, double y, double delX, double delY, [Out] Int32* viewport) + unsafe Int32 Project(double objX, double objY, double objZ, double* model, double* proj, Int32* view, double* winX, double* winY, double* winZ) { - Delegates.gluPickMatrix((double)x, (double)y, (double)delX, (double)delY, (Int32*)viewport); + return Delegates.gluProject((double)objX, (double)objY, (double)objZ, (double*)model, (double*)proj, (Int32*)view, (double*)winX, (double*)winY, (double*)winZ); } public static @@ -616,70 +623,63 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe Int32 Project(double objX, double objY, double objZ, double* model, double* proj, Int32* view, double* winX, double* winY, double* winZ) + unsafe void PwlCurve(IntPtr nurb, Int32 count, float* data, Int32 stride, OpenTK.OpenGL.Enums.NurbsTrim type) { - return Delegates.gluProject((double)objX, (double)objY, (double)objZ, (double*)model, (double*)proj, (Int32*)view, (double*)winX, (double*)winY, (double*)winZ); + Delegates.gluPwlCurve((IntPtr)nurb, (Int32)count, (float*)data, (Int32)stride, (OpenTK.OpenGL.Enums.NurbsTrim)type); } public static - void PwlCurve(int nurb, Int32 count, float[] data, Int32 stride, OpenTK.OpenGL.Enums.NurbsTrim type) + void PwlCurve(IntPtr nurb, Int32 count, float[] data, Int32 stride, OpenTK.OpenGL.Enums.NurbsTrim type) { unsafe { fixed (float* data_ptr = data) { - Delegates.gluPwlCurve((int)nurb, (Int32)count, (float*)data_ptr, (Int32)stride, (OpenTK.OpenGL.Enums.NurbsTrim)type); + Delegates.gluPwlCurve((IntPtr)nurb, (Int32)count, (float*)data_ptr, (Int32)stride, (OpenTK.OpenGL.Enums.NurbsTrim)type); } } } public static - void PwlCurve(int nurb, Int32 count, ref float data, Int32 stride, OpenTK.OpenGL.Enums.NurbsTrim type) + void PwlCurve(IntPtr nurb, Int32 count, ref float data, Int32 stride, OpenTK.OpenGL.Enums.NurbsTrim type) { unsafe { fixed (float* data_ptr = &data) { - Delegates.gluPwlCurve((int)nurb, (Int32)count, (float*)data_ptr, (Int32)stride, (OpenTK.OpenGL.Enums.NurbsTrim)type); + Delegates.gluPwlCurve((IntPtr)nurb, (Int32)count, (float*)data_ptr, (Int32)stride, (OpenTK.OpenGL.Enums.NurbsTrim)type); } } } - [System.CLSCompliant(false)] public static - unsafe void PwlCurve(int nurb, Int32 count, float* data, Int32 stride, OpenTK.OpenGL.Enums.NurbsTrim type) + void QuadricCallback(IntPtr quad, OpenTK.OpenGL.Enums.QuadricCallback which, Delegate CallBackFunc) { - Delegates.gluPwlCurve((int)nurb, (Int32)count, (float*)data, (Int32)stride, (OpenTK.OpenGL.Enums.NurbsTrim)type); + Delegates.gluQuadricCallback((IntPtr)quad, (OpenTK.OpenGL.Enums.QuadricCallback)which, (Delegate)CallBackFunc); } public static - void QuadricCallback(int quad, OpenTK.OpenGL.Enums.QuadricCallback which, IntPtr CallBackFunc) + void QuadricDrawStyle(IntPtr quad, OpenTK.OpenGL.Enums.QuadricDrawStyle draw) { - Delegates.gluQuadricCallback((int)quad, (OpenTK.OpenGL.Enums.QuadricCallback)which, (IntPtr)CallBackFunc); + Delegates.gluQuadricDrawStyle((IntPtr)quad, (OpenTK.OpenGL.Enums.QuadricDrawStyle)draw); } public static - void QuadricDrawStyle(int quad, OpenTK.OpenGL.Enums.QuadricDrawStyle draw) + void QuadricNormal(IntPtr quad, OpenTK.OpenGL.Enums.QuadricNormal normal) { - Delegates.gluQuadricDrawStyle((int)quad, (OpenTK.OpenGL.Enums.QuadricDrawStyle)draw); + Delegates.gluQuadricNormals((IntPtr)quad, (OpenTK.OpenGL.Enums.QuadricNormal)normal); } public static - void QuadricNormal(int quad, OpenTK.OpenGL.Enums.QuadricNormal normal) + void QuadricOrientation(IntPtr quad, OpenTK.OpenGL.Enums.QuadricOrientation orientation) { - Delegates.gluQuadricNormals((int)quad, (OpenTK.OpenGL.Enums.QuadricNormal)normal); + Delegates.gluQuadricOrientation((IntPtr)quad, (OpenTK.OpenGL.Enums.QuadricOrientation)orientation); } public static - void QuadricOrientation(int quad, OpenTK.OpenGL.Enums.QuadricOrientation orientation) + void QuadricTexture(IntPtr quad, bool texture) { - Delegates.gluQuadricOrientation((int)quad, (OpenTK.OpenGL.Enums.QuadricOrientation)orientation); - } - - public static - void QuadricTexture(int quad, bool texture) - { - Delegates.gluQuadricTexture((int)quad, (bool)texture); + Delegates.gluQuadricTexture((IntPtr)quad, (bool)texture); } public static @@ -711,35 +711,35 @@ namespace OpenTK.OpenGL } public static - void Sphere(int quad, double radius, Int32 slices, Int32 stacks) + void Sphere(IntPtr quad, double radius, Int32 slices, Int32 stacks) { - Delegates.gluSphere((int)quad, (double)radius, (Int32)slices, (Int32)stacks); + Delegates.gluSphere((IntPtr)quad, (double)radius, (Int32)slices, (Int32)stacks); } public static - void TessBeginContour(int tess) + void TessBeginContour(IntPtr tess) { - Delegates.gluTessBeginContour((int)tess); + Delegates.gluTessBeginContour((IntPtr)tess); } public static - void TessBeginPolygon(int tess, IntPtr data) + void TessBeginPolygon(IntPtr tess, IntPtr data) { unsafe { - Delegates.gluTessBeginPolygon((int)tess, (IntPtr)data); + Delegates.gluTessBeginPolygon((IntPtr)tess, (IntPtr)data); } } public static - void TessBeginPolygon(int tess, [In, Out] object data) + void TessBeginPolygon(IntPtr tess, [In, Out] object data) { unsafe { System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); try { - Delegates.gluTessBeginPolygon((int)tess, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.gluTessBeginPolygon((IntPtr)tess, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -749,55 +749,50 @@ namespace OpenTK.OpenGL } public static - void TessCallback(int tess, OpenTK.OpenGL.Enums.TessCallback which, IntPtr CallBackFunc) + void TessCallback(IntPtr tess, OpenTK.OpenGL.Enums.TessCallback which, Delegate CallBackFunc) { - Delegates.gluTessCallback((int)tess, (OpenTK.OpenGL.Enums.TessCallback)which, (IntPtr)CallBackFunc); + Delegates.gluTessCallback((IntPtr)tess, (OpenTK.OpenGL.Enums.TessCallback)which, (Delegate)CallBackFunc); } public static - void TessEndContour(int tess) + void TessEndContour(IntPtr tess) { - Delegates.gluTessEndContour((int)tess); + Delegates.gluTessEndContour((IntPtr)tess); } public static - void TessEndPolygon(int tess) + void TessEndPolygon(IntPtr tess) { - Delegates.gluTessEndPolygon((int)tess); + Delegates.gluTessEndPolygon((IntPtr)tess); } public static - void TessNormal(int tess, double valueX, double valueY, double valueZ) + void TessNormal(IntPtr tess, double valueX, double valueY, double valueZ) { - Delegates.gluTessNormal((int)tess, (double)valueX, (double)valueY, (double)valueZ); + Delegates.gluTessNormal((IntPtr)tess, (double)valueX, (double)valueY, (double)valueZ); } public static - void TessProperty(int tess, OpenTK.OpenGL.Enums.TessProperty which, double data) + void TessProperty(IntPtr tess, OpenTK.OpenGL.Enums.TessProperty which, double data) { - Delegates.gluTessProperty((int)tess, (OpenTK.OpenGL.Enums.TessProperty)which, (double)data); - } - - public static - void TessVertex(int tess, [Out] double[] location, IntPtr data) - { - unsafe - { - fixed (double* location_ptr = location) - { - Delegates.gluTessVertex((int)tess, (double*)location_ptr, (IntPtr)data); - } - } + Delegates.gluTessProperty((IntPtr)tess, (OpenTK.OpenGL.Enums.TessProperty)which, (double)data); } [System.CLSCompliant(false)] public static - unsafe void TessVertex(int tess, [Out] double* location, [In, Out] object data) + unsafe void TessVertex(IntPtr tess, double* location, IntPtr data) + { + Delegates.gluTessVertex((IntPtr)tess, (double*)location, (IntPtr)data); + } + + [System.CLSCompliant(false)] + public static + unsafe void TessVertex(IntPtr tess, double* location, [In, Out] object data) { System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); try { - Delegates.gluTessVertex((int)tess, (double*)location, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.gluTessVertex((IntPtr)tess, (double*)location, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -806,17 +801,28 @@ namespace OpenTK.OpenGL } public static - void TessVertex(int tess, [Out] out double location, [In, Out] object data) + void TessVertex(IntPtr tess, double[] location, IntPtr data) { unsafe { - fixed (double* location_ptr = &location) + fixed (double* location_ptr = location) + { + Delegates.gluTessVertex((IntPtr)tess, (double*)location_ptr, (IntPtr)data); + } + } + } + + public static + void TessVertex(IntPtr tess, double[] location, [In, Out] object data) + { + unsafe + { + fixed (double* location_ptr = location) { System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); try { - Delegates.gluTessVertex((int)tess, (double*)location_ptr, (IntPtr)data_ptr.AddrOfPinnedObject()); - location = *location_ptr; + Delegates.gluTessVertex((IntPtr)tess, (double*)location_ptr, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -826,6 +832,55 @@ namespace OpenTK.OpenGL } } + public static + void TessVertex(IntPtr tess, ref double location, IntPtr data) + { + unsafe + { + fixed (double* location_ptr = &location) + { + Delegates.gluTessVertex((IntPtr)tess, (double*)location_ptr, (IntPtr)data); + } + } + } + + public static + void TessVertex(IntPtr tess, ref double location, [In, Out] object data) + { + unsafe + { + fixed (double* location_ptr = &location) + { + if (data is System.Array) + { + fixed (byte* data_ptr = (object[])data) + { + Delegates.gluTessVertex((IntPtr)tess, (double*)location_ptr, (IntPtr)data_ptr); + } + } + else + { + System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Delegates.gluTessVertex((IntPtr)tess, (double*)location_ptr, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Int32 UnProject(double winX, double winY, double winZ, double* model, double* proj, Int32* view, double* objX, double* objY, double* objZ) + { + return Delegates.gluUnProject((double)winX, (double)winY, (double)winZ, (double*)model, (double*)proj, (Int32*)view, (double*)objX, (double*)objY, (double*)objZ); + } + public static Int32 UnProject(double winX, double winY, double winZ, double[] model, double[] proj, Int32[] view, double[] objX, double[] objY, double[] objZ) { @@ -862,9 +917,9 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe Int32 UnProject(double winX, double winY, double winZ, double* model, double* proj, Int32* view, double* objX, double* objY, double* objZ) + unsafe Int32 UnProject4(double winX, double winY, double winZ, double clipW, double* model, double* proj, Int32* view, double near, double far, double* objX, double* objY, double* objZ, double* objW) { - return Delegates.gluUnProject((double)winX, (double)winY, (double)winZ, (double*)model, (double*)proj, (Int32*)view, (double*)objX, (double*)objY, (double*)objZ); + return Delegates.gluUnProject4((double)winX, (double)winY, (double)winZ, (double)clipW, (double*)model, (double*)proj, (Int32*)view, (double)near, (double)far, (double*)objX, (double*)objY, (double*)objZ, (double*)objW); } public static @@ -903,33 +958,26 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe Int32 UnProject4(double winX, double winY, double winZ, double clipW, double* model, double* proj, Int32* view, double near, double far, double* objX, double* objY, double* objZ, double* objW) - { - return Delegates.gluUnProject4((double)winX, (double)winY, (double)winZ, (double)clipW, (double*)model, (double*)proj, (Int32*)view, (double)near, (double)far, (double*)objX, (double*)objY, (double*)objZ, (double*)objW); - } - public static partial class Ext { public static - void NurbsCallbackData(int nurb, IntPtr userData) + void NurbsCallbackData(IntPtr nurb, IntPtr userData) { unsafe { - Delegates.gluNurbsCallbackDataEXT((int)nurb, (IntPtr)userData); + Delegates.gluNurbsCallbackDataEXT((IntPtr)nurb, (IntPtr)userData); } } public static - void NurbsCallbackData(int nurb, [In, Out] object userData) + void NurbsCallbackData(IntPtr nurb, [In, Out] object userData) { unsafe { System.Runtime.InteropServices.GCHandle userData_ptr = System.Runtime.InteropServices.GCHandle.Alloc(userData, System.Runtime.InteropServices.GCHandleType.Pinned); try { - Delegates.gluNurbsCallbackDataEXT((int)nurb, (IntPtr)userData_ptr.AddrOfPinnedObject()); + Delegates.gluNurbsCallbackDataEXT((IntPtr)nurb, (IntPtr)userData_ptr.AddrOfPinnedObject()); } finally { @@ -942,6 +990,13 @@ namespace OpenTK.OpenGL public static partial class Sgi { + [System.CLSCompliant(false)] + public static + unsafe Int32 TexFilterFunc(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.SgisTextureFilter4 filtertype, float* parms, Int32 n, [Out] float* weights) + { + return Delegates.gluTexFilterFuncSGI((OpenTK.OpenGL.Enums.TextureTarget)target, (OpenTK.OpenGL.Enums.SgisTextureFilter4)filtertype, (float*)parms, (Int32)n, (float*)weights); + } + public static Int32 TexFilterFunc(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.SgisTextureFilter4 filtertype, float[] parms, Int32 n, [Out] float[] weights) { @@ -970,13 +1025,6 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] - public static - unsafe Int32 TexFilterFunc(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.SgisTextureFilter4 filtertype, float* parms, Int32 n, [Out] float* weights) - { - return Delegates.gluTexFilterFuncSGI((OpenTK.OpenGL.Enums.TextureTarget)target, (OpenTK.OpenGL.Enums.SgisTextureFilter4)filtertype, (float*)parms, (Int32)n, (float*)weights); - } - } } diff --git a/Source/OpenTK/OpenGL/Bindings/GluCore.cs b/Source/OpenTK/OpenGL/Bindings/GluCore.cs index 86a18a74..bca33d3d 100644 --- a/Source/OpenTK/OpenGL/Bindings/GluCore.cs +++ b/Source/OpenTK/OpenGL/Bindings/GluCore.cs @@ -13,16 +13,16 @@ namespace OpenTK.OpenGL [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluBeginCurve", ExactSpelling = true)] - internal extern static void BeginCurve(int nurb); + internal extern static void BeginCurve(IntPtr nurb); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluBeginPolygon", ExactSpelling = true)] - internal extern static void BeginPolygon(int tess); + internal extern static void BeginPolygon(IntPtr tess); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluBeginSurface", ExactSpelling = true)] - internal extern static void BeginSurface(int nurb); + internal extern static void BeginSurface(IntPtr nurb); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluBeginTrim", ExactSpelling = true)] - internal extern static void BeginTrim(int nurb); + internal extern static void BeginTrim(IntPtr nurb); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluBuild1DMipmapLevels", ExactSpelling = true)] internal extern static Int32 Build1DMipmapLevels(OpenTK.OpenGL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, Int32 level, Int32 @base, Int32 max, IntPtr data); @@ -46,31 +46,31 @@ namespace OpenTK.OpenGL internal extern static unsafe bool CheckExtension(Byte* extName, Byte* extString); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluCylinder", ExactSpelling = true)] - internal extern static void Cylinder(int quad, double @base, double top, double height, Int32 slices, Int32 stacks); + internal extern static void Cylinder(IntPtr quad, double @base, double top, double height, Int32 slices, Int32 stacks); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluDeleteNurbsRenderer", ExactSpelling = true)] - internal extern static void DeleteNurbsRenderer(int nurb); + internal extern static void DeleteNurbsRenderer(IntPtr nurb); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluDeleteQuadric", ExactSpelling = true)] - internal extern static void DeleteQuadric(int quad); + internal extern static void DeleteQuadric(IntPtr quad); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluDeleteTess", ExactSpelling = true)] - internal extern static void DeleteTess(int tess); + internal extern static void DeleteTess(IntPtr tess); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluDisk", ExactSpelling = true)] - internal extern static void Disk(int quad, double inner, double outer, Int32 slices, Int32 loops); + internal extern static void Disk(IntPtr quad, double inner, double outer, Int32 slices, Int32 loops); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluEndCurve", ExactSpelling = true)] - internal extern static void EndCurve(int nurb); + internal extern static void EndCurve(IntPtr nurb); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluEndPolygon", ExactSpelling = true)] - internal extern static void EndPolygon(int tess); + internal extern static void EndPolygon(IntPtr tess); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluEndSurface", ExactSpelling = true)] - internal extern static void EndSurface(int nurb); + internal extern static void EndSurface(IntPtr nurb); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluEndTrim", ExactSpelling = true)] - internal extern static void EndTrim(int nurb); + internal extern static void EndTrim(IntPtr nurb); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluErrorString", ExactSpelling = true)] internal extern static IntPtr ErrorString(OpenTK.OpenGL.Enums.GluErrorCode error); @@ -79,49 +79,49 @@ namespace OpenTK.OpenGL internal extern static IntPtr GetString(OpenTK.OpenGL.Enums.GluStringName name); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluGetNurbsProperty", ExactSpelling = true)] - internal extern static unsafe void GetNurbsProperty(int nurb, OpenTK.OpenGL.Enums.NurbsProperty property, [Out] float* data); + internal extern static unsafe void GetNurbsProperty(IntPtr nurb, OpenTK.OpenGL.Enums.NurbsProperty property, [Out] float* data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluGetTessProperty", ExactSpelling = true)] - internal extern static unsafe void GetTessProperty(int tess, OpenTK.OpenGL.Enums.TessProperty which, [Out] double* data); + internal extern static unsafe void GetTessProperty(IntPtr tess, OpenTK.OpenGL.Enums.TessProperty which, [Out] double* data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluLoadSamplingMatrices", ExactSpelling = true)] - internal extern static unsafe void LoadSamplingMatrices(int nurb, float* model, float* perspective, Int32* view); + internal extern static unsafe void LoadSamplingMatrices(IntPtr nurb, float* model, float* perspective, Int32* view); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluLookAt", ExactSpelling = true)] internal extern static void LookAt(double eyeX, double eyeY, double eyeZ, double centerX, double centerY, double centerZ, double upX, double upY, double upZ); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluNewNurbsRenderer", ExactSpelling = true)] - internal extern static int NewNurbsRenderer(); + internal extern static IntPtr NewNurbsRenderer(); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluNewQuadric", ExactSpelling = true)] - internal extern static int NewQuadric(); + internal extern static IntPtr NewQuadric(); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluNewTess", ExactSpelling = true)] - internal extern static int NewTess(); + internal extern static IntPtr NewTess(); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluNextContour", ExactSpelling = true)] - internal extern static void NextContour(int tess, OpenTK.OpenGL.Enums.TessContour type); + internal extern static void NextContour(IntPtr tess, OpenTK.OpenGL.Enums.TessContour type); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluNurbsCallback", ExactSpelling = true)] - internal extern static void NurbsCallback(int nurb, OpenTK.OpenGL.Enums.NurbsCallback which, IntPtr CallBackFunc); + internal extern static void NurbsCallback(IntPtr nurb, OpenTK.OpenGL.Enums.NurbsCallback which, Delegate CallBackFunc); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluNurbsCallbackData", ExactSpelling = true)] - internal extern static void NurbsCallbackData(int nurb, IntPtr userData); + internal extern static void NurbsCallbackData(IntPtr nurb, IntPtr userData); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluNurbsCurve", ExactSpelling = true)] - internal extern static unsafe void NurbsCurve(int nurb, Int32 knotCount, [Out] float* knots, Int32 stride, [Out] float* control, Int32 order, OpenTK.OpenGL.Enums.MapTarget type); + internal extern static unsafe void NurbsCurve(IntPtr nurb, Int32 knotCount, [Out] float* knots, Int32 stride, [Out] float* control, Int32 order, OpenTK.OpenGL.Enums.MapTarget type); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluNurbsProperty", ExactSpelling = true)] - internal extern static void NurbsProperty(int nurb, OpenTK.OpenGL.Enums.NurbsProperty property, float value); + internal extern static void NurbsProperty(IntPtr nurb, OpenTK.OpenGL.Enums.NurbsProperty property, float value); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluNurbsSurface", ExactSpelling = true)] - internal extern static unsafe void NurbsSurface(int nurb, Int32 sKnotCount, float* sKnots, Int32 tKnotCount, float* tKnots, Int32 sStride, Int32 tStride, float* control, Int32 sOrder, Int32 tOrder, OpenTK.OpenGL.Enums.MapTarget type); + internal extern static unsafe void NurbsSurface(IntPtr nurb, Int32 sKnotCount, float* sKnots, Int32 tKnotCount, float* tKnots, Int32 sStride, Int32 tStride, float* control, Int32 sOrder, Int32 tOrder, OpenTK.OpenGL.Enums.MapTarget type); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluOrtho2D", ExactSpelling = true)] internal extern static void Ortho2D(double left, double right, double bottom, double top); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluPartialDisk", ExactSpelling = true)] - internal extern static void PartialDisk(int quad, double inner, double outer, Int32 slices, Int32 loops, double start, double sweep); + internal extern static void PartialDisk(IntPtr quad, double inner, double outer, Int32 slices, Int32 loops, double start, double sweep); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluPerspective", ExactSpelling = true)] internal extern static void Perspective(double fovy, double aspect, double zNear, double zFar); @@ -133,52 +133,52 @@ namespace OpenTK.OpenGL internal extern static unsafe Int32 Project(double objX, double objY, double objZ, double* model, double* proj, Int32* view, double* winX, double* winY, double* winZ); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluPwlCurve", ExactSpelling = true)] - internal extern static unsafe void PwlCurve(int nurb, Int32 count, float* data, Int32 stride, OpenTK.OpenGL.Enums.NurbsTrim type); + internal extern static unsafe void PwlCurve(IntPtr nurb, Int32 count, float* data, Int32 stride, OpenTK.OpenGL.Enums.NurbsTrim type); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluQuadricCallback", ExactSpelling = true)] - internal extern static void QuadricCallback(int quad, OpenTK.OpenGL.Enums.QuadricCallback which, IntPtr CallBackFunc); + internal extern static void QuadricCallback(IntPtr quad, OpenTK.OpenGL.Enums.QuadricCallback which, Delegate CallBackFunc); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluQuadricDrawStyle", ExactSpelling = true)] - internal extern static void QuadricDrawStyle(int quad, OpenTK.OpenGL.Enums.QuadricDrawStyle draw); + internal extern static void QuadricDrawStyle(IntPtr quad, OpenTK.OpenGL.Enums.QuadricDrawStyle draw); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluQuadricNormals", ExactSpelling = true)] - internal extern static void QuadricNormals(int quad, OpenTK.OpenGL.Enums.QuadricNormal normal); + internal extern static void QuadricNormals(IntPtr quad, OpenTK.OpenGL.Enums.QuadricNormal normal); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluQuadricOrientation", ExactSpelling = true)] - internal extern static void QuadricOrientation(int quad, OpenTK.OpenGL.Enums.QuadricOrientation orientation); + internal extern static void QuadricOrientation(IntPtr quad, OpenTK.OpenGL.Enums.QuadricOrientation orientation); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluQuadricTexture", ExactSpelling = true)] - internal extern static void QuadricTexture(int quad, bool texture); + internal extern static void QuadricTexture(IntPtr quad, bool texture); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluScaleImage", ExactSpelling = true)] internal extern static Int32 ScaleImage(OpenTK.OpenGL.Enums.PixelFormat format, Int32 wIn, Int32 hIn, OpenTK.OpenGL.Enums.PixelType typeIn, IntPtr dataIn, Int32 wOut, Int32 hOut, OpenTK.OpenGL.Enums.PixelType typeOut, [Out] IntPtr dataOut); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluSphere", ExactSpelling = true)] - internal extern static void Sphere(int quad, double radius, Int32 slices, Int32 stacks); + internal extern static void Sphere(IntPtr quad, double radius, Int32 slices, Int32 stacks); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluTessBeginContour", ExactSpelling = true)] - internal extern static void TessBeginContour(int tess); + internal extern static void TessBeginContour(IntPtr tess); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluTessBeginPolygon", ExactSpelling = true)] - internal extern static void TessBeginPolygon(int tess, IntPtr data); + internal extern static void TessBeginPolygon(IntPtr tess, IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluTessCallback", ExactSpelling = true)] - internal extern static void TessCallback(int tess, OpenTK.OpenGL.Enums.TessCallback which, IntPtr CallBackFunc); + internal extern static void TessCallback(IntPtr tess, OpenTK.OpenGL.Enums.TessCallback which, Delegate CallBackFunc); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluTessEndContour", ExactSpelling = true)] - internal extern static void TessEndContour(int tess); + internal extern static void TessEndContour(IntPtr tess); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluTessEndPolygon", ExactSpelling = true)] - internal extern static void TessEndPolygon(int tess); + internal extern static void TessEndPolygon(IntPtr tess); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluTessNormal", ExactSpelling = true)] - internal extern static void TessNormal(int tess, double valueX, double valueY, double valueZ); + internal extern static void TessNormal(IntPtr tess, double valueX, double valueY, double valueZ); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluTessProperty", ExactSpelling = true)] - internal extern static void TessProperty(int tess, OpenTK.OpenGL.Enums.TessProperty which, double data); + internal extern static void TessProperty(IntPtr tess, OpenTK.OpenGL.Enums.TessProperty which, double data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluTessVertex", ExactSpelling = true)] - internal extern static unsafe void TessVertex(int tess, [Out] double* location, IntPtr data); + internal extern static unsafe void TessVertex(IntPtr tess, double* location, IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluUnProject", ExactSpelling = true)] internal extern static unsafe Int32 UnProject(double winX, double winY, double winZ, double* model, double* proj, Int32* view, double* objX, double* objY, double* objZ); diff --git a/Source/OpenTK/OpenGL/Bindings/GluDelegates.cs b/Source/OpenTK/OpenGL/Bindings/GluDelegates.cs index f933c004..a5709bd9 100644 --- a/Source/OpenTK/OpenGL/Bindings/GluDelegates.cs +++ b/Source/OpenTK/OpenGL/Bindings/GluDelegates.cs @@ -11,16 +11,16 @@ namespace OpenTK.OpenGL internal static partial class Delegates { [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginCurve(int nurb); + internal delegate void BeginCurve(IntPtr nurb); internal static BeginCurve gluBeginCurve; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginPolygon(int tess); + internal delegate void BeginPolygon(IntPtr tess); internal static BeginPolygon gluBeginPolygon; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginSurface(int nurb); + internal delegate void BeginSurface(IntPtr nurb); internal static BeginSurface gluBeginSurface; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginTrim(int nurb); + internal delegate void BeginTrim(IntPtr nurb); internal static BeginTrim gluBeginTrim; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate Int32 Build1DMipmapLevels(OpenTK.OpenGL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, Int32 level, Int32 @base, Int32 max, IntPtr data); @@ -44,31 +44,31 @@ namespace OpenTK.OpenGL internal unsafe delegate bool CheckExtension(Byte* extName, Byte* extString); internal unsafe static CheckExtension gluCheckExtension; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Cylinder(int quad, double @base, double top, double height, Int32 slices, Int32 stacks); + internal delegate void Cylinder(IntPtr quad, double @base, double top, double height, Int32 slices, Int32 stacks); internal static Cylinder gluCylinder; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DeleteNurbsRenderer(int nurb); + internal delegate void DeleteNurbsRenderer(IntPtr nurb); internal static DeleteNurbsRenderer gluDeleteNurbsRenderer; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DeleteQuadric(int quad); + internal delegate void DeleteQuadric(IntPtr quad); internal static DeleteQuadric gluDeleteQuadric; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DeleteTess(int tess); + internal delegate void DeleteTess(IntPtr tess); internal static DeleteTess gluDeleteTess; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Disk(int quad, double inner, double outer, Int32 slices, Int32 loops); + internal delegate void Disk(IntPtr quad, double inner, double outer, Int32 slices, Int32 loops); internal static Disk gluDisk; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndCurve(int nurb); + internal delegate void EndCurve(IntPtr nurb); internal static EndCurve gluEndCurve; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndPolygon(int tess); + internal delegate void EndPolygon(IntPtr tess); internal static EndPolygon gluEndPolygon; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndSurface(int nurb); + internal delegate void EndSurface(IntPtr nurb); internal static EndSurface gluEndSurface; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndTrim(int nurb); + internal delegate void EndTrim(IntPtr nurb); internal static EndTrim gluEndTrim; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate IntPtr ErrorString(OpenTK.OpenGL.Enums.GluErrorCode error); @@ -77,52 +77,52 @@ namespace OpenTK.OpenGL internal delegate IntPtr GetString(OpenTK.OpenGL.Enums.GluStringName name); internal static GetString gluGetString; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetNurbsProperty(int nurb, OpenTK.OpenGL.Enums.NurbsProperty property, [Out] float* data); + internal unsafe delegate void GetNurbsProperty(IntPtr nurb, OpenTK.OpenGL.Enums.NurbsProperty property, [Out] float* data); internal unsafe static GetNurbsProperty gluGetNurbsProperty; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTessProperty(int tess, OpenTK.OpenGL.Enums.TessProperty which, [Out] double* data); + internal unsafe delegate void GetTessProperty(IntPtr tess, OpenTK.OpenGL.Enums.TessProperty which, [Out] double* data); internal unsafe static GetTessProperty gluGetTessProperty; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void LoadSamplingMatrices(int nurb, float* model, float* perspective, Int32* view); + internal unsafe delegate void LoadSamplingMatrices(IntPtr nurb, float* model, float* perspective, Int32* view); internal unsafe static LoadSamplingMatrices gluLoadSamplingMatrices; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void LookAt(double eyeX, double eyeY, double eyeZ, double centerX, double centerY, double centerZ, double upX, double upY, double upZ); internal static LookAt gluLookAt; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate int NewNurbsRenderer(); + internal delegate IntPtr NewNurbsRenderer(); internal static NewNurbsRenderer gluNewNurbsRenderer; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate int NewQuadric(); + internal delegate IntPtr NewQuadric(); internal static NewQuadric gluNewQuadric; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate int NewTess(); + internal delegate IntPtr NewTess(); internal static NewTess gluNewTess; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NextContour(int tess, OpenTK.OpenGL.Enums.TessContour type); + internal delegate void NextContour(IntPtr tess, OpenTK.OpenGL.Enums.TessContour type); internal static NextContour gluNextContour; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NurbsCallback(int nurb, OpenTK.OpenGL.Enums.NurbsCallback which, IntPtr CallBackFunc); + internal delegate void NurbsCallback(IntPtr nurb, OpenTK.OpenGL.Enums.NurbsCallback which, Delegate CallBackFunc); internal static NurbsCallback gluNurbsCallback; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NurbsCallbackData(int nurb, IntPtr userData); + internal delegate void NurbsCallbackData(IntPtr nurb, IntPtr userData); internal static NurbsCallbackData gluNurbsCallbackData; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NurbsCallbackDataEXT(int nurb, IntPtr userData); + internal delegate void NurbsCallbackDataEXT(IntPtr nurb, IntPtr userData); internal static NurbsCallbackDataEXT gluNurbsCallbackDataEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void NurbsCurve(int nurb, Int32 knotCount, [Out] float* knots, Int32 stride, [Out] float* control, Int32 order, OpenTK.OpenGL.Enums.MapTarget type); + internal unsafe delegate void NurbsCurve(IntPtr nurb, Int32 knotCount, [Out] float* knots, Int32 stride, [Out] float* control, Int32 order, OpenTK.OpenGL.Enums.MapTarget type); internal unsafe static NurbsCurve gluNurbsCurve; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NurbsProperty(int nurb, OpenTK.OpenGL.Enums.NurbsProperty property, float value); + internal delegate void NurbsProperty(IntPtr nurb, OpenTK.OpenGL.Enums.NurbsProperty property, float value); internal static NurbsProperty gluNurbsProperty; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void NurbsSurface(int nurb, Int32 sKnotCount, float* sKnots, Int32 tKnotCount, float* tKnots, Int32 sStride, Int32 tStride, float* control, Int32 sOrder, Int32 tOrder, OpenTK.OpenGL.Enums.MapTarget type); + internal unsafe delegate void NurbsSurface(IntPtr nurb, Int32 sKnotCount, float* sKnots, Int32 tKnotCount, float* tKnots, Int32 sStride, Int32 tStride, float* control, Int32 sOrder, Int32 tOrder, OpenTK.OpenGL.Enums.MapTarget type); internal unsafe static NurbsSurface gluNurbsSurface; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void Ortho2D(double left, double right, double bottom, double top); internal static Ortho2D gluOrtho2D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PartialDisk(int quad, double inner, double outer, Int32 slices, Int32 loops, double start, double sweep); + internal delegate void PartialDisk(IntPtr quad, double inner, double outer, Int32 slices, Int32 loops, double start, double sweep); internal static PartialDisk gluPartialDisk; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void Perspective(double fovy, double aspect, double zNear, double zFar); @@ -134,52 +134,52 @@ namespace OpenTK.OpenGL internal unsafe delegate Int32 Project(double objX, double objY, double objZ, double* model, double* proj, Int32* view, double* winX, double* winY, double* winZ); internal unsafe static Project gluProject; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PwlCurve(int nurb, Int32 count, float* data, Int32 stride, OpenTK.OpenGL.Enums.NurbsTrim type); + internal unsafe delegate void PwlCurve(IntPtr nurb, Int32 count, float* data, Int32 stride, OpenTK.OpenGL.Enums.NurbsTrim type); internal unsafe static PwlCurve gluPwlCurve; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void QuadricCallback(int quad, OpenTK.OpenGL.Enums.QuadricCallback which, IntPtr CallBackFunc); + internal delegate void QuadricCallback(IntPtr quad, OpenTK.OpenGL.Enums.QuadricCallback which, Delegate CallBackFunc); internal static QuadricCallback gluQuadricCallback; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void QuadricDrawStyle(int quad, OpenTK.OpenGL.Enums.QuadricDrawStyle draw); + internal delegate void QuadricDrawStyle(IntPtr quad, OpenTK.OpenGL.Enums.QuadricDrawStyle draw); internal static QuadricDrawStyle gluQuadricDrawStyle; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void QuadricNormals(int quad, OpenTK.OpenGL.Enums.QuadricNormal normal); + internal delegate void QuadricNormals(IntPtr quad, OpenTK.OpenGL.Enums.QuadricNormal normal); internal static QuadricNormals gluQuadricNormals; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void QuadricOrientation(int quad, OpenTK.OpenGL.Enums.QuadricOrientation orientation); + internal delegate void QuadricOrientation(IntPtr quad, OpenTK.OpenGL.Enums.QuadricOrientation orientation); internal static QuadricOrientation gluQuadricOrientation; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void QuadricTexture(int quad, bool texture); + internal delegate void QuadricTexture(IntPtr quad, bool texture); internal static QuadricTexture gluQuadricTexture; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate Int32 ScaleImage(OpenTK.OpenGL.Enums.PixelFormat format, Int32 wIn, Int32 hIn, OpenTK.OpenGL.Enums.PixelType typeIn, IntPtr dataIn, Int32 wOut, Int32 hOut, OpenTK.OpenGL.Enums.PixelType typeOut, [Out] IntPtr dataOut); internal static ScaleImage gluScaleImage; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Sphere(int quad, double radius, Int32 slices, Int32 stacks); + internal delegate void Sphere(IntPtr quad, double radius, Int32 slices, Int32 stacks); internal static Sphere gluSphere; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TessBeginContour(int tess); + internal delegate void TessBeginContour(IntPtr tess); internal static TessBeginContour gluTessBeginContour; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TessBeginPolygon(int tess, IntPtr data); + internal delegate void TessBeginPolygon(IntPtr tess, IntPtr data); internal static TessBeginPolygon gluTessBeginPolygon; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TessCallback(int tess, OpenTK.OpenGL.Enums.TessCallback which, IntPtr CallBackFunc); + internal delegate void TessCallback(IntPtr tess, OpenTK.OpenGL.Enums.TessCallback which, Delegate CallBackFunc); internal static TessCallback gluTessCallback; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TessEndContour(int tess); + internal delegate void TessEndContour(IntPtr tess); internal static TessEndContour gluTessEndContour; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TessEndPolygon(int tess); + internal delegate void TessEndPolygon(IntPtr tess); internal static TessEndPolygon gluTessEndPolygon; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TessNormal(int tess, double valueX, double valueY, double valueZ); + internal delegate void TessNormal(IntPtr tess, double valueX, double valueY, double valueZ); internal static TessNormal gluTessNormal; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TessProperty(int tess, OpenTK.OpenGL.Enums.TessProperty which, double data); + internal delegate void TessProperty(IntPtr tess, OpenTK.OpenGL.Enums.TessProperty which, double data); internal static TessProperty gluTessProperty; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TessVertex(int tess, [Out] double* location, IntPtr data); + internal unsafe delegate void TessVertex(IntPtr tess, double* location, IntPtr data); internal unsafe static TessVertex gluTessVertex; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate Int32 TexFilterFuncSGI(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.SgisTextureFilter4 filtertype, float* parms, Int32 n, [Out] float* weights);