diff --git a/Source/Bind/GL2/Generator.cs b/Source/Bind/GL2/Generator.cs index b0c7829e..a7caa3bb 100644 --- a/Source/Bind/GL2/Generator.cs +++ b/Source/Bind/GL2/Generator.cs @@ -707,12 +707,12 @@ namespace Bind.GL2 { if (!Char.IsDigit(key[0])) { - sw.WriteLine("public static class {0}", key); + sw.WriteLine("public static partial class {0}", key); } else { // Identifiers cannot start with a number: - sw.WriteLine("public static class {0}{1}", Settings.FunctionPrefix, key); + sw.WriteLine("public static partial class {0}{1}", Settings.FunctionPrefix, key); } sw.WriteLine("{"); sw.Indent(); diff --git a/Source/Examples/Properties/AssemblyInfo.cs b/Source/Examples/Properties/AssemblyInfo.cs index f0677815..398d80cb 100644 --- a/Source/Examples/Properties/AssemblyInfo.cs +++ b/Source/Examples/Properties/AssemblyInfo.cs @@ -29,5 +29,5 @@ using System.Runtime.InteropServices; // Build Number // Revision // -[assembly: AssemblyVersion("0.3.9.2")] -[assembly: AssemblyFileVersion("0.3.9.2")] +[assembly: AssemblyVersion("0.3.10.0")] +[assembly: AssemblyFileVersion("0.3.10.0")] diff --git a/Source/OpenTK/OpenGL/Bindings/GL.cs b/Source/OpenTK/OpenGL/Bindings/GL.cs index 654f2b41..11c80bca 100644 --- a/Source/OpenTK/OpenGL/Bindings/GL.cs +++ b/Source/OpenTK/OpenGL/Bindings/GL.cs @@ -14847,7 +14847,7 @@ namespace OpenTK.OpenGL unsafe { Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value); } } - public static class ARB + public static partial class ARB { public static void ActiveTexture(GL.Enums.ARB_multitexture texture) @@ -22619,7 +22619,7 @@ namespace OpenTK.OpenGL } - public static class EXT + public static partial class EXT { public static void BlendColor(Single red, Single green, Single blue, Single alpha) @@ -29393,7 +29393,7 @@ namespace OpenTK.OpenGL } - public static class SGIS + public static partial class SGIS { [System.CLSCompliant(false)] public static @@ -29888,7 +29888,7 @@ namespace OpenTK.OpenGL } - public static class SGI + public static partial class SGI { [System.CLSCompliant(false)] public static @@ -30070,7 +30070,7 @@ namespace OpenTK.OpenGL } - public static class SGIX + public static partial class SGIX { public static void PixelTexGen(GL.Enums.SGIX_pixel_texture mode) @@ -31243,7 +31243,7 @@ namespace OpenTK.OpenGL } - public static class HP + public static partial class HP { public static void ImageTransformParameteri(GL.Enums.HP_image_transform target, GL.Enums.HP_image_transform pname, Int32 param) @@ -31385,7 +31385,7 @@ namespace OpenTK.OpenGL } - public static class PGI + public static partial class PGI { public static void Hint(GL.Enums.PGI_misc_hints target, Int32 mode) @@ -31395,7 +31395,7 @@ namespace OpenTK.OpenGL } - public static class INTEL + public static partial class INTEL { [System.CLSCompliant(false)] public static @@ -31491,7 +31491,7 @@ namespace OpenTK.OpenGL } - public static class SUNX + public static partial class SUNX { public static void FinishTexture() @@ -31501,7 +31501,7 @@ namespace OpenTK.OpenGL } - public static class SUN + public static partial class SUN { [System.CLSCompliant(false)] public static @@ -51748,7 +51748,7 @@ namespace OpenTK.OpenGL } - public static class INGR + public static partial class INGR { public static void BlendFuncSeparate(GL.Enums.All sfactorRGB, GL.Enums.All dfactorRGB, GL.Enums.All sfactorAlpha, GL.Enums.All dfactorAlpha) @@ -51758,7 +51758,7 @@ namespace OpenTK.OpenGL } - public static class NV + public static partial class NV { public static void FlushVertexArrayRange() @@ -61290,7 +61290,7 @@ namespace OpenTK.OpenGL } - public static class MESA + public static partial class MESA { public static void ResizeBuffers() @@ -61744,7 +61744,7 @@ namespace OpenTK.OpenGL } - public static class IBM + public static partial class IBM { [System.CLSCompliant(false)] public static @@ -62573,7 +62573,7 @@ namespace OpenTK.OpenGL } - public static class gl3DFX + public static partial class gl3DFX { [System.CLSCompliant(false)] public static @@ -62590,7 +62590,7 @@ namespace OpenTK.OpenGL } - public static class ATI + public static partial class ATI { [System.CLSCompliant(false)] public static @@ -64534,7 +64534,7 @@ namespace OpenTK.OpenGL } - public static class APPLE + public static partial class APPLE { [System.CLSCompliant(false)] public static @@ -65353,7 +65353,7 @@ namespace OpenTK.OpenGL } - public static class GREMEDY + public static partial class GREMEDY { [System.CLSCompliant(false)] public static diff --git a/Source/OpenTK/OpenGL/GLHelper.cs b/Source/OpenTK/OpenGL/GLHelper.cs index d620ef07..a3b00daf 100644 --- a/Source/OpenTK/OpenGL/GLHelper.cs +++ b/Source/OpenTK/OpenGL/GLHelper.cs @@ -273,7 +273,7 @@ namespace OpenTK.OpenGL /// public static bool Load(string function) { - FieldInfo f = delegatesClass.GetField(function); + FieldInfo f = delegatesClass.GetField(function, BindingFlags.Static | BindingFlags.NonPublic); if (f == null) return false; @@ -285,7 +285,7 @@ namespace OpenTK.OpenGL #endregion - #region public static void Color3() + #region public static void Color[34]() overloads public static void Color4(System.Drawing.Color color) { diff --git a/Source/OpenTK/Platform/Windows/Bindings/Wgl.cs b/Source/OpenTK/Platform/Windows/Bindings/Wgl.cs index 4d088bf0..67c9cf2f 100644 --- a/Source/OpenTK/Platform/Windows/Bindings/Wgl.cs +++ b/Source/OpenTK/Platform/Windows/Bindings/Wgl.cs @@ -108,6 +108,19 @@ namespace OpenTK.Platform.Windows } } + public static + int DescribePixelFormat(IntPtr hdc, int ipfd, Int32 cjpfd, API.PixelFormatDescriptor[] ppfd) + { + unsafe + { + fixed (API.PixelFormatDescriptor* ppfd_ptr = ppfd) + { + int retval = Delegates.wglDescribePixelFormat((IntPtr)hdc, (int)ipfd, (UInt32)cjpfd, (API.PixelFormatDescriptor*)ppfd_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static int DescribePixelFormat(IntPtr hdc, int ipfd, UInt32 cjpfd, ref API.PixelFormatDescriptor ppfd) @@ -122,6 +135,19 @@ namespace OpenTK.Platform.Windows } } + public static + int DescribePixelFormat(IntPtr hdc, int ipfd, Int32 cjpfd, ref API.PixelFormatDescriptor ppfd) + { + unsafe + { + fixed (API.PixelFormatDescriptor* ppfd_ptr = &ppfd) + { + int retval = Delegates.wglDescribePixelFormat((IntPtr)hdc, (int)ipfd, (UInt32)cjpfd, (API.PixelFormatDescriptor*)ppfd_ptr); + return retval; + } + } + } + public static IntPtr GetCurrentDC() { @@ -229,6 +255,19 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean DescribeLayerPlane(IntPtr hDc, int pixelFormat, int layerPlane, Int32 nBytes, API.LayerPlaneDescriptor[] plpd) + { + unsafe + { + fixed (API.LayerPlaneDescriptor* plpd_ptr = plpd) + { + Boolean retval = Delegates.wglDescribeLayerPlane((IntPtr)hDc, (int)pixelFormat, (int)layerPlane, (UInt32)nBytes, (API.LayerPlaneDescriptor*)plpd_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean DescribeLayerPlane(IntPtr hDc, int pixelFormat, int layerPlane, UInt32 nBytes, ref API.LayerPlaneDescriptor plpd) @@ -243,6 +282,19 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean DescribeLayerPlane(IntPtr hDc, int pixelFormat, int layerPlane, Int32 nBytes, ref API.LayerPlaneDescriptor plpd) + { + unsafe + { + fixed (API.LayerPlaneDescriptor* plpd_ptr = &plpd) + { + Boolean retval = Delegates.wglDescribeLayerPlane((IntPtr)hDc, (int)pixelFormat, (int)layerPlane, (UInt32)nBytes, (API.LayerPlaneDescriptor*)plpd_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe int SetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32* pcr) @@ -406,7 +458,7 @@ namespace OpenTK.Platform.Windows } } - public static class ARB + public static partial class ARB { [System.CLSCompliant(false)] public static @@ -477,6 +529,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, int* piAttributes, [Out] int[] piValues) + { + unsafe + { + fixed (int* piValues_ptr = piValues) + { + Boolean retval = Delegates.wglGetPixelFormatAttribivARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (int*)piValues_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int* piAttributes, [Out] out int piValues) @@ -492,6 +558,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, int* piAttributes, [Out] out int piValues) + { + unsafe + { + fixed (int* piValues_ptr = &piValues) + { + Boolean retval = Delegates.wglGetPixelFormatAttribivARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (int*)piValues_ptr); + piValues = *piValues_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int[] piAttributes, [Out] int* piValues) @@ -506,6 +587,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, int[] piAttributes, [Out] int* piValues) + { + unsafe + { + fixed (int* piAttributes_ptr = piAttributes) + { + Boolean retval = Delegates.wglGetPixelFormatAttribivARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int[] piAttributes, [Out] int[] piValues) @@ -521,6 +616,20 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, int[] piAttributes, [Out] int[] piValues) + { + unsafe + { + fixed (int* piAttributes_ptr = piAttributes) + fixed (int* piValues_ptr = piValues) + { + Boolean retval = Delegates.wglGetPixelFormatAttribivARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int[] piAttributes, [Out] out int piValues) @@ -537,6 +646,21 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, int[] piAttributes, [Out] out int piValues) + { + unsafe + { + fixed (int* piAttributes_ptr = piAttributes) + fixed (int* piValues_ptr = &piValues) + { + Boolean retval = Delegates.wglGetPixelFormatAttribivARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues_ptr); + piValues = *piValues_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, ref int piAttributes, [Out] int* piValues) @@ -551,6 +675,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, ref int piAttributes, [Out] int* piValues) + { + unsafe + { + fixed (int* piAttributes_ptr = &piAttributes) + { + Boolean retval = Delegates.wglGetPixelFormatAttribivARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, ref int piAttributes, [Out] int[] piValues) @@ -566,6 +704,20 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, ref int piAttributes, [Out] int[] piValues) + { + unsafe + { + fixed (int* piAttributes_ptr = &piAttributes) + fixed (int* piValues_ptr = piValues) + { + Boolean retval = Delegates.wglGetPixelFormatAttribivARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, ref int piAttributes, [Out] out int piValues) @@ -582,6 +734,21 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, ref int piAttributes, [Out] out int piValues) + { + unsafe + { + fixed (int* piAttributes_ptr = &piAttributes) + fixed (int* piValues_ptr = &piValues) + { + Boolean retval = Delegates.wglGetPixelFormatAttribivARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues_ptr); + piValues = *piValues_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int* piAttributes, [Out] Single* pfValues) @@ -614,6 +781,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, int* piAttributes, [Out] Single[] pfValues) + { + unsafe + { + fixed (Single* pfValues_ptr = pfValues) + { + Boolean retval = Delegates.wglGetPixelFormatAttribfvARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (Single*)pfValues_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int* piAttributes, [Out] out Single pfValues) @@ -629,6 +810,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, int* piAttributes, [Out] out Single pfValues) + { + unsafe + { + fixed (Single* pfValues_ptr = &pfValues) + { + Boolean retval = Delegates.wglGetPixelFormatAttribfvARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (Single*)pfValues_ptr); + pfValues = *pfValues_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int[] piAttributes, [Out] Single* pfValues) @@ -643,6 +839,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, int[] piAttributes, [Out] Single* pfValues) + { + unsafe + { + fixed (int* piAttributes_ptr = piAttributes) + { + Boolean retval = Delegates.wglGetPixelFormatAttribfvARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int[] piAttributes, [Out] Single[] pfValues) @@ -658,6 +868,20 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, int[] piAttributes, [Out] Single[] pfValues) + { + unsafe + { + fixed (int* piAttributes_ptr = piAttributes) + fixed (Single* pfValues_ptr = pfValues) + { + Boolean retval = Delegates.wglGetPixelFormatAttribfvARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int[] piAttributes, [Out] out Single pfValues) @@ -674,6 +898,21 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, int[] piAttributes, [Out] out Single pfValues) + { + unsafe + { + fixed (int* piAttributes_ptr = piAttributes) + fixed (Single* pfValues_ptr = &pfValues) + { + Boolean retval = Delegates.wglGetPixelFormatAttribfvARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues_ptr); + pfValues = *pfValues_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, ref int piAttributes, [Out] Single* pfValues) @@ -688,6 +927,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, ref int piAttributes, [Out] Single* pfValues) + { + unsafe + { + fixed (int* piAttributes_ptr = &piAttributes) + { + Boolean retval = Delegates.wglGetPixelFormatAttribfvARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, ref int piAttributes, [Out] Single[] pfValues) @@ -703,6 +956,20 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, ref int piAttributes, [Out] Single[] pfValues) + { + unsafe + { + fixed (int* piAttributes_ptr = &piAttributes) + fixed (Single* pfValues_ptr = pfValues) + { + Boolean retval = Delegates.wglGetPixelFormatAttribfvARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, ref int piAttributes, [Out] out Single pfValues) @@ -719,6 +986,21 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, ref int piAttributes, [Out] out Single pfValues) + { + unsafe + { + fixed (int* piAttributes_ptr = &piAttributes) + fixed (Single* pfValues_ptr = &pfValues) + { + Boolean retval = Delegates.wglGetPixelFormatAttribfvARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues_ptr); + pfValues = *pfValues_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) @@ -751,6 +1033,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) @@ -766,6 +1062,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) @@ -780,6 +1091,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piFormats_ptr = piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) @@ -795,6 +1120,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) @@ -811,6 +1151,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) @@ -826,6 +1182,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piFormats_ptr = &piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) @@ -842,6 +1213,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) @@ -859,6 +1246,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) @@ -873,6 +1277,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) @@ -888,6 +1306,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) @@ -904,6 +1337,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) @@ -919,6 +1368,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) @@ -935,6 +1399,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) @@ -952,6 +1432,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) @@ -968,6 +1465,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) @@ -985,6 +1498,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) @@ -1003,6 +1533,24 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) @@ -1017,6 +1565,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) @@ -1032,6 +1594,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) @@ -1048,6 +1625,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) @@ -1063,6 +1656,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) @@ -1079,6 +1687,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) @@ -1096,6 +1720,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) @@ -1112,6 +1753,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) @@ -1129,6 +1786,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) @@ -1147,6 +1821,24 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) @@ -1161,6 +1853,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) @@ -1176,6 +1882,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) @@ -1192,6 +1913,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) @@ -1207,6 +1944,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (int* piFormats_ptr = piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) @@ -1223,6 +1975,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) @@ -1240,6 +2008,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) @@ -1256,6 +2041,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (int* piFormats_ptr = &piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) @@ -1273,6 +2074,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) @@ -1291,6 +2109,24 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) @@ -1306,6 +2142,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) @@ -1322,6 +2173,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) @@ -1339,6 +2206,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) @@ -1355,6 +2239,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) @@ -1372,6 +2272,22 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) @@ -1390,6 +2306,23 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) @@ -1407,6 +2340,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) @@ -1425,6 +2375,23 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) @@ -1444,6 +2411,24 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) @@ -1459,6 +2444,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) @@ -1475,6 +2475,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) @@ -1492,6 +2508,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) @@ -1508,6 +2541,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) @@ -1525,6 +2574,22 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) @@ -1543,6 +2608,23 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) @@ -1560,6 +2642,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) @@ -1578,6 +2677,23 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) @@ -1597,6 +2713,24 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) @@ -1611,6 +2745,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) @@ -1626,6 +2774,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) @@ -1642,6 +2805,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) @@ -1657,6 +2836,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (int* piFormats_ptr = piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) @@ -1673,6 +2867,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) @@ -1690,6 +2900,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) @@ -1706,6 +2933,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (int* piFormats_ptr = &piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) @@ -1723,6 +2966,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) @@ -1741,6 +3001,24 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) @@ -1756,6 +3034,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) @@ -1772,6 +3065,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) @@ -1789,6 +3098,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) @@ -1805,6 +3131,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) @@ -1822,6 +3164,22 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) @@ -1840,6 +3198,23 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) @@ -1857,6 +3232,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) @@ -1875,6 +3267,23 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) @@ -1894,6 +3303,24 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) @@ -1909,6 +3336,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) @@ -1925,6 +3367,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) @@ -1942,6 +3400,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) @@ -1958,6 +3433,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) @@ -1975,6 +3466,22 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) @@ -1993,6 +3500,23 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) @@ -2010,6 +3534,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) @@ -2028,6 +3569,23 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) @@ -2047,6 +3605,24 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + public static Boolean MakeContextCurrent(IntPtr hDrawDC, IntPtr hReadDC, IntPtr hglrc) { @@ -2191,7 +3767,7 @@ namespace OpenTK.Platform.Windows } - public static class EXT + public static partial class EXT { [System.CLSCompliant(false)] public static @@ -2238,6 +3814,19 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean LoadDisplayColorTable(Int16[] table, Int32 length) + { + unsafe + { + fixed (Int16* table_ptr = table) + { + Boolean retval = Delegates.wglLoadDisplayColorTableEXT((UInt16*)table_ptr, (UInt32)length); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean LoadDisplayColorTable(ref UInt16 table, UInt32 length) @@ -2252,6 +3841,19 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean LoadDisplayColorTable(ref Int16 table, Int32 length) + { + unsafe + { + fixed (Int16* table_ptr = &table) + { + Boolean retval = Delegates.wglLoadDisplayColorTableEXT((UInt16*)table_ptr, (UInt32)length); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean BindDisplayColorTable(UInt16 id) @@ -2413,6 +4015,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] int* piAttributes, [Out] int[] piValues) + { + unsafe + { + fixed (int* piValues_ptr = piValues) + { + Boolean retval = Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (int*)piValues_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int* piAttributes, [Out] out int piValues) @@ -2428,6 +4044,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] int* piAttributes, [Out] out int piValues) + { + unsafe + { + fixed (int* piValues_ptr = &piValues) + { + Boolean retval = Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (int*)piValues_ptr); + piValues = *piValues_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int[] piAttributes, [Out] int* piValues) @@ -2442,6 +4073,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] int[] piAttributes, [Out] int* piValues) + { + unsafe + { + fixed (int* piAttributes_ptr = piAttributes) + { + Boolean retval = Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int[] piAttributes, [Out] int[] piValues) @@ -2457,6 +4102,20 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] int[] piAttributes, [Out] int[] piValues) + { + unsafe + { + fixed (int* piAttributes_ptr = piAttributes) + fixed (int* piValues_ptr = piValues) + { + Boolean retval = Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int[] piAttributes, [Out] out int piValues) @@ -2473,6 +4132,21 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] int[] piAttributes, [Out] out int piValues) + { + unsafe + { + fixed (int* piAttributes_ptr = piAttributes) + fixed (int* piValues_ptr = &piValues) + { + Boolean retval = Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues_ptr); + piValues = *piValues_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] out int piAttributes, [Out] int* piValues) @@ -2488,6 +4162,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] out int piAttributes, [Out] int* piValues) + { + unsafe + { + fixed (int* piAttributes_ptr = &piAttributes) + { + Boolean retval = Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues); + piAttributes = *piAttributes_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] out int piAttributes, [Out] int[] piValues) @@ -2504,6 +4193,21 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] out int piAttributes, [Out] int[] piValues) + { + unsafe + { + fixed (int* piAttributes_ptr = &piAttributes) + fixed (int* piValues_ptr = piValues) + { + Boolean retval = Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues_ptr); + piAttributes = *piAttributes_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] out int piAttributes, [Out] out int piValues) @@ -2521,6 +4225,22 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] out int piAttributes, [Out] out int piValues) + { + unsafe + { + fixed (int* piAttributes_ptr = &piAttributes) + fixed (int* piValues_ptr = &piValues) + { + Boolean retval = Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues_ptr); + piAttributes = *piAttributes_ptr; + piValues = *piValues_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int* piAttributes, [Out] Single* pfValues) @@ -2553,6 +4273,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] int* piAttributes, [Out] Single[] pfValues) + { + unsafe + { + fixed (Single* pfValues_ptr = pfValues) + { + Boolean retval = Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (Single*)pfValues_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int* piAttributes, [Out] out Single pfValues) @@ -2568,6 +4302,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] int* piAttributes, [Out] out Single pfValues) + { + unsafe + { + fixed (Single* pfValues_ptr = &pfValues) + { + Boolean retval = Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (Single*)pfValues_ptr); + pfValues = *pfValues_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int[] piAttributes, [Out] Single* pfValues) @@ -2582,6 +4331,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] int[] piAttributes, [Out] Single* pfValues) + { + unsafe + { + fixed (int* piAttributes_ptr = piAttributes) + { + Boolean retval = Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int[] piAttributes, [Out] Single[] pfValues) @@ -2597,6 +4360,20 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] int[] piAttributes, [Out] Single[] pfValues) + { + unsafe + { + fixed (int* piAttributes_ptr = piAttributes) + fixed (Single* pfValues_ptr = pfValues) + { + Boolean retval = Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int[] piAttributes, [Out] out Single pfValues) @@ -2613,6 +4390,21 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] int[] piAttributes, [Out] out Single pfValues) + { + unsafe + { + fixed (int* piAttributes_ptr = piAttributes) + fixed (Single* pfValues_ptr = &pfValues) + { + Boolean retval = Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues_ptr); + pfValues = *pfValues_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] out int piAttributes, [Out] Single* pfValues) @@ -2628,6 +4420,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] out int piAttributes, [Out] Single* pfValues) + { + unsafe + { + fixed (int* piAttributes_ptr = &piAttributes) + { + Boolean retval = Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues); + piAttributes = *piAttributes_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] out int piAttributes, [Out] Single[] pfValues) @@ -2644,6 +4451,21 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] out int piAttributes, [Out] Single[] pfValues) + { + unsafe + { + fixed (int* piAttributes_ptr = &piAttributes) + fixed (Single* pfValues_ptr = pfValues) + { + Boolean retval = Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues_ptr); + piAttributes = *piAttributes_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] out int piAttributes, [Out] out Single pfValues) @@ -2661,6 +4483,22 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] out int piAttributes, [Out] out Single pfValues) + { + unsafe + { + fixed (int* piAttributes_ptr = &piAttributes) + fixed (Single* pfValues_ptr = &pfValues) + { + Boolean retval = Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues_ptr); + piAttributes = *piAttributes_ptr; + pfValues = *pfValues_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) @@ -2693,6 +4531,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) @@ -2708,6 +4560,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) @@ -2722,6 +4589,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piFormats_ptr = piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) @@ -2737,6 +4618,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) @@ -2753,6 +4649,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) @@ -2768,6 +4680,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piFormats_ptr = &piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) @@ -2784,6 +4711,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) @@ -2801,6 +4744,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) @@ -2815,6 +4775,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) @@ -2830,6 +4804,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) @@ -2846,6 +4835,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) @@ -2861,6 +4866,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) @@ -2877,6 +4897,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) @@ -2894,6 +4930,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) @@ -2910,6 +4963,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) @@ -2927,6 +4996,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) @@ -2945,6 +5031,24 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) @@ -2959,6 +5063,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) @@ -2974,6 +5092,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) @@ -2990,6 +5123,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) @@ -3005,6 +5154,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) @@ -3021,6 +5185,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) @@ -3038,6 +5218,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) @@ -3054,6 +5251,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) @@ -3071,6 +5284,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) @@ -3089,6 +5319,24 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) @@ -3103,6 +5351,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) @@ -3118,6 +5380,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) @@ -3134,6 +5411,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) @@ -3149,6 +5442,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (int* piFormats_ptr = piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) @@ -3165,6 +5473,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) @@ -3182,6 +5506,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) @@ -3198,6 +5539,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (int* piFormats_ptr = &piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) @@ -3215,6 +5572,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) @@ -3233,6 +5607,24 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) @@ -3248,6 +5640,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) @@ -3264,6 +5671,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) @@ -3281,6 +5704,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) @@ -3297,6 +5737,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) @@ -3314,6 +5770,22 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) @@ -3332,6 +5804,23 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) @@ -3349,6 +5838,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) @@ -3367,6 +5873,23 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) @@ -3386,6 +5909,24 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) @@ -3401,6 +5942,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) @@ -3417,6 +5973,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) @@ -3434,6 +6006,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) @@ -3450,6 +6039,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) @@ -3467,6 +6072,22 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) @@ -3485,6 +6106,23 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) @@ -3502,6 +6140,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) @@ -3520,6 +6175,23 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) @@ -3539,6 +6211,24 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) @@ -3553,6 +6243,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) @@ -3568,6 +6272,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) @@ -3584,6 +6303,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) @@ -3599,6 +6334,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (int* piFormats_ptr = piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) @@ -3615,6 +6365,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) @@ -3632,6 +6398,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) @@ -3648,6 +6431,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (int* piFormats_ptr = &piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) @@ -3665,6 +6464,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) @@ -3683,6 +6499,24 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) @@ -3698,6 +6532,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) @@ -3714,6 +6563,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) @@ -3731,6 +6596,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) @@ -3747,6 +6629,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) @@ -3764,6 +6662,22 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) @@ -3782,6 +6696,23 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) @@ -3799,6 +6730,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) @@ -3817,6 +6765,23 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) @@ -3836,6 +6801,24 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) @@ -3851,6 +6834,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) @@ -3867,6 +6865,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) @@ -3884,6 +6898,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) @@ -3900,6 +6931,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) @@ -3917,6 +6964,22 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) @@ -3935,6 +6998,23 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) @@ -3952,6 +7032,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) @@ -3970,6 +7067,23 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) @@ -3989,6 +7103,24 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] out Int32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (Int32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + public static Boolean SwapInterval(int interval) { @@ -4003,7 +7135,7 @@ namespace OpenTK.Platform.Windows } - public static class NV + public static partial class NV { public static IntPtr AllocateMemory(Int32 size, Single readfreq, Single writefreq, Single priority) @@ -4036,7 +7168,7 @@ namespace OpenTK.Platform.Windows } - public static class OML + public static partial class OML { [System.CLSCompliant(false)] public static @@ -5431,7 +8563,7 @@ namespace OpenTK.Platform.Windows } - public static class I3D + public static partial class I3D { [System.CLSCompliant(false)] public static @@ -5599,6 +8731,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] Int16* puRed, [Out] Int16* puGreen, [Out] Int16[] puBlue) + { + unsafe + { + fixed (Int16* puBlue_ptr = puBlue) + { + Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen, (UInt16*)puBlue_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16* puRed, [Out] UInt16* puGreen, [Out] out UInt16 puBlue) @@ -5614,6 +8760,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] Int16* puRed, [Out] Int16* puGreen, [Out] out Int16 puBlue) + { + unsafe + { + fixed (Int16* puBlue_ptr = &puBlue) + { + Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen, (UInt16*)puBlue_ptr); + puBlue = *puBlue_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16* puRed, [Out] UInt16[] puGreen, [Out] UInt16* puBlue) @@ -5628,6 +8789,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] Int16* puRed, [Out] Int16[] puGreen, [Out] Int16* puBlue) + { + unsafe + { + fixed (Int16* puGreen_ptr = puGreen) + { + Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16* puRed, [Out] UInt16[] puGreen, [Out] UInt16[] puBlue) @@ -5643,6 +8818,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] Int16* puRed, [Out] Int16[] puGreen, [Out] Int16[] puBlue) + { + unsafe + { + fixed (Int16* puGreen_ptr = puGreen) + fixed (Int16* puBlue_ptr = puBlue) + { + Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16* puRed, [Out] UInt16[] puGreen, [Out] out UInt16 puBlue) @@ -5659,6 +8849,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] Int16* puRed, [Out] Int16[] puGreen, [Out] out Int16 puBlue) + { + unsafe + { + fixed (Int16* puGreen_ptr = puGreen) + fixed (Int16* puBlue_ptr = &puBlue) + { + Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); + puBlue = *puBlue_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16* puRed, [Out] out UInt16 puGreen, [Out] UInt16* puBlue) @@ -5674,6 +8880,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] Int16* puRed, [Out] out Int16 puGreen, [Out] Int16* puBlue) + { + unsafe + { + fixed (Int16* puGreen_ptr = &puGreen) + { + Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue); + puGreen = *puGreen_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16* puRed, [Out] out UInt16 puGreen, [Out] UInt16[] puBlue) @@ -5690,6 +8911,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] Int16* puRed, [Out] out Int16 puGreen, [Out] Int16[] puBlue) + { + unsafe + { + fixed (Int16* puGreen_ptr = &puGreen) + fixed (Int16* puBlue_ptr = puBlue) + { + Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); + puGreen = *puGreen_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16* puRed, [Out] out UInt16 puGreen, [Out] out UInt16 puBlue) @@ -5707,6 +8944,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] Int16* puRed, [Out] out Int16 puGreen, [Out] out Int16 puBlue) + { + unsafe + { + fixed (Int16* puGreen_ptr = &puGreen) + fixed (Int16* puBlue_ptr = &puBlue) + { + Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); + puGreen = *puGreen_ptr; + puBlue = *puBlue_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16[] puRed, [Out] UInt16* puGreen, [Out] UInt16* puBlue) @@ -5721,6 +8975,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] Int16[] puRed, [Out] Int16* puGreen, [Out] Int16* puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = puRed) + { + Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16[] puRed, [Out] UInt16* puGreen, [Out] UInt16[] puBlue) @@ -5736,6 +9004,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] Int16[] puRed, [Out] Int16* puGreen, [Out] Int16[] puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = puRed) + fixed (Int16* puBlue_ptr = puBlue) + { + Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16[] puRed, [Out] UInt16* puGreen, [Out] out UInt16 puBlue) @@ -5752,6 +9035,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] Int16[] puRed, [Out] Int16* puGreen, [Out] out Int16 puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = puRed) + fixed (Int16* puBlue_ptr = &puBlue) + { + Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue_ptr); + puBlue = *puBlue_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16[] puRed, [Out] UInt16[] puGreen, [Out] UInt16* puBlue) @@ -5767,6 +9066,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] Int16[] puRed, [Out] Int16[] puGreen, [Out] Int16* puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = puRed) + fixed (Int16* puGreen_ptr = puGreen) + { + Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16[] puRed, [Out] UInt16[] puGreen, [Out] UInt16[] puBlue) @@ -5783,6 +9097,21 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] Int16[] puRed, [Out] Int16[] puGreen, [Out] Int16[] puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = puRed) + fixed (Int16* puGreen_ptr = puGreen) + fixed (Int16* puBlue_ptr = puBlue) + { + Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16[] puRed, [Out] UInt16[] puGreen, [Out] out UInt16 puBlue) @@ -5800,6 +9129,22 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] Int16[] puRed, [Out] Int16[] puGreen, [Out] out Int16 puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = puRed) + fixed (Int16* puGreen_ptr = puGreen) + fixed (Int16* puBlue_ptr = &puBlue) + { + Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); + puBlue = *puBlue_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16[] puRed, [Out] out UInt16 puGreen, [Out] UInt16* puBlue) @@ -5816,6 +9161,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] Int16[] puRed, [Out] out Int16 puGreen, [Out] Int16* puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = puRed) + fixed (Int16* puGreen_ptr = &puGreen) + { + Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue); + puGreen = *puGreen_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16[] puRed, [Out] out UInt16 puGreen, [Out] UInt16[] puBlue) @@ -5833,6 +9194,22 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] Int16[] puRed, [Out] out Int16 puGreen, [Out] Int16[] puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = puRed) + fixed (Int16* puGreen_ptr = &puGreen) + fixed (Int16* puBlue_ptr = puBlue) + { + Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); + puGreen = *puGreen_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16[] puRed, [Out] out UInt16 puGreen, [Out] out UInt16 puBlue) @@ -5851,6 +9228,23 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] Int16[] puRed, [Out] out Int16 puGreen, [Out] out Int16 puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = puRed) + fixed (Int16* puGreen_ptr = &puGreen) + fixed (Int16* puBlue_ptr = &puBlue) + { + Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); + puGreen = *puGreen_ptr; + puBlue = *puBlue_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out UInt16 puRed, [Out] UInt16* puGreen, [Out] UInt16* puBlue) @@ -5866,6 +9260,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out Int16 puRed, [Out] Int16* puGreen, [Out] Int16* puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = &puRed) + { + Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue); + puRed = *puRed_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out UInt16 puRed, [Out] UInt16* puGreen, [Out] UInt16[] puBlue) @@ -5882,6 +9291,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out Int16 puRed, [Out] Int16* puGreen, [Out] Int16[] puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = &puRed) + fixed (Int16* puBlue_ptr = puBlue) + { + Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue_ptr); + puRed = *puRed_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out UInt16 puRed, [Out] UInt16* puGreen, [Out] out UInt16 puBlue) @@ -5899,6 +9324,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out Int16 puRed, [Out] Int16* puGreen, [Out] out Int16 puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = &puRed) + fixed (Int16* puBlue_ptr = &puBlue) + { + Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue_ptr); + puRed = *puRed_ptr; + puBlue = *puBlue_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out UInt16 puRed, [Out] UInt16[] puGreen, [Out] UInt16* puBlue) @@ -5915,6 +9357,22 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out Int16 puRed, [Out] Int16[] puGreen, [Out] Int16* puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = &puRed) + fixed (Int16* puGreen_ptr = puGreen) + { + Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue); + puRed = *puRed_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out UInt16 puRed, [Out] UInt16[] puGreen, [Out] UInt16[] puBlue) @@ -5932,6 +9390,22 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out Int16 puRed, [Out] Int16[] puGreen, [Out] Int16[] puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = &puRed) + fixed (Int16* puGreen_ptr = puGreen) + fixed (Int16* puBlue_ptr = puBlue) + { + Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); + puRed = *puRed_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out UInt16 puRed, [Out] UInt16[] puGreen, [Out] out UInt16 puBlue) @@ -5950,6 +9424,23 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out Int16 puRed, [Out] Int16[] puGreen, [Out] out Int16 puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = &puRed) + fixed (Int16* puGreen_ptr = puGreen) + fixed (Int16* puBlue_ptr = &puBlue) + { + Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); + puRed = *puRed_ptr; + puBlue = *puBlue_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out UInt16 puRed, [Out] out UInt16 puGreen, [Out] UInt16* puBlue) @@ -5967,6 +9458,23 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out Int16 puRed, [Out] out Int16 puGreen, [Out] Int16* puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = &puRed) + fixed (Int16* puGreen_ptr = &puGreen) + { + Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue); + puRed = *puRed_ptr; + puGreen = *puGreen_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out UInt16 puRed, [Out] out UInt16 puGreen, [Out] UInt16[] puBlue) @@ -5985,6 +9493,23 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out Int16 puRed, [Out] out Int16 puGreen, [Out] Int16[] puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = &puRed) + fixed (Int16* puGreen_ptr = &puGreen) + fixed (Int16* puBlue_ptr = puBlue) + { + Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); + puRed = *puRed_ptr; + puGreen = *puGreen_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out UInt16 puRed, [Out] out UInt16 puGreen, [Out] out UInt16 puBlue) @@ -6004,6 +9529,24 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out Int16 puRed, [Out] out Int16 puGreen, [Out] out Int16 puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = &puRed) + fixed (Int16* puGreen_ptr = &puGreen) + fixed (Int16* puBlue_ptr = &puBlue) + { + Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); + puRed = *puRed_ptr; + puGreen = *puGreen_ptr; + puBlue = *puBlue_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16* puRed, UInt16* puGreen, UInt16* puBlue) @@ -6036,6 +9579,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, Int16* puRed, Int16* puGreen, Int16[] puBlue) + { + unsafe + { + fixed (Int16* puBlue_ptr = puBlue) + { + Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen, (UInt16*)puBlue_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16* puRed, UInt16* puGreen, ref UInt16 puBlue) @@ -6050,6 +9607,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, Int16* puRed, Int16* puGreen, ref Int16 puBlue) + { + unsafe + { + fixed (Int16* puBlue_ptr = &puBlue) + { + Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen, (UInt16*)puBlue_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16* puRed, UInt16[] puGreen, UInt16* puBlue) @@ -6064,6 +9635,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, Int16* puRed, Int16[] puGreen, Int16* puBlue) + { + unsafe + { + fixed (Int16* puGreen_ptr = puGreen) + { + Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16* puRed, UInt16[] puGreen, UInt16[] puBlue) @@ -6079,6 +9664,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, Int16* puRed, Int16[] puGreen, Int16[] puBlue) + { + unsafe + { + fixed (Int16* puGreen_ptr = puGreen) + fixed (Int16* puBlue_ptr = puBlue) + { + Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16* puRed, UInt16[] puGreen, ref UInt16 puBlue) @@ -6094,6 +9694,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, Int16* puRed, Int16[] puGreen, ref Int16 puBlue) + { + unsafe + { + fixed (Int16* puGreen_ptr = puGreen) + fixed (Int16* puBlue_ptr = &puBlue) + { + Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16* puRed, ref UInt16 puGreen, UInt16* puBlue) @@ -6108,6 +9723,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, Int16* puRed, ref Int16 puGreen, Int16* puBlue) + { + unsafe + { + fixed (Int16* puGreen_ptr = &puGreen) + { + Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16* puRed, ref UInt16 puGreen, UInt16[] puBlue) @@ -6123,6 +9752,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, Int16* puRed, ref Int16 puGreen, Int16[] puBlue) + { + unsafe + { + fixed (Int16* puGreen_ptr = &puGreen) + fixed (Int16* puBlue_ptr = puBlue) + { + Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16* puRed, ref UInt16 puGreen, ref UInt16 puBlue) @@ -6138,6 +9782,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, Int16* puRed, ref Int16 puGreen, ref Int16 puBlue) + { + unsafe + { + fixed (Int16* puGreen_ptr = &puGreen) + fixed (Int16* puBlue_ptr = &puBlue) + { + Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16[] puRed, UInt16* puGreen, UInt16* puBlue) @@ -6152,6 +9811,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, Int16[] puRed, Int16* puGreen, Int16* puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = puRed) + { + Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16[] puRed, UInt16* puGreen, UInt16[] puBlue) @@ -6167,6 +9840,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, Int16[] puRed, Int16* puGreen, Int16[] puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = puRed) + fixed (Int16* puBlue_ptr = puBlue) + { + Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16[] puRed, UInt16* puGreen, ref UInt16 puBlue) @@ -6182,6 +9870,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, Int16[] puRed, Int16* puGreen, ref Int16 puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = puRed) + fixed (Int16* puBlue_ptr = &puBlue) + { + Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16[] puRed, UInt16[] puGreen, UInt16* puBlue) @@ -6197,6 +9900,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, Int16[] puRed, Int16[] puGreen, Int16* puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = puRed) + fixed (Int16* puGreen_ptr = puGreen) + { + Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16[] puRed, UInt16[] puGreen, UInt16[] puBlue) @@ -6213,6 +9931,21 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean SetGammaTable(IntPtr hDC, int iEntries, Int16[] puRed, Int16[] puGreen, Int16[] puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = puRed) + fixed (Int16* puGreen_ptr = puGreen) + fixed (Int16* puBlue_ptr = puBlue) + { + Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16[] puRed, UInt16[] puGreen, ref UInt16 puBlue) @@ -6229,6 +9962,21 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean SetGammaTable(IntPtr hDC, int iEntries, Int16[] puRed, Int16[] puGreen, ref Int16 puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = puRed) + fixed (Int16* puGreen_ptr = puGreen) + fixed (Int16* puBlue_ptr = &puBlue) + { + Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16[] puRed, ref UInt16 puGreen, UInt16* puBlue) @@ -6244,6 +9992,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, Int16[] puRed, ref Int16 puGreen, Int16* puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = puRed) + fixed (Int16* puGreen_ptr = &puGreen) + { + Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16[] puRed, ref UInt16 puGreen, UInt16[] puBlue) @@ -6260,6 +10023,21 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean SetGammaTable(IntPtr hDC, int iEntries, Int16[] puRed, ref Int16 puGreen, Int16[] puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = puRed) + fixed (Int16* puGreen_ptr = &puGreen) + fixed (Int16* puBlue_ptr = puBlue) + { + Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16[] puRed, ref UInt16 puGreen, ref UInt16 puBlue) @@ -6276,6 +10054,21 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean SetGammaTable(IntPtr hDC, int iEntries, Int16[] puRed, ref Int16 puGreen, ref Int16 puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = puRed) + fixed (Int16* puGreen_ptr = &puGreen) + fixed (Int16* puBlue_ptr = &puBlue) + { + Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, ref UInt16 puRed, UInt16* puGreen, UInt16* puBlue) @@ -6290,6 +10083,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, ref Int16 puRed, Int16* puGreen, Int16* puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = &puRed) + { + Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, ref UInt16 puRed, UInt16* puGreen, UInt16[] puBlue) @@ -6305,6 +10112,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, ref Int16 puRed, Int16* puGreen, Int16[] puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = &puRed) + fixed (Int16* puBlue_ptr = puBlue) + { + Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, ref UInt16 puRed, UInt16* puGreen, ref UInt16 puBlue) @@ -6320,6 +10142,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, ref Int16 puRed, Int16* puGreen, ref Int16 puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = &puRed) + fixed (Int16* puBlue_ptr = &puBlue) + { + Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, ref UInt16 puRed, UInt16[] puGreen, UInt16* puBlue) @@ -6335,6 +10172,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, ref Int16 puRed, Int16[] puGreen, Int16* puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = &puRed) + fixed (Int16* puGreen_ptr = puGreen) + { + Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean SetGammaTable(IntPtr hDC, int iEntries, ref UInt16 puRed, UInt16[] puGreen, UInt16[] puBlue) @@ -6351,6 +10203,21 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean SetGammaTable(IntPtr hDC, int iEntries, ref Int16 puRed, Int16[] puGreen, Int16[] puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = &puRed) + fixed (Int16* puGreen_ptr = puGreen) + fixed (Int16* puBlue_ptr = puBlue) + { + Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean SetGammaTable(IntPtr hDC, int iEntries, ref UInt16 puRed, UInt16[] puGreen, ref UInt16 puBlue) @@ -6367,6 +10234,21 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean SetGammaTable(IntPtr hDC, int iEntries, ref Int16 puRed, Int16[] puGreen, ref Int16 puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = &puRed) + fixed (Int16* puGreen_ptr = puGreen) + fixed (Int16* puBlue_ptr = &puBlue) + { + Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, ref UInt16 puRed, ref UInt16 puGreen, UInt16* puBlue) @@ -6382,6 +10264,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, ref Int16 puRed, ref Int16 puGreen, Int16* puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = &puRed) + fixed (Int16* puGreen_ptr = &puGreen) + { + Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean SetGammaTable(IntPtr hDC, int iEntries, ref UInt16 puRed, ref UInt16 puGreen, UInt16[] puBlue) @@ -6398,6 +10295,21 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean SetGammaTable(IntPtr hDC, int iEntries, ref Int16 puRed, ref Int16 puGreen, Int16[] puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = &puRed) + fixed (Int16* puGreen_ptr = &puGreen) + fixed (Int16* puBlue_ptr = puBlue) + { + Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean SetGammaTable(IntPtr hDC, int iEntries, ref UInt16 puRed, ref UInt16 puGreen, ref UInt16 puBlue) @@ -6414,6 +10326,21 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean SetGammaTable(IntPtr hDC, int iEntries, ref Int16 puRed, ref Int16 puGreen, ref Int16 puBlue) + { + unsafe + { + fixed (Int16* puRed_ptr = &puRed) + fixed (Int16* puGreen_ptr = &puGreen) + fixed (Int16* puBlue_ptr = &puBlue) + { + Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); + return retval; + } + } + } + public static Boolean EnableGenlock(IntPtr hDC) { @@ -6478,6 +10405,19 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetGenlockSource(IntPtr hDC, [Out] Int32[] uSource) + { + unsafe + { + fixed (Int32* uSource_ptr = uSource) + { + Boolean retval = Delegates.wglGetGenlockSourceI3D((IntPtr)hDC, (UInt32*)uSource_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean GetGenlockSource(IntPtr hDC, [Out] out UInt32 uSource) @@ -6493,6 +10433,20 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetGenlockSource(IntPtr hDC, [Out] out Int32 uSource) + { + unsafe + { + fixed (Int32* uSource_ptr = &uSource) + { + Boolean retval = Delegates.wglGetGenlockSourceI3D((IntPtr)hDC, (UInt32*)uSource_ptr); + uSource = *uSource_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean GenlockSourceEdge(IntPtr hDC, UInt32 uEdge) @@ -6538,6 +10492,19 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetGenlockSourceEdge(IntPtr hDC, [Out] Int32[] uEdge) + { + unsafe + { + fixed (Int32* uEdge_ptr = uEdge) + { + Boolean retval = Delegates.wglGetGenlockSourceEdgeI3D((IntPtr)hDC, (UInt32*)uEdge_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean GetGenlockSourceEdge(IntPtr hDC, [Out] out UInt32 uEdge) @@ -6553,6 +10520,20 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetGenlockSourceEdge(IntPtr hDC, [Out] out Int32 uEdge) + { + unsafe + { + fixed (Int32* uEdge_ptr = &uEdge) + { + Boolean retval = Delegates.wglGetGenlockSourceEdgeI3D((IntPtr)hDC, (UInt32*)uEdge_ptr); + uEdge = *uEdge_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean GenlockSampleRate(IntPtr hDC, UInt32 uRate) @@ -6598,6 +10579,19 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetGenlockSampleRate(IntPtr hDC, [Out] Int32[] uRate) + { + unsafe + { + fixed (Int32* uRate_ptr = uRate) + { + Boolean retval = Delegates.wglGetGenlockSampleRateI3D((IntPtr)hDC, (UInt32*)uRate_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean GetGenlockSampleRate(IntPtr hDC, [Out] out UInt32 uRate) @@ -6613,6 +10607,20 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetGenlockSampleRate(IntPtr hDC, [Out] out Int32 uRate) + { + unsafe + { + fixed (Int32* uRate_ptr = &uRate) + { + Boolean retval = Delegates.wglGetGenlockSampleRateI3D((IntPtr)hDC, (UInt32*)uRate_ptr); + uRate = *uRate_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean GenlockSourceDelay(IntPtr hDC, UInt32 uDelay) @@ -6658,6 +10666,19 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetGenlockSourceDelay(IntPtr hDC, [Out] Int32[] uDelay) + { + unsafe + { + fixed (Int32* uDelay_ptr = uDelay) + { + Boolean retval = Delegates.wglGetGenlockSourceDelayI3D((IntPtr)hDC, (UInt32*)uDelay_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean GetGenlockSourceDelay(IntPtr hDC, [Out] out UInt32 uDelay) @@ -6673,6 +10694,20 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean GetGenlockSourceDelay(IntPtr hDC, [Out] out Int32 uDelay) + { + unsafe + { + fixed (Int32* uDelay_ptr = &uDelay) + { + Boolean retval = Delegates.wglGetGenlockSourceDelayI3D((IntPtr)hDC, (UInt32*)uDelay_ptr); + uDelay = *uDelay_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] UInt32* uMaxLineDelay, [Out] UInt32* uMaxPixelDelay) @@ -6705,6 +10740,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] Int32* uMaxLineDelay, [Out] Int32[] uMaxPixelDelay) + { + unsafe + { + fixed (Int32* uMaxPixelDelay_ptr = uMaxPixelDelay) + { + Boolean retval = Delegates.wglQueryGenlockMaxSourceDelayI3D((IntPtr)hDC, (UInt32*)uMaxLineDelay, (UInt32*)uMaxPixelDelay_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] UInt32* uMaxLineDelay, [Out] out UInt32 uMaxPixelDelay) @@ -6720,6 +10769,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] Int32* uMaxLineDelay, [Out] out Int32 uMaxPixelDelay) + { + unsafe + { + fixed (Int32* uMaxPixelDelay_ptr = &uMaxPixelDelay) + { + Boolean retval = Delegates.wglQueryGenlockMaxSourceDelayI3D((IntPtr)hDC, (UInt32*)uMaxLineDelay, (UInt32*)uMaxPixelDelay_ptr); + uMaxPixelDelay = *uMaxPixelDelay_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] UInt32[] uMaxLineDelay, [Out] UInt32* uMaxPixelDelay) @@ -6734,6 +10798,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] Int32[] uMaxLineDelay, [Out] Int32* uMaxPixelDelay) + { + unsafe + { + fixed (Int32* uMaxLineDelay_ptr = uMaxLineDelay) + { + Boolean retval = Delegates.wglQueryGenlockMaxSourceDelayI3D((IntPtr)hDC, (UInt32*)uMaxLineDelay_ptr, (UInt32*)uMaxPixelDelay); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] UInt32[] uMaxLineDelay, [Out] UInt32[] uMaxPixelDelay) @@ -6749,6 +10827,20 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] Int32[] uMaxLineDelay, [Out] Int32[] uMaxPixelDelay) + { + unsafe + { + fixed (Int32* uMaxLineDelay_ptr = uMaxLineDelay) + fixed (Int32* uMaxPixelDelay_ptr = uMaxPixelDelay) + { + Boolean retval = Delegates.wglQueryGenlockMaxSourceDelayI3D((IntPtr)hDC, (UInt32*)uMaxLineDelay_ptr, (UInt32*)uMaxPixelDelay_ptr); + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] UInt32[] uMaxLineDelay, [Out] out UInt32 uMaxPixelDelay) @@ -6765,6 +10857,21 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] Int32[] uMaxLineDelay, [Out] out Int32 uMaxPixelDelay) + { + unsafe + { + fixed (Int32* uMaxLineDelay_ptr = uMaxLineDelay) + fixed (Int32* uMaxPixelDelay_ptr = &uMaxPixelDelay) + { + Boolean retval = Delegates.wglQueryGenlockMaxSourceDelayI3D((IntPtr)hDC, (UInt32*)uMaxLineDelay_ptr, (UInt32*)uMaxPixelDelay_ptr); + uMaxPixelDelay = *uMaxPixelDelay_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] out UInt32 uMaxLineDelay, [Out] UInt32* uMaxPixelDelay) @@ -6780,6 +10887,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] out Int32 uMaxLineDelay, [Out] Int32* uMaxPixelDelay) + { + unsafe + { + fixed (Int32* uMaxLineDelay_ptr = &uMaxLineDelay) + { + Boolean retval = Delegates.wglQueryGenlockMaxSourceDelayI3D((IntPtr)hDC, (UInt32*)uMaxLineDelay_ptr, (UInt32*)uMaxPixelDelay); + uMaxLineDelay = *uMaxLineDelay_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] out UInt32 uMaxLineDelay, [Out] UInt32[] uMaxPixelDelay) @@ -6796,6 +10918,21 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] out Int32 uMaxLineDelay, [Out] Int32[] uMaxPixelDelay) + { + unsafe + { + fixed (Int32* uMaxLineDelay_ptr = &uMaxLineDelay) + fixed (Int32* uMaxPixelDelay_ptr = uMaxPixelDelay) + { + Boolean retval = Delegates.wglQueryGenlockMaxSourceDelayI3D((IntPtr)hDC, (UInt32*)uMaxLineDelay_ptr, (UInt32*)uMaxPixelDelay_ptr); + uMaxLineDelay = *uMaxLineDelay_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] out UInt32 uMaxLineDelay, [Out] out UInt32 uMaxPixelDelay) @@ -6813,6 +10950,22 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] out Int32 uMaxLineDelay, [Out] out Int32 uMaxPixelDelay) + { + unsafe + { + fixed (Int32* uMaxLineDelay_ptr = &uMaxLineDelay) + fixed (Int32* uMaxPixelDelay_ptr = &uMaxPixelDelay) + { + Boolean retval = Delegates.wglQueryGenlockMaxSourceDelayI3D((IntPtr)hDC, (UInt32*)uMaxLineDelay_ptr, (UInt32*)uMaxPixelDelay_ptr); + uMaxLineDelay = *uMaxLineDelay_ptr; + uMaxPixelDelay = *uMaxPixelDelay_ptr; + return retval; + } + } + } + [System.CLSCompliant(false)] public static IntPtr CreateImageBuffer(IntPtr hDC, Int32 dwSize, UInt32 uFlags) @@ -6886,6 +11039,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr* pEvent, void* pAddress, Int32[] pSize, Int32 count) + { + unsafe + { + fixed (Int32* pSize_ptr = pSize) + { + Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent, (void*)pAddress, (Int32*)pSize_ptr, (UInt32)count); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr* pEvent, void* pAddress, ref Int32 pSize, UInt32 count) @@ -6900,6 +11067,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr* pEvent, void* pAddress, ref Int32 pSize, Int32 count) + { + unsafe + { + fixed (Int32* pSize_ptr = &pSize) + { + Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent, (void*)pAddress, (Int32*)pSize_ptr, (UInt32)count); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr* pEvent, [In, Out] object pAddress, Int32* pSize, UInt32 count) @@ -6918,6 +11099,24 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr* pEvent, [In, Out] object pAddress, Int32* pSize, Int32 count) + { + unsafe + { + System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize, (UInt32)count); + return retval; + } + finally + { + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr* pEvent, [In, Out] object pAddress, Int32[] pSize, UInt32 count) @@ -6939,6 +11138,27 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr* pEvent, [In, Out] object pAddress, Int32[] pSize, Int32 count) + { + unsafe + { + fixed (Int32* pSize_ptr = pSize) + { + System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); + return retval; + } + finally + { + } + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr* pEvent, [In, Out] object pAddress, ref Int32 pSize, UInt32 count) @@ -6960,6 +11180,27 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr* pEvent, [In, Out] object pAddress, ref Int32 pSize, Int32 count) + { + unsafe + { + fixed (Int32* pSize_ptr = &pSize) + { + System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); + return retval; + } + finally + { + } + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr[] pEvent, void* pAddress, Int32* pSize, UInt32 count) @@ -6974,6 +11215,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr[] pEvent, void* pAddress, Int32* pSize, Int32 count) + { + unsafe + { + fixed (IntPtr* pEvent_ptr = pEvent) + { + Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress, (Int32*)pSize, (UInt32)count); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr[] pEvent, void* pAddress, Int32[] pSize, UInt32 count) @@ -6989,6 +11244,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr[] pEvent, void* pAddress, Int32[] pSize, Int32 count) + { + unsafe + { + fixed (IntPtr* pEvent_ptr = pEvent) + fixed (Int32* pSize_ptr = pSize) + { + Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress, (Int32*)pSize_ptr, (UInt32)count); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr[] pEvent, void* pAddress, ref Int32 pSize, UInt32 count) @@ -7004,6 +11274,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr[] pEvent, void* pAddress, ref Int32 pSize, Int32 count) + { + unsafe + { + fixed (IntPtr* pEvent_ptr = pEvent) + fixed (Int32* pSize_ptr = &pSize) + { + Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress, (Int32*)pSize_ptr, (UInt32)count); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr[] pEvent, [In, Out] object pAddress, Int32* pSize, UInt32 count) @@ -7025,6 +11310,27 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr[] pEvent, [In, Out] object pAddress, Int32* pSize, Int32 count) + { + unsafe + { + fixed (IntPtr* pEvent_ptr = pEvent) + { + System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize, (UInt32)count); + return retval; + } + finally + { + } + } + } + } + [System.CLSCompliant(false)] public static Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr[] pEvent, [In, Out] object pAddress, Int32[] pSize, UInt32 count) @@ -7047,6 +11353,27 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr[] pEvent, [In, Out] object pAddress, Int32[] pSize, Int32 count) + { + unsafe + { + fixed (IntPtr* pEvent_ptr = pEvent) + fixed (Int32* pSize_ptr = pSize) + { + System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); + return retval; + } + finally + { + } + } + } + } + [System.CLSCompliant(false)] public static Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr[] pEvent, [In, Out] object pAddress, ref Int32 pSize, UInt32 count) @@ -7069,6 +11396,27 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr[] pEvent, [In, Out] object pAddress, ref Int32 pSize, Int32 count) + { + unsafe + { + fixed (IntPtr* pEvent_ptr = pEvent) + fixed (Int32* pSize_ptr = &pSize) + { + System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); + return retval; + } + finally + { + } + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, ref IntPtr pEvent, void* pAddress, Int32* pSize, UInt32 count) @@ -7083,6 +11431,20 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, ref IntPtr pEvent, void* pAddress, Int32* pSize, Int32 count) + { + unsafe + { + fixed (IntPtr* pEvent_ptr = &pEvent) + { + Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress, (Int32*)pSize, (UInt32)count); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, ref IntPtr pEvent, void* pAddress, Int32[] pSize, UInt32 count) @@ -7098,6 +11460,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, ref IntPtr pEvent, void* pAddress, Int32[] pSize, Int32 count) + { + unsafe + { + fixed (IntPtr* pEvent_ptr = &pEvent) + fixed (Int32* pSize_ptr = pSize) + { + Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress, (Int32*)pSize_ptr, (UInt32)count); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, ref IntPtr pEvent, void* pAddress, ref Int32 pSize, UInt32 count) @@ -7113,6 +11490,21 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, ref IntPtr pEvent, void* pAddress, ref Int32 pSize, Int32 count) + { + unsafe + { + fixed (IntPtr* pEvent_ptr = &pEvent) + fixed (Int32* pSize_ptr = &pSize) + { + Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress, (Int32*)pSize_ptr, (UInt32)count); + return retval; + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, ref IntPtr pEvent, [In, Out] object pAddress, Int32* pSize, UInt32 count) @@ -7134,6 +11526,27 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] + public static + unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, ref IntPtr pEvent, [In, Out] object pAddress, Int32* pSize, Int32 count) + { + unsafe + { + fixed (IntPtr* pEvent_ptr = &pEvent) + { + System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize, (UInt32)count); + return retval; + } + finally + { + } + } + } + } + [System.CLSCompliant(false)] public static Boolean AssociateImageBufferEvents(IntPtr hDC, ref IntPtr pEvent, [In, Out] object pAddress, Int32[] pSize, UInt32 count) @@ -7156,6 +11569,27 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean AssociateImageBufferEvents(IntPtr hDC, ref IntPtr pEvent, [In, Out] object pAddress, Int32[] pSize, Int32 count) + { + unsafe + { + fixed (IntPtr* pEvent_ptr = &pEvent) + fixed (Int32* pSize_ptr = pSize) + { + System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); + return retval; + } + finally + { + } + } + } + } + [System.CLSCompliant(false)] public static Boolean AssociateImageBufferEvents(IntPtr hDC, ref IntPtr pEvent, [In, Out] object pAddress, ref Int32 pSize, UInt32 count) @@ -7178,6 +11612,27 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean AssociateImageBufferEvents(IntPtr hDC, ref IntPtr pEvent, [In, Out] object pAddress, ref Int32 pSize, Int32 count) + { + unsafe + { + fixed (IntPtr* pEvent_ptr = &pEvent) + fixed (Int32* pSize_ptr = &pSize) + { + System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); + return retval; + } + finally + { + } + } + } + } + [System.CLSCompliant(false)] public static unsafe Boolean ReleaseImageBufferEvents(IntPtr hDC, void* pAddress, UInt32 count) @@ -7214,6 +11669,23 @@ namespace OpenTK.Platform.Windows } } + public static + Boolean ReleaseImageBufferEvents(IntPtr hDC, [In, Out] object pAddress, Int32 count) + { + unsafe + { + System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Boolean retval = Delegates.wglReleaseImageBufferEventsI3D((IntPtr)hDC, (void*)pAddress_ptr.AddrOfPinnedObject(), (UInt32)count); + return retval; + } + finally + { + } + } + } + public static Boolean EnableFrameLock() { diff --git a/Source/OpenTK/Platform/Windows/WglHelper.cs b/Source/OpenTK/Platform/Windows/WglHelper.cs index 6a72cbbd..7060629c 100644 --- a/Source/OpenTK/Platform/Windows/WglHelper.cs +++ b/Source/OpenTK/Platform/Windows/WglHelper.cs @@ -94,7 +94,7 @@ namespace OpenTK.Platform.Windows /// public static bool Load(string function) { - FieldInfo f = delegatesClass.GetField(function); + FieldInfo f = delegatesClass.GetField(function, BindingFlags.Static | BindingFlags.NonPublic); if (f == null) return false; @@ -102,21 +102,23 @@ namespace OpenTK.Platform.Windows return f.GetValue(null) != null; } - /* - /// - /// Checks if an extension is supported by the given context. - /// - /// The device context to check. - /// The extension to check. - /// True if the extension is supported by the given context, false otherwise - public static bool SupportsExtensionARB(IntPtr deviceContext, string ext) - { - string extension_string = Wgl.ARB.GetExtensionsString(deviceContext); - string[] extensions = extension_string.Split(" ".ToCharArray(), StringSplitOptions.RemoveEmptyEntries); - Array.Sort(extensions); - return Array.BinarySearch(extensions, ext) != -1; + public static partial class ARB + { + /// + /// Checks if an extension is supported by the given context. + /// + /// The device context to check. + /// The extension to check. + /// True if the extension is supported by the given context, false otherwise + public static bool SupportsExtension(IntPtr deviceContext, string ext) + { + string extension_string = Wgl.ARB.GetExtensionsString(deviceContext); + string[] extensions = extension_string.Split(" ".ToCharArray(), StringSplitOptions.RemoveEmptyEntries); + + Array.Sort(extensions); + return Array.BinarySearch(extensions, ext) != -1; + } } - */ } } diff --git a/Source/OpenTK/Properties/AssemblyInfo.cs b/Source/OpenTK/Properties/AssemblyInfo.cs index d97282c7..a595be31 100644 --- a/Source/OpenTK/Properties/AssemblyInfo.cs +++ b/Source/OpenTK/Properties/AssemblyInfo.cs @@ -31,5 +31,5 @@ using System.Runtime.InteropServices; // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("0.3.10.1")] -[assembly: AssemblyFileVersion("0.3.10.1")] +[assembly: AssemblyVersion("0.3.10.2")] +[assembly: AssemblyFileVersion("0.3.10.2")]